Recherche avancée

Médias (91)

Autres articles (76)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (11803)

  • Android : Not able to merge two audio files using ffmpeg Android (onFailure)

    1er avril 2019, par Asif Sb

    I am trying to merge two wav audio files into one using FFMPEG library.

    Here is the command I used for merging two audio files.

    String s = "ffmpeg -i "+recordFile+" -i "+audioFromVideo+" -filter_complex amix=inputs=3:duration=first:dropout_transition=3 "+finalAudio;

    Below is my audio merger code :

    public void mergeMediaFiles(Context context,String[] cmd) {
               FFmpeg ffmpeg = FFmpeg.getInstance(context);
               try {
                   try {
                       //Load the binary
                       ffmpeg.loadBinary(new LoadBinaryResponseHandler() {

                           @Override
                           public void onStart() {
                           }

                           @Override
                           public void onFailure() {
                           }

                           @Override
                           public void onSuccess() {
                           }

                           @Override
                           public void onFinish() {
                           }
                       });
                   } catch (FFmpegNotSupportedException e) {
                       // Handle if FFmpeg is not supported by device
                   }
                   // to execute "ffmpeg -version" command you just need to pass "-version"
                   ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {

                       @Override
                       public void onStart() {
                           Log.d("ttt", "onStart:merge ");
                       }

                       @Override
                       public void onProgress(String message) {
                           Log.d("ttt", "onProgress: merge");
                       }

                       @Override
                       public void onFailure(String message) {
                           Log.d("ttt", "onFailure: stock down");
                       }

                       @Override
                       public void onSuccess(String message) {
                           Log.d("ttt", "onSuccess: stock up");
                           File file= new File(finalAudio);
                           if (file.exists()) {
                               Log.d(TAG, "onPostExecute: mila bhai");
                               startPlaying(file.getPath());
                           }
                       }

                       @Override
                       public void onFinish() {
                           Log.d("ttt", "onFinish: merge ");
                       }
                   });
               } catch (FFmpegCommandAlreadyRunningException e) {
                   //
               }
           }

       }

    When I try to run this code. It always triggers failure callback.
    I just wanted to understand what is the issue with the command and merger code ?

  • HD video play in ffmpeg android player

    8 juillet 2017, par Melvin Wong

    I have developed android mediaplayer by using ffmpeg.
    It is working well with local and remote files both.

    But it has some issues when i try to play HD video files.
    The screen shows many rectangles and stopped after a few seconds.

    I think it is video rendering problem on low performance devices.
    In this case, I need to skip some frames and play.

    Please help me whether my thought is right or if you have already experienced this , please teach me.

  • Android - Integrating ffmpeg and android-ndk-r9c

    16 juillet 2015, par lgdroid57

    I have seen a lot of posts about FFmpeg and using FFmpeg in Android, but I am finding that a majority of these posts are for older versions of either FFmpeg or Android NDK. I was able to get a result from https://github.com/mconf/android-ffmpeg, which includes the files : "libavcodec.so", "libavformat.so", "libavutil.so", "libswscale.so". However, simply adding these files to my project does not seem to be enough to use FFmpeg. (I followed http://stackoverflow.com/a/21773572/1877798 as a reference guide). It’s possible that either I’ve done something wrong in configuring these files in my project, or I’ve done something wrong in building FFmpeg for Android. (Should there be more files ?)

    I was wondering if there are any recent guides for building or integrating FFmpeg in an Android project. I am using FFmpeg (as of 2/27/14) and Android NDK 9c.
    If not, does anyone have other recommendations for other libraries ? I am trying to take a set of image files and create a video/animated gif programatically.

    Thanks ! :-)

     EDIT 

    I have found http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/comment-page-4/ and a couple others found on GitHub. However, they all seem to struggle in building FFmpeg. I am using Mac OS X

    Here is my script :

    #!/bin/bash
    NDK=/Downloads/android-ndk-r9c
    SYSROOT=$NDK/platforms/android-18/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64
    # Note: Change the TOOLCHAIN to match that available for your host system.
    # darwin-x86_64 is for Mac OS X, but you knew that.
    function build_one
    {
    ./configure \
       --prefix=$PREFIX \
       --enable-shared \
       --disable-static \
       --disable-doc \
       --disable-programs \
       --disable-doc \
       --disable-symver \
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --target-os=linux \
       --arch=arm \
       --enable-cross-compile \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
       --extra-ldflags="$ADDI_LDFLAGS" \
    $ADDITIONAL_CONFIGURE_FLAG
    make clean
    make
    make install
    }
    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"
    build_one

    Here is the log :

    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-        dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
    /Downloads/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc is unable to create an executable file.
    C compiler test failed.

    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.
    Makefile:2: config.mak: No such file or directory
    Makefile:48: /common.mak: No such file or directory
    Makefile:91: /libavutil/Makefile: No such file or directory
    Makefile:91: /library.mak: No such file or directory
    Makefile:168: /doc/Makefile: No such file or directory
    Makefile:169: /tests/Makefile: No such file or directory
    make: *** No rule to make target `/tests/Makefile'.  Stop.
    Makefile:2: config.mak: No such file or directory
    Makefile:48: /common.mak: No such file or directory
    Makefile:91: /libavutil/Makefile: No such file or directory
    Makefile:91: /library.mak: No such file or directory
    Makefile:168: /doc/Makefile: No such file or directory
    Makefile:169: /tests/Makefile: No such file or directory
    make: *** No rule to make target `/tests/Makefile'.  Stop.
    Makefile:2: config.mak: No such file or directory
    Makefile:48: /common.mak: No such file or directory
    Makefile:91: /libavutil/Makefile: No such file or directory
    Makefile:91: /library.mak: No such file or directory
    Makefile:168: /doc/Makefile: No such file or directory
    Makefile:169: /tests/Makefile: No such file or directory
    make: *** No rule to make target `/tests/Makefile'.  Stop.