Log in

View Full Version : Media Player Classic - BE Win32/x64


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 [165] 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235

v0lt
15th January 2021, 04:31
MPC Video Renderer 0.5.2.1607 (https://github.com/Aleksoid1978/VideoRenderer/releases/tag/0.5.2)
Description (https://github.com/Aleksoid1978/VideoRenderer/blob/0.5.2/Readme.md)

Changes:
Fixed getting the displayed frame when outputting RGB 10-bit.
Fixed display of BGRA64 format.
Added support for BGR48 format.
Added correction after incorrect (unsupported) conversion from YCbCr BT.2020 to RGB after DXVA2 and D3D11 VP.
Fixed playback of some protected DVD-Videos.
Improved "Auto display HDR On/Off" option.
Fixed converting color space using shaders.
Various additions and fixes in statistics.

Klaus1189
15th January 2021, 05:47
Where do I find STRING IDS_MAINFRM_61 to check in GUI?

So I can check :)

Aleksoid1978
15th January 2021, 07:55
So I can check :)

It's message when trying load subtitles and video-renderer is not compatible.

chros
15th January 2021, 12:07
Yes, and brutal stuttering as well even with SDR (1080p/2160p) content :)

Here's the interesting part: it works fine at 59Hz!!! (even with 23p/25p videos)
Issue happens if I set the TV (in Windows adapter settings) to:
- 23Hz with 23p video
- 25Hz with 25p video

