
Recherche avancée
Autres articles (31)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (4942)
-
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 ? -
Revision 6cb2fcf601 : Merge "Fix mix-up in pt token indexing." into experimental
28 mars 2013, par Ronald S. BultjeMerge "Fix mix-up in pt token indexing." into experimental