[FFmpeg-devel] [PATCH]lavfi/decimate: Do not drop first frame
george at nsup.org
Tue Dec 22 16:29:36 CET 2015
Le decadi 30 frimaire, an CCXXIV, Carl Eugen Hoyos a écrit :
> > Can you explain?
> The first frame still gets dropped with your patch
> > It worked when I submitted it, I think.
> You think?
Yes, I think so. And I just checked.
./ffmpeg_g -lavfi testsrc2=r=4:d=5,fps=5,showinfo,decimate=cycle=5,showinfo -f null -
Selected output with the current Git head:
Selected output with the patch:
As you can see, without the patch, it discards the first frame, the one with
checksum 3744B3ED, and keeps the second and third frames, the ones that fps
duplicated. With the patch, each frame, including the first one, is
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel