[FFmpeg-user] How to filter time dependent

Ulf Zibis Ulf.Zibis at CoSoCo.de
Thu Apr 22 18:26:42 EEST 2021

Am 22.04.21 um 13:01 schrieb Michael Koch:
> untested:
> ffmpeg -i input.mp4 -lavfi split[a][b];[a]filter_A[c];[b]filter_B[d];[c][d]select=bitor(between(t,0,1999),between(t,2200,10000)),filter_C out.mp4
Much thanks for this great help.

To find the time, from where I will change the filter, I did:
ffmpeg -i IN.mpg -ss 48:07.50 -frames:v 50 'OUT_%03d.jpg'
(the videos fps is 25)

But his gives me only an estimation. Is there a way to seek in the stream with exact frame count instead unsing -ss, which only counts in seconds?


More information about the ffmpeg-user mailing list