[FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

Ramana ramanajajula9 at gmail.com
Mon Apr 13 16:37:43 EEST 2020


Okay, is there any way to extract the first frame of each and every second
for this live input stream. I tried with the below command also, but they
are not in the sync.

ffmpeg -i INPUT.ts -vf
"select='if(not(floor(mod(t,1)))*lt(ld(1),1),st(1,1)+st(2,n)+st(3,t));if(eq(ld(1),1)*lt(n,ld(2)+1),1,if(trunc(t-ld(3)),st(1,0)))'"
-vsync 0 out%d.jpg 

Could you or anyone suggest me to do any modifications or any options to
achieve this on live feed?




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


More information about the ffmpeg-user mailing list