Hi,
I have configured MPC-HC as an external player but many times I have no sound.
If I minimize XBMC and open MPC-HC on its own there's sound, then I close it and go back to XBMC, run a movie and then I have sound in MPC, but it will last for only one video file, on the next one I have no sound again.
I tried cancelling the GUI sounds but it didn't help.
I tried cancelling in windows the ability for application to take exclusive control but then I had no audion in XBMC and not in MPC.
I ended up canceling the priority to application with exclusive mode but I don't think it helped.
I canceled the streamsilence option in advancedsettings.xml (I used it in an effort to make XBMC keep outputing sound when I turn off the TV)
here is a debug log file
http://xbmclogs.com/show.php?id=163857
in the above instance I played 3-4 files successfully and then several files that had no sound. I figured i have no sound if the audio is 5.1 (not sure if it is consistent)
I tried every audio renderer in MPC-HC and non worked.
here is my advancedsettings
Code:
<advancedsettings>
<video>
<subsdelayrange>10</subsdelayrange> <!-- Delay range for subtitles, in seconds. -->
<audiodelayrange>10</audiodelayrange> <!-- Delay range for audio/video sync, in seconds. -->
<timeseekforward>10</timeseekforward> <!-- Time to seek forward in seconds when doing a short seek. Defaults to 30. -->
<timeseekbackward>-10</timeseekbackward> <!-- Time to seek backward in seconds when doing a short seek. Defaults to -30. -->
<timeseekforwardbig>600</timeseekforwardbig> <!-- Time to seek forward in seconds when doing a long seek. Defaults to 600 (10 minutes). -->
<timeseekbackwardbig>-600</timeseekbackwardbig> <!-- Time to seek forward in seconds when doing a long seek. Defaults to -600 (10 minutes). -->
<defaultplayer>extplayer</defaultplayer> <!-- Set the default video player: dvdplayer or extplayer. -->
<excludefromscan> <!-- Regular expressions that if evaluated to true won't be added to library. -->
<regexp>[-\._ ](sample|trailer)[-\._ ]</regexp>
</excludefromscan>
<excludefromlisting> <!-- Regular expressions that if evaluated to true won't be displayed in Files View -->
<regexp>[-\._ ](sample|trailer)[-\._ ]</regexp>
</excludefromlisting>
</video>
<audio>
<!-- Default audio player: paplayer or dvdplayer -->
<defaultplayer>paplayer</defaultplayer>
<!-- Windows-specific - will not use Wasapi API 0 = false, 1 = true -->
<forceDirectSound>0</forceDirectSound>
<!-- forces playback of original format, will not down/upmix next song to match current, not compatible with cross-fading 0 = false, 1 = true -->
<audiophile>1</audiophile>
<!-- Windows-specific, buffer time in msec, hard minimum of 50msec -->
<audiosinkbufferdurationmsec>80</audiosinkbufferdurationmsec>
<!-- Forces original AE behaviour where an audio signal is constantly streamed to the audio device, even if silent.
If 1 or true, this prevents some receivers from losing the signal/source, and prevents sinks re-opening and possible receiver switching with each
new stream after any silence. If 0 or false, enables Eden-style releasing of the audio device so external players, programs and the system can
access the audio device, i.e. prevents XBMC from hogging the audio device. -->
<streamsilence>0</streamsilence>
</audio>
</advancedsettings>
and here is my playercorefactory
Code:
<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\MPC-HC\mpc-hc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule video="true" player="MPC-HC"/>
</rules>
</playercorefactory>
Any ideas?
Thank you