[FFmpeg-devel] [PATCH]lavfi/decimate: Do not drop first frame
Nicolas George
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
> attached.
>
> > It worked when I submitted it, I think.
> You think?
Yes, I think so. And I just checked.
Command-line:
./ffmpeg_g -lavfi testsrc2=r=4:d=5,fps=5,showinfo,decimate=cycle=5,showinfo -f null -
Selected output with the current Git head:
checksum:3744B3ED
checksum:8EBF9CAA
checksum:8EBF9CAA
checksum:7DE48EED
checksum:7F94A8D3
checksum:8EBF9CAA
checksum:8EBF9CAA
checksum:7DE48EED
checksum:7F94A8D3
Selected output with the patch:
checksum:3744B3ED
checksum:8EBF9CAA
checksum:8EBF9CAA
checksum:7DE48EED
checksum:7F94A8D3
checksum:3744B3ED
checksum:8EBF9CAA
checksum:7DE48EED
checksum:7F94A8D3
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
selected.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151222/2c00c4fd/attachment.sig>
More information about the ffmpeg-devel
mailing list