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

Moritz Barsnick barsnick at gmx.net
Thu Sep 17 12:56:04 CEST 2015


On Thu, Sep 17, 2015 at 10:06:40 +0000, Carl Eugen Hoyos wrote:
> Martin Schmidt <martin <at> herrschmidt.tv> writes:
[...]
> > -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?
> 
> I suspect the amovie filter can do it.

Why does audio even need to be in the complex filter? Drop
"[6:a]atempo=1[a]" from the filter, and replace "-map [a]" with
"-map 6:a".

BTW, the "anull" filter is the one intended for doing nothing. :-)
Better then atempo=1.

Moritz


More information about the ffmpeg-user mailing list