[FFmpeg-trac] #8098(avcodec:new): DTS audio to .mp4 sets wrong audio Channel(s) to 2

FFmpeg trac at avcodec.org
Tue Aug 27 16:10:58 EEST 2019


#8098: DTS audio to .mp4 sets wrong audio Channel(s) to 2
--------------------------------------+----------------------------------
             Reporter:  Dameos        |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  avcodec       |                  Version:  4.2
             Keywords:  dts, channel  |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 When writing a DTS audio track to a .mp4 container ffmpeg reduces the
 audio channels to 2 instead of keeping the original channels.

 Command:
 {{{
 ffmpeg -i C:\ffmpeg\audio.dts -map 0:0 -c copy C:\ffmpeg\audio.mp4
 }}}

 MediaInfo:
 {{{
 General
 Complete name                            : C:\ffmpeg\audio.mp4
 Format                                   : MPEG-4
 Format profile                           : Base Media
 Codec ID                                 : isom (isom/iso2/mp41)
 File size                                : 2.26 GiB
 Duration                                 : 2 h 28 min
 Overall bit rate                         : 2 173 kb/s
 Writing application                      : Lavf58.31.104

 Audio
 ID                                       : 1
 Format                                   : DTS
 Format/Info                              : Digital Theater Systems
 Format profile                           : MA / Core
 Codec ID                                 : mp4a-A9
 Duration                                 : 2 h 28 min
 Bit rate mode                            : Variable / Constant
 Bit rate                                 : Unknown / 1 509 kb/s
 Nominal bit rate                         : 2 170 kb/s
 Channel(s)                               : 2 channels
 Channel(s)_Original                      : 6 channels
 Channel positions                        : Front: L C R, Side: L R, LFE
 Sampling rate                            : 48.0 kHz
 Frame rate                               : 93.750 FPS (512 SPF)
 Bit depth                                : 16 bits
 Compression mode                         : Lossless / Lossy
 Stream size                              : 2.26 GiB (100%)
 Default                                  : Yes
 Alternate group                          : 1
 }}}

 As you can see all the audio stream data is still being written to the mp4
 container, but Channel(s) is reduced to 2.

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


More information about the FFmpeg-trac mailing list