
Recherche avancée
Autres articles (55)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (9895)
-
FFMPEG execution from PHP
13 juin 2014, par egekhterI’m trying to execute FFMPEG from a PHP script and could not figure out the best practice for doing so when running a background process - do we use shell_exec, exec, passthru, proc_open...?
On https://trac.ffmpeg.org/wiki/Using%20FFmpeg%20from%20PHP%20scripts, they use an example of
echo shell_exec("ffmpeg -y -i input.avi output.avi null >/dev/null 2>/var/log/ffmpeg.log &");
In my code I was initially using :
exec($cmd." 2>&1", $out, $ret);
But then switched to :
passthru($cmd." 2>&1", $ret);
I chose passthru because I could actually see the encoding process in terminal, but now it’s a moot point since I’m running multiple background processes. Which is the recommended function for running background processes ?
-
avconv/ffmpeg command to encode nice full hd webm for chrome
18 mars 2016, par xavier.seignardPeople from the artistic direction gave me big
.mov
and.mp4
that I need to put on a web app, but so far they are so huge that decoding/rendering is kinda bad on chrome (this is a chrome only experience since it will run on electron at the end).I’d like to re-encode them in
.webm
since it seems to have the best support in chrome.But I’m kinda lost on how to re-encode them without significative visual quality lost.
For now I use (taken from https://trac.ffmpeg.org/wiki/Encode/VP8)
ffmpeg -i myVid.mp4 -c:v libvpx -crf 8 -b:v 2M -c:a libvorbis myVid.webm
So, does anyone have a nice
avconv
/ffmpeg
command that will produce nice and easy to render.webm
?Regards.
-
gdb and ffmpeg compilation
6 octobre 2019, par toutou0091I installed ffmpeg using the instructions of the web site ffmpeg : http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide, compilation works fine, they generates a file "ffmpeg_201207131721-git-1_amd64.deb " then, I excute
sudo dpkg-i ffmpeg_201207131721-git-1_amd64.deb
When I excute the command
ffmpeg -i -f toto.flv mp3-vn-acodec copy new_video.mp3
file "new_video. mp3" is well established. I would like to know what is the command "gdb" that I could use to find the file that have been consulted when i run the command
ffmpeg -i -f toto.flv mp3-vn-acodec copy new_video.mp3
Thank you in advance
Toufik