
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (59)
-
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 ;
-
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 -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (7094)
-
ffmpeg save hls to m3u8 with mp4 segments
9 juin 2018, par J. OmenI am looking for a command ffmpeg, which saving live input (rtmp or hls) to hls m3u8 with mp4 segments files. I know that it is possible to do, i.e. there is infohttps://bitmovin.com/hls-news-wwdc-2016/ but every command I tries - makes ts files. Anyone know solution ?
-
Revision aaf6ad53d0 : Released version 1.0.5.
3 avril 2008, par Marc NoirotChanged Paths :
Modify /ChangeLog
Modify /NEWS
Modify /THANKS
Modify /config.h.win
Modify /configure.ac
Released version 1.0.5. -
ffmpeg in bash only works on every second file
5 août 2016, par kay
EDIT :
The Solution is to change the original ffmpeg-call below to the following :
ffmpeg -nostdin -loglevel 16 -i "$dir/$var" -map_channel 0.0.0 "$left" -map_channel 0.0.1 "$right"
where the-nostdin
is the crucial thing.
For reference see apply ffmpeg to many files (comment by macmichael01)
I’m trying to convert all .wav-files in a given directory and it’s subdirectorys into two mono-files each with the following bash script. The crucial part is almost at the bottom - the ffmpeg call :
#!/bin/bash
# "[One] Stereo [file] to two mono [files] - stereo22mono"
# Syntax ffmpeg siehe: https://trac.ffmpeg.org/wiki/AudioChannelManipulation
ls -R $1 > .s22mtmp.txt
while read -r line || [[ -n "$line" ]]; do
var=$line
tst=$var
tst="${tst%:}"
if [ -d "${tst%./}" ] # is directory name
then
dir=$tst
elif [ -f "$dir/$var" ] # is file name
then
left=$dir/left_$var
right=$dir/right_$var
#loglevel 16 = only errors
# -i ...-> input file
# ffmpeg ... [SOURCE] ... [TARGET1] ... [TARGET2]
ffmpeg -loglevel 16 -i "$dir/$var" -map_channel 0.0.0 "$left" -map_channel 0.0.1 "$right"
fi
done < .s22mtmp.txt
rm .s22mtmp.txtIt almost works - besides the fact, that it only does it’s job on only every second file, although the for-loop correctly goes through all files (watched it with echo) and calls ffmpeg.
I thought it might be that ffmpeg has not finished it’s assigned work by the time it is asked to work on the next file and therefore just refuses, which seems to be true.
Because I made one try with disowning every call of ffmpeg like so :ffmpeg -loglevel 16 -i "$dir/$var" -map_channel 0.0.0 "$left" -map_channel 0.0.1 "$right" & disown
This worked almost, the problem was just that kind of hundreds of processes and multiple times more threads where starting to run and wouldn’t complete in a reasonable time, so I arborted. :D
But at least it didn’t skip every second file anymore with that kind of call.Can anyone give me a hint, how to get this done ? Would be very thankful.. it’s actually the first time I’m trying with bash scripts.
Thanks in advance !