
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (102)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
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
Sur d’autres sites (13436)
-
Can FFmpeg encode multiple files at once ?
28 décembre 2016, par ivanI’m working on a shell script to encode the audio files in a given directory and output .flac files to another directory. My proof of concept loops through each file one by one and runs it through ffmpeg. I suspect there’s a way to pass the whole list of input files to ffmpeg in a single command, but haven’t been able to figure it out.
My current version looks like this :
#!/bin/sh
encode_album() {
local artist=$1; shift
local album=$1; shift
local in_dir="${HOME}/Music/raw-imports/${artist}/${album}"
local out_dir="${HOME}/Music/library/${artist}/${album}"
mkdir -p "${out_dir}"
find "${in_dir}" -type f -name *.aiff | while IFS= read -r in_file; do
local track_name=$(basename "${in_file}" .aiff)
local out_file="${out_dir}/${track_name}.flac"
encode_track "${in_file}" "${out_file}"
done
}
encode_track() {
local in_file=$1; shift
local out_file=$1; shift
null ffmpeg -i "${in_file}" -codec:a flac "${out_file}"
}
encode_album "Rolf Lislevand" "La Mascarade"This works, but do I need to feed these files into ffmpeg one by one, or is it capable of accepting a batch of files and processing them ?
-
Can FFmpeg encode multiple files at once ?
22 mai 2021, par ivanI'm working on a shell script to encode the audio files in a given directory and output .flac files to another directory. My proof of concept loops through each file one by one and runs it through ffmpeg. I suspect there's a way to pass the whole list of input files to ffmpeg in a single command, but haven't been able to figure it out.



My current version looks like this :



#!/bin/sh

encode_album() {
 local artist=$1; shift
 local album=$1; shift
 local in_dir="${HOME}/Music/raw-imports/${artist}/${album}"
 local out_dir="${HOME}/Music/library/${artist}/${album}"

 mkdir -p "${out_dir}"

 find "${in_dir}" -type f -name *.aiff | while IFS= read -r in_file; do
 local track_name=$(basename "${in_file}" .aiff)
 local out_file="${out_dir}/${track_name}.flac"

 encode_track "${in_file}" "${out_file}"
 done
}

encode_track() {
 local in_file=$1; shift
 local out_file=$1; shift

 null ffmpeg -i "${in_file}" -codec:a flac "${out_file}"
}

encode_album "Rolf Lislevand" "La Mascarade"




This works, but do I need to feed these files into ffmpeg one by one, or is it capable of accepting a batch of files and processing them ?


-
How to overlay a png to piped video source with audio mixed in via ffmpeg ?
5 janvier 2018, par Christopher StevensI’m successfully streaming silent video with music added from my Raspberry Pi (Raspbian) to YouTube via ffmpeg, with the help of this GitHub gist and this post :
raspivid -o - -t 0 -vf -hf -w 1280 -h 720 -fps 25 -b 4000000 | \
ffmpeg -i music.wav \
-f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental \
-f flv rtmp://a.rtmp.youtube.com/live2/STREAMKEYThe last step of my project to add a transparent, full width/height png overlay to the video (1280x720 size in my case). I’ve seen a few related answers such as this one and this one.
With the added complexity of piping in a camera feed, mixing in an audio source and outputting to a video stream, I haven’t succeeded in adding the image overlay. Where/how would I add a transparent image overlay in the example above ?