Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (99)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (9285)

  • 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 find a suitable output format for 'pipe :' - pipe: : Invalid argument

    14 août 2017, par Adam Gerard

    I’m working on a project to potentially simplify some of the process to send video to something like Facebook Live.

    Right now I’m using this example with a FB Live API RTMP endpoint (neither of these are production or real development commands - by using this example I think I can figure out the limitations of what I’m doing in others) :

    -i - -map 0 -c:v libx264 -c:a aac -muxrate 1000k -bufsize 2000k -g 50 -f tee "rtmp://rtmp-api.facebook.com:80/rtmp/10104590177564330?ds=1&s_e=4&s_l=1&a=ATgko8JiGpXC0WGf"

    Here’s the original example :

    $ ffmpeg -i input -map 0 -c:v libx264 -c:a aac -bufsize 2000k -g 50 -f tee \ "[f=flv:onfail=ignore]rtmp://facebook|[f=flv:onfail=ignore]r‌​tmp://youtube|local_‌​file.mkv"

    However, despite using that example I’m getting :

    [NULL @ 0xffd840] Unable to find a suitable output format for 'pipe:'<br />
    pipe:: Invalid argument

    I understand that sometimes this error arises due to spacing issues or incorrect syntax. I’ve looked around to try to resolve this problem and using many combinations does not change the result.

    Thanks !

    Edit - Log added :

    configuration: --cc=emcc --prefix=/Users/bgrinstead/Sites/videoconverter.js/build/ffmpeg/../dist --extra-cflags='-I/Users/bgrinstead/Sites/videoconverter.js/build/ffmpeg/../dist/include -v' --enable-cross-compile --target-os=none --arch=x86_32 --cpu=generic --disable-ffplay --disable-ffprobe --disable-ffserver --disable-asm --disable-doc --disable-devices --disable-pthreads --disable-w32threads --disable-network --disable-hwaccels --disable-parsers --disable-bsfs --disable-debug --disable-protocols --disable-indevs --disable-outdevs --enable-protocol=file --enable-libvpx --enable-gpl --extra-libs='/Users/bgrinstead/Sites/videoconverter.js/build/ffmpeg/../dist/lib/libx264.a /Users/bgrinstead/Sites/videoconverter.js/build/ffmpeg/../dist/lib/libvpx.a'

    It specifically fails here :

    .../
    libavutil      52. 66.100 / 52. 66.100
  • FFMpeg Playlist with pipe for streaming [on hold]

    24 juillet 2017, par sword1st

    I’m trying to find a solution for stream multiple files without any connection breaks. I found this answer from KKetch :

    I managed to stream a static playlist of videos by using for each video a pipe (ex vid1.mp4 -> pipe1, vid2.mp4 -> pipe2 etc). Then i write into a single stream named pipe "stream" this way cat pipe1 pipe2 pipe3 > stream, and i use the stream pipe as input in FFMPEG to publish my stream.

    (I’m using windows. I don’t know to use named pipes. I searched a lot but i couldn’t do it. I can do it with vb.net if it’s possible. But i don’t know how :/ Sorry for my bad english)

    But i can’t reply his message cuz i don’t have enough reputation. I hope someone can help me how can i use pipes for input like playlist. Thanks !