[FFmpeg-trac] #9996(ffmpeg:open): When remuxing dolby atmos mkv to mp4, complexity index is not present.

FFmpeg trac at avcodec.org
Mon Jan 16 18:57:17 EET 2023


#9996: When remuxing dolby atmos mkv to mp4, complexity index is not present.
-------------------------------------+----------------------------------
             Reporter:  BlueWindy    |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------
Comment (by Balling):

 Looks as follow: near AudioFormat = ec-3 there is Unknown_dec3, what is
 called EAC3SpecificBox dec3 there flag_ec3_extension_type_joc and
 joc_complexity_index. I would imagine this would require parsing of eac3.

 {{{

 0001BE       Audio (51 bytes)
 0001BE        Header (8 bytes)
 0001BE         Size:                           51 (0x00000033)
 0001C2         Name:                           ec-3
 0001C6        Reserved:                        0 (0x0000000000000000)
 0001CC        Data reference index:            1 (0x0001)
 0001CE        reserved (0):                    0 (0x00000000)
 0001D2        reserved (0):                    0 (0x00000000)
 0001D6        channelcount (2):                2 (0x0002)
 0001D8        samplesize (16):                 16 (0x0010)
 0001DA        pre_defined (0):                 0 (0x0000)
 0001DC        reserved (0):                    0 (0x0000)
 0001DE        samplerate:                      48000 (0xBB80)
 0001E0        samplerate (0):                  0 (0x0000)
 0001E2        EAC3SpecificBox (15 bytes)
 0001E2         Header (8 bytes)
 0001E2          Size:                          15 (0x0000000F)
 0001E6          Name:                          dec3
 0001EA         data_rate:                      768 (0x0300) - (13 bits)
 0001EB         num_ind_sub:                    0 (0x0) - (3 bits)
 0001EC         independent substream (3 bytes)
 0001EC          fscod:                         0 (0x0) - (2 bits)
 0001EC          bsid:                          16 (0x10) - (5 bits)
 0001EC          reserved:                      No
 0001ED          asvc:                          No
 0001ED          bsmod:                         0 (0x0) - (3 bits)
 0001ED          acmod:                         7 (0x7) - (3 bits)
 0001ED          lfeon:                         Yes
 0001EE          reserved:                      0 (0x0) - (3 bits)
 0001EE          num_dep_sub:                   0 (0x0) - (4 bits)
 0001EE          reserved:                      No
 0001EF         reserved:                       0 (0x0) - (7 bits)
 0001EF         flag_ec3_extension_type_joc (2 bytes)
 0001EF          flag_ec3_extension_type_joc:   Yes
 0001F0          joc_complexity_index:          16 (0x10) - (8 bits)
 0001F1      Time to Sample (24 bytes)
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9996#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list