[FFmpeg-devel] Bug

Michael Niedermayer michaelni at gmx.at
Sat Oct 15 21:58:00 CEST 2011


On Fri, Oct 14, 2011 at 05:24:43PM -0700, Hardik Sharma wrote:
> I want to report this bug which I reproduced more then 10 times. Putting the error file with in the link. Please look at it. In the sequence I dropped 122nd slice (p slice) and decoded this to yuv format. It dropped the whole P frame. I also observed this bug with other slices too. I know that earlier michael commented on this bug that it is not reproducible but it did many times for me. I am also trying to analyze it from the code and request that if someone can also look into this to help me. I will really appreciate it. Thanks.
> 
> http://www.datafilehost.com/download-8e2551d5.html

Thanks hardik, i can reproduce it with this file.
The problem is that the first slice of a access unit is droped and our
parser (libavcodec/h264_parser.c) detects AU boundaries based on
the first slice in absence of other indications like SEI/AUD/PPS/...

a patch fixing this is welcome! The H.264 spec lists how correct AU
boundary detection should be done, it involves parsing and comparing
stuff

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111015/e226303c/attachment.asc>


More information about the ffmpeg-devel mailing list