[FFmpeg-user] join tif sequences to movie and add audio file

Martin Schmidt martin at herrschmidt.tv
Thu Sep 17 11:39:13 CEST 2015


Hi,
I would like to join multiple tif sequences into one Quicktime movie and 
at the same time add audio from another file.
I found a solution that works nicely:

"C:\Program Files (x86)\FFMPEG\bin\ffmpeg.exe" -y -r 24 -start_number 0 
-i TIF_SEQUENCE_! -r 24 -start_number 5 -i TIF_SEQUENCE_2 -r 24 
-start_number 0 -i TIF_SEQUENCE_3 -r 24 -start_number 33 -i 
TIF_SEQUENCE_4 -r 24 -start_number 1 -i TIF_SEQUENCE_5 -r 24 
-start_number 0 -i TIF_SEQUENCE_6 -i AUDIOFILE -filter_complex 
"[0:0][1:0][2:0][3:0][4:0][5:0]concat=n=6:v=1:a=0[v];[6:a]atempo=1[a]" 
-map "[v]" -map [a] -vcodec prores -profile:v 3 -qscale:v 5 -acodec 
pcm_s24le -ar 48000 -r 24 cargas_prores_hq.mov

Now I am wondering if there is a more elegant way of adding the audio 
file into the movie?
The only solution I found with my limited knowledge is to pipe the audio 
into the filter_complex graph with a filter that does nothing (atempo=1).

Thanks in advance!
Cheers,
Martin



More information about the ffmpeg-user mailing list