
Advanced search
Other articles (62)
-
Le profil des utilisateurs
12 April 2011, byChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
HTML5 audio and video support
13 April 2011, byMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Configurer la prise en compte des langues
15 November 2010, byAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
On other websites (4810)
-
How do I run a shell script through a "for" or "foreach" loop in order to batch convert?
28 March 2013, by 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 March 2013, by Ronald S. BultjeMerge "Fix mix-up in pt token indexing." into experimental
-
Revision 868ecb55a1: Merge "Tokenization code cleanup." into experimental
29 March 2013, by John KoleszarChanged Paths: Modify /vp9/decoder/vp9_detokenize.c Merge "Tokenization code cleanup." into experimental