If I select IPC to play in playing now (IPC doesn't just start playing on its own)you do not have to select ipc, it should start up automatically. I suggest trying to get ipc working automatically first so you can see the content playing via dsp studio. You could set the output device to the null device (or a file) in order to rule out any sort of device clash & turn off zoneswitch. Once you have IPC working automatically then add zoneswitch and then the correct output device. If turning off the other bits doesn't get IPC playing then I think posting a log file from MC is the way forward.
IPC is the library item that jriver "plays" when it is handling the wdm driver input so it does appear in playing now and is reported as the currently playing item via mcws zone info.
0069484: 2148: Database: CMediaDatabase::AddFile: JRAnalyzer: 0x1a123bd3e40
0069484: 2148: Database: CMediaDatabase::AddFile: Calling JRAnalyzer::Open
0069484: 2148: Import: JRAnalyzer::Open: Start
0069484: 2148: Import: JRAnalyzer::AddFile: Start
0069484: 2148: Import: JRAnalyzer::AddFile: Filename: live://ipc?pipe=000005F0&streaming=1
0069500: 2148: Reader: CWinINetReader::Open: Start
0069500: 2148: Reader: CWinINetReader::Open: Opening live://ipc?pipe=000005F0&streaming=1
0069500: 8772: Reader: CWinINetReader::Thread: Start
0069500: 8772: Reader: CWinINetReader::Thread: url: live://ipc?pipe=000005F0&streaming=1
0069500: 8772: Reader: CWinINetReader::Connect: Start
0069500: 8772: Reader: CWinINetReader::Connect: Failed, can't parse URL
0069500: 8772: Reader: CWinINetReader::Connect: Finish (0 ms)
0069500: 8772: Reader: CWinINetReader::Thread: Finish (0 ms)
0069500: 2148: Reader: CWinINetReader::Open: ConnectToURL failed, m_bConnectError=true, URL=live://ipc?pipe=000005F0&streaming=1
0069500: 2148: Reader: CWinINetReader::Close: Start
0069500: 2148: Reader: CWinINetReader::Close: Finish (0 ms)
0069500: 2148: Reader: CWinINetReader::Open: Finish (0 ms)
0069500: 2148: Reader: CWinINetReader::Open: Start
0069500: 2148: Reader: CWinINetReader::Open: Opening live://ipc?pipe=000005F0&streaming=1
0069500: 4308: Reader: CWinINetReader::Thread: Start
0069500: 4308: Reader: CWinINetReader::Thread: url: live://ipc?pipe=000005F0&streaming=1
0069500: 4308: Reader: CWinINetReader::Connect: Start
0069500: 4308: Reader: CWinINetReader::Connect: Failed, can't parse URL
0069500: 4308: Reader: CWinINetReader::Connect: Finish (0 ms)
0069500: 4308: Reader: CWinINetReader::Thread: Finish (0 ms)
0069500: 2148: Reader: CWinINetReader::Open: ConnectToURL failed, m_bConnectError=true, URL=live://ipc?pipe=000005F0&streaming=1
0069500: 2148: Reader: CWinINetReader::Close: Start
0069500: 2148: Reader: CWinINetReader::Close: Finish (0 ms)
0069500: 2148: Reader: CWinINetReader::Open: Finish (0 ms)
0069500: 2148: Import: JRAnalyzer::AddFile: Start
0069500: 2148: Import: JRAnalyzer::AddFile: Filename: live://ipc?pipe=000005F0&streaming=1
0069500: 2148: Reader: CWinINetReader::Open: Start
0069500: 2148: Reader: CWinINetReader::Open: Opening live://ipc?pipe=000005F0&streaming=1
0069500: 19232: Reader: CWinINetReader::Thread: Start
0069500: 19232: Reader: CWinINetReader::Thread: url: live://ipc?pipe=000005F0&streaming=1
0069500: 19232: Reader: CWinINetReader::Connect: Start
0069500: 19232: Reader: CWinINetReader::Connect: Failed, can't parse URL
0069500: 19232: Reader: CWinINetReader::Connect: Finish (0 ms)
0069500: 19232: Reader: CWinINetReader::Thread: Finish (0 ms)
0069500: 2148: Reader: CWinINetReader::Open: ConnectToURL failed, m_bConnectError=true, URL=live://ipc?pipe=000005F0&streaming=1
0069500: 2148: Reader: CWinINetReader::Close: Start
0069500: 2148: Reader: CWinINetReader::Close: Finish (0 ms)
0069500: 2148: Reader: CWinINetReader::Open: Finish (0 ms)
0069500: 2148: Import: JRAnalyzer::AddFileMJ: Start
0069500: 2148: Import: JRAnalyzer::AddFileMJ: Finish (0 ms)
0069500: 2148: Import: JRAnalyzer::AddFile: Finish (0 ms)
0069500: 2148: Import: JRAnalyzer::AddFile: Finish (16 ms)
0069500: 2148: Import: JRAnalyzer::Open: Finish (16 ms)
0069500: 2148: Database: CMediaDatabase::AddFile: JRAnalyzer::Open returned
0069500: 2148: Database: JRAnalyzerFile::GetImage: Start
0069500: 2148: Database: JRAnalyzerFile::GetImage: Finish (0 ms)
0069515: 19228: Playback: CPlayerZoneDisplayInfoLoadImageThread::Thread: Start
0069515: 19228: Playback: CPlayerZoneDisplayInfoLoadImageThread::Thread: Image: 00000000
0069515: 3256: Playback: CPlayerZone::Play: Start
0069515: 19228: Playback: CPlayerZoneDisplayInfoLoadImageThread::Thread: Finish (0 ms)
0069515: 3256: Playback: CPlayerZoneDisplayInfoUpdateThread::Destructor: Start
0069515: 17672: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Finish (35671 ms)
0069531: 3256: Playback: CPlayerZoneDisplayInfoUpdateThread::Destructor: Finish (16 ms)
0069531: 3256: Playback: CPlayerZone::Play: Handling exclusive playback zones
0069531: 3256: Playback: CPlayerZone::Play: Getting actual playback track
0069531: 3256: Playback: CPlayerZone::Play: Processing play for 'live://ipc?pipe=000005F0&streaming=1'
0069531: 3256: Playback: CPlayerZone::Play: Updating internal track info
0069531: 3256: Playback: CPlayerZone::Play: Playing: <XMLFN version="1.0"><Item Name="Filename">live://ipc?pipe=000005F0&streaming=1</Item><Item Name="PlaylistIndex">0</Item><Item Name="AlbumSequentialWithLastTrack">0</Item><Item Name="SampleRate"></Item><Item Name="VolumeReset">1</Item><Item Name="Channels"></Item><Item Name="ErrorFreeMode">1</Item><Item Name="VolumePeakLevels"></Item><Item Name="MediaType">Audio</Item><Item Name="DatabaseKey">28350</Item><Item Name="VolumeTrackMaxSafeGain">-1</Item><Item Name="Bitrate"></Item><Item Name="Bookmark"></Item><Item Name="BitDepth"></Item><Item Name="LengthInPCMBlocks"></Item><Item Name="VolumeLeveling">-10</Item><Item Name="DSP"></Item><Item Name="FileType"></Item><Item Name="UserInterfaceModeChangeEventHandle">000002D0</Item></XMLFN>
0069531: 3256: Playback: CJRPlaybackEngine::Play: Start
0069531: 3256: Playback: CJRPlaybackEngine::Play: Volume protection: 1
0069531: 3256: Playback: CJRPlaybackEngine::Play: Playing: live://ipc?pipe=000005F0&streaming=1
0069531: 3256: Playback: CJRPlaybackEngine::Play: Filetype: ; Type: 1; Can play: 1; Playback object: 0x1a123cf3850
0069531: 3256: Playback: CJRPlaybackEngine::StartPlayFile: Start
0069531: 3256: Playback: CMJPlaybackType::Play: Start
0069531: 3256: Playback: CMJPlayerCore::Play: Start
0069531: 3256: Playback: CMJPlayerCore::Play: Created feeder helper for type (native: 1)
0069531: 3256: Playback: CLiveWaveFeeder::Play: Start
0069531: 3256: Playback: CAudioLivePluginLoader::Load: Start
0069531: 3256: Playback: CAudioLivePluginLoader::Load: Loading: ipc
0069531: 3256: Playback: CAudioLivePluginLoader::Unload: Start
0069531: 3256: Playback: CAudioLivePluginLoader::Unload: Deleting plugin
0069531: 3256: Playback: CAudioLivePluginLoader::Unload: Unloading DLL
0069531: 3256: Playback: CAudioLivePluginLoader::Unload: Finish (0 ms)
0069547: 3256: Playback: CAudioLivePluginLoader::Load: Finish (result: 1) (16 ms)
0069547: 3256: Playback: CLiveWaveFeeder::Play: Finish (16 ms)
0069547: 3256: Playback: CMJPlayerCore::Play: Play succeeded
0069547: 3256: Playback: CMJPlayerCore::Play: Result: 1
0069547: 3256: Playback: CMJPlayerCore::Play: Finish (16 ms)
0069547: 3256: Playback: CMJPlaybackType::Play: Play result: 1
0069547: 3256: Playback: CMJPlaybackType::Play: Finish (16 ms)
0069547: 3256: Playback: CJRPlaybackEngine::StartPlayFile: Play returned: 1
0069547: 3256: Playback: CJRPlaybackEngine::StartPlayFile: Finish (16 ms)
0069547: 3256: Playback: CJRPlaybackEngine::Play: StartPlayFile returned 1
0069547: 3256: Playback: CDisplayPlugin::LoadPlugin: Start
0069547: 3256: Playback: CDisplayPlugin::LoadPlugin: Plugin: Visualizations
Note that when I stop playback in MC with a YouTube video playing to the WDM, the sound is muted, but within about 5 seconds the IPC sound is reinstated. So the WDM is pretty robust.
858068: 1224: General: JRWebWnd::OnTerminate: Start
0858068: 1224: General: JRWebWnd::OnTerminate: Sending destroy command
0858068: 1224: General: JRWebWnd::OnTerminate: Stopping process
0306386: 3424: General: JRWebApp::Destroy: Start
0306386: 3424: General: JRWebApp::Destroy: Finish (0 ms)
0306402: 3424: General: JRWebApp::Run: Finish (306324 ms)
0306402: 3424: General: JRWebApp::ExitInstance: Start
0306402: 3424: General: JRWebApp::ExitInstance: Stopping web engine
0306418: 3424: General: JRWebApp::ExitInstance: Stopping callback server
0306418: 3424: General: JRWebApp::ExitInstance: Stopping interface server
0306418: 3424: General: JRIpcServerThreaded::ServerStop: Start
0306418: 3424: General: JRIpcServerThreaded::ServerStop: Canceling thread
0306418: 3424: General: JRIpcServerThreaded::ServerStop: Canceling pending run
0306418: 3424: General: JRIpcServerThreaded::ServerStop: Stopping thread
0306418: 6352: General: JRIpcServerThreaded::Thread: Thread finishing (cancel: 1; errors: 1)
0306418: 6352: General: JRIpcServerThreaded::Thread: Finish (306340 ms)
0306449: 3424: General: JRIpcServerThreaded::ServerStop: Canceling response threads
0306449: 3424: General: JRIpcServerThreaded::ServerStop: Deleting response threads
0306449: 3424: General: JRIpcServerThreaded::ServerStop: Closing notification window
0306449: 3424: General: JRIpcServerThreaded::ServerStop: Finish (31 ms)
0306449: 3424: General: JRWebApp::ExitInstance: Finishing
0858131: 1224: General: JRWebWnd::OnTerminate: Closing callback server
0858131: 1224: General: JRIpcServerThreaded::ServerStop: Start
0858131: 1224: General: JRIpcServerThreaded::ServerStop: Canceling thread
0858131: 1224: General: JRIpcServerThreaded::ServerStop: Canceling pending run
0858131: 1224: General: JRIpcServerThreaded::ServerStop: Stopping thread
0858131: 6712: General: JRIpcServerThreaded::Thread: Thread finishing (cancel: 1; errors: 1)
0858131: 6712: General: JRIpcServerThreaded::Thread: Finish (306542 ms)
0858146: 1224: General: JRIpcServerThreaded::ServerStop: Canceling response threads
0858146: 1224: General: JRIpcServerThreaded::ServerStop: Deleting response threads
0858146: 1224: General: JRIpcServerThreaded::ServerStop: Closing notification window
0858146: 1224: General: JRIpcServerThreaded::ServerStop: Finish (15 ms)
0858146: 1224: General: JRWebWnd::OnTerminate: Closing window
0858146: 1224: General: JRWebWnd::OnTerminate: Finish (78 ms)
0860143: 1224: General: CMainUIWnd::SetMCView: Start
0860143: 1224: General: CMainUIWnd::SetMCView: View info name: Player
0860143: 1224: General: CMainUIWnd::SetMCView: Hiding old view
For the success case that I mentioned, when I closed MC GUI, the video froze solid.
You could set the output device to the null device (or a file) in order to rule out any sort of device clash
3) MC audio setup is set to the onboard audio (realtek) digital audio output (spdif).
<snip>
I see levels thrashing on windows playback device MC(WDM driver), but not on the digital audio output(SPDIF) playback device (windows audio mixer)
So, audio should have just started playing here, but it doesn't.
This line looks concerning as I see it repeatedly:
0485334: 7104: Sharing Plugins: VSocketReader::Bind: Socket bind failed: Unknown error Socket: 1904 Size: 16 Address: 172.16.0.1 Port: 1900
YouTube | Plays audio via Windows Audio functions, and allows other applications to play audio while it is playing. So it is using Shared Mode and therefore Direct Sound. (Or you could say YouTube is using Direct Sound so it is playing in Shared Mode. Either way around works for me.) Windows will resample all audio inputs to the same bit-depth and sample rate so that it can then merge those audio streams into one stream for playback. So you hear both YouTube and Windows Sounds, or perhaps a Skype phone call ring, at the same time. YouTube can't take Exclusive Mode control of the target audio device. So for example, if two 16bit audio sources play at the same time, one a 44.1KHz and the other a 48KHz source, Windows will resample one or both audio streams to match the target output stream. | |
▼ | ||
▼ | ||
JRiver WDM Driver | Is the Default Output / Playback Device for Windows audio. When the input is in shared mode, Windows will use the bit-depth and sample rate set in the WDM Driver Advanced tab for mixing multiple audio streams into one stream. If the "Allow applications to take exclusive mode control of this device" and "Give exclusive mode applications priority" settings are checked (recommended) and an application is capable of outputting audio in Exclusive Mode (i.e. Tidal), then only one audio source can play to the WDM Driver at a time, and any other audio stream is lost. This usually means that Windows (Shared Mode) Sounds are lost unless the WDM Driver isn't playing anything in Exclusive Mode at the time. | |
▼ | ||
▼ | ||
JRiver Media Center | Takes in whatever audio stream is passed to it from the WDM Driver, at whatever bit-depth and sample rate is supplied. Converts the audio stream to 64bit for internal processing. If DSP is being used, will resample the stream to the Audio Output setting specified. The "Audio Path (https://wiki.jriver.com/index.php/Audio_Path)" feature in MC shows what bit-depth and sample rate it is receiving, what processing it does to the audio stream, and what bit-depth and sample rate it is outputting. Can output in Exclusive Mode or Shared Mode, based on audio settings. | |
▼ | ||
▼ | ||
Selected MC Output Device | Takes the audio stream MC has sent to it and plays the audio. |
So John once you are satisfied that your fix seems to be working, you could try changing the WDM Driver Default Shared Mode sample rate back to 44.1KHz and see if the problem came back. Also you should note that I think YouTube generally does play at 48KHz, so setting the WDM Driver to that value means no resampling required by Direct Sound, so by default it works. If that is the case, whenever you play something that isn't 48KHz to the WDM Driver you may see a problem of some kind.