Recherche avancée

Médias (91)

Autres articles (97)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • 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 ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (8018)

  • mix two audio files fmpeg Android

    21 mars 2016, par Adroid Freak

    I’m using ffmpeg for android and I’m trying to mix two audio files but I’m getting the following error

    [NULL @ 0xb60c8c00] Unable to find a suitable output format for ' -filter_complex amerge -c:a libmp3lame -q:a 4 '
    -filter_complex amerge -c:a libmp3lame -q:a 4 : Invalid argument

    This is the ffmpeg library details when

    ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    built on Dec 22 2014 21:35:30 with gcc 4.8 (GCC)
    configuration: --target-os=linux --cross-prefix=/home/android/Downloads/ffmpeg-android-pie/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/android/Downloads/ffmpeg-android-pie/toolchain-android/sysroot --enable-decoders --enable-encoders --enable-filters --disable-indevs --enable-indev=lavfi --disable-outdevs --enable-hwaccels --enable-ffmpeg --enable-pic --enable-libx264 --enable-version3 --disable-debug --disable-ffserver --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/android/Downloads/ffmpeg-android-pie/ffmpeg-pkg-config --prefix=/home/android/Downloads/ffmpeg-android-pie/build/armeabi-v7a --extra-cflags='-I/home/android/Downloads/ffmpeg-android-pie/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/android/Downloads/ffmpeg-android-pie/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    libavutil      54.  7.100 / 54.  7.100
    libavcodec     56.  1.100 / 56.  1.100
    libavformat    56.  4.101 / 56.  4.101
    libavdevice    56.  0.100 / 56.  0.100
    libavfilter     5.  1.100 /  5.  1.100
    libswscale      3.  0.100 /  3.  0.100
    libswresample   1.  1.100 /  1.  1.100
    libpostproc    53.  0.100 / 53.  0.100

    My function is this

    public Clip mixTwoAudioFiles (String audio1, String audio2, Clip out, ShellCallback sc) throws Exception
    {
       ArrayList<string> cmd = new ArrayList<string>();

       cmd.add(mFfmpegBin);
       cmd.add("-y");

       cmd.add("-i");
       cmd.add(audio1);

       cmd.add("-i");
       cmd.add(audio2);
    //  cmd.add("-strict");
    //  cmd.add("-2");//experimental

       cmd.add(" -filter_complex amerge -c:a libmp3lame -q:a 4 ");  
       File fileOut = new File(out.path);
       cmd.add(fileOut.getCanonicalPath());    
       execFFMPEG(cmd, sc);
       return out;

    }
    </string></string>

    and the output command is this

    ffmpeg -y -i /storage/emulated/0/audio1.mp3 -i /storage/emulated/0/audio2.3gp -strict -2  -filter_complex amerge -c:a libmp3lame -q:a 4  /storage/emulated/0/out.mp4

    Now as you can see above I don’t have libmp3lame enabled but it looks like the error above is not related to that, correct ?

    I tried many other filter variations but all are failing with the same error, the questions I have are as follow :

    1- Since I don't have libmp3lame, what is the next option? please note that mp3 is not mandatory here.
    2- If it is possible can you please show me how?
  • Looking for Sox (Sound eXchange) libs port for android

    5 octobre 2016, par azure313

    I’m new to mobile development, and i’m developing a mobile application with sound effect functions.
    I find out that Sox (Sound eXchange) is very strong in desktop environment, and very easy to use, but it didn’t have any libs Port for Android.

    Does anyone know how to port SoX to Android or is there any other libs instead ?

    I already try ffmpeg, but it didn’t have Reverb effect, so i switch to SoX.

    Thank.

  • Could x264 do the audio recording job on Android

    27 décembre 2013, par Brendon Tsai

    I am trying to use x264 on Android to build a video system, which could do the encoding and decoding work. I've finished the video data capturing and encoding work. But I am not sure about how to deal with the audio stuff. Does x264 support audio recording ? Or should I use some other api provided by Android ? If I do the video capturing and audio capturing job seperately, how could I make sure they are time synchronization ?