View Full Version : Media Player Classic - BE Win32/x64
SirMaster
23rd June 2023, 16:48
Just a question.
It seems libplacebo is getting a lot of active development, especially in tone-mapping, etc. It seems to be potentially the best renderer of the future.
Do the MPC-BE devs ever see the possibility of integrating libplacebo into MPC-BE?
I understand it's probably a large project, but I just wonder is it something that you see as a possibility in the future of MPC-BE.
ryrynz
23rd June 2023, 22:10
This is the only thing I'm actually interested in atm.
v0lt
24th June 2023, 05:10
MPC-BE will not include libplacebo.
But you can make your fork (https://github.com/Aleksoid1978/VideoRenderer/forks) of MPC Video Renderer with any engine. The source code is open.
clsid
24th June 2023, 11:18
Perhaps you could just copy some useful things from it to MPCVR, like DoVi tonemapping. That might be relatively easy to do.
v0lt
24th June 2023, 12:28
Perhaps you could just copy some useful things from it to MPCVR, like DoVi tonemapping. That might be relatively easy to do.
IMHO, Dolby Vision processing cannot just be copied. I don't understand how to work with this. I think Dolby Vision support is a tricky feature to implement.
If it's easy for someone to do this, then show a shader that takes a YUV texture as input and parameters from the Dolby Vision metadata that LAV Filters provides.
There is a DolbyVision.hlsl (https://github.com/Dogway/emulation-random/blob/master/MPC-HC/Shaders11/DolbyVision.hlsl) shader, but it does not work well, because does not use metadata.
clsid
24th June 2023, 13:31
This contains code to generate shader. But seems fairly complicated.
https://code.videolan.org/videolan/libplacebo/-/blob/master/src/shaders/colorspace.c
Klaus1189
25th June 2023, 15:56
small cosmetic issue in MPC Video Renderer: background is too small for string
https://drive.google.com/file/d/1IIgPHKM0KWIaHNWeH6YWDBa8eaWU02tN/view?usp=sharing
kirakami
26th June 2023, 04:47
How to install libplacebo on Windows 10 and 11 so MPC-BE can use it?
Aleksoid1978
26th June 2023, 04:51
How to install libplacebo on Windows 10 and 11 so MPC-BE can use it?
No way.
Dogway
26th June 2023, 09:45
This contains code to generate shader. But seems fairly complicated.
https://code.videolan.org/videolan/libplacebo/-/blob/master/src/shaders/colorspace.c
If I'm not wrong it's reading the RPU from C code, AFAIK you can't do this from within a shader.
butterw2
26th June 2023, 10:29
With intel uhd-730 (31.0.101.4369 driver + win10 22H2), problem with mpc-vr 0.6.7.2013 when set to dx9 mode. The first frame of the video is displayed then it crashes mpc-be (also crashes mpc-hc).
mpc-vr > dxva2/d3d11 Video Processor/ unchecking "Use for NV12" seems to solve the issue.
Evr-cp +resizer: dxva2(Intel only) works ok.
Aleksoid1978
26th June 2023, 13:44
With intel uhd-730 (31.0.101.4369 driver + win10 22H2), problem with mpc-vr 0.6.7.2013 when set to dx9 mode. The first frame of the video is displayed then it crashes mpc-be (also crashes mpc-hc).
mpc-vr > dxva2/d3d11 Video Processor/ unchecking "Use for NV12" seems to solve the issue.
Evr-cp +resizer: dxva2(Intel only) works ok.
Why use DX9 on Win10 ?
v0lt
26th June 2023, 15:24
With intel uhd-730 (31.0.101.4369 driver + win10 22H2), problem with mpc-vr 0.6.7.2013 when set to dx9 mode. The first frame of the video is displayed then it crashes mpc-be (also crashes mpc-hc).
It plays fine (https://ibb.co/XVKFhpH) for me.
Windows 10 22H2, Intel UHD 750 (i5-11500), video driver 30.0.101.1273.
MpcVideoRenderer-0.6.8.2028 (https://disk.yandex.ru/d/X0EVMKP4TcmnHQ)
butterw2
26th June 2023, 17:33
I've updated to latest dev mpc-vr, reset settings, but the mpc-vr dx9/ intel uhd730 DXVA2 VP with NV12 input issue persists for me. Screenshot before crash is same as v0lt, except for output framerate 1.000.
No issues with dx11 which is what I actually use mpc-vr with.
I was testing the shader selector change made in the dev build (now dx11 by default with mpcvr on Win8+).
if I understand correctly, dx11 mpc-vr is recommended with Win10.
v0lt
27th June 2023, 18:42
@butterw2
You may have a different generation processor. Or you should try a driver like mine (https://www.catalog.update.microsoft.com/Search.aspx?q=Intel%20UHD%20Graphics%20730%2030.0.101.1273%20Windows%2010).
wushantao
27th June 2023, 19:54
@butterw2
whats your sawp effect option? try discard
butterw2
27th June 2023, 22:16
Interestingly I noticed mpc-hc no longer crashes (possibly because of the update to latest dev build of mpc-vr, I'm not sure).
With mpc-be I tried swap option: discard but no success.
Anyway, I only use dx11 with mpc-vr: good performance and support for AV1 hw-dec.
SirMaster
28th June 2023, 17:56
For those who were interested in libplacebo in MPC, I just found out about this.
https://github.com/Asd-g/avslibplacebo
ryrynz
29th June 2023, 00:57
I just found out about this.
https://github.com/Asd-g/avslibplacebo
Nice. I'll give it a look.
tormento
29th June 2023, 21:29
My full screen goes black for a second before when launching a video.
MBC-BE 1.6.7.137_x64 + MPC Video Renderer 0.6.8 dev 26/06/2023 + LAVFilters 0.77.2·2
I have tried the previous version of both & downgrading Nvidia drivers but I have the same issue.
If I use MadVR, everything works ok.
Same issue with MPC-HC 2.0.0.21, so I think that it's a regression in MPC Video Renderer.
v0lt
30th June 2023, 04:11
My full screen goes black for a second before when launching a video.
One second? I do not confirm.
Perhaps you have NVIDIA Stereoscopic 3D (https://griffeltavla.wordpress.com/2014/02/10/resolved-mpc-hc-taking-10-seconds-to-launch-a-clip/) (you did not write the model of your video card).
You can also try changing the "Swap effect" option.
Aleksoid1978
30th June 2023, 05:27
My full screen goes black for a second before when launching a video.
MBC-BE 1.6.7.137_x64 + MPC Video Renderer 0.6.8 dev 26/06/2023 + LAVFilters 0.77.2·2
I have tried the previous version of both & downgrading Nvidia drivers but I have the same issue.
If I use MadVR, everything works ok.
Same issue with MPC-HC 2.0.0.21, so I think that it's a regression in MPC Video Renderer.
Try using internal video decoder.
Show MPC VR setting and statistics when playback(Ctrl+J).
tormento
30th June 2023, 09:23
One second? I do not confirm.
That is strange for me too as it used to work perfectly.
I don't have 3D stereoscopic on.
My card is a 1660 Super.
With other video renderers as MadVR it works ok.
Aleksoid1978
30th June 2023, 14:17
Ma card 1650 - all is perfect with MPC VR.
v0lt
30th June 2023, 15:42
I don't have 3D stereoscopic on.
I just uninstall it.
With other video renderers as MadVR it works ok.
As far as I know, madVR does not use D3D11 Video Processor.
Sunspark
30th June 2023, 17:38
It's normal for the screen to go black for a second if you're changing resolution or refresh rate when starting a video.
Is it possible that this is what is happening?
tormento
30th June 2023, 22:05
Is it possible that this is what is happening?
I play in windowed mode.
MPC-BE 1.6.8 stable (https://github.com/Aleksoid1978/MPC-BE/releases/tag/1.6.8)
MPC-BE Nightly builds:
main file store (https://yadi.sk/d/hlf1lfC8mKU58), alternative (https://yadi.sk/d/AjAXDDHtHRIELg)
MEGA (https://mega.nz/folder/cQsn1TKJ#sT9sS6ywvmNqjz6B4RaK5Q), Google Drive (https://drive.google.com/drive/folders/1u84bY2n6fPAvM5n5mJvQBSDv6BKut-RY?usp=sharing), Pcloud (https://u.pcloud.link/publink/show?code=kZ2gNeVZjGcpVOgg3Rkxxln2U2itBSxW2IUy), Filen Drive (https://drive.filen.io/f/e104a83b-41f3-4bd1-8477-4b8838eb5986#qOhqvOnNY6lFLDu6ETjOtu8jT9KvbS7e), Icedrive (https://icedrive.net/s/jCSTVwvB3YXAwfVxu6x5WNziwDgj)
Night builds are provided by volunteers.
Also new and old versions can be found on VideoHelp.com (https://www.videohelp.com/software/MPC-BE).
Donate (https://mpc-be.org/forum/index.php?topic=240.0).
Sunspark
1st July 2023, 19:40
@tormento
In the Nvidia control panel go to the "Adjust desktop color settings" section and change "Content type reported to the display" from "Auto-select (recommended)" to "Desktop programs".
if mpcVR has the option to not report the content type i would prefer if it just to avoid these issues.
Sunspark
2nd July 2023, 18:17
Intel doesn't do the black screen thing, but it also has a similar setting, it's called "IT Content" in the Display>General>Advanced settings. Disabled is recommended by Intel for video clarity. I leave it off all the time, I felt that when it was enabled it would sharpen text. It's a HDMI 1.4 thing, profiles for gaming, movie, photos and text viewing modes. I imagine similar to a TV's preset modes that process things differently.
Release MPC-BE 1.6.8.5 (https://github.com/Aleksoid1978/MPC-BE/releases/tag/1.6.8.5)
MPC-BE Nightly builds:
Яндекс.Диск (https://yadi.sk/d/hlf1lfC8mKU58), Яндекс.Диск 2 (https://yadi.sk/d/AjAXDDHtHRIELg)
MEGA (https://mega.nz/folder/cQsn1TKJ#sT9sS6ywvmNqjz6B4RaK5Q), Google Drive (https://drive.google.com/drive/folders/1u84bY2n6fPAvM5n5mJvQBSDv6BKut-RY?usp=sharing), Pcloud (https://u.pcloud.link/publink/show?code=kZ2gNeVZjGcpVOgg3Rkxxln2U2itBSxW2IUy), Filen Drive (https://drive.filen.io/f/e104a83b-41f3-4bd1-8477-4b8838eb5986#qOhqvOnNY6lFLDu6ETjOtu8jT9KvbS7e), Icedrive (https://icedrive.net/s/jCSTVwvB3YXAwfVxu6x5WNziwDgj)
Night builds are provided by volunteers.
Also new and old versions can be found on VideoHelp.com (https://www.videohelp.com/software/MPC-BE).
Donate (https://mpc-be.org/forum/index.php?topic=240.0).
Perenista
5th July 2023, 06:27
I am having a problem with the player...
I picked a chinese subtitle, then did this:
>>>>>>>>>>>>>
Used an online tool that offer Chinese text conversion or romanization service. One popular website that can convert Chinese text into Pinyin...
>>>>>>>>>>>>>
But this is how the subtitle is displayed:
https://i.postimg.cc/26QbL97f/XAS.png
When it should look like this:
https://i.postimg.cc/9f1sXCv3/TEXT.png
Some specific characters are not recognized by MPC-BE, then it's wrongly displayed. Can this be fixed somehow?
Some specific characters are not recognized by MPC-BE, then it's wrongly displayed. Can this be fixed somehow?
Perhaps you need to choose the right font. You can also watch the subtitle script in notepad. And be sure to save in UTF-8.
Sunspark
5th July 2023, 16:31
If you use the character map app, you can see if any given font has the character you want. Looks like the missing character here is latin small o with breve ŏ or maybe latin small o with caron ǒ which will not show up in a font that only has a basic 256 character set.
wushantao
6th July 2023, 14:01
@Perenista
you need a font that supports "pinyin"
What kind of 3dlut can be used with mpc-be video renderer?
What kind of 3dlut can be used with mpc-be video renderer?
See "Key features" in Readme.md (https://github.com/Aleksoid1978/VideoRenderer/blob/master/Readme.md).
See "Key features" in Readme.md (https://github.com/Aleksoid1978/VideoRenderer/blob/master/Readme.md).
I see no support for 3dlut formats. :confused:
I see no support for 3dlut formats. :confused:
You are absolutely right.
You are absolutely right.
But why?
because someone has to write and test the code.
SirMaster
7th July 2023, 18:48
I see no support for 3dlut formats. :confused:
Do a 3DLUT through the renderer or through ReShade which works just fine with MPC-BE.
Or even through the OS itself:
https://github.com/lauralex/dwm_lut
Asmodian
10th July 2023, 17:08
Or even through the OS itself:
https://github.com/lauralex/dwm_lut
This is a very cool tool. Thanks!
angmav
10th July 2023, 20:49
Do a 3DLUT through the renderer or through ReShade which works just fine with MPC-BE.
Or even through the OS itself:
https://github.com/lauralex/dwm_lut
Should we still engage 3dlut if we use this program in madvr ?
Sent from my iPhone using Tapatalk
SirMaster
10th July 2023, 21:32
Should we still engage 3dlut if we use this program in madvr ?
This program enables a 3DLUT on its own for all software on the PC.
So it should really be the only place you are applying a correction if you use it.
You could use this instead of a madVR 3DLUT, if you want your 3DLUT to apply to more than just madVR video.
Sunspark
11th July 2023, 02:13
What is the difference between using this and using an .icc color profile file in the Windows colour management control panel and having it set to apply to the system itself?
huhn
11th July 2023, 02:28
icm profiles can do nothing at all you have to grab it and apply it properly which most programs don't do there is also the issue with gamut mapping the system in windows is really subpar.
there are programs and video renderer that use them properly or even calculate a 3D LUT from it when the application or video starts giving it really good results.
a 3D LUT is very simple you read the meta data of the 3D LUT like bt 709 make sure the decoded image is bt 709 and throw it at it and that's it done not much you can do wrong.
Asmodian
11th July 2023, 15:47
I used Calman to make a 3DLUT for madVR and DWM_LUT was able to load the 3DLUT text file Calman created as an intermediary. It worked well for correcting the gamut on my Samsung S95B in game mode using any renderer, including the mpc-be video renderer. :D
SirMaster
11th July 2023, 16:01
What is the difference between using this and using an .icc color profile file in the Windows colour management control panel and having it set to apply to the system itself?
Display profiles are just that.
They are a "profile" of a display, which defines the behavior of that display. A profile does not perform any sort of corretion.
It is completely up to an application to perform any sort of correction to its output. So an application needs to read in the profile, and based on that profile data, needs to alter its output so that its output displays correctly on that display.
Put more simply, display profiles only do things for software that uses it.
So a display profile does nothing for your video games or your video player apps for example, because none of them use the display profile data.
DWM_LUT injects a 3DLUT correction to the image in the DWM (desktop window manager) layer of Windows, and this effectively causes the adjustments to apply to every software, outside of the software's knowledge entirely.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.