
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (19)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (4500)
-
Shell Script - Issue while assigning command from shell script
18 novembre 2013, par SimonI want to build a script for converting a set of .avi movies from a folder to .wmv movies by using the
ffmpeg
converter.My script has the following content :
for file in *.avi
do
replace_string="wmw";
new_file=${file/avi/$replace_string};
#echo $new_file
#echo $file
ffmpeg -i $file -b:v 2500k /home/alin/WmvMovies/$new_file
doneHowever, it doesn't work. I receive the following error :
[NULL @ 0x1849040] Unable to find a suitable output format for '/home/alin/WmvMovies/Teo_Pose90.wmw'
/home/alin/WmvMovies/Teo_Pose90.wmw: Invalid argumentHowever, if I try this independently, it works. If I introduce into shell the following command :
ffmpeg -i Teo_Pose90.avi -b:v 2500k /home/alin/WmvMovies/Teo_Pose90.wmv
Can someone please explain to me why do I get this behaviour ?
-
How to convert mp4 to flv a bunch of files ?
21 avril 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 ? -
How to convert multiple files from mp4 to flv using a shell script
22 avril 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 ?