
Recherche avancée
Autres articles (53)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne 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, parLa 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 2011Documentation 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 KumarI have tried to make mp4 video using ffmpeg commond
with 2 .png image and one gif image to mp4 videoSequence of the video will be
aa1.png -> bb1.gif ->cc1.png = output.mp4I 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 awabsI 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='Stack Overflow' /tmp/anything` failed with code 1
at ChildProcess.<anonymous> (/workspace/node_modules/child-process-promise/lib/index.js:132:23)
at ChildProcess.emit (events.js:315:20)
at ChildProcess.EventEmitter.emit (domain.js:506:15)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Socket.EventEmitter.emit (domain.js:506:15)
at Pipe.<anonymous> (net.js:674:12)
at Pipe.callbackTrampoline (internal/async_hooks.js:120:14)
</anonymous></anonymous></anonymous>


-
How to convert the AVPacket of ffmpeg to the webm stream with c++ code ?
2 décembre 2020, par MichaelGDI 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 withavcodec_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>(&(pkt_.size)), sizeof(int));
file_.write(reinterpret_cast<char>(&timestamp), sizeof(uint64_t));
file_.write(reinterpret_cast<char>(pkt_.data), pkt_.size);
</char></char></char>


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