Recherche avancée

Médias (91)

Autres articles (47)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (10536)

  • FFmpeg "Unrecognized option" error when trying to merge 2 audio files in Android

    20 mars 2017, par Sha

    Looked at This and This links to create a command to merge 2 audio files using ffmpeg but it’s not working.

    My command :

    String input1 = "/storage/emulated/0/jd.m4a ";
    String input2 = "/storage/emulated/0/jd.m4a "; //trying with same audio just to check if it works or not
    String filter = "-filter_complex [0:a]volume=0.99[a1];[1:a]volume=0.3[a2];[a1][a2]amerge=inputs=2,volume=1.3,pan=stereo|c0code>

    The console output :

    03-20 13:52:04.981 32013-32013/io.whispero.soundmerger E/onProgress: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    03-20 13:52:04.981 32013-32013/io.whispero.soundmerger E/onProgress:   built with gcc 4.8 (GCC)
    03-20 13:52:04.982 32013-32013/io.whispero.soundmerger E/onProgress:   configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    03-20 13:52:04.982 32013-32013/io.whispero.soundmerger E/onProgress:   libavutil      55. 17.103 / 55. 17.103
    03-20 13:52:04.983 32013-32013/io.whispero.soundmerger E/onProgress:   libavcodec     57. 24.102 / 57. 24.102
    03-20 13:52:04.983 32013-32013/io.whispero.soundmerger E/onProgress:   libavformat    57. 25.100 / 57. 25.100
    03-20 13:52:04.984 32013-32013/io.whispero.soundmerger E/onProgress:   libavdevice    57.  0.101 / 57.  0.101
    03-20 13:52:04.984 32013-32013/io.whispero.soundmerger E/onProgress:   libavfilter     6. 31.100 /  6. 31.100
    03-20 13:52:04.985 32013-32013/io.whispero.soundmerger E/onProgress:   libswscale      4.  0.100 /  4.  0.100
    03-20 13:52:04.985 32013-32013/io.whispero.soundmerger E/onProgress:   libswresample   2.  0.101 /  2.  0.101
    03-20 13:52:04.985 32013-32013/io.whispero.soundmerger E/onProgress:   libpostproc    54.  0.100 / 54.  0.100
    03-20 13:52:04.986 32013-32013/io.whispero.soundmerger E/onProgress: Unrecognized option 'filter_complex [0:a]volume=0.99[a1];[1:a]volume=0.3[a2];[a1][a2]amerge=inputs=2,volume=1.3,pan=stereo|c0io.whispero.soundmerger E/onProgress: Error splitting the argument list: Option not found

    From what I can understand is that ffmpeg is unable to split and differentiate the inputs, filter and output from the command, but I tried with a lot of variations, still not working :(

    Please help. Looked around a lot but none of the commands is working.

    Thanks in advance !

    EDIT :
    Added -report before -filter_complex and ran. LOG is below AS @Mulvya asked

    03-20 16:29:06.830 27671-27671/io.whispero.soundmerger E/onProgress: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    03-20 16:29:06.830 27671-27671/io.whispero.soundmerger E/onProgress:   built with gcc 4.8 (GCC)
    03-20 16:29:06.830 27671-27671/io.whispero.soundmerger E/onProgress:   configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    03-20 16:29:06.830 27671-27671/io.whispero.soundmerger E/onProgress:   libavutil      55. 17.103 / 55. 17.103
    03-20 16:29:06.830 27671-27671/io.whispero.soundmerger E/onProgress:   libavcodec     57. 24.102 / 57. 24.102
    03-20 16:29:06.832 27671-27671/io.whispero.soundmerger E/onProgress:   libavformat    57. 25.100 / 57. 25.100
    03-20 16:29:06.832 27671-27671/io.whispero.soundmerger E/onProgress:   libavdevice    57.  0.101 / 57.  0.101
    03-20 16:29:06.833 27671-27671/io.whispero.soundmerger E/onProgress:   libavfilter     6. 31.100 /  6. 31.100
    03-20 16:29:06.834 27671-27671/io.whispero.soundmerger E/onProgress:   libswscale      4.  0.100 /  4.  0.100
    03-20 16:29:06.834 27671-27671/io.whispero.soundmerger E/onProgress:   libswresample   2.  0.101 /  2.  0.101
    03-20 16:29:06.835 27671-27671/io.whispero.soundmerger E/onProgress:   libpostproc    54.  0.100 / 54.  0.100
    03-20 16:29:06.836 27671-27671/io.whispero.soundmerger E/onProgress: Unrecognized option 'i '.
    03-20 16:29:06.837 27671-27671/io.whispero.soundmerger E/onProgress: Error splitting the argument list: Option not found
    03-20 16:29:06.846 27671-27671/io.whispero.soundmerger E/onFailure: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
                                                                         built with gcc 4.8 (GCC)
                                                                         configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
                                                                         libavutil      55. 17.103 / 55. 17.103
                                                                         libavcodec     57. 24.102 / 57. 24.102
                                                                         libavformat    57. 25.100 / 57. 25.100
                                                                         libavdevice    57.  0.101 / 57.  0.101
                                                                         libavfilter     6. 31.100 /  6. 31.100
                                                                         libswscale      4.  0.100 /  4.  0.100
                                                                         libswresample   2.  0.101 /  2.  0.101
                                                                         libpostproc    54.  0.100 / 54.  0.100
                                                                       Unrecognized option 'i '.
                                                                       Error splitting the argument list: Option not found
    03-20 16:29:06.848 27671-27671/io.whispero.soundmerger E/onFinish: onFinish
  • ffmpeg windows : how to run ffmpeg -i input -filter:v frei0r=pixeliz0r=0.02:0.02 output

    7 octobre 2015, par yarek

    I run ffmpeg on Windows.

    I try to run

    ffmpeg -i input.avi -filter:v frei0r=pixeliz0r=0.02:0.02 ouput.avi

    I have this error :

    No such filter: 'frei0r
    Error opening filters!

    When I run ffmpeg.exe I got :

    ffmpeg version git-N-30610-g1929807, Copyright (c) 2000-2011 the FFmpeg developers
     built on Jun  7 2011 15:55:06 with gcc 4.5.3
     configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-
    runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
    pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
    enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
    --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
    e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --disable-outdev=sdl -
    -pkg-config=pkg-config

    Note the --enable-frei0r above.

    Any idea where I can get the ffmpeg for windows with frei0r enabled and working ?

  • FFMPEG conversion to MXF [closed]

    16 février 2012, par MFB

    I have to wrap an MPEG2 video file in an MXF container and convert the audio in the process. I have the MXF wrapping working but it won't convert the audio stream (which needs to be 16bit, 48kHz Linear PCM).

    Here's what I'm trying :

    ffmpeg -i input.mpg -map 0:0 -map 0:1 -vcodec copy -f mpeg2video -acodec pcm_s16le -ar 48000 -ac 2 output.mxf

    Results :

    ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
     built on Jan 30 2012 17:49:23 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
     configuration: *{snipped}*
    runtime-cpudetect
     libavutil      51. 34.101 / 51. 34.101
     libavcodec     53. 60.100 / 53. 60.100
     libavformat    53. 31.100 / 53. 31.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 60.100 /  2. 60.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  6.100 /  0.  6.100
     libpostproc    52.  0.100 / 52.  0.100
    [mpeg @ 0x10201ae00] max_analyze_duration 5000000 reached at 5000000
    Input #0, mpeg, from '/Volumes/Extra/test.mpg':
     Duration: 00:00:59.97, start: 0.192911, bitrate: 6513 kb/s
       Stream #0:0[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
       Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 12000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Output #0, mpeg2video, to 'video.mxf':
     Metadata:
       encoder         : Lavf53.31.100
       Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 12000 kb/s, 25 fps, 90k tbn, 25 tbc
    Stream mapping:
     Stream #0:1 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    frame= 1500 fps=  0 q=-1.0 Lsize=   43949kB time=00:00:59.96 bitrate=6004.6kbits/s    
    video:43949kB audio:0kB global headers:0kB muxing overhead 0.000000%

    The video plays fine as the MXF, but there is no audio stream at all. Any help would be great.