[FFmpeg-user] concat demuxer filter_complex (fade)

atticus mail-login+ffmpeg at protonmail.com
Sun Apr 12 02:23:07 EEST 2020


Hi,

I learned, that it's possible to define multiple inputs and reference then
later in the filter_complex to the different inputs like this:

ffmpeg -i vid1.mkv -i vid2.mkv -i vid3.mkv -filter_complex
"[0:v]fade=t=in:st=0:d=1[v0]; [1:v]fade=t=in:st=0:d=1[v1];
[2:v]fade=t=in:st=0:d=1[v2];
[v0][0:a][v1][1:a][v2][2:a]concat=n=3:v=1:a=1[v][a]" -map "[a]" -map "[v]"
out.mkv

But is this possible with using the concat demuxer (providing the files by
writing them into a file) too? And if yes how?
(Goal is to specify the videos through a file, using the concat demuxer, but
apply the fade filter to each of the video files before concatenating them.
Is it possible to make this in one step?)

With kind regards



--
Sent from: http://www.ffmpeg-archive.org/


More information about the ffmpeg-user mailing list