• AnyStream is having some DRM issues currently, Netflix is not available in HD for the time being.
    Situations like this will always happen with AnyStream: streaming providers are continuously improving their countermeasures while we try to catch up, it's an ongoing cat-and-mouse game. Please be patient and don't flood our support or forum with requests, we are working on it 24/7 to get it resolved. Thank you.

No sound with MPC-HC and ReClock

ace960

Member
Thread Starter
Joined
Dec 29, 2014
Messages
8
Likes
0
Hello. I use MPC-HC and ReClock (1.8.8.5) for movies playback.

I use mixing to 5.1 in MPC-HC (not for stereo sources).
I use AC3 encoding in ReClock (for multichannel sources).

The video is connected via HDMI to TV.
The audio is connected via optical to AVR.

When I use MPC-HC with native DTS-HD MA decoding then I have no sound at all. I tried MPC-HC 1.7.9 stable, 1.7.9.145 nightly build and 1.7.8.237 nightly build. If I uninstall ReClock then I am able to get the sound (with limitations because of the optical audio path).

When I use MPC-HC which requires dtsdecoderdll.dll (with ReClock) then I have sound. I used MPC-HC 1.7.7.157 before. Now I tested 1.7.8.109 which should be the last build without native DTS-HD MA decoding.

It seems obvious that there is some change causing the problem, starting at MPC-HC 1.7.8.123. However, I am not able to identify if it is problem with MPC-HC or something in ReClock that affects it.

Or is there anything that I should configure other way then before?
 
I consulted this issue with MPC-HC support too. They think it is a ReClock issue after all.
https://trac.mpc-hc.org/ticket/5617#ticket

I have ReClock logs for working and not working case. There are differences in the logs but it does not help me to identify the problem. I would appreciate if someone skilled could look at them.

- "reclock_log - sound.txt" - working scenario (MPC-HC 1.7.8.109)
- "reclock_log - no sound.txt" - not working scenario (MPC-HC 1.7.9.155)
 

Attachments

  • reclock_log - no sound.txt
    37.2 KB · Views: 4
  • reclock_log - sound.txt
    41.1 KB · Views: 3
I am trying to read the logs and retrieve some interesting information myself. The logs looks to have some common parts. I did not find any obvious error in the broken scenario log.

However, the working setup contains these entries:

0.48s 0001cc End of sample predrop
0.52s 0001cc 1 buffer(s) waiting for playback (89856 bytes left)
...
1.00s 0001cc 16 buffer(s) waiting for playback (-2304 bytes left)
1.03s 0001cc Flushing 16 buffers waiting for playback

1.03s 0012fc WasapiThread started, sleep time 0
1.03s 0012fc WASAPI exclusive Play!


The broken setup log ("reclock_log - no sound.txt") is missing the entries about buffers waiting for playback and those two about Wasapi which seems to be important.
 
Is this happening only with DTS MA? Can you test with a 5.1 AAC or 5.1 FLAC sample for example, or a 'core' DTS track you know is not MA, to be sure?
 
I downloaded the following samples:
- aac 5.1 - http://www.divx.com/en/devices/solutions/high-definition/divx-plus-hd/video - big buck bunny
- flac 5.1 - http://www.2l.no/hires/ - arnesen - surround 5.1 flac 24bit/96 kHz
- dts core 5.1 - http://download.openbricks.org/sample/HD-Audio/ - hd_dts9624_5.1.mkv

Then I verified the sound format by using this tool:
https://mediaarea.net/en/MediaInfo

The result is the same for all files.
MPC-HC 1.7.8.109 plays sound fine.
MPC-HC 1.7.9.155 does not play the sound.
 
OK I tried to emulate your setup by forcing 5.1 mixing in LAV and using AC3 encoding in ReClock, and indeed when playing these files I have no audio with the default config.
I was able to fix it by enabling "Use Legacy 5.1 channel layout" in the LAV properties.

Note that I force the use of external filters in MPC-HC, I don't use the integrated ones. I used LAV v0.66.0 (the one released a few days ago).

When I don't check "Use Legacy 5.1 layout", it seems ReClock is working alright, but my AVR sees "unknown" as the input stream type (which means it does indeed see something coming in). Difficult to find where exactly it's going wrong, maybe it's outputting non-standard AC3 channel config or something.

Hope this helps.
 
Last edited:
To make ReClock use the modern side channel layout just add a registry value ChannelMaskOverride_6 and set it to 0x60f. That's all there is to it.
 
Thank you for the information.
I added DWORD (32-bit) Value ChannelMaskOverride_6 and set the value data to 0x60f.
I disabled "Use Legacy 5.1 layout" option in MPC-HC/LAV.
There is no sound.

I think there may be problem with the registry. I think that there should be entry
"Getting reg key ChannelMaskOverride_6 = 1551" in the reclock.log. However, it is not there.

I am attaching the registry export and the reclock.log. Could you please have a look?
 

Attachments

  • reclock_reg.txt
    4.8 KB · Views: 2
  • reclock_log.txt
    34.4 KB · Views: 2
Back
Top