
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (20)
-
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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (6570)
-
Revision c5840a8d8e : Merge "Reoptimizing the interpolation filters" into experimental
29 mars 2013, par Deb MukherjeeMerge "Reoptimizing the interpolation filters" into experimental
-
Revision 0b4deea896 : Merge "Adjust mv_ratio_accumulator threshold." into experimental
28 mars 2013, par Paul WilkinsMerge "Adjust mv_ratio_accumulator threshold." into experimental
-
How do I run a shell script through a "for" or "foreach" loop in order to batch convert ?
28 mars 2013, par jerdiggityAssuming I had a bunch of videos sitting inside the directory
/home/user/videos/awaiting_conversion
how would I go about using cron to run a script similar to this one to batch convert each video into a different format ?/bin/sh -c $'nice /usr/bin/ffmpeg -i \044'\'$'/home/user/videos/awaiting_conversion/video_file_1.mp4'\'$' -s \044'\'$'480x320'\'$' -vcodec libx264 -acodec libmp3lame -ab \044'\'$'64k'\'$' -vpre fast -crf \044'\'$'30'\'$' -ar \044'\'$'22050'\'$' -f flv -y \044'\'$'/home/user/videos/converted/video_file_1.flv'\'$''
The above script works fine for a single conversion, but :
- It assumes that the name of the video is static/known (which will not be the case when batch converting).
- It assumes that there is only one video to convert (which may or may not be the case), i.e. there's no "loop".
- It leaves the original file in place instead of deleting it (which is what I would want to happen to prevent duplicate conversions).
The ultimate question would be how do I run that script for each video that exists inside
/home/user/videos/awaiting_conversion
, passing the file name as a variable ?