Problems seeing M2TS files with a TrueHD audio track
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.
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.