[FFmpeg-trac] #5514(avcodec:open): Interlaced HEVC Steam not Decoded Properly

FFmpeg trac at avcodec.org
Mon Aug 3 22:19:42 EEST 2020

#5514: Interlaced HEVC Steam not Decoded Properly
             Reporter:  jlsantiago0  |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  hevc         |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |

Comment (by dhelsley):

 Replying to [comment:6 Balling]:
 > Replying to [comment:4 dhelsley]:
 > > There are differences. In #4141, according to the comments the stream
 in question has field_seq_flag=1 but pic_struct=3, which is improper
 syntax, and the reference decoder does the same thing as FFMPEG (output
 half-height frames).
 > >
 > > With this particular elementary stream, field_seq_flag=1 and
 pic_struct=1 or 2 depending on which field it is, which is valid
 interlaced syntax. The reference decoder produces proper interlaced output
 frames with this test vector.
 > Please can you look into this example https://yadi.sk/d/bQkXgt900uEdkg
 (DVB-T2 ts stream from Ostankino, USSR channel 58, Russia)? Is it the
 second as well? BTW, about reference decoder, is that this one?
 https://sourceforge.net/p/mjpeg/mailman/message/9927377/ or what?

 Wow, old bug.

 Your stream has field_seq_flag=1 and pic_struct=10,11 which is similar to
 our case (pic_struct=1,2 is top/bottom field, pic_struct=10,11 is top with
 next bottom/bottom with previous top or Top Field First).

 Reference software can be found here https://hevc.hhi.fraunhofer.de/

Ticket URL: <https://trac.ffmpeg.org/ticket/5514#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list