Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (37)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (4724)

  • ffmpeg extra frames from video [closed]

    3 mai 2023, par catman30223

    Someone please tell me why the command does not work.

    


    ffmpeg -i /home/darryl/Desktop/video/video/video.mp4 -vf fps=30/60 /home/darryl/Desktop/video/video/img%03d.jpg

    


    I did chown the output subdirectory

    


    I have used that ffmpeg command hundreds of times without issue. I just don't get what is wrong with it. It keeps saying "no such file or directory"

    


    I also tried mkdir /mnt/temp and chown darryl:darryl /mnt/temp to extract the frames to that output subdirectory. The result was the same "no such file or directory"

    


  • FFmpeg concatenates two m4a files incorrectly

    26 février 2017, par asad

    Problem is, when i concatenate two m4a files with concat demuxer, ffmpeg produces files whose duration is incorrect. You can see that the duration of output file is very different from the duration of two input files combined. Please help me spot the issue in it. My ultimate goal is to append silent audio to the end of the audio file. For that, i generate silent audio file with ffmpeg and then try to concat it with other audio file.

    Command I used to generate audio file :

    ffmpeg -nostdin -loglevel error -y -threads 0 -filter_complex aevalsrc=0 -t 4 /home/ec2-user/videocreation/temp/silence.m4a

    Command I used for concat :

    ffmpeg -f concat -safe 0 -i temp.txt -c copy output.m4a

    I have two file paths listed in temp.txt :

    [ec2-user@ip-10-0-1-126 server]$ cat temp.txt
    file /home/ec2-user/videoData/DnXptC4ld8/FADING_OUT_VOLUP_Blrt_Decrypt_1ed5c4d569d8a1f23428b65217f65eaf_audio.m4a
    file /home/ec2-user/videocreation/temp/silence.m4a

    First file ffprobe :

    [ec2-user@ip-10-0-1-126 server]$ ffprobe /home/ec2-user/videoData/DnXptC4ld8/FADING_OUT_VOLUP_Blrt_Decrypt_1ed5c4d569d8a1f23428b65217f65eaf_audio.m4a
    ffprobe version N-80097-g89e9393 Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
     configuration: --prefix=/home/ec2-user/ffmpeg_build --extra-cflags=-I/home/ec2-user/ffmpeg_build/include --extra-ldflags=-L/home/ec2-user/ffmpeg_build/lib --bindir=/home/ec2-user/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 43.100 / 57. 43.100
     libavformat    57. 37.100 / 57. 37.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 46.100 /  6. 46.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ec2-user/videoData/DnXptC4ld8/FADING_OUT_VOLUP_Blrt_Decrypt_1ed5c4d569d8a1f23428b65217f65eaf_audio.m4a':
     Metadata:
       major_brand     : M4A
       minor_version   : 512
       compatible_brands: isomiso2
       encoder         : Lavf57.44.100
     Duration: 00:00:01.77, start: 0.000000, bitrate: 4 kb/s
       Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 11025 Hz, mono, fltp, 0 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    Second file ffprobe :

    [ec2-user@ip-10-0-1-126 server]$ ffprobe /home/ec2-user/videocreation/temp/silence.m4a
    ffprobe version N-80097-g89e9393 Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
     configuration: --prefix=/home/ec2-user/ffmpeg_build --extra-cflags=-I/home/ec2-user/ffmpeg_build/include --extra-ldflags=-L/home/ec2-user/ffmpeg_build/lib --bindir=/home/ec2-user/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 43.100 / 57. 43.100
     libavformat    57. 37.100 / 57. 37.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 46.100 /  6. 46.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ec2-user/videocreation/temp/silence.m4a':
     Metadata:
       major_brand     : M4A
       minor_version   : 512
       compatible_brands: isomiso2
       encoder         : Lavf57.44.100
     Duration: 00:00:04.02, start: 0.000000, bitrate: 4 kb/s
       Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    Output file ffprobe :

    [ec2-user@ip-10-0-1-126 server]$ ffprobe output.m4a
    ffprobe version N-80097-g89e9393 Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
     configuration: --prefix=/home/ec2-user/ffmpeg_build --extra-cflags=-I/home/ec2-user/ffmpeg_build/include --extra-ldflags=-L/home/ec2-user/ffmpeg_build/lib --bindir=/home/ec2-user/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 43.100 / 57. 43.100
     libavformat    57. 37.100 / 57. 37.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 46.100 /  6. 46.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.m4a':
     Metadata:
       major_brand     : M4A
       minor_version   : 512
       compatible_brands: isomiso2
       encoder         : Lavf57.37.100
     Duration: 00:00:23.22, start: 0.000000, bitrate: 0 kb/s
       Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 11025 Hz, mono, fltp, 0 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
  • "No such file or directory" sp.Popen module

    27 mars 2016, par user3481652

    I am trying to take a video and convert it in audio , for this I am using ffmpeg in python. I run the following command but it gives me " No such file or directory" for the input file. Here’s the code-

    FFMPEG_BIN = "ffmpeg"
    import subprocess as sp
    command = [FFMPEG_BIN, '-i', '/home/suryansh/Downloads/t.mp4']
    pipe = sp.Popen(command, stdout = sp.PIPE)

    After executing this code I get home/suryansh/Downloads/t.mp4: No such file or directory but the file is their in the path specified.