Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (103)

  • 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 (...)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (10482)

  • How to convert the AVPacket of ffmpeg to the webm stream with c++ code ?

    2 décembre 2020, par MichaelGD

    I am confused how to convert the ffmpeg AVPacket to a living stream in order to I can play it with HTML5.

    


    I have already got the AVPacket of ffmpeg with avcodec_encode_video2

    


    AVPacket pkt_;    
ret = avcodec_encode_video2(c_, &pkt_, picture_, &got_frame);


    


    And I also know how to dump the packet to webM file.

    


    file_.write(reinterpret_cast<char>(&amp;(pkt_.size)), sizeof(int));&#xA;file_.write(reinterpret_cast<char>(&amp;timestamp), sizeof(uint64_t));&#xA;file_.write(reinterpret_cast<char>(pkt_.data), pkt_.size);&#xA;</char></char></char>

    &#xA;

    But, How can I create a stream server with the packets for front-end playing ?

    &#xA;

  • ffmpwg failed with code 1 at ChildProcess

    13 janvier 2021, par awabs

    I am trying to add a watermark over the a video in firebase storage using firebase functions and ffmpeg,&#xA;but no matter what I try it always exit the same error.

    &#xA;

     return spawn(&#x27;ffmpeg&#x27;, [&#x27;-i&#x27;, tmpFilePath, &#x27;-vf&#x27;,`drawtext="text=&#x27;hello World&#x27;`, tmpFilePath]);&#xA;

    &#xA;

    And I tried this as well :

    &#xA;

            return spawn(&#x27;ffmpeg&#x27;, [&#x27;-i&#x27;, tmpFilePath, &#x27;-i&#x27;, tmpLogoPath, &#x27;-filter_complex&#x27;, &#x27;"overlay=10:10"&#x27;, tmpFilePath]);&#xA;

    &#xA;

    console log :

    &#xA;

    ChildProcessError: `ffmpeg -i /tmp/anything -vf drawtext="text=&#x27;Stack Overflow&#x27; /tmp/anything` failed with code 1&#xA;at ChildProcess.<anonymous> (/workspace/node_modules/child-process-promise/lib/index.js:132:23)&#xA;at ChildProcess.emit (events.js:315:20)&#xA;at ChildProcess.EventEmitter.emit (domain.js:506:15)&#xA;at maybeClose (internal/child_process.js:1021:16)&#xA;at Socket.<anonymous> (internal/child_process.js:443:11)&#xA;at Socket.emit (events.js:315:20)&#xA;at Socket.EventEmitter.emit (domain.js:506:15)&#xA;at Pipe.<anonymous> (net.js:674:12)&#xA;at Pipe.callbackTrampoline (internal/async_hooks.js:120:14)&#xA;</anonymous></anonymous></anonymous>

    &#xA;

  • Make .png and .gif to mp4 video using java code [closed]

    17 février 2020, par Rahul Kumar

    I have tried to make mp4 video using ffmpeg commond
    with 2 .png image and one gif image to mp4 video

    Sequence of the video will be
    aa1.png -> bb1.gif ->cc1.png = output.mp4

    I have tried this code

    Process sysprocess = Runtime.getRuntime().exec(ffmpegPath+" -y -framerate 1 -start_number 1 -i  "+splitFileGif+"\\img9.png  -i "+splitFileGif+"\\"+animationImageFile.getOriginalFilename()+" -i "+splitFileGif+"\\main.mp3 -vf scale=720:756 -c:v libx264 -r 30 -pix_fmt yuv420p "+videoFilePath);