[FFmpeg-devel] [PATCH] lavfi/showinfo: only print checksum for the existing planes

Stefano Sabatini stefasab at gmail.com
Tue Feb 14 18:07:44 CET 2012


On date Friday 2012-02-10 03:31:10 +0100, Michael Niedermayer encoded:
> On Fri, Feb 10, 2012 at 12:06:59AM +0100, Stefano Sabatini wrote:
> > Make the output a bit nicer.
> 
> LGTM thx

Applied.

BTW this is unveiling a bug in the MPEG decoder, 
$ ffmpeg -i INPUT -vf showinfo -f null -
...
[showinfo @ 0x1b4e3d0] n:625 pts:22022000 pts_time:22.022 pos:786863 fmt:yuv420p sar:0/1 s:320x240 i:P iskey:0 type:P checksum:0FAE475A plane_checksum:[6866A467 0262F18F 9ACAB146 00000000]
[showinfo @ 0x1b4e3d0] n:626 pts:22055000 pts_time:22.055 pos:788373 fmt:yuv420p sar:0/1 s:320x240 i:P iskey:0 type:P checksum:90B7AC04 plane_checksum:[95C215A9 A6E8D80C 55EFBE40 00000000]
[showinfo @ 0x1b4e3d0] n:627 pts:22089000 pts_time:22.089 pos:790169 fmt:yuv420p sar:0/1 s:320x240 i:P iskey:0 type:P checksum:6215F1A5 plane_checksum:[E1A461F3 7E66BFEA 6951CFB9 00000000]
[showinfo @ 0x1b4e3d0] n:628 pts:22122000 pts_time:22.122 pos:791815 fmt:yuv420p sar:0/1 s:320x240 i:P iskey:0 type:P checksum:7C5A0DBC plane_checksum:[12418468 BAD7ADB1 5CC2DB85 00000000]
...

the fourth plane pointer is set to 0x20 while it should be NULL.
-- 
FFmpeg = Freak & Foolish Marvellous Power EniGma


More information about the ffmpeg-devel mailing list