[FFmpeg-user] get in-time for clips after filter_complex concat

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Dec 10 15:12:13 EET 2016


2016-11-29 23:46 GMT+01:00 Erik Blankinship <erikb at mediamods.com>:
> I've concatenated some videos (with audio tracks) together using ffmpeg's
> filter_complex. Between each video is a blank video (black with silent
> audio).
>
> #the blank video
> ffmpeg -f lavfi -i color=c=black:s={w}x{h}:d={duration} -f lavfi -i
> aevalsrc=0:c=2:d={duration} {target_file}
> #concat the videos
> ffmpeg -i b.mp4 -i clip0.mp4 -i clip1.mp4 -i clip2.mp4 -i clip3.mp4
> -filter_complex '[1:0] [1:1] [0:0] [0:1] [2:0] [2:1] [0:0] [0:1] [3:0]
> [3:1] [0:0] [0:1] [4:0] [4:1] concat=n=7:v=1:a=1 [v] [a]' -map '[v]'
> -map '[a]' argh.mp4 -report
>
> Once created, the resultant video looks great and sounds great!
>
> Now I need to know the exact time or frame the videos are inserted into the
> output file.

Doesn't -loglevel verbose add some information about when streams end?

Carl Eugen


More information about the ffmpeg-user mailing list