Bug Report Potplayer + madVR Game Capture Source

Shawn Woo

New Member
I use the madVR video renderer with Potplayer (64bit) because it produces a higher quality video. In order to capture the video output I have to use a "Game Capture" source. "Window Capture" will not work, it just captures a black screen with the PotPlayer controls.

Initially OBSMP can capture the first video playing. However, when PotPlayer switches to the next video file in the playlist, the capture screen freezes at the last frame of the first video. The only way for OBSMP to resume capturing is going into the "Source" settings and changing the "Window" pull down. I have to do this every time PotPlayer plays the next video in the playlist.

When OBSMP fails to capture the next video it throws this error in the log:

17:20:09.664: [game-capture: 'PotPlayer'] d3d9_shtex_capture: StretchRect failed (0x8876086C)

When I switch to a different "Window" from the pull down OBSMP throws this error in the log:

17:20:35.470: Last log entry repeated for 1548 more lines


See attached full PotPlayer log. I am able to reproduce this problem on 2 PCs.....


If I use MPC-HC (64bit) with madVR everything is normal. The log below is for normal OBSMP behavior when MPC-HC switches through 7 video files in the playlist:

Code:
17:24:46.493: =================================================
17:24:46.652: Update check: last known remote version is 0.12.0
17:41:27.018: source 'Scene 1' (scene) created
17:41:42.195: source 'MPC-HC' (game_capture) created
17:41:49.289: [game-capture: 'MPC-HC'] attempting to hook fullscreen process: explorer.exe
17:41:49.290: [game-capture: 'MPC-HC'] using direct hook
17:41:49.292: [game-capture: 'MPC-HC'] Hooked to process: Explorer.EXE
17:41:49.292: [game-capture: 'MPC-HC'] (half life scientist) everything..  seems to be in order
17:45:39.527: [game-capture: 'MPC-HC'] attempting to hook process: mpc-hc64.exe
17:45:39.528: [game-capture: 'MPC-HC'] using direct hook
17:45:39.530: [game-capture: 'MPC-HC'] Hooked to process: mpc-hc64.exe
17:45:39.530: [game-capture: 'MPC-HC'] (half life scientist) everything..  seems to be in order
17:45:39.530: [game-capture: 'MPC-HC'] Hooked D3D9
17:45:39.542: [game-capture: 'MPC-HC'] Hooked DXGI
17:45:39.546: [game-capture: 'MPC-HC'] d3d9 shared texture capture successful
17:45:55.448: [game-capture: 'MPC-HC'] ----------------- d3d9 capture freed -----------------
17:45:55.538: [game-capture: 'MPC-HC'] d3d9 shared texture capture successful
17:46:20.077: [game-capture: 'MPC-HC'] ----------------- d3d9 capture freed -----------------
17:46:20.155: [game-capture: 'MPC-HC'] d3d9 shared texture capture successful
17:47:03.361: [game-capture: 'MPC-HC'] ----------------- d3d9 capture freed -----------------
17:47:03.408: [game-capture: 'MPC-HC'] d3d9 shared texture capture successful
17:48:12.412: [game-capture: 'MPC-HC'] ----------------- d3d9 capture freed -----------------
17:48:12.485: [game-capture: 'MPC-HC'] d3d9 shared texture capture successful
17:48:33.212: [game-capture: 'MPC-HC'] ----------------- d3d9 capture freed -----------------
17:48:33.283: [game-capture: 'MPC-HC'] d3d9 shared texture capture successful
17:48:38.343: [game-capture: 'MPC-HC'] ----------------- d3d9 capture freed -----------------
17:48:38.379: [game-capture: 'MPC-HC'] d3d9 shared texture capture successful
17:48:48.411: source 'Desktop Audio' destroyed
17:48:48.411: WASAPI: Device 'Realtek Digital Output (Realtek High Definition Audio)' Terminated
17:48:48.416: source 'Scene' destroyed
17:48:48.416: source 'PotPlayer' destroyed
17:48:48.416: source 'Scene 1' destroyed
17:48:48.417: source 'MPC-HC' destroyed
17:48:48.417: All scene data cleared
17:48:48.417: ------------------------------------------------
17:48:48.419: service 'default_service' destroyed
17:48:48.419: encoder 'streaming_h264' destroyed
17:48:48.419: encoder 'adv_aac3' destroyed
17:48:48.419: encoder 'adv_aac2' destroyed
17:48:48.419: encoder 'adv_aac1' destroyed
17:48:48.419: encoder 'adv_aac0' destroyed
17:48:48.419: output 'adv_stream' destroyed
17:48:48.419: output 'adv_ffmpeg_output' destroyed
17:48:48.465: Freeing OBS context data
 

Attachments

  • PotPlayer-2015-10-22 17-19-12.txt
    17.5 KB · Views: 28
Last edited:

Shawn Woo

New Member
For testing purposes I installed the current version of xsplit (2.5.1509.0823) for the first time. Xsplit also needs to use "game capture" in order to capture PotPlayer with madVR. However, Xsplit properly handles the transition between one video to the next. In other words, Xsplit capture window is fine while OBSMP capture window freezes.
 

Niamor

Member
I had an issue with OBS and OBS-MP with mpc-hc and madvr and using game capture, it was showing random green frames never been able to fix it.
I recently switched to mpv (http://mpv.io/) really good player and no problem anymore.
I know it doesn't fix your problem but maybe you should take a look at mpv and see if it's as good as your setup you have right now, it was for me.
 

Shawn Woo

New Member
I had an issue with OBS and OBS-MP with mpc-hc and madvr and using game capture, it was showing random green frames never been able to fix it.
I recently switched to mpv (http://mpv.io/) really good player and no problem anymore.
I know it doesn't fix your problem but maybe you should take a look at mpv and see if it's as good as your setup you have right now, it was for me.

I still prefer to use PotPlayer with madVR. Other players don't have the features PotPlayer has. I've provided a log showing developers the error. I'm able to reproduce the problem on another PC. I took it a step further by install the competing casting software which doesn't have this problem.

I have a unique setup so I don't expect this to get a lot of attention. I just want to report the problem so it's on record. If the devs decided to give it any attention is up to them.
 

RaveHeart

New Member
I still prefer to use PotPlayer with madVR. Other players don't have the features PotPlayer has. I've provided a log showing developers the error. I'm able to reproduce the problem on another PC. I took it a step further by install the competing casting software which doesn't have this problem.

I have a unique setup so I don't expect this to get a lot of attention. I just want to report the problem so it's on record. If the devs decided to give it any attention is up to them.
I've had interesting interactions with PotPlayer+madVR. I've noticed madVR doesn't like being captured when "use Direct3D 11 for presentation" is checked in madVR Settings > Rendering > General Settings. When unchecked it falls back to Direct3D 9, which captured fine for me!
madVR uses Direct3D 11 by default, so this could easily be the issue out of the box.
 
Top