
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (48)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
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 -
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 (7204)
-
How to concatenate variables and strings as a full path for the "output file" of an ffmpeg command in a bash script
12 mai 2022, par djspatuleI'm trying to learn to bash scripting and I tried to use variables and arguments, etc. to specify a complex output file name to a ffmpeg command as follows :


for file in "$1"/*; do
 #get the name of each file in the directory (without the path nor the extension)
 filename=$(basename $file .mp3)
 #use mimic for Text To Speech. Difficult to install but good and natural voices.
 ~/Desktop/mimic1/mimic -t "$filename" -o $1/wavefile.wav
 #converts the wav file outputed by mimic into mp3
 ffmpeg -i $1/wavefile.wav -f mp3 "${1}/${filename} (title).mp3"
done




But the
"${1}/${filename} (title).mp3"
part in particular really doesn't seem to work...

Indeed, if I run
script.sh ./
, I get a file called (title).mp3

Can you help me figure out what it is I'm doing wrong ?
Thanks a million in advance.
Best,


P.S. : i also get earlier in the terminal's output
basename: extra operand ‘.mp3’
...like my whole code is wrong....?

-
Keep including the full version.h when headers are included externally
18 mars 2022, par Martin StorsjöKeep including the full version.h when headers are included externally
This avoids unnecessary churn and build breakage for users, by
making sure the whole version.h is included like it has been so far,
while keeping the benefit of not needing to rebuild most files in
the ffmpeg tree on minor/micro bumps.Signed-off-by : Martin Storsjö <martin@martin.st>
-
libavutil : include assembly with full path from source root
18 janvier 2022, par Alexander Kanavinlibavutil : include assembly with full path from source root
Otherwise nasm writes the full host-specific paths into .o
output, which breaks binary reproducibility.Signed-off-by : Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by : Anton Khirnov <anton@khirnov.net>