Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (23)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (4255)

  • 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
  • No output file when converting audio using FFmpeg in Android

    18 mars 2017, par Sha

    I’m trying to convert m4a audio file to wav using FFmpeg. The code executes fine and gives no error, but I don’t see any output file in my directory.

    This is what I am executing :

    String[] cmd = {"-y", "-i", "/storage/emulated/0/jd.m4a", "-f","wav" ,"/storage/emulated/0/DCIM/Camera/output.wav"};

    And this is what gets printed :

    03-17 15:40:51.539 10111-10111/io.whispero.soundmerger E/onProgress: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    03-17 15:40:51.542 10111-10111/io.whispero.soundmerger E/onProgress:   built with gcc 4.8 (GCC)
    03-17 15:40:51.545 10111-10111/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-17 15:40:51.547 10111-10111/io.whispero.soundmerger E/onProgress:   libavutil      55. 17.103 / 55. 17.103
    03-17 15:40:51.552 10111-10111/io.whispero.soundmerger E/onProgress:   libavcodec     57. 24.102 / 57. 24.102
    03-17 15:40:51.554 10111-10111/io.whispero.soundmerger E/onProgress:   libavformat    57. 25.100 / 57. 25.100
    03-17 15:40:51.556 10111-10111/io.whispero.soundmerger E/onProgress:   libavdevice    57.  0.101 / 57.  0.101
    03-17 15:40:51.559 10111-10111/io.whispero.soundmerger E/onProgress:   libavfilter     6. 31.100 /  6. 31.100
    03-17 15:40:51.561 10111-10111/io.whispero.soundmerger E/onProgress:   libswscale      4.  0.100 /  4.  0.100
    03-17 15:40:51.562 10111-10111/io.whispero.soundmerger E/onProgress:   libswresample   2.  0.101 /  2.  0.101
    03-17 15:40:51.564 10111-10111/io.whispero.soundmerger E/onProgress:   libpostproc    54.  0.100 / 54.  0.100
    03-17 15:40:51.581 10111-10111/io.whispero.soundmerger E/onProgress: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/jd.m4a':
    03-17 15:40:51.585 10111-10111/io.whispero.soundmerger E/onProgress:   Metadata:
    03-17 15:40:51.587 10111-10111/io.whispero.soundmerger E/onProgress:     major_brand     : M4A
    03-17 15:40:51.589 10111-10111/io.whispero.soundmerger E/onProgress:     minor_version   : 0
    03-17 15:40:51.593 10111-10111/io.whispero.soundmerger E/onProgress:     compatible_brands: M4A mp42isom
    03-17 15:40:51.595 10111-10111/io.whispero.soundmerger E/onProgress:     creation_time   : 2017-02-16 10:36:39
    03-17 15:40:51.597 10111-10111/io.whispero.soundmerger E/onProgress:   Duration: 00:00:03.39, start: 0.000000, bitrate: 82 kb/s
    03-17 15:40:51.602 10111-10111/io.whispero.soundmerger E/onProgress:     Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 24 kb/s (default)
    03-17 15:40:51.608 10111-10111/io.whispero.soundmerger E/onProgress:     Metadata:
    03-17 15:40:51.612 10111-10111/io.whispero.soundmerger E/onProgress:       creation_time   : 2017-02-16 10:36:39
    03-17 15:40:51.614 10111-10111/io.whispero.soundmerger E/onProgress: Output #0, wav, to '/storage/emulated/0/DCIM/Camera/hyder.wav':
    03-17 15:40:51.617 10111-10111/io.whispero.soundmerger E/onProgress:   Metadata:
    03-17 15:40:51.619 10111-10111/io.whispero.soundmerger E/onProgress:     major_brand     : M4A
    03-17 15:40:51.621 10111-10111/io.whispero.soundmerger E/onProgress:     minor_version   : 0
    03-17 15:40:51.623 10111-10111/io.whispero.soundmerger E/onProgress:     compatible_brands: M4A mp42isom
    03-17 15:40:51.625 10111-10111/io.whispero.soundmerger E/onProgress:     ISFT            : Lavf57.25.100
    03-17 15:40:51.627 10111-10111/io.whispero.soundmerger E/onProgress:     Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s (default)
    03-17 15:40:51.629 10111-10111/io.whispero.soundmerger E/onProgress:     Metadata:
    03-17 15:40:51.631 10111-10111/io.whispero.soundmerger E/onProgress:       creation_time   : 2017-02-16 10:36:39
    03-17 15:40:51.633 10111-10111/io.whispero.soundmerger E/onProgress:       encoder         : Lavc57.24.102 pcm_s16le
    03-17 15:40:51.636 10111-10111/io.whispero.soundmerger E/onProgress: Stream mapping:
    03-17 15:40:51.639 10111-10111/io.whispero.soundmerger E/onProgress:   Stream #0:0 -> #0:0 (aac (native) -> pcm_s16le (native))
    03-17 15:40:51.642 10111-10111/io.whispero.soundmerger E/onProgress: Press [q] to stop, [?] for help
    03-17 15:40:51.645 10111-10111/io.whispero.soundmerger E/onProgress: size=     106kB time=00:00:03.39 bitrate= 256.2kbits/s speed= 181x    
    03-17 15:40:51.647 10111-10111/io.whispero.soundmerger E/onProgress: video:0kB audio:106kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.071860%
    03-17 15:40:51.650 10111-10111/io.whispero.soundmerger E/SUCCESS: 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
                                                                     Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/jd.m4a':
                                                                       Metadata:
                                                                         major_brand     : M4A
                                                                         minor_version   : 0
                                                                         compatible_brands: M4A mp42isom
                                                                         creation_time   : 2017-02-16 10:36:39
                                                                       Duration: 00:00:03.39, start: 0.000000, bitrate: 82 kb/s
                                                                         Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 24 kb/s (default)
                                                                         Metadata:
                                                                           creation_time   : 2017-02-16 10:36:39
                                                                     Output #0, wav, to '/storage/emulated/0/DCIM/Camera/hyder.wav':
                                                                       Metadata:
                                                                         major_brand     : M4A
                                                                         minor_version   : 0
                                                                         compatible_brands: M4A mp42isom
                                                                         ISFT            : Lavf57.25.100
                                                                         Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s (default)
                                                                         Metadata:
                                                                           creation_time   : 2017-02-16 10:36:39
                                                                           encoder         : Lavc57.24.102 pcm_s16le
                                                                     Stream mapping:
                                                                       Stream #0:0 -> #0:0 (aac (native) -> pcm_s16le (native))
                                                                     Press [q] to stop, [?] for help
                                                                     size=     106kB time=00:00:03.39 bitrate= 256.2kbits/s speed= 181x    
                                                                     video:0kB audio:106kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.071860%
    03-17 15:40:51.653 10111-10111/io.whispero.soundmerger E/onFinish: onFinish

    Please help why I am not seeing any output audio file :(

    Thanks.

  • Compiling x264 on a Mac : "No working C compiler found" and "arm-linux-androideabi-gcc : command not found"

    29 novembre 2014, par Xavi Gil

    I am trying to compile the x264 library for Android, following this post.

    I have cloned the x264 project git clone git://git.videolan.org/x264.git and tried to compile with the following configuration :

    NDK=~/development/android-ndk-r10c    
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64
    PLATFORM=$NDK/platforms/android-21/arch-arm

    ./configure \
    --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
    --sysroot=$PLATFORM \
    --host=arm-linux \
    --enable-pic \
    --enable-static \
    --disable-cli

    The problem is that I get a No working C compiler found. error.

    The conftest.log output :

    $ cat conftest.log
    ./configure: line 153: arm-linux-androideabi-gcc: command not found

    But the arm-linux-androideabi-gcc is the toolchain’s bin folder !!

    Looking at this other question it looks like for some reason, even though the file exists, since it is a 64bit Mac, it won’t execute the arm-linux-androideabi-gcc file and will return this weird error and log.


    I am in a Mac OS X 10.10 and I have installed the XCode Command Line Tools :

    $ xcode-select -p
    /Applications/Xcode.app/Contents/Developer

    GCC version :

    $ gcc --version
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
    Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
    Target: x86_64-apple-darwin14.0.0
    Thread model: posix

    Can anyone tell me how to fix this please ?