
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (35)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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 (7783)
-
Executing ffmpeg from Python
24 mars 2016, par shardulcI’m trying to run
ffmpeg
on all the WAV files in a directory to convert them to mp3. This command works fine when I run it from the command-line, on my Fedora Linux machine :/usr/bin/ffmpeg -i "Name With Spaces.wav" Name_With_Spaces.mp3
where
Name With Spaces.wav
is a file in the current directory. However, in Python 3.2 running in the same directory :import os
files = os.listdir()
os.execl('/usr/bin/ffmpeg', '-i \"' + files[0] + '\"', files[0][:-4].replace(' ', '_') + '.mp3')gives me the error (from
ffmpeg
) : At least one input file must be specified. I don’t see why this isn’t working, because'-i \"' + files[0] + '\"'
evaluates to-i "Name With Spaces.wav"
andfiles[0][:-4].replace(' ', '_') + '.mp3'
evaluates toName_With_Spaces.mp3
.I’ve tried escaping spaces, using different quotation marks, using the full path (like
/home/.../music/Name\ With\ Spaces.wav
), and actually replacing the arguments with the real text, but nothing works. How can I get this to work ? -
doc/filters/crop : drop unmatched quote in example
11 mai 2023, par Andriy Utkindoc/filters/crop : drop unmatched quote in example
Commit 55b81528a991 ("doc/filters : itemize crop examples") dropped the
quotation marks from these examples, but this one remained. Quotes are
actually needed to put the example into a command line or a program, but
removing it here makes the example consistent with the document. -
Revision 93109 : Compat PHP7 (peut être pas encore suffisant). La structure foreach ...
23 novembre 2015, par marcimat@… — LogCompat PHP7 (peut être pas encore suffisant).
La structure foreach change de comportement et s’applique par défaut sur une copie du tableau passé.
Si on modifie le tableau dans le foreach… bien celui d’origine n’est pas affecté. Pour retrouver
le comportement d’avant dans ces cas là, il faut passer la valeur par référence.
cf.
https://wiki.php.net/rfc/php7_foreach
http://php.net/manual/fr/migration70.incompatible.php