Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (50)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (5961)

  • Android Video Compression [on hold]

    10 mars 2015, par Arif Gencosmanoglu

    I am planning to build a small Android JAVA application that compresses images and videos. I did the image compression part and my .apk size is 1.5MB. However when I do the video compression part by using ffmpeg the application size goes up to 20.0MB. This library has tons of features that I am not using. I only need a simple video compression module to add.

    Is there any other video compression methods or functions that will be useful ?

    Thanks.

  • How to create output live stream from bunch of input live streams on the fly with ffmpeg

    27 septembre 2022, par Alex

    Iam looking for a solution how to merge a bunch of live streams into one output live stream with ability to adding new streams and remove old on the fly without output stream stopping.

    


    Something like this command shoud work fine for static number of streams :

    


    ffmpeg -i "rtsp://steam1" -i "rtsp://steam2" -filter_complex "overlay=70:70" -vcodec libx264 -preset ultrafast -f flv rtmp://steam1-stream2-mosaic


    


    But main issue that number of streams is a dynaminc parameter in my case.

    


    I'll try to explain using YouTube as an example and why that "on-the-fly"-logic is important to me. If on start I have two input streams as in command above, and run ffmpeg command to push merged output stream to YouTube, when third input stream is make available, I should somehow add it to main output stream, that already publishing to YouTube. Or, if one of two streams are closed, remove it from published stream.

    


    Obvious solution is to terminate first ffmpeg command with two streams, make new one with new stream list and republish output stream to where I need it. But, when previous output stream stopped, RTMP(S) connection closes, YouTube detect connection loss and close stream, disconnect all viewers, close chat and others. So when ffmpeg pushed new output stream with new stream list, this will be a completely new RTMP(S) connection for YouTube, with empty watch list and chat history.

    


    Main issue is how to add new and remove old streams for single output stream without closing RTMP(S) connection. Modifying existing ffmpeg process looks unavailable, but, maybe, there is some network socket magic, when new ffmpeg process push their output stream to socket that opened by old ffmpeg process. RTMP(S) protocol in this case may generate some errors or "black screen" for a seconds, but this is applicable for me.

    


    ffmpeg is not a requirement : if you can suggest solution with other software, it will be also interesting.

    


  • the ffmpeg python library doesn't work on heroku

    24 mars 2020, par Androeed Hack

    There is a python application (3.6.10) on Heroku. The app has functions for playing music in voice chat when using the FfmegAudio module. When calling the command, it returns an error :

    ...
    raise CommandInvokeError(exc) from discord.ext.commands.errors ... AttributeError 'NoneType' object has no attribute 'stop'

    My app has a buildpack package https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
    Localy everthing works.