Recherche avancée

Médias (91)

Autres articles (99)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (12943)

  • ffmpeg infinite streaming of audio and video using rtmp

    30 août 2019, par Jarro

    I’m trying to make a Youtube radio consisted of infinitely looped video.mp4 (10 seconds length) and infinitely looped audio.flac (4 hours length) streaming from my VPS. These Audio and Video streams don’t require synchronization.

    I tried to use FFMPEG and it worked well until I tried to make the streams looping

    ffmpeg -f concat -i video.txt \
    -f concat -i audio.txt \
    -c:a aac \
    -s 1920x1080 \
    -ab 256k \
    -b:v 2500k \
    -q:v 3 \
    -preset veryfast \
    -vcodec libx264 \
    -pix_fmt yuv240p \
    -maxrate 1024k \
    -bufsize 048k \
    -framerate 4 \
    -threads 2 \
    -f flv \
    "$YOUTUBE_URL/$KEY"

    (audio.txt contains 10000 identical lines of ’file audio.flac’, video.txt ’file video.mp4’ respectively)
    ’concat’ filter leaves some terrible glitch resulting in my stream (both audio and video) frequently scrolled forward for 10 seconds or so.
    I also tried ’-stream_loop’ flag but it does not work with multiple input streams.

  • FFMPEG Android Compile With libmp3lame

    7 juillet 2016, par burakcosk

    my os is mac os x

    I can compile and use ffmpeg without libmp3lame , and having no problems, I use below command to compile ffmpeg

    sudo ./configure

    but when I try it with

    sudo ./configure —enable-libmp3lame

    It returns error ERROR : libmp3lame >= 3.98.3 not found

    However, I have libmp3lame installed on my system.

    I installed libmp3lame using brew install lame

    and linked with brew link lame.

    when I look into config.log to see error messages I got this

    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -mdynamic-no-pic -fomit-frame-pointer -fPIC -E -o /tmp/ffconf.V6BXHwIr.o /tmp/ffconf.rMa57AkB.c /tmp/ffconf.rMa57AkB.c:1:10 : fatal error : ’lame/lame.h’ file not found

    So it can not find lame/lame.h but I have lame/lame.h inside /usr/local/include ..

    I really stucked on this and searched over internet for many hours,

    any help would be greatly appreciated thanks

    EDIT =====

    I made some progress, now I have compiled ffmpeg witch runs without problems in Android, but I still could not combine it with the libmp3lame

  • ffmpeg stream : only video, no audio (twitch livestream)

    24 mai 2023, par Sam Leurs

    I have the following ffmpeg command in node.js to stream to a twitch livestream.

    


    Please note that the code is simplified.

    


    const ffmpeg = require('ffmpeg-static');

const cmd = `${ffmpeg} \
-stream_loop -1 \
-re \
-f mp4 \
-i ${argv.v} \
-stream_loop -1 \
-re \
-f mp3 \
-i ${argv.a} \
-c:a libmp3lame \
-c:v libx264 \
-b:a 128k \
-b:v 4500k \
-ar 44100 \
-ac 2 \
-preset veryfast \
-pix_fmt yuv420p \
-f flv ${url}`;

const stream = exec(cmd);


    


    It's an mp4-file of 5 seconds and an mp3-file of 15 minutes. It should be an infinite stream.

    


    The video works and is looped as expected, but the audio isn't playing. If I add the audio directly to the video (with a video editor) and stream the file, the audio at twitch works.

    


    I had it working a few hours ago but after changing the command it does not work anymore. I was thinking I was blocked by twitch. It's a royalty free number generated by AI, so not a known pop song which could be blocked by twitch (if that's even possible).

    


    Does someone know the solution ?