Aleksoid1978 / MPC-BE

MPC-BE – универсальный проигрыватель аудио и видеофайлов для операционной системы Windows.
GNU General Public License v3.0
2.17k stars 88 forks source link

Choppy audio when minimizing videos at 60fps #472

Closed IPeluchito closed 4 months ago

IPeluchito commented 4 months ago

Choppy audio when minimizing videos to 60fps... windowed, maximized or fullscreen works normally...

MPC-BE 1.7.1.20 dev git 2024-05-17 - ab9da53be Windows 11 Build 22000.1516 / i7 9700 / 16gb Ram / GTX 1660Ti 6gb 3840 x 2160 @ 60Hz 300% Scaling / HDMI Audio

Aleksoid1978 commented 4 months ago

Show filters list when playback

IPeluchito commented 4 months ago

@Aleksoid1978 MPC-BE x64 1.7.1.20 dev Filters currently loaded:

Aleksoid1978 commented 4 months ago

Try set Flip mode for EVR CP Try reset settings..

IPeluchito commented 4 months ago

@Aleksoid1978 I just found the origin of the problem...when VSync is enabled (Enable Vsync via Direct3D9) the problem occurs when playing minimized videos at 60 fps...

IPeluchito commented 4 months ago

@Aleksoid1978 With Flip/FlipEX Mode for EVR CP the problem is not displayed when VSync is enabled...but shouldn't this option be enabled by default instead of the other or what is causing this problem? Why does this only happen with minimized 60 fps videos?

Aleksoid1978 commented 4 months ago

Flip can work bad on old hadrware/drivers.

clsid2 commented 4 months ago

Why is the video renderer affecting the audio?

Perhaps renderer could simply drop all frames when player is minimized? That could potentially save energy for processing stuff that isn't shown anyway.

IPeluchito commented 4 months ago

@Aleksoid1978 I was doing some tests and the Flip mode gives me other problems, for example: when opening a video downloaded from emule from the same program (eMule) the video is displayed in a small window in the upper corner or simply the screen goes black (Launch Files in Fullscreen)... the same happens when using the MPC renderer...I have chosen to use the MPC renderer and Swap Effect in Discard...