[FFmpeg-trac] #8752(avcodec:new): hevc_metadata: VUI fields not correctly inferred

FFmpeg trac at avcodec.org
Sun Jun 21 19:58:39 EEST 2020

#8752: hevc_metadata: VUI fields not correctly inferred
             Reporter:               |                     Type:  defect
  MetalThrashingManiac               |
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:
                                     |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 Hi. When applying the hevc_metadata bsf to a stream without VUI
 information, the values in H265SPS.vui are not correctly inferred,
 especially the fields inferred by bitstream_restriction_flag. When setting
 VUI fields such as colour_primaries, cbs_h265_write_vui_parameters will
 error out.

 Source of the error could be in cbs_h265_read_sps, which only checks for
 vui_parameters_present_flag and - if 0 - does not call
 cbs_h265_read_vui_parameters (that would infer the parameters).

Ticket URL: <https://trac.ffmpeg.org/ticket/8752>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list