FAQ  •  Register  •  Login

Problems seeing M2TS files with a TrueHD audio track

<<

Bob2000

Serviio newbie

Posts: 3

Joined: Tue Jan 07, 2014 6:20 am

Post Tue Jan 07, 2014 6:52 am

Problems seeing M2TS files with a TrueHD audio track

Hi Guys,

I'm having a problem finding MT2S files with a TrueHD audio track in the Serviio library.

Serviio finds the files and successfully adds them to the Serviio library (no errors in the log). I'm able to find them in the library in the Serviio MediaBrower (Pro feature) to confirm this. I not however able to see them on any of my DLNA devices (generic profile). They are just not listed.

Some of my findings are:
  • The same video and audio tracks remuxed into a MKV container appear properly.
  • Files with a DTS-HD MA audio track in a MT2S container appear properly.
  • Only TrueHD audio tracks seem to be affected.
Example file information:

MediaInfo
  Code:
General
ID                                       : 1 (0x1)
Complete name                            : Z:\Movies\Event Horizon (1997).m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 14.3 GiB
Duration                                 : 1h 35mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 21.3 Mbps
Maximum Overall bit rate                 : 35.5 Mbps

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Codec ID                                 : 27
Duration                                 : 1h 35mn
Bit rate mode                            : Variable
Bit rate                                 : 19.2 Mbps
Maximum bit rate                         : 40.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.385
Stream size                              : 12.8 GiB (90%)
Writing library                          : x264 core
Language                                 : English
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : TrueHD / AC-3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Muxing mode                              : Stream extension
Codec ID                                 : 131
Duration                                 : 1h 35mn
Bit rate mode                            : Variable / Constant
Bit rate                                 : 640 Kbps
Maximum bit rate                         : 5 247 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Stream size                              : 439 MiB (3%)
Language                                 : English

Audio #2
ID                                       : 4353 (0x1101)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : 129
Duration                                 : 1h 35mn
Bit rate mode                            : Constant
Bit rate                                 : 640 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 439 MiB (3%)
Language                                 : English

ffmpeg -i
  Code:
ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 18 2013 10:49:28 with gcc 4.7.2 (GCC)
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtmp --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --arch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  9.100 / 55.  9.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mpegts, from 'z:\Movies\Event Horizon (1997).m2ts':
  Duration: 01:35:53.91, start: 599.958300, bitrate: 21291 kb/s
  Program 1
    Stream #0:0[0x1011](eng): Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1100](eng): Audio: truehd (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s32
    Stream #0:2[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
    Stream #0:3[0x1101](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s

I should note that the TrueHD audio track contains both a TrueHD stream plus a 640kbit/s AC3 core.

Not too sure if I have uncovered a bug or I'm just missing something obvious.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 13, 2014 5:25 am

Re: Problems seeing M2TS files with a TrueHD audio track

That's because truehd audio is not supported by dlna (or last time i checked), and the generic profile doesn't transcode. So the files are missing. MediaBrowser profile transcodes the audio track and is therefore supported.
<<

Bob2000

Serviio newbie

Posts: 3

Joined: Tue Jan 07, 2014 6:20 am

Post Mon Jan 13, 2014 6:28 am

Re: Problems seeing M2TS files with a TrueHD audio track

I was not aware of DLNA not supporting TrueHD audio. I've seen other DLNA servers which support it. A lightweight one that I like to use that supports TrueHD is oShare.

I'll believe you if you say that TrueHD is not supported in DLNA but the only thing that bothers me is that the same file remuxed into a MKV container works. I would expect it to also be missing as with any other different type of container. An MKV file with a TrueHD audio is shown in the library and streams correctly (I just tried this again to be sure).

I was pretty certain that it was a bug and added it to bitbucket. You can remove if you don't see it as something to be fixed (Issue #748 M2TS files with a TrueHD track are not shown in DLNA clients libraries).
<<

atc98092

User avatar

DLNA master

Posts: 5215

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Jan 13, 2014 1:45 pm

Re: Problems seeing M2TS files with a TrueHD audio track

zip wrote:That's because truehd audio is not supported by dlna (or last time i checked), and the generic profile doesn't transcode. So the files are missing. MediaBrowser profile transcodes the audio track and is therefore supported.


Zip, I have a number of BD rips containing TrueHD, and they stream fine. Is that because my player can play the native stream without any transcoding? I have them both in MKV and M2TS containers. I've even seen DTS Master Audio show up on my receiver display, so they seem to stream as well.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 16, 2014 8:33 am

Re: Problems seeing M2TS files with a TrueHD audio track

Players might support truehd, but there is no DLNA (afaik) media format profile for m2ts with truehd. The fact is streams in a mkv file is, because mkv itself was not a dlna supported format until recently, so Serviio cheats and just send it anyway, with a made up profile - players generally acct it and if they support truehd audio, will play the file.

I will look at the ticket and see if truehd is now officially supported by dlna, and if not, i might add a fake profile for it as well.
<<

Bob2000

Serviio newbie

Posts: 3

Joined: Tue Jan 07, 2014 6:20 am

Post Sat Jan 18, 2014 6:47 am

Re: Problems seeing M2TS files with a TrueHD audio track

That would be awesome if you could. :D
<<

PlutoniaS

Serviio newbie

Posts: 4

Joined: Mon Jul 14, 2014 10:46 am

Post Mon Jul 14, 2014 10:55 am

Re: Problems seeing M2TS files with a TrueHD audio track

Hello!
I discovered the same issue: I'm not able to find *m2ts file if it contains True HD audio track: could you please fix this issue in your next patches/versions? It would be very great! There are a lot of movies in my media library contains such audio tracks.

thx in advance!
<<

apw2607

Serviio newbie

Posts: 10

Joined: Wed Nov 28, 2012 8:48 pm

Post Sun Mar 05, 2017 12:27 am

Re: Problems seeing M2TS files with a TrueHD audio track

I have a workaround !!!

The issue is when TrueHD is the the default audio track. If you use tsmuxer and simply change the ordering of the audio tracks and bump TrueHD off the default spot, then Serviio will recognize the file and publish it to your player.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 92 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.