MPC-BE icon indicating copy to clipboard operation
MPC-BE copied to clipboard

Some frames are lost if refresh rate change is used with delay option

Open Klaus1189 opened this issue 1 year ago • 13 comments

I use MPC-BE with MPC Video Renderer and use automatic refresh rate change and it works almost perfect. There is only one thing that would be very nice to finetune:

Right after I click on videofile the refresh rate change is applied (one short flicker of screen, exactly like it should be) and TV/display shows windowed player with default background picture while the delay is running (in my case 3 seconds) and then playback starts. But I miss some frames in this constellation right at start, audio is fine. Solution to this is to show the first frame paused and start playback then just like it is done when 2nd last option "Apply default monitor mode on fullscreen exit" in fullscreen page in options is applied and switch between fullscreen and windowed. In this case the currently played frame is paused, refresh rate change is done, selected delay (same 3 seconds) is running and playback continues without lost frames.

Without good testfiles it is very hard to see what I mean, so I have some good testfiles which make it easy to see the missing frames right at start: Audio is right at start and frames are visually different. See the gap between the car front and the pole. I made a screenshot and marked the distance. https://drive.google.com/file/d/1taC04GDqmKYhsqt2RFP6rGvduWeUee9g/view?usp=sharing

Testfiles: https://drive.google.com/file/d/1YPxCeopV61lCJDKdTER2oSV97tmHRAvF/view?usp=sharing https://drive.google.com/file/d/19DlLHPDdVkoJ_Sj4UParSbbQRPEfRJWp/view?usp=sharing

I use a worksround which works perfect, but it requires me to use one more step and delay feature is not used in this case:

  1. Set MPC-BE to play "0 times" (delay is not used anymore)
  2. If you open a file, playback is initiated but paused, then refresh rate change is done. One flicker, first frame is still drawn and pause is written by OSD.
  3. Hit space to fully start playback.

This also works for other renderers like madVR.

Klaus1189 avatar Nov 13 '23 15:11 Klaus1189

Should I add some videos of my TV which show the difference? Better to understand the nuance?

Klaus1189 avatar Nov 13 '23 15:11 Klaus1189

In status line MPC-BE it states "Stopp" when refresh rate change is done and delay is running. This indicates what I think needs to be adjusted - playback should be already initiated during refresh rate change but paused and after the delay timer counts the playback should fully start. Then it will be just like my workaround with play 0 times. This is how play 0 times behaves: https://drive.google.com/file/d/1oqvfDvnqslSSWkwqI5tLUn2TgAnIzgHo/view?usp=sharing

This shows the comparison of MPC-HC and MPC-BE: https://drive.google.com/file/d/1otQhL1jD_vCZop95m134OfIK0cHDubXr/view?usp=sharing

Please ignore, that MPC-HC has issue with MPC Video Renderer not showing mouse pointer anymore after refresh rate change. MPC-HC has this bug also if you use the play 0 times method. So it is a compatibility issue, not an issue with its refresh rate change behavior. Also Mediainfo tab is not showing up for any media in MPC-HC. So quite some issues there.

Klaus1189 avatar Nov 13 '23 16:11 Klaus1189

Mediainfo issue is already fixed. If you are insinuating that MPC-HC is buggy, then you are just confirming your stupidity. Mouse pointer is hidden intentionally in fullscreen if you don't move it.

clsid2 avatar Nov 13 '23 16:11 clsid2

Sorry, I don't want to insult you. But I just tested MPC-HC and I found that in some minutes. But the mouse pointer cannot be brought back to front by moving it.

Klaus1189 avatar Nov 13 '23 16:11 Klaus1189

But why are you telling me that I am stupid?

Klaus1189 avatar Nov 13 '23 16:11 Klaus1189

Mediainfo issue is already fixed. If you are insinuating that MPC-HC is buggy, then you are just confirming your stupidity. Mouse pointer is hidden intentionally in fullscreen if you don't move it.

This is only the case in MPC Video Renderer, not madVR or other renderers.

Klaus1189 avatar Nov 13 '23 16:11 Klaus1189

I tested again MPC-HC several times, mouse did come one time in front, but not usable, so I can not double click or bring the seekbar to show in fullscreen. I always used start in fullscreen in my test. So this confirms that there are some issues, but only with one external video Renderer and the already fixed mediainfo tab.

I am very sorry that I hurt you - clsid2

Klaus1189 avatar Nov 13 '23 16:11 Klaus1189

You can't hurt me. I am not having problems.

Try MPCVR build from MPC-HC download page. That does not block WM_NCACTIVATE window message like standard MPCVR does. Maybe that helps.

clsid2 avatar Nov 13 '23 16:11 clsid2

OK, thanks, I try.

Klaus1189 avatar Nov 13 '23 16:11 Klaus1189

You can't hurt me. I am not having problems.

Try MPCVR build from MPC-HC download page. That does not block WM_NCACTIVATE window message like standard MPCVR does. Maybe that helps.

MPC-HC download page - Here? https://github.com/clsid2/mpc-hc/releases I can not find it. Link please.

To be honest, calling me stupid, did really hurt me.

Klaus1189 avatar Nov 13 '23 16:11 Klaus1189

https://github.com/clsid2/mpc-hc/releases/download/2.1.2/mpcvr_0.7.0.2148.zip

clsid2 avatar Nov 13 '23 16:11 clsid2

It behaves the same.

Don't you think we should make a ticket of this on mpc hc? It has nothing to do with this issue I created it for, but I can test for you if you want.

Klaus1189 avatar Nov 13 '23 17:11 Klaus1189

I don't have a connected TV at the moment and I can't check.

Aleksoid1978 avatar Dec 01 '23 02:12 Aleksoid1978

The issue is gone for me with MPC-BE 1.7.1 and MPC Video Renderer 0.8.1.2230 using Nvidia driver 552.44 no hardware change, no disconnent/reconnect of any connection. I am very happy :)

Klaus1189 avatar May 12 '24 09:05 Klaus1189

Thank you

Klaus1189 avatar May 12 '24 09:05 Klaus1189