justdan96 / tsMuxer

tsMuxer is a transport stream muxer for remuxing/muxing elementary streams, EVO/VOB/MPG, MKV/MKA, MP4/MOV, TS, M2TS to TS to M2TS. Supported video codecs H.264/AVC, H.265/HEVC, VC-1, MPEG2. Supported audio codecs AAC, AC3 / E-AC3(DD+), DTS/ DTS-HD.
Apache License 2.0
885 stars 147 forks source link

Incorrect Codec ID and Codec configuration box values for Dolby Vision profile 8 mux #390

Closed GREMeZ closed 3 years ago

GREMeZ commented 3 years ago

Accordint to "Dolby Vision Streams Within the ISO Base Media File Format Version 2.1.2 specification" for DV p8, converted from UHD BR, values should be: Codec configuration box : hvcC+dvvC Codec ID : hev1

tsmuxer sets only Codec ID: 36 and skip mandatory "Codec configuration box"

jcdr428 commented 3 years ago

@GREMeZ "Dolby Vision Streams Within the ISO Base Media File Format Version 2.1" specification is for ISO MP4 files.

Please have a look at "Dolby Vision Streams Within the Mpeg-2 Transport Stream Format Version 1.2" specification for Mpeg-TS: the value of stream_type (= Codec ID) is 0x24 = 36 for HDR or SDR compliant BL, or 6 otherwise.

GREMeZ commented 3 years ago

Thanks for clarification