INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: 7.1 DTS-HD Blu-ray not being routed to the correct Zone  (Read 3066 times)

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
7.1 DTS-HD Blu-ray not being routed to the correct Zone
« on: May 15, 2015, 06:27:17 am »

So this is a bit of a strange one.
I went to watch Life of Pi, which is a film that I haven't got around to converting to MKV yet, and whenever I try to play the disc Zone Switch keeps sending it to my stereo zone and not the multichannel zone.
These play to separate audio devices, so it is essential to do so.
 
The Zone Switch rule for this is the highest priority item on the list, and is as simple as possible:
It routes any file where [Channels]=>2 to the multichannel zone, and stops playback in every other zone.
 
As far as I can tell, this is only happening with discs which contain a 7.1 DTS-HD track.
Discs with a 5.1 DTS-HD track seem to be routed to the multichannel zone correctly, and films with a 7.1 DTS-HD track which have been converted to MKV (including Life of Pi now) are also being routed to the multichannel zone correctly.
What makes it even stranger is that this disc in particular only has multichannel tracks - there are no stereo tracks on the disc at all. (7.1 DTS-HD, 5.1 AC3 in other languages)
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #1 on: May 15, 2015, 06:32:56 am »

Actually, when searching for other 7.1 discs, I've found a couple of 5.1 discs which do this as well.
I have no idea why some discs are correctly routed to the multichannel zone, and others are routed to the stereo zone - even when the multichannel zone is currently the active zone.
So far, all of the discs I have found to have this problem are using DTS-HD.
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #2 on: May 18, 2015, 10:04:31 am »

Any idea what could be causing this?
Would a log file help? (not sure if it logs that sort of thing)
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #3 on: May 18, 2015, 11:15:21 pm »

I have no idea...

...but what does the audio path show you?
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #4 on: May 18, 2015, 11:39:12 pm »

I have no idea...
...but what does the audio path show you?
It tells me that it's converting from 8 channels to 2 channels.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #5 on: May 19, 2015, 01:29:30 am »

Okay, so that is why it is switching to the stereo zone; because the output is in stereo!  ;D

Now you just have to work out why MC is down mixing 7.1 to stereo for those disks. That will be much harder to work out. It could be down mixing because the stereo zone has been selected, or it could be selecting the stereo zone because the output is stereo.

I see that the audio is being up sampled to 192kHz first, which is a bit strange for a 7.1 channel audio stream, I would have thought. In some circumstances that would force MC to down mix to stereo. For example, if it thought it was outputting via S/PDIF (just an example). Can you think of anything that might be triggering the up-sampling, or have you specified that to happen?

Anything in the logs?

Of course the obvious thing to suspect is the new DTS-HD functionality in MC, but only Hendrik would be able to analyse that.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

dean70

  • Citizen of the Universe
  • *****
  • Posts: 508
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #6 on: May 19, 2015, 04:54:42 am »

What happens if you put the original dtsdecoderdll.dll back in the path?
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #7 on: May 19, 2015, 11:21:01 am »

Okay, so that is why it is switching to the stereo zone; because the output is in stereo!  ;D
The output is stereo because Zone Switch is incorrectly sending it to the wrong Zone.
The Stereo Video Zone mixes everything to 2 channels, the Multichannel Zone mixes everything to 6 channels.

I see that the audio is being up sampled to 192kHz first, which is a bit strange for a 7.1 channel audio stream, I would have thought.
The Stereo Video Zone resamples everything to 192kHz to ensure that audio latency has a fixed value.
If I send my DAC 192kHz for some files, and say 48kHz for others the difference when using large audio buffers can be something like 100ms, which would be noticeably out of sync.
 
The Multichannel Zone resamples everything to 96kHz for similar reasons (96kHz being the maximum rate supported by that device) and the Stereo Music Zone does not resample anything below 192kHz.

What happens if you put the original dtsdecoderdll.dll back in the path?
It is still being routed to the Stereo Video Zone and not the Multichannel Zone.
 
 
I have attached a log, though I don't know that there is anything useful in it.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #8 on: May 19, 2015, 11:47:37 am »

The Stereo Video Zone resamples everything to 192kHz to ensure that audio latency has a fixed value.
nothing useful to add so apologies for the mild OT but curious about this comment, where does the variable latency come from? some fixed length FIR filters? why does that matter exactly? i.e. what would be out of sync here?
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #9 on: May 19, 2015, 12:00:48 pm »

nothing useful to add so apologies for the mild OT but curious about this comment, where does the variable latency come from? some fixed length FIR filters? why does that matter exactly? i.e. what would be out of sync here?
My DAC's driver adjusts the buffer size by samples and not milliseconds.
The largest buffer size available for my DAC is 8192 samples.
 
1000 ÷ 192,000 × 8192 = 42.67ms latency
1000 ÷ 44,100 × 8192 = 185.76ms latency
 
Media Center's resampling occurs in a fraction of that time, so it is better to have it resample everything to 192kHz.
Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #10 on: May 19, 2015, 03:52:54 pm »

Could it be that MC is getting the channel info from a different file than the playlist it plays as the main feature?
e.g. a stereo or silent menu animation m2ts
It sounds like MC is incorrectly analysing the soundtrack somehow.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #11 on: May 19, 2015, 06:30:09 pm »

That idea has merit and fits the observations.

There may be a short stereo track at the beginning of playback, which was removed or up mixed during conversion to MKV, so the problem went away once converted.

What happens if you play an m2ts file from the main feature directly?
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #12 on: May 19, 2015, 07:06:46 pm »

If I play the m2ts file directly, it gets routed to the multichannel zone, as it should.
There isn't even a stereo track in it.
 
Media Center remembers the last title you picked when you play a disc, and it picked the correct one by default anyway, so it's not that it's thinking the disc is stereo from playing the wrong title.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: 7.1 DTS-HD Blu-ray not being routed to the correct Zone
« Reply #13 on: May 19, 2015, 07:36:02 pm »

Okay. Bear with me.

What happens if you play an m2ts from the disk, which works correctly, then stop, eject the disk, put it back in, and play it again normally?

Does it get routed to the stereo zone?

I'm thinking that if there is no stereo track on the Blu-ray, yet zone switch selects the stereo zone, it must be acting on something external to the Blu-ray, and possibly that is related to what was played prior to playing the Blu-ray normally. If zone switch works in the above scenario, then that all but eliminates the Blu-ray as the source of the problem.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner
Pages: [1]   Go Up