View Full Version : Media Player Classic - BE Win32/x64
Liisachan
6th July 2021, 13:39
Even normal, “small” subs become very big when full-screened & the screen is large...?
Sad... other players don’t have such limitation... I hope there is a way...
EDIT - Workaround
One can use, for example, \fs50\fscx400\fscy400 (font-size:50, scaled:400%), instead of \fs200, and MPC-BE seems to work (tested both on Win7-32 and 64). A typesetter who wants to support MPC-BE may want to use this workaround, when handling big letters (e.g. ep titles, signs, logos).
demo (MKV) (http://faireal.net/aaa/mpc-be-workaround.mkv): sub1 = with fs400, sub2 = with the workaround above
Klaus1189
7th July 2021, 17:09
Updated german translation (https://drive.google.com/file/d/1NwBzp70DqbsN-NeKUsrorOgUedPyb_nu/view?usp=sharing) based on r6344 :)
Where is BEGIN DIALOGEX IDD_HISTORY LINES 7 in GUI?
@Liisachan
Large font size breaks GetTextMetrics. This creates various negative effects. The limitation was added in r4443 (https://sourceforge.net/p/mpcbe/code/4443/). Taking it away is a bad idea.
@Klaus1189
I hope you realize that all the innovations in the Alpha version (this status is set specially) can be redone at any time and your translation revisions will be deleted?
File > Recent Files > Show history (experimental)
Megalith
8th July 2021, 00:33
I also had to re-register LAV filters after installing the latest alpha. Not sure if that's intentional.
Klaus1189
8th July 2021, 03:45
Ok, I wait. Just let me know when I should start translation.
Liisachan
8th July 2021, 05:23
Large font size breaks GetTextMetrics. This creates various negative effects. The limitation was added in r4443 (https://sourceforge.net/p/mpcbe/code/4443/). Taking it away is a bad idea. Thanks for explanation. It's understandable that GetTextMetrics might break if the font size is too big (though members of TEXTMETRIC are mostly 32-bit). I understand you did this intentionally to avoid different kind of problems. Also, there is an ASS-side workaround, so this limitation of MPC-BE is not fatal. Of course it would be great if you could somehow find a better hack, though.
As it is now, the "hack" seems to be converting \fsB into \fsS + \fsc{B/S} (B: big, S: small), which is the same idea as the ASS-side workaround, but not really working similarly BE-side.
Also, in RTS.cpp, you only use GetTextMetrics to get tmAscent and tmDescent. Such info can be easily get by directly calling
GetFontData for 'OS/2'. They're perhaps a=usWinAscent and b=usWinDescent, when font-size is c=unitsPerEm (e.g. 2048). Using a, b, c, and the current font-size, maybe it's trivial to manually calc Ascent/Descent etc. without depending on (buggy?) GetTextMetrics. Since other players can do this one way of another, there should be some ways to do it...
That said, since there is an easy, practical, ASS-side workaround that works fine with MPC-BE, the current situation is not too bad. So, if this limitation is a "by design", I'll respect your decision, at least for now.
Thanks again for technical explanation! If so, what's is wrong is not MPC-BE, but broken Win API...
Scoty
8th July 2021, 06:08
Updated german translation (https://drive.google.com/file/d/1NwBzp70DqbsN-NeKUsrorOgUedPyb_nu/view?usp=sharing) based on r6344 :)
How use it?
Klaus1189
8th July 2021, 10:38
Devs must add the new translation file but since Nightlies are Alpha status updating it does not make sense due to too much changes.
I use 1.5.8 stable and it works like a charm.
If devs tell me I can submit updated translation file I‘ll update it asap.
s0meone_new
8th July 2021, 21:57
Hungarian translation updated:
https://www8.zippyshare.com/v/XwJ0GBQF/file.html
wushantao
9th July 2021, 03:58
https://files.catbox.moe/omu1t0.7z
https://anonfiles.com/J2cds55eua/mplayerc.sc.rc_7z
Simplified Chinese:)
edit: r6350 updated
Klaus1189
9th July 2021, 13:26
Updated german translation (https://drive.google.com/file/d/1NwBzp70DqbsN-NeKUsrorOgUedPyb_nu/view?usp=sharing) based on r6350 :)
German fellows, what do you think about these changes I made?
Grimsdyke
9th July 2021, 14:26
IDD_PPAGEPLAYER => Privatsspähre ?
STRING IDS_MAINFRM_114 => "%s konnte nicht gefunden werden, bitte Medium mit dieser Datei einlegen." ? Alternative maybe.: 'wurde nicht gefunden' ?
There is another thing I would like to suggest but I think it is better to send you a PM later today in German so I can explain what I mean. Have a great weekend !
Klaus1189
9th July 2021, 14:50
https://www.duden.de/rechtschreibung/Privatsphaere
It is fine.
STRING IDS_MAINFRM_114 => "%s wurde nicht gefunden, bitte Medium mit dieser Datei einlegen."
I changed it to that in my newest translation. Thanks.
Perhaps asap, so I can change it before v0lt picks up the new translation file.
s0meone_new
9th July 2021, 23:02
Hungarian translation updated:
https://www4.zippyshare.com/v/iHiwb5u8/file.html
v0lt
10th July 2021, 05:09
@wushantao, @Klaus1189, @s0meone_new
Thank you. Translations updated in r6351
But, as I said earlier, the history window is in the process of development and at any time your changes can be overwritten.
Siso
10th July 2021, 21:57
I have a question about mpc audio renderer, the default device buffer is 50 ms, then it has 100 ms, and what about the default - how many ms is it? And which value is the recommended one?
s0meone_new
10th July 2021, 22:36
But, as I said earlier, the history window is in the process of development and at any time your changes can be overwritten.
No problem. I will translate again. :D
in the English translation is the word "clear" sure good?
I think it would be better there: cleaning
This text there on a button that clears the history?
wushantao
11th July 2021, 05:42
@wushantao, @Klaus1189, @s0meone_new
Thank you. Translations updated in r6351
But, as I said earlier, the history window is in the process of development and at any time your changes can be overwritten.
don't worry, no problem ;)
Scoty
11th July 2021, 06:28
Updated german translation (https://drive.google.com/file/d/1NwBzp70DqbsN-NeKUsrorOgUedPyb_nu/view?usp=sharing) based on r6350 :)
German fellows, what do you think about these changes I made?
Whene you say how use it we can read about your changes.
v0lt
11th July 2021, 06:28
I have a question about mpc audio renderer, the default device buffer is 50 ms, then it has 100 ms, and what about the default - how many ms is it?
"Default" will use the value obtained by calling the IAudioClient::GetDevicePeriod (https://docs.microsoft.com/en-us/windows/win32/api/audioclient/nf-audioclient-iaudioclient-getdeviceperiod) function.
And which value is the recommended one?
It is recommended not to change the original value unnecessarily.
If you have real problems, you can try other values. Only you can check which value will give the best result on your system. There is no one-size-fits-all solution.
Klaus1189
11th July 2021, 08:27
Whene you say how use it we can read about your changes.
Download Nightly build here:
https://forum.doom9.org/showpost.php?p=1946001&postcount=8618
You can check when the translation was added here:
https://sourceforge.net/p/mpcbe/code/commit_browser
Last it was added in 6351 as v0lt wrote:
@wushantao, @Klaus1189, @s0meone_new
Thank you. Translations updated in r6351
But, as I said earlier, the history window is in the process of development and at any time your changes can be overwritten.
So you need Nightly build r6351 or newer.
Does that help?
Siso
11th July 2021, 10:06
"Default" will use the value obtained by calling the IAudioClient::GetDevicePeriod (https://docs.microsoft.com/en-us/windows/win32/api/audioclient/nf-audioclient-iaudioclient-getdeviceperiod) function.
It is recommended not to change the original value unnecessarily.
If you have real problems, you can try other values. Only you can check which value will give the best result on your system. There is no one-size-fits-all solution.
Thank you for the info, the default value of 50 ms is ok, I'll test more.
Klaus1189
11th July 2021, 11:36
I made a mistake in latest translation. I forgot a " in the next line after BEGIN DIALOGEX IDD_HISTORY LINES 10 Because of this the german translation is not available in latest Nightly.
Fixed german translation (https://drive.google.com/file/d/1NwBzp70DqbsN-NeKUsrorOgUedPyb_nu/view?usp=sharing). Sorry :o
Klaus1189
11th July 2021, 19:26
@Scoty:
Nightly r5354 with fixed german translation is available. Sorry again for my mistake.
@Devs:
If I click on "Delete selected" or "Clear" in "History" window, is it possible to refresh the list, so the user sees that the deleted entries are gone? Small cosmetic change :)
v0lt
12th July 2021, 17:06
@Devs:
If I click on "Delete selected" or "Clear" in "History" window, is it possible to refresh the list, so the user sees that the deleted entries are gone? Small cosmetic change :)
The "Delete selected" button refreshes the list after execution. Updating the list after pressing the "Clear" button is done in r6355.
Klaus1189
12th July 2021, 20:07
The "Delete selected" button refreshes the list after execution. Updating the list after pressing the "Clear" button is done in r6355.
Indeed, you're right. Yesterday wasn't my day.
Thank you :)
megapro17
13th July 2021, 22:40
I can't find any info, mpc-be is using latest version of dav1d? How to check version in player itself?
Aleksoid1978
14th July 2021, 00:18
I can't find any info, mpc-be is using latest version of dav1d? How to check version in player itself?
Why this info needed ?
v0lt
14th July 2021, 03:45
I can't find any info, mpc-be is using latest version of dav1d? How to check version in player itself?
See the file "Changelog.txt" that comes with the player.
megapro17
14th July 2021, 22:22
Why this info needed ?
They finally added 10 bit assembly
See the file "Changelog.txt" that comes with the player.
Ok thanks
dav1d git-0.9.0-24-gddbbfde;
alleway
17th July 2021, 07:22
anyone able to get 23.976 hdr movies to switch to matching refresh rates on mpc video renderer? i am able to do so with normal movie but hdr doesnt work for me
Aleksoid1978
17th July 2021, 11:08
anyone able to get 23.976 hdr movies to switch to matching refresh rates on mpc video renderer? i am able to do so with normal movie but hdr doesnt work for me
I can't test/debug it, have only HDR monitor, sorry :)
v0lt
17th July 2021, 11:23
@alleway
MPC Video Renderer does not switch display frequency. The player does this.
huhn
17th July 2021, 11:58
works flawless here with HDR too.
is it intentional that the list is not populated with the common settings?
by default is was set to 59 for everything.
nsnhd
17th July 2021, 13:10
How to let MVR choosing the video processor DXVA2/Shaders etc.
alleway
17th July 2021, 13:14
@alleway
MPC Video Renderer does not switch display frequency. The player does this.
yes the player does the switching but only hdr it cannot switch to 23.976. i am using lg oled c9 with rtx 3080. non hdr movies there is no problem
works flawless here with HDR too.
is it intentional that the list is not populated with the common settings?
by default is was set to 59 for everything.
the setting can be changed in the player to match the refresh rate besides 59, like say i use my default 120hz on nvidia settings
JaylumX
17th July 2021, 20:18
anyone able to get 23.976 hdr movies to switch to matching refresh rates on mpc video renderer? i am able to do so with normal movie but hdr doesnt work for me
To get HDR to switching to 23.976hz works if you use MPC Video Decoder rather than Lavfilters.
alleway
18th July 2021, 05:51
To get HDR to switching to 23.976hz works if you use MPC Video Decoder rather than Lavfilters.
no luck with that even on mpc video decoder. maybe its a bug for hdr movies
Klaus1189
22nd July 2021, 19:41
Can you upload a sample file somewhere and post link here. I want to test.
Scoty
24th July 2021, 06:11
I use from first day MadVR Video Decoder and thinking about switching to the mpc video renderer. Does this have advantages or should I better stay with MadVR because better quality?
JaylumX
24th July 2021, 07:18
no luck with that even on mpc video decoder. maybe its a bug for hdr movies
I got HDR movies switching to various refresh rates in Lav Video filters by selecting DXVA2 (native) in the Hardware Acceleration section and unticking every single option in the Output Formats section.
beter
25th July 2021, 17:01
Update translation (Traditional Chinese and Dutch)
https://www.sendspace.com/file/aj4d2g
chros
25th July 2021, 20:38
I have an issue with stable 1.5.8: if you have multiple files in a directory, when 1 file ends, it auto plays the next. 1.5.7 was fine (stopped playback) with my settings (https://we.tl/t-L4SiU5yPUr):
- Playback - Play: 1 times
- Playback - Additionally add to playlist: nothing
- Misc - Don't use 'search in folder' commands 'Skip back /forward' when only one item in playlist: not set
If I set "Misc - Don't use 'search ..." option, then it works as it should, but PageUp and PageDown doesn't work, and they should.
(MadVR and LAVfilters are used.)
Thanks
v0lt
26th July 2021, 17:44
@beter
Thanks. Updated in r6372.
@chros
Menu: Play > After Playback > ---Every time--- > Play next in the folder ?
chros
26th July 2021, 18:59
Yes, that was it, thank you, couldn't find it.
Siso
27th July 2021, 20:25
Guys, could you please add 2560x1440 resolution to the subtitles "maximum texture resolution". https://thumbs2.imgbox.com/b3/88/ycvwgLJo_t.png (https://imgbox.com/ycvwgLJo)
Sunspark
29th July 2021, 06:10
I use from first day MadVR Video Decoder and thinking about switching to the mpc video renderer. Does this have advantages or should I better stay with MadVR because better quality?
Try it out, it's actually pretty good! In the properties for it, changes to the settings I have made: unchecked Use Direct3D 11 (I have a Broadwell CPU/GPU which runs better with Direct3D 9. Also uncheck D3D11 in the video decoder configuration unless that is done automatically if the change is made in the renderer). Now these other settings, oddly I don't remember making changes to them, but when I pressed the Default button it seems to change them to lower quality settings, so I suggest these other selections instead: Chroma upsampling - Catmull-Rom, Upscaling - Lanczos3, Swap effect: Flip, Use exclusive fullscreen checked on.
I tried Discard as a swap effect, must be related to D3D11 because the HUD still says Flip. And of course, the scaling etc still says DXVA2 instead of Lanczos3 or whatever, so I don't really know why this is the case, but the picture is fine so..
Now, one thing that MPC video renderer does well, it allows you to use xysubfilter for subtitles without cranking up the GPU load which is appreciated and this is not the case if you use madvr as the renderer with xysubfilter.
If you use the internal subtitle renderer instead, one subtitle setting change I highly advise making, change maximum texture resolution to "Desktop" instead of the default 1280x720 which will look blurry.
Sunspark
29th July 2021, 06:21
It's already on MPC Audio Renderer and changing it makes no differences
Also it didn't solve it
It's not a reluctance to solve problems but I think hearing sounds as it was mastered originally is better than the way it's automatically controlled (and raised in quiet scenes and lowered with any extra click sounds)
Also I asked this because of full customizability of MPC that I didn't see in other programs and I think it would be great if you put a text or checkbox or even a setting file or registry, that users be able to override +10dB limit and increase gain to more than +10dB if they wanted.
Thanks for you answers
Two setting changes I can suggest:
In the audio decoder properties, check on "Apply DRC for AC-3 and E-AC-3". This will make it a bit louder I believe. These filetypes are often quiet when played on a stereo system.
In addition to that, in the audio settings, turn mixing to stereo on as was already suggested (if you use stereo) but do not check on request stereo from decoder, this will make it quiet (I don't understand why, maybe it is unmixed at that point and is dropping channels?). In the MPC audio renderer properties I would also suggest changing the sound device dropdown from Primary sound device to Speakers (Realtek) or whatever you have.
JaylumX
29th July 2021, 07:58
I tried Discard as a swap effect, must be related to D3D11 because the HUD still says Flip. And of course, the scaling etc still says DXVA2 instead of Lanczos3 or whatever, so I don't really know why this is the case, but the picture is fine so..
You have to deselect/uncheck NV12, P010/P016, YUY2 and Other supported formats it to use pixel shaders for the scaling otherwise it will use DXVA2/D3D11.
v0lt
29th July 2021, 15:54
To use shader frame resizing, just turn off the "Use for resizing" option in the "DXVA2 and D3D11 video processor" group. It is not necessary to completely disable the DXVA2/D3D11 video processor.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.