Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (53)

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

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (6282)

  • 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);
  • 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,
but no matter what I try it always exit the same error.

    


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


    


    And I tried this as well :

    


            return spawn('ffmpeg', ['-i', tmpFilePath, '-i', tmpLogoPath, '-filter_complex', '"overlay=10:10"', tmpFilePath]);


    


    console log :

    


    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;

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

    &#xA;

    I have already got the AVPacket of ffmpeg with avcodec_encode_video2

    &#xA;

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

    &#xA;

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

    &#xA;

    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;