Recherche avancée

Médias (91)

Autres articles (34)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (8018)

  • Android - Decoding via a pipe will not work : Could not find an ffmpeg binary for your system

    28 août 2017, par Daniele

    I’m trying to use TarsosDSP for real time pitch shifting on Android.

    This is my code :

    Uri song;
    // initialized in another method

    double rate = 1.0;
           RateTransposer rateTransposer;
           AudioDispatcher dispatcher;
           WaveformSimilarityBasedOverlapAdd wsola;

           dispatcher = AudioDispatcherFactory.fromPipe(getRealPathFromUri(song), 44100, 5000, 2500);
           rateTransposer = new RateTransposer(rate);
           wsola = new WaveformSimilarityBasedOverlapAdd(WaveformSimilarityBasedOverlapAdd.Parameters
                   .musicDefaults(rate, 44100));

           wsola.setDispatcher(dispatcher);
           dispatcher.addAudioProcessor(wsola);
           dispatcher.addAudioProcessor(rateTransposer);
           dispatcher.addAudioProcessor(new AndroidAudioPlayer(dispatcher.getFormat()));
           dispatcher.setZeroPadFirstBuffer(true);
           dispatcher.setZeroPadLastBuffer(true);

    I get an error here

    dispatcher = AudioDispatcherFactory.fromPipe(getRealPathFromUri(song), 44100, 5000, 2500);

    Decoding via a pipe will not work : Could not find an ffmpeg binary for
    your system

    Why does this happen and how should I fix it ?

    EDIT :

    As far as I was able to understand it’s because ffmpeg isn’t integrated within the app. I looked for a guide here on SO but I couldn’t find any updated one. Using NDK r15c and FFmpeg 3.3.3

  • Unable to build x264 for Android : configure doesn't work with cross-compile flags

    18 février 2016, par Pavel S.

    There is a problem when I try to build x264 lib in order to make it work with ffmpeg lib. I use Ubuntu 14.04.
    I have cloned fresh x264 sources.
    But when I run ./configure script, I got several issues :

    1. It doesn’t accept cross compile flags It doesn’t accept cross-compile flags (—cross-prefix, —host, —sysroot).
      Here’s how I run configure script :

      ./configure     --enable-pic \
                 --enable-static \
                 --disable-cli \
                 --host=arm-linux (or ARM, it doesn't work either) \
                 --cross-prefix=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-$HOST_ARCH/bin/arm-linux-androideabi- \
                 --sysroot=$ANDROID_NDK/platforms/android-14/arch-arm \

    In this case default configuration is used.

    When I don’t pass 3 last flags, flags 1-3 are successfully used in config.

    1. With any flags passed to configure script, I see these errors in config.log :

      checking for -lpostproc... no
      Failed commandline was:
      gcc conftest.c -m64  -Wall -I. -I$(SRCPATH) -std=gnu99 -mpreferred-stack-boundary=5  -lpostproc  -m64  -lm -lpthread -o conftest
      ...
      /usr/bin/ld: cannot find -lpostproc
      collect2: error: ld returned 1 exit status

    Same I see for

    ...
    conftest.c:1:32: fatal error: libswscale/swscale.h: No such file or directory
    #include <libswscale></libswscale>swscale.h>

    Here’s full config.log :
    http://pastebin.com/U6aHKc28

    I guess I probably need to install ffmpeg on my Ubuntu to properly build x264 ?

    Any advice ?

  • Unable to build x264 for Android : configure doesn't work with cross-compile flags

    18 février 2016, par Pavel S.

    There is a problem when I try to build x264 lib in order to make it work with ffmpeg lib. I use Ubuntu 14.04.
    I have cloned fresh x264 sources.
    But when I run ./configure script, I got several issues :

    1. It doesn’t accept cross compile flags It doesn’t accept cross-compile flags (—cross-prefix, —host, —sysroot).
      Here’s how I run configure script :

      ./configure     --enable-pic \
                 --enable-static \
                 --disable-cli \
                 --host=arm-linux (or ARM, it doesn't work either) \
                 --cross-prefix=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-$HOST_ARCH/bin/arm-linux-androideabi- \
                 --sysroot=$ANDROID_NDK/platforms/android-14/arch-arm \

    In this case default configuration is used.

    When I don’t pass 3 last flags, flags 1-3 are successfully used in config.

    1. With any flags passed to configure script, I see these errors in config.log :

      checking for -lpostproc... no
      Failed commandline was:
      gcc conftest.c -m64  -Wall -I. -I$(SRCPATH) -std=gnu99 -mpreferred-stack-boundary=5  -lpostproc  -m64  -lm -lpthread -o conftest
      ...
      /usr/bin/ld: cannot find -lpostproc
      collect2: error: ld returned 1 exit status

    Same I see for

    ...
    conftest.c:1:32: fatal error: libswscale/swscale.h: No such file or directory
    #include <libswscale></libswscale>swscale.h>

    Here’s full config.log :
    http://pastebin.com/U6aHKc28

    I guess I probably need to install ffmpeg on my Ubuntu to properly build x264 ?

    Any advice ?