Nexus doesn't seem to support DTS-HD Master Audio using the .m2ts file extension

  • I have 2 Intel NUCs running LE 10.0.4 and they play all my .m2ts video files containing DTS-HD Master Audio correctly. Their Audio Streams are identified as: English - DTS-HD MA 5.1 (side) - 6 channels [default] (1/1). My AVR correctly identifies them as DTS-HD Master Audio

    If I update to 10.95.0 (Nexus), the Audio Streams are identified as: English - DTS 0 channels - 0 channels (1/1). My AVR plays them as plain DTS - not DTS-HD Master Audio

    Same problem running Kodi Nexus on a Windows 10 computer.

    I converted one of the .m2ts files to .mkv and it plays DTS-HD Master Audio correctly.

    Can anyone else confirm this?

    Edited 3 times, last by blueribb (February 2, 2023 at 1:09 PM).

  • Here's a link to a sample .m2ts video file that contains DTS-HD Master Audio:

    Samples - Official Kodi Wiki

    Scroll down to HD / object-based Audio Test Clips and select number 14 to download.

    It will play properly with LE 10.0.4 (Matrix) but not with LE 10.95.0 (Nexus). The AVR should display "DTS-HD Master Audio"

  • This seems to be a kodi bug, might be best to report it on kodi forums or kodi's github.

    ffprobe reports the audio stream of DTS-HD MA 7.1 'Dredd' Sound Check.m2ts as DTS-HD-MA

    Code
    Input #0, mpegts, from 'kodi/DTS-HD MA 7.1 'Dredd' Sound Check.m2ts':
      Duration: 00:01:27.91, start: 11.650667, bitrate: 25283 kb/s
      Program 1 
      Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
      Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 7.1, s32p (24 bit)

    But kodi reports just dts and seems to choose the DTS core stream

    Code
    2023-02-03 16:39:05.885 T:1180     info <general>: ffmpeg[0x3807b58]: Input #0, mpegts, from 'smb://lebuild.lan/samples/kodi/DTS-HD MA 7.1 'Dredd' Sound Check.m2ts':
    2023-02-03 16:39:05.885 T:1180     info <general>: ffmpeg[0x3807b58]:   Duration: 00:01:27.91, bitrate: N/A
    2023-02-03 16:39:05.885 T:1180     info <general>: ffmpeg[0x3807b58]:   Program 1 
    2023-02-03 16:39:05.885 T:1180     info <general>: ffmpeg[0x3807b58]:   Stream #0:0[0x1011]: Video: h264 (HDMV / 0x564D4448), none, 1920x1080, 90k tbn
    2023-02-03 16:39:05.885 T:1180     info <general>: ffmpeg[0x3807b58]:   Stream #0:1[0x1100]: Audio: dts ([134][0][0][0] / 0x0086), 0 channels
    ...
    2023-02-03 16:39:05.952 T:1183     info <general>: CAEStreamParser::SyncDTS - dtsHD (core) stream detected (6 channels, 48000Hz, 16bit BE, period: 512, syncword: 0x41a29547, target rate: 0x18, framesize 2128))

    so long,

    Hias

  • Thanks for confirming the bug. I posted this on the Kodi Forums this morning but there have been no replies (yet).

    Update: I just submitted the bug to Kodi Github

    Edited 2 times, last by blueribb (February 3, 2023 at 10:38 PM).

  • Update: Member SMB / SMB1 had uploaded a devel version of LE and it fixed (patched?) the issue. I'm not sure if it's a fix or a work-around, but it fixed my issue.

    LibreELEC-Generic.x86_64-11.0-devel-20230312034621-84d83d1.img.gz

  • Please test with the latest LE11 nightly build (20230312) from here:
    https://test.libreelec.tv/11.0/

    They include a kodi update to 20.1-Nexus with several HD audio fixes.

    Beware though that wifi may be broken, that's a known issue that will be fixed in future nighlies - and the upcoming LE 11.0.1 release.

    so long,

    Hias

  • It is broken in 20.1 and master. Removing this part of the code fixes it: