
Recherche avancée
Autres articles (71)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
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 (...)
Sur d’autres sites (9085)
-
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 ?


-
Creating App from Terminal code
11 août 2014, par user3084141Good evening,
I want to create an app that demuxes Audio from a Videofile with ffmpeg,that uses the following Terminal-code"ffmpeg location" -i "Source.file (Video.mp4)" -vn -ss "time" -t "sec" -acodec copy "Destination.file ("Audio.m4a")"
I couldn’t find a ffmpeg gui for OSX that would let me do that.
The Programm should ask for a Source file, a destination, start time and length.
ffmpeg could be integrated or specified.Maybe it’s easier to Automate a Service.
I’m sorry the I don’t have any experience on mac and automating Terminal commands.
I have to start from 0 only a little bit visual basic experience.