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

FFmpeg trac at avcodec.org
Fri Dec 18 05:34:38 EET 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 Balling):

 I think that interlaced_source_flag is not intended for check here, better
 check field_seq_flag for 1 as per spec ("field_seq_flag equal to 1
 indicates that the CVS conveys pictures that represent fields" and
 further) and that is how it is done in
 https://gitlab.com/mbunkus/mkvtoolnix/-/commit/47058a6da2672944aa4544f8ecb7b9a79ba3f752#0dd3dcd183ebb1497b9a9e3522e4d11a174384a2_282_288

 That will not fix #4141 of course, but that file there is not spec
 compliant. It can further be fixed by checking for picture_struct and
 interlaced_source_flag.

 Indeed as I read the spec (and as mkver reads it), the fields (not frames!
 ) can be progressive in all cases, not only for frame doubling and
 trippling.

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


More information about the FFmpeg-trac mailing list