mpc-hc icon indicating copy to clipboard operation
mpc-hc copied to clipboard

MPC Video Renderer: Bug reports, feedback, and discussion

Open clsid2 opened this issue 1 year ago • 24 comments

In this topic you can discuss issues with MPC Video Renderer.

Answers to frequently asked questions

Read this first: FAQ

Official bug tracker

https://github.com/Aleksoid1978/VideoRenderer/issues

That is also the place to make feature requests.

clsid2 avatar Jun 24 '24 11:06 clsid2

I have R set to Reload Subtitles. I produce and edit subtitles. After an edit I will tap R to reload the subtitles in MPC-HC to check that it looks correct. This worked fine for many years with EVR (Custom presenter) with either the internal subtitles handler or libass. This also works fine with MPCVR and the internal subtitle handler.

However, after a few reloads using MPCVR and libass, the video will freeze in full screen or windowed mode. The audio will still play. I will have to have Windows close the program. It can happen on the first reload or after one or two reloads.

image

MadokaAyukawa avatar Jul 02 '24 19:07 MadokaAyukawa

It is due to call to ConnectionMediaType() in CMainFrame::UpdateSubtitleColorInfo(). Triggers a deadlock in MPCVR. Also happens without libass.

Edit: fixed

clsid2 avatar Jul 02 '24 20:07 clsid2

Playing a video with BT.2020 transfer primaries and BT.2020 non-constant matrix coefficients cause input format text go out of the background.

More specifically, second indented line in the "Input format" block is very long.

Zero is out of bounds.

Raccffy avatar Jul 04 '24 20:07 Raccffy

Quick question, does the renderer support Dolby Vision playback for BDMV rips? Or DV is only supported in MKV and MP4 formats?

Dantrigger avatar Jul 22 '24 07:07 Dantrigger

Try it and find out.

It does not support DV variants that use extension layer.

clsid2 avatar Jul 22 '24 12:07 clsid2

When I use MPCVR with Hardware Device to use in LAV Video Decoder set to Automatic (Native), 4K 60 FPS videos only play at around 40 FPS and causes the video to get out of sync with the audio. If I set it to my specific graphics card (and forces copy-back) it seems do play fine. With madVR both of these settings perform the same. Is this expected behavior?

Wepeell avatar Jul 23 '24 02:07 Wepeell

Try it and find out.

It does not support DV variants that use extension layer.

Thanks for the reply, I hadn't realized that CTRL+J worked to show video statistics. And as I thought, BDMV rips with enhancement video layer only play the HDR10 layer. Looks like there is still no solution to get full DV Profile 7 support in PC, and by the looks of it, it will never happen.

Dantrigger avatar Jul 23 '24 02:07 Dantrigger

When I use MPCVR with Hardware Device to use in LAV Video Decoder set to Automatic (Native), 4K 60 FPS videos only play at around 40 FPS and causes the video to get out of sync with the audio. If I set it to my specific graphics card (and forces copy-back) it seems do play fine. With madVR both of these settings perform the same. Is this expected behavior?

In Windows Settings App, in advanced display settings, you can specify the preferred GPU that should be used by MPC-HC (and other individual apps). You did not mention which GPUs you have, so I can't comment on the problem itself. Likely your integrated one has poor performance.

clsid2 avatar Jul 23 '24 11:07 clsid2

In Windows Settings App, in advanced display settings, you can specify the preferred GPU that should be used by MPC-HC (and other individual apps). You did not mention which GPUs you have, so I can't comment on the problem itself. Likely your integrated one has poor performance.

I have an RTX 2070 Super and a Ryzen 3700X which doesn't have any integrated graphics so I only have the one 2070 Super to select as my device. In the Windows settings it only gives me "Power saving" and "High performance" options for the 2070 and they both perform as described with D3D11 Automatic (Native) selected in LAV. D3D11 Copy-Back works fine but I was under the impression that Native is supposed to perform better than Copy-Back.

Wepeell avatar Jul 23 '24 12:07 Wepeell

That one should work fine with native mode. Maybe try different version of NVIDIA driver.

Press Ctrl+J and make a screenshot.

clsid2 avatar Jul 23 '24 13:07 clsid2

The first few seconds plays fine but then the frame rate drops and the sync offset shoots up.

Screenshot 2024-07-23 194527

I don't know much about video playback so maybe I have a misconfiguration somewhere.

Screenshot 2024-07-23 194622 Screenshot 2024-07-23 194638

I'm only 1 or 2 updates behind the latest Nvidia driver but I'll try updating and if it doesn't fix anything I can just use copy-back for the time being.

Wepeell avatar Jul 23 '24 17:07 Wepeell

I'm getting weird crashes in fullscreen mode. Windows 11, NVIDIA 4060. Displays completely cut out, unresponsive to mouse/keys, sometimes the audio will keep playing, and I have to force power down.

Even out of fullscreen, sometimes the video will freeze and audio continues, but at least then I can just close it and try again.

It's been problematic for the last few versions- what settings should I tinker with?

Epidemilk avatar Jul 29 '24 20:07 Epidemilk

If graphics driver crashes you need to try different version of the driver.

Win+Ctrl+Shift+B is Windows shortcut for restarting driver.

clsid2 avatar Jul 29 '24 20:07 clsid2

I'm on the most current NVIDIA driver, not sure what else I should be trying?

Epidemilk avatar Jul 30 '24 19:07 Epidemilk

Most current driver is not necessarily the best one. NVIDIA drivers are full of bugs. There are literally dozens of previous drivers that you can try.

clsid2 avatar Jul 30 '24 20:07 clsid2

I sniffed around a little, went in my display settings, changed some power management setting I know forget and turned off vertical sync, seems okay now!

Epidemilk avatar Jul 31 '24 20:07 Epidemilk

how do i hide the file name that appears for several seconds when opening a video? i can't find anything related to it in the settings.

Joe2500 avatar Aug 02 '24 03:08 Joe2500

options > player > user interface > uncheck show OSD

clsid2 avatar Aug 02 '24 12:08 clsid2

When I play DV content using mpc-hc 2.3.4 it is working and improves image quality considerably, but... it stops working in full-screen mode unless the seekbar is showing.

  • Prefer DV over PQ and HLG is unchecked
  • Passthrough to display is checked
  • Convert to SDR unchecked
  • Windows HD is "Allow turn on/off"

fcueto avatar Aug 09 '24 18:08 fcueto

Convert to SDR should never be unchecked. It only converts when passthrough is not possible.

For problem: Make screenshot with Ctrl+J overlay enabled. Post issue here: https://github.com/Aleksoid1978/VideoRenderer/issues

clsid2 avatar Aug 09 '24 20:08 clsid2

I recently ran into a similar issue and it ended up being image scaling in the nvidia 3d settings. Even if it’s only enabled on one game/profile and not universally, it’ll still cause HDR to work only when the seek bar is active.

xenrohachi avatar Aug 21 '24 22:08 xenrohachi

I have a question about HDR playback. I have HDR in Windows enabled permanenty, monitor report that it's in HDR mode, games in HDR run without "screen go black for a (few) second", HDR video in windowed mode does the same. But when i switch to fullscreen mode - "screen go black", when MPC ui is displayed over (osd, seekbar) - "screen go black", when it dissappears - "screen go black", when Windows displayed over (win+g, alt+tab) - "screen go black". And all that time Ctrl+J indicates that the videoframes are in HDR. Can something be done with that behavior?

IIIelKot avatar Sep 06 '24 09:09 IIIelKot

I can only suggest to complain to your graphics driver vendor about it.

clsid2 avatar Sep 06 '24 10:09 clsid2

Press Ctrl+J to show debug overlay and make new screenshot.

Disable RTX HDR and SuperRes. 3

Screenshot 2024-10-14 152535

Salem226 avatar Oct 14 '24 12:10 Salem226

Look in Intel graphics settings. Maybe something is wrong there.

I can not help you any further.

If problem only happens with this specific video, then the file is probably just badly encoded.

clsid2 avatar Oct 14 '24 12:10 clsid2

Look in Intel graphics settings. Maybe something is wrong there.

I can not help you any further.

If problem only happens with this specific video, then the file is probably just badly encoded.

who can help me?

Salem226 avatar Oct 14 '24 12:10 Salem226