[FFmpeg-trac] #9146(undetermined:open): ATC SEI of HLG (18) should overwrite color_trc from VUI in mp4, just like in ts and mkv

FFmpeg trac at avcodec.org
Thu Jun 3 04:56:24 EEST 2021


#9146: ATC SEI of HLG (18) should overwrite color_trc from VUI in mp4, just like
in ts and mkv
-------------------------------------+-------------------------------------
             Reporter:  a1q123456    |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  hevc         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by a1q123456):

 Replying to [comment:6 Balling]:
 > And this was just a bug in Mediainfo!!! HAHA.
 > SEI_rbsp_stop_one_bit on hevc-hdr.mp4 is only printed on android, WTF.
 Also, mp4 has ATC SEI.
 >
 > mpv nevertheless recognizes both as HLG, so no problem there. Nice.
 >
 >
 > Also I see a problem in mkv too, but that is a common problem that
 transfer_characteristics_Original is used somehow by ffmpeg, why BTW?

 Oh, I see, if we override the color_trc by ATC, we'll have no chance to
 find out the original value, and if we don't override the color_trc by
 ATC, it'll break some rule. So I think maybe add a new field to
 AVCodecContext to indicate the original value can solve this problem?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9146#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list