Kodi Community Forum

Full Version: Problem with TrueHD 7.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I ripped The Walking Dead S04 to mkv and I have a problem with TrueHD 7.1, it is downgraded to TrueHD 5.1

DTS-HD 7.1 has no issues at all. Does anyone have this issue?
Should I provide a debug log or is it pointless for that kind of issue?
Thanks in advance
Sounds like it's a problem with the mkv, are you using audio passthrough so an AVR is decoding the TrueHD audio? If so then we do nothing that will downmix the number of channels.

Use MediaInfo to find the properties of the mkv and compare to the Blu Ray using BDInfo.
Hey jjd, The mkv was created with MakeMKV.
Here's what I get with MediaInfo:
Quote:General
Unique ID : 275311512305334074187405114265637089267 (0xCF1F118D0A0AA7E6DB4664234F09EFF3)
Complete name : V:\TV Shows V\The Walking Dead\Season 4\s04e01.Bluray.mkv
Format : Matroska
Format version : Version 2
File size : 8.62 GiB
Duration : 42mn 59s
Overall bit rate mode : Variable
Overall bit rate : 28.7 Mbps
Movie name : Walking Dead, The: Season 4, Disc 1
Encoded date : UTC 2014-08-28 20:34:25
Writing application : MakeMKV v1.8.12 win(x64-release)
Writing library : libmakemkv v1.8.12 (1.3.0/1.4.1) win(x64-release)

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 42mn 59s
Bit rate mode : Variable
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Language : English
Default : No
Forced : No

Audio
ID : 2
Format : TrueHD
Codec ID : A_TRUEHD
Duration : 42mn 59s
Bit rate mode : Variable
Maximum bit rate : 3 696 Kbps
Channel(s) : 8 channels
Channel positions : Front: L C R, Side: L R, Back: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossless
Title : Surround 7.1
Language : English
Default : Yes
Forced : No

Menu
00:00:00.000 : en:Chapter 01
00:02:21.099 : en:Chapter 02
00:14:26.407 : en:Chapter 03
00:21:32.582 : en:Chapter 04
00:26:44.185 : en:Chapter 05
00:34:16.345 : en:Chapter 06
00:42:22.831 : en:Chapter 07
I also checked on a movie that I have in TrueHD 7.1 and it's the same issue, downgraded to 5.1 so I doubt it's a problem with all the mkvs encoded with TrueHD 7.1
And like I said, no issues with mkvs with a DTS-HD track.
Does anyone could test a sample if I make one?
Thanks
You've not answered whether you are connected to a AVR and decoding the audio there? if connected to AVR how are you verifying only 5.1 audio is being received?

Since mvk does contain 8 channels could you enable debug logging then play one of the files (instructions at log_file (wiki) if not done before) and also grab screenshot/s of your audio settings and upload to somewhere like imgur.
Oops, sorry I skipped the avr part of your answer.
It's going to my avr and set to passthrough

Here's the debug: http://xbmclogs.com/show.php?id=281217

And here are some Audio setting shots:
https://www.dropbox.com/s/v285zlzg96qbuv...4.png?dl=0
https://www.dropbox.com/s/wrmq2u72lnlj90...5.png?dl=0

Thanks jjd
Ok from a glance something strange seems to be going on, however I've had a few end of working week beers so I'll try and find the time to take a sober look tomorrow. If it's not too much hassle for you a sample might useful to see if it's something with your particular setup.
Hassle? You are helping me so the hassle should be on your side Smile
Anyway, here's the sample of one of the faulty mkvs:
https://www.dropbox.com/s/skn196ddmmb0ti...1.mkv?dl=0
Thanks again for taking the time.
I've downloaded the file from Dropbox (so you can remove link above if you want) and it plays ok on my system with the AVR reporting 7.1, so definitely not a file issue, going out for a bit so will take another look at the log later.
The log seems to suggest XBMC is sending LPCM 7.1 out, so it appears to be decoding the TrueHD audio which is obviously wrong going by your settings, so where do you see TrueHD 5.1?
On my receiver.
I don't have this problem with DTS-HD, only TrueHD.
Anyone else has an idea? Sad
Something very strange is happening on your system, according to the log you shouldn't even be getting TrueHD out ?? Was the TrueHD option definitely selected when you did that log?

You could perhaps try defaulting your settings by renaming guisettings.xml (in order to keep backup of your original settings) with XBMC closed to something like old-guisettings.xml then when XBMC is started a fresh guisettings.xml is created with default settings. Do a bare minimum configure to access files and configure video & audio and try again. If no different you can revert back to how you were by deleting guisettings.xml and renaming old-guisettings.xml back.

If it's not that, then I can only think it's a driver issue.
(2014-08-30, 19:44)ArieS Wrote: [ -> ]On my receiver.
I don't have this problem with DTS-HD, only TrueHD.

I usually just use eac3to to convert 7.1 TrueHD to LPCM, like:

eac3to 2: c:\video\bla.mkv 3: c:\video\temp.pcm -down6

TrueHD is a notoriously buggy/sensitive format, though (DTS-MA is much more forgiving). If eac3to gives you trouble with it, extract the stream first, then try something like:

ffmpeg -i c:\video\temp.thd -ac 7 -acodec pcm_s24le -f wav c:\video\temp.wav

And *then* use eac3to to downmix to 5.1 LPCM.
I'm pretty sure MakeMKV has a known bug regarding Dolby True-HD 7.1. The file created will say it's now Dolby True-HD 5.1 but it's actually still Dolby True-HD 7.1. Kodi (XBMC) will see it as 5.1 as well but if you check with MediaInfo you'll see the 7.1 is still there.

This may help for more info:

http://www.makemkv.com/forum2/viewtopic.php?f=8&t=6074