[FFmpeg-trac] #2665(avutil:new): AV_PICTURE_TYPE_NONE is returned for multiple slice H264 frames
FFmpeg
trac at avcodec.org
Wed Jun 12 20:27:00 CEST 2013
#2665: AV_PICTURE_TYPE_NONE is returned for multiple slice H264 frames
-----------------------------------+----------------------------------
Reporter: Gibraltar | Type: defect
Status: new | Priority: normal
Component: avutil | Version: 1.1.5
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-----------------------------------+----------------------------------
Summary of the bug:
An incorrect AVPictureType is returned during demux for two slice per H264
encoded streams. When calling av_read_frame to demux a packet from a
Mpeg-2 H264 stream, the returned avpacket AVPictureType is
AV_PICTURE_TYPE_NONE in the case where it should be AV_PICTURE_TYPE_I.
This only happens when the H264 frames has two slices per frame as shown
in attached image.
How to reproduce:
Demux an H264 I frame when the H264 is two slices per frame.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2665>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list