I have 2 displays connected to the HTPC:
- monitor via DVI (only supports 60Hz, so I can't try it on this)
- TV via HDMI (supports 23/24/25/29/30/50/59/60Hz)

Something is not right. And as I said this only happens when Lav Video is set to d3d11-native and d3d11 output is enabled in mpcVR (more visible with "Flip" presentation).

Same with fullscreen exclusive. There's nothing on the stats screen.
But I could recreate it on my monitor as well:
it seems the problem only occurs when fps = display Hz or really close to it (59p on 60Hz)!
So, to try to reproduce it, play back:
- 1080p/2160p 59p SDR video on monitor @ 60Hz
- set LAV Video to d3d11 native (not copyback)
- set mpcVR to d3d11 and set Flip presentation
- it happens in window or fullscreen too

Can anyone reproduce this crazy stutter?

If I set Vertical Sync only to "Fast" in nvidia control panel the problem seems to go away and it works on TV and monitor as well. (None of the other vsync values help.)
- nvidia says about Fast: "GPU renders unconstrained similar to VSYNC OFF, but does not tear since frames in excess of the refresh rate of the monitor are dropped. Delivers latency that is very close to VSYNC off with no tearing"
- from this reddit post (https://www.reddit.com/r/nvidia/comments/4jsj9j/so_what_is_the_difference_between_fast_sync_and/): "FAST-SYNC - De-coupled rendering and monitor refresh. VSYNC OFF but the monitor will only render completely rendered frames, thus eliminating tearing (MINOR input lag but NO TEARING! ) also it is monitor agnostic so it will work with any screen. It is analogous to hardware triple buffering but does not back-pressure the render pipeline."

I have never used this option, it was always on "Use the 3D application setting", so I don't know what affect it has with e.g. madvr.
But from this it's clear that it's some kind of timing issue with those settings.

Edit: yep, Fast vsync produces tearing with madvr, so it's not a solution :)

HLG suppot: a huge (!!!) thank You guys for this!
I watched couple of contents (using dxva2-copyback to don't have tearing/stuttering) and the result is absolutely stunning!

MPC Video Renderer 0.5.2.1607 (https://github.com/Aleksoid1978/VideoRenderer/releases/tag/0.5.2)


Thanks guys for the new release!
An update about the stuttering issue after short testing (last lavfilters (https://files.1f0.de/lavf/nightly/LAVFilters-0.74.1-92.exe) is used from December):
- tested with SDR 59p on 60Hz monitor
- mpc-be starts in window mode: no stuttering
- put it into fullscreen (ctrl+enter): stuttering
- skip back/forward (left/right arrow keys) and let it play: no stuttering!!!
- put it into window (ctrl+enter): stuttering
- skip back/forward (left/right arrow keys) and let it play: no stuttering!!!

Aleksoid1978
15th January 2021, 12:46
Test with MPC-BE + internal filters.

chros - do you use DX9/DX11, Fulscreen or Fullscreen exclusive ?

clsid
15th January 2021, 18:06
I have also seen a few reports from people who had stuttering when switching to or from fullscreen with MPCVR. I don't think issues is related to player or decoding filters.

Default settings, so DX9 non-exclusive. Mostly people with Intel GPUs. Using DX11 often solved it.

chros
15th January 2021, 19:31
Test with MPC-BE + internal filters.

chros - do you use DX9/DX11, Fulscreen or Fullscreen exclusive ?

Internal filters are fine since they use dxva2-copyback, as I said above the problem only appears when you use:
- d3d11-native (in lav video decoder)
- and the framerate of the file is close to the refresh rate of the display (e.g. 59p and 60Hz, 25p and 25Hz, etc)

In mpcVR: DX11, no Fullscreen exclusive. (I can upload a screenshot of the settings if you need it)

Now I watch an HLG file, and stuttering happens randomly even if I skip back/forward, but previously it was way worse.

I asked this before: has anyone tried/managed to recreate the issue? :)

Klaus1189
15th January 2021, 19:36
It's message when trying load subtitles and video-renderer is not compatible.

Thanks, but unfortunately I don't can trigger this error-message. Can you or v0lt please check for me the length of the german translation if it fits and is not cut off? I am pretty sure it is a window like when you check for updates and will be fine, but to be sure. Only a small thing. I beg to do that little favor, it won't be much time in your programming environment (Check with 200% window scaling would be nice too, if that is possible) Thanks in advance :)

senzaparole
15th January 2021, 23:34
1. Try latest SVN - https://yadi.sk/d/hlf1lfC8mKU58/!_last
3. Try change WASAPI method, Device buffer.

I solved the problem!!!!! In the MPC Audio Renderer settings it was enough to change the DEVICE BUFFER from 50 ms to DEFAULT!
Now I don't lose frames anymore and madVR's OSD is perfect!
Thanks for your help!: D

Aleksoid1978
16th January 2021, 03:38
I don't understand what you mean "stuttering" ? Maybe more detail explain, screenshot/video ???
I use DX11 + FSE, all perfect after switching window/FSE mode.

ryrynz
16th January 2021, 05:24
He was dropping frames and for some reason the frames were repeating more often too (audio buffer shouldn't affect this) You can see his posts in the MadVR forum.

Kl3r
16th January 2021, 07:04
Hi! I am using MPC-BE in its stable version. It's my video player and I find it great!

I see on this forum that it is possible to install other extensions (madVR, LAV, ...).

Is the software not sufficient on its own? I don't quite understand it because I find the software to work fine "by default".

I have a 1080p display (not HDR), is this interesting for me?

v0lt
16th January 2021, 09:08
Is the software not sufficient on its own? I don't quite understand it because I find the software to work fine "by default".
It will be useful to install LAV Splitter in the system to support HLS streams and some rare formats. You don't need the rest.

Grimsdyke
16th January 2021, 10:52
In LAV splitter you can also increase cache size to quite high values which "can" be useful on systems with weaker/older hardware.

v0lt
16th January 2021, 11:59
In LAV splitter you can also increase cache size to quite high values which "can" be useful on systems with weaker/older hardware.
Probably not.

Aleksoid1978
16th January 2021, 12:44
He was dropping frames and for some reason the frames were repeating more often too (audio buffer shouldn't affect this) You can see his posts in the MadVR forum.

Can somebody record video with enabled statistics in MPC VR. I never see drop or repeat frames - it's happened only when system is slow for decoding/output.

cmhrky
16th January 2021, 15:07
Latest Turkish translation (https://www.sendspace.com/file/bb7hfl) with some fixes based on r5964.

chros
16th January 2021, 20:23
Edit: maybe "Flip" presentation is the problem? (But I think "Flip" was forced with HDR output previously, maybe I'll try with Discard now.)
No, it's there with "Discard" as well on the TV with 23p/23Hz.

I just tried mpcVR with PotPlayer, since it also supports d3d11-native via its internal video decoders (probably taken from Lavfilters :)), it can be seen its OSD (TAB key):
- same issue, no matter whether "Disard" or "Flip" is used

The interesting part is, they have their own built-in d3d11 renderer that works fine with all its 4 modes:
- discard
- sequential
- Flip discard
- Flip sequential

So I think it's a bug somewhere in mpcVR, because only the renderer is changed in Potplayer, nothing else.

v0lt
17th January 2021, 05:16
@Klaus1189, @s0meone_new, @wushantao, @cmhrky
Thanks. Translations updated in r5956, r5957, r5965.

Aleksoid1978
17th January 2021, 06:10
I can't reproduce "bug" with MPC VR, so can't do something. No one provided any evidence, preferably in the form of a video recording with included statistics ...

JarrettH
17th January 2021, 07:08
Hello everyone!
I have a problem with MPC-BE and madVR.
If from windows I set the audio output "topping" to send the audio to the DAC / AMP Topping to listen to headphones, madvr goes crazy: I lose many frames.

If instead from windows I set the optical output of the motherboard to send the audio to the DAC / AMP for listening in headphones, madvr works as well as ever.
This problem is only with MPC-BE. With MPC-HC no problem both if the audio output is "topping" and if the audio output is "optical"

In MPC-BE I added LAV video and audio filters to MPC-BE.
And they are the same as MPC-HC.

Are you running at least 4.86 usb driver on the Topping? Don't ask me why, but 4.86 fixed something for me having to do audio issues I was experiencing in MPC-BE under WASAPI.

https://www.tpdz.net/download

chros
17th January 2021, 11:29
I can't reproduce "bug" with MPC VR, so can't do something. No one provided any evidence, preferably in the form of a video recording with included statistics ...
Sorry, I deleted those when I edited the post above, here they are:
- recorded bug (https://we.tl/t-t5vbaUH3EY) (SDR hevc 2160p 59p file on 1080p 60Hz monitor)
- settings (https://imgbox.com/gallery/edit/us5zYkr2uf/86MtUCjxdCRgfdIE)

Try to recreate with Lav settings and PotPLayer (OSD should display d3d11 VLD decoder).

Aleksoid1978
17th January 2021, 11:46
Sorry, I deleted those when I edited the post above, here they are:
- recorded bug (https://we.tl/t-t5vbaUH3EY) (SDR hevc 2160p 59p file on 1080p 60Hz monitor)
- settings (https://imgbox.com/gallery/edit/us5zYkr2uf/86MtUCjxdCRgfdIE)

Try to recreate with Lav settings and PotPLayer (OSD should display d3d11 VLD decoder).

Ok thanks. Try uncheck NV12/P010 and other.

v0lt
17th January 2021, 18:44
recorded bug (https://we.tl/t-t5vbaUH3EY) (SDR hevc 2160p 59p file on 1080p 60Hz monitor)
Looks like messed up frame order after decoder or deinterlacing.

chros
17th January 2021, 19:36
Looks like messed up frame order after decoder or deinterlacing.
Probably (it's a progressive video, so no deint), it looks like those old childish puzzle games sometimes :)
But if I understand it right (see below), the above nvidia setting (Vertical Sync set to "Fast") now make sense why it made a difference.

Ok thanks. Try uncheck NV12/P010 and other.
That solved it! :) Thanks

So what does that Video Processor section mean in mpcVR?
Does it mean that all those operations done by the GPU driver instead of mpcVR shaders (in my case luma/chroma scaling)?
If so, then it's really confusing, I wonder how many other people use them wrong :)

senzaparole
17th January 2021, 23:07
Are you running at least 4.86 usb driver on the Topping? Don't ask me why, but 4.86 fixed something for me having to do audio issues I was experiencing in MPC-BE under WASAPI.

https://www.tpdz.net/download

hi, thanks for the reply. I had the E30 / L30 Topping but returned to the seller for the known issues.
Today the SMSL M500 arrived and I have the exact same problem: madVR goes crazy! As with the Topping, I solved it by setting the DEVICE BUFFER to default

senzaparole
17th January 2021, 23:14
I don't understand what you mean "stuttering" ? Maybe more detail explain, screenshot/video ???
I use DX11 + FSE, all perfect after switching window/FSE mode.

Here is the screenshot of MPC-HC in playback mode:
https://i.ibb.co/FXZrk6p/mpc-hc-2.jpg (https://ibb.co/kJb7VKZ)



Here is the screenshot of MPC-BE in playback mode:
https://i.ibb.co/qJs9P22/mpc-be.jpg (https://ibb.co/0sMZdzz)

Aleksoid1978
18th January 2021, 00:22
That solved it! :) Thanks

So what does that Video Processor section mean in mpcVR?
Does it mean that all those operations done by the GPU driver instead of mpcVR shaders (in my case luma/chroma scaling)?
If so, then it's really confusing, I wonder how many other people use them wrong :)

When NV12/P010 and other check - color conversion YUV -> RGB do DX9/D3D11 video processor(some functional in GPU driver). When uncheck - color conversion do MPC VR using own shaders.

cmhrky
18th January 2021, 15:41
Can you add the "Zoom +" and "Zoom -" commands to the zoom options? The 50%, 100%, 200% and Zoom Auto Fit commands are insufficient to set intermediate values. It is also really difficult to adjust intermediate values with the mouse. It might be nice to set it up with mouse and keyboard shortcuts. (Alt + 5, Alt + 6, Ctrl + Mouse Wheel Up / Down ...)

chros
18th January 2021, 16:07
When NV12/P010 and other check - color conversion YUV -> RGB do DX9/D3D11 video processor(some functional in GPU driver). When uncheck - color conversion do MPC VR using own shaders.
Thanks for the explanation.
I think those settings needs more documentation, e.g. tooltip, or on the github page?

beter
18th January 2021, 20:50
Update for translation of Traditional Chinese and Dutch

https://www.sendspace.com/file/t0gdnp

v0lt
19th January 2021, 04:25
@beter
Thanks. Updated in r5978.

Can you add the "Zoom +" and "Zoom -" commands to the zoom options? The 50%, 100%, 200% and Zoom Auto Fit commands are insufficient to set intermediate values. It is also really difficult to adjust intermediate values with the mouse. It might be nice to set it up with mouse and keyboard shortcuts. (Alt + 5, Alt + 6, Ctrl + Mouse Wheel Up / Down ...)
Are you sure you need to resize the window? After all, an arbitrary window size can be easily obtained using the mouse and the "Limit window proportions on resize" option.

You can change the size of the frame using the Num1 and Num9 keys.

PS: I do not add key combinations for new commands, users will have to do it themselves. Because too many keys have already been used.

cmhrky
19th January 2021, 11:32
The "Limit window proportions on resize" option is active. I usually use it in window mode and I use it with default (https://i.hizliresim.com/G3Cfgs.jpg) windows settings.

When I want to adjust it to the applications I use, the zoom options often fall short, because it's either too big or too small. It is also difficult to adjust with the mouse. I thought it could be adjusted quickly with "Zoom +/-".

I wrote the key combinations as an example. It doesn't need to be the default.

cmhrky
19th January 2021, 20:38
I prepared a toolbar.svg and flybar.svg with the icons here (https://www.svgrepo.com/collection/fluent-ui-icons-outlined/1). If you want to try, you can download (https://www.sendspace.com/file/f3m2vo)it.

Main source of icons: Fluent UI System Icons (https://github.com/microsoft/fluentui-system-icons)

https://i.hizliresim.com/jfTBkd.jpg

Klaus1189
19th January 2021, 21:43
Wow :eek:

ryrynz
19th January 2021, 22:22
Make this the new default imo, only problem is that the icons have thin lines on dark backgrounds. The new icons look nicer but I prefer the bold look of the old ones.
cmhrky, can you increase thickness of the lines of these icons by maybe 50%, I think it will help a lot.

v0lt
20th January 2021, 05:15
@ryrynz
If you don't like the new SVG toolbars, then you can use the old toolbar_xx.png (https://sourceforge.net/p/mpcbe/code/HEAD/tree/trunk/src/apps/mplayerc/res/obsolete/).
Take the desired size, rename it to "toolbar.png" and put it in the player folder.

@cmhrky
The microphone for selecting audio tracks looks strange. I think a note icon (https://www.svgrepo.com/svg/309789/music) would be more appropriate.

Grimsdyke
20th January 2021, 13:11
@cmhrky
Great work, but I also think using a microphone for an audio out function is not the best solution. I think you should create an icon based on a speaker symbol and give it your spin. Thanks !!

cmhrky
20th January 2021, 21:01
@ryrynz
I prepared 2 files of different thickness. I added it inside the zip file.

@volt, @Grimsdyke

https://i.hizliresim.com/s62ht1.jpg (https://www.sendspace.com/file/v3d50p)

Klaus1189
20th January 2021, 21:07
4 and 5 are amazing. Love how the audio icon is also in a rounded rectangle just like the subtitle icon.

ryrynz
21st January 2021, 00:56
@ryrynz
If you don't like the new SVG toolbars, then you can use the old toolbar_xx.png (https://sourceforge.net/p/mpcbe/code/HEAD/tree/trunk/src/apps/mplayerc/res/obsolete/).
Take the desired size, rename it to "toolbar.png" and put it in the player folder.


I am aware.. It's not that I dislike them, it's not so different to what was originally there but these are certainly better and more modern.
I think most would agree, which is why I said I think they should be the default but I also understand you've just updated the old style so I didn't expect it.

Thanks cmhrky, I will take a look.

The thickness of the flybar is good. The toolbar also needs extra too. Look. @1920x1200 400% zoom. Needs to be more in line with system taskbar icons (wifi, volume etc)
This weak strength of the lines is obvious even without enlargement but I have done so to highlight the issues here.
https://i.ibb.co/0rX599W/Image2.jpg

Volt, I know you probably won't update the toolbar, but the flybar should be updated to flybar (2).svg, It's much better.
https://i.ibb.co/hmfGRjM/Image55.jpg

patul
21st January 2021, 03:21
I like the first and second.. Agree with v0lt, the note symbol is just lovely..

Asmodian
21st January 2021, 03:47
I like the first and second the most too. Probably the second over the first, since the width is similar to the other icons.

v0lt
22nd January 2021, 04:21
@cmhrky
Please сhoose 2-4 good toolbars, put them in different folders, rename to toolbar.svg, add readme.txt, and pack it into one ZIP archive.
I will upload this archive to SourceForge.net (https://sourceforge.net/projects/mpcbe/files/Toolbars/).

tormento
22nd January 2021, 13:04
It's a long time I don't update MPC-BE and, now that I updated to last two nightly, the time in the bar skips second or doesn't run at all.

I have tried with internal or LAV filters, default renderer or MPC renderer. No solution.

The very same MKV files play ok on MPC-HC with MPC renderer and LAV filters.

Anybody else with this issue?

Aleksoid1978
22nd January 2021, 13:06
It's a long time I don't update MPC-BE and, now that I updated to last two nightly, the time in the bar skips second or doesn't run at all.

I have tried with internal or LAV filters, default renderer or MPC renderer. No solution.

The very same MKV files play ok on MPC-HC with MPC renderer and LAV filters.

Anybody else with this issue?

Try reset settings.

clsid
22nd January 2021, 14:21
@cmhrky
Can you make one for MPC-HC as well?

current toolbar.svg (https://github.com/clsid2/mpc-hc/blob/develop/src/mpc-hc/res/toolbar.svg)

cmhrky
22nd January 2021, 23:35
@ryrynz
I can't make much changes to most svg files but I guess I was able to fix it a bit. I will prepare another toolbar.svg by drawing it myself. It will be better.

@volt
toolbar_flybar_svg.zip (https://drive.google.com/file/d/1FbJ9CEMJOQqAjvh7C7jdNSEBNWfjSLyY/view?usp=sharing)


... the time in the bar skips second ...

Anybody else with this issue?

When I close the status bar with "View> Status" and "View> Presets ...> Compact" skips second.

Klaus1189
23rd January 2021, 09:01
@cmhrky:
The toolbars look great :D Thank you for that.
I tried the files you uploaded and found a little cosmetic issue:
#3 is fine, but the corner around the speaker of #4 is a bit weird. I don't know how to decribe it, I made screenshots:
#3 (https://drive.google.com/file/d/1VzoPaxRbBAwBTwVa0qipTNqBvAzsoKaF/view?usp=sharing)
#4 (https://drive.google.com/file/d/1h-_MYxNa52EGiGEUoMHHnFwxkGV7iYuT/view?usp=sharing)

I use a 3840x2160p screen and 200% windows scaling, if this is needed.

Aleksoid1978
23rd January 2021, 09:18
When I close the status bar with "View> Status" and "View> Presets ...> Compact" skips second.

Already fixed.