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

huhn
10th November 2023, 13:17
not a direct bug.

it has this information (641:356).
it has also this: Display aspect ratio : 16:9
Original display aspect ratio : 16:9

but you have to choice one and if you take the (641:356)
which is (3840 /641)356 = 2132,6677067082683307332293291732
it's correct.

if this is the bitstream information or container information i leave that to people that know what they are talking about which is clearly not me.

Siso
10th November 2023, 14:35
Which audio renderer is the preferred to use - sanear or mpc audio renderer?

v0lt
10th November 2023, 14:52
Feature request: Adding EDL back in again.
...
Any chances ??
Not planned.

Klaus1189
10th November 2023, 15:01
not a direct bug.

it has this information (641:356).
it has also this: Display aspect ratio : 16:9
Original display aspect ratio : 16:9

but you have to choice one and if you take the (641:356)
which is (3840 /641)356 = 2132,6677067082683307332293291732
it's correct.

if this is the bitstream information or container information i leave that to people that know what they are talking about which is clearly not me.

Thanks :)

v0lt
10th November 2023, 15:05
I encountered another small issue:
This video (https://drive.google.com/file/d/1gZXz3CrhQW2PaKouxqnrBugfXF1y3tek/view?usp=sharing)is scaled from 640x356 to 3840x2133 instead of 3840x2136.
MKVToolNix GUI > Info tool
-Video track
--Pixel width 640
--Pixel heigth 356
--Display width 641
--Display heigth 356

3840/641*356 ≈ 2133.

Klaus1189
10th November 2023, 15:17
MKVToolNix GUI > Info tool
-Video track
--Pixel width 640
--Pixel heigth 356
--Display width 641
--Display heigth 356

3840/641*356 ≈ 2133.

Thank you :)

Klaus1189
10th November 2023, 17:46
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

s0meone_new
11th November 2023, 02:32
Just a strange thought:

If MPC Video Renderer is better than EVR, why isn't it set by default? (and its settings are by default in the video menu section)
I will gladly translate it into Hungarian.

v0lt
12th November 2023, 13:22
@Klaus1189
There is a "Delay" option in the "Fullscreen" settings panel.

If MPC Video Renderer is better than EVR, why isn't it set by default?
It is not always better and the user may not have it.

Klaus1189
12th November 2023, 15:29
Yes, the delay works, but I think the behavior should be changed a little bit. During this delay, playback should already be initiated but paused. Then the first frame is already be drawn. Then it is perfect.

v0lt
12th November 2023, 16:00
During this delay, playback should already be initiated but paused. Then the first frame is already be drawn.
I have no idea how to do this. This can also cause problems with Direct3D.

Klaus1189
12th November 2023, 16:10
I tested MPC-HC in the meantime to compare and there it works so and I looked at its source code, but I am lost.

It can be achieved in MPC-BE by setting it up to play "0 times". Then 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. Then hit space to fully start playback.

In MPC-HC if refresh rate change is done, then the mouse dissappears and nothing can be done. But this is possible bug in MPC-HC.

I did the same with play zero times with MPC-HC and it also loses mouse. So I think it is compatibility issue of MPC-HC with MPC-VR there.

s0meone_new
12th November 2023, 23:01
It is not always better and the user may not have it.
Does the user not have MPC Video Renderer?
I was talking about the fact that the program includes it by default.
But otherwise, if it's not set by default after installation, I don't think it's a bad thing if the program includes it by default. (so someone does not need to download it separately)
Many people use it instead of madVR.

v0lt
14th November 2023, 17:30
I rewrote the MPCTestAPI utility in C# and WinForms.
https://github.com/v0lt/MPC-API-Tester
Perhaps this will be interesting to someone.

beter
19th November 2023, 21:20
Update for translation of Chinese Traditional and Dutch
https://www.sendspace.com/file/85v4k0

Grimsdyke
21st November 2023, 18:46
Originally Posted by Grimsdyke View Post
Feature request: Adding EDL back in again.
...
Any chances ??
-> Not planned.

How about extending the following command switch

startpos hh:mm:ss

with [duration] or better [stoppos hh:mm:ss] ?

ryrynz
22nd November 2023, 04:36
better [stoppos hh:mm:ss] ?

Makes sense, handy to have.

v0lt
22nd November 2023, 15:47
@beter
Thanks. Updated.

I made a test build (https://github.com/Aleksoid1978/MPC-BE/issues/319#issuecomment-1821353961) with the ability to call an external application.
Perhaps this will interest someone.

SamusekTDS
26th November 2023, 01:49
So I have a really weird issue w MPC-BE - when using Windows 11 file explorer tabs, if I drag a tab it unpauses any paused media file in mpc-be, whether it was minimized or not. This doesn't happen with vlc or powerdvd or photos or media player legacy...

It feels like some prompt is being sent to mpc-be somehow? Has anyone else seen this aside from me? I've been searching around and can't find anyone with anything. Very odd.

Aleksoid1978
26th November 2023, 03:36
Disable "Global Media Keys".

SamusekTDS
26th November 2023, 13:05
Disable "Global Media Keys".

Ohmygod thank you - this has been annoying the crap out of me for over a year!

Grimsdyke
2nd December 2023, 09:25
@ devs. Sorry for asking again but are you maybe looking into my suggestion of an alternative way for edl ?? A good part of the needed code is already there with 'startpos' functionality.
Of course, I am not a programmer so I have absolutely no idea how much work it would be.
But it might interest you because then MPC-BE would be the only open-source player who could do such thing 'on-the-fly' directly on disc !!
Maybe it would be even the only player at all, hint hint ... :D

v0lt
2nd December 2023, 11:21
@Grimsdyke
I would recommend using AviSynth+ (https://github.com/AviSynth/AviSynthPlus/releases). You can cut the video the way you want and connect the pieces in the order you want (https://forum.videohelp.com/threads/382591-Cutting-Splitting-video-in-specific-parts-with-avisynth). The resulting script can be opened in many players.
To open various video files, you will also need the FFmpegSource (FFMS2) plugin (http://avisynth.nl/index.php/FFmpegSource). This forum has a section on using AviSynth (https://forum.doom9.org/forumdisplay.php?f=33).

Grimsdyke
2nd December 2023, 14:33
Thanks but I am just a normal user - no desire to learn and use an outside app/solution to get a functionality that is almost already complete in MPC-BE. But thanks for looking !

butterw2
2nd December 2023, 15:14
But it might interest you because then MPC-BE would be the only open-source player who could do such thing 'on-the-fly' directly on disc !!
Maybe it would be even the only player at all, hint hint ... :D

Doesn't mpv support edl ?
https://github.com/mpv-player/mpv/blob/master/DOCS/edl-mpv.rst

Grimsdyke
2nd December 2023, 17:55
@ butterw2, Yes, but not directly from blu-ray !! At least I was not able to find a syntax that made that work.

@volt. Checked avisynth using avspmod. Not really helpful in my case. It removes all audio tracks except one, It creates one big file instead of a playlist which my suggestion would do, And it expects frame numbers not hh:mm:ss.

SEALBoy
4th December 2023, 07:53
Does anyone using an Nvidia GPU have black screen problems when outputting HDR via MPC Video Renderer or madVR?

I have an RTX 3060 in my HTPC, outputting 4K 144Hz via HDMI 2.1. I've tried MPC-HC and MPC-BE with both MPC Video Renderer and madVR, and both players & renderers will sometimes give a black screen when starting a 4K HDR file. This has happened on an LG C1 OLED (120Hz) and Samsung OLED TV (144Hz), so I'm confident the TV isn't the issue. The issue persists until I exit and reopen the file. Sometimes several such reopens are required. Audio plays normally. The MPC-BE OSD appears normally, but subtitles do not. Occasionally, the black screen will occur while rapidly seeking in a playing file.

I tried mpv and it did not exhibit this issue, but I don't like mpv much.

Manni
4th December 2023, 11:43
Does anyone using an Nvidia GPU have black screen problems when outputting HDR via MPC Video Renderer or madVR?

I have an RTX 3060 in my HTPC, outputting 4K 144Hz via HDMI 2.1. I've tried MPC-HC and MPC-BE with both MPC Video Renderer and madVR, and both players & renderers will sometimes give a black screen when starting a 4K HDR file. This has happened on an LG C1 OLED (120Hz) and Samsung OLED TV (144Hz), so I'm confident the TV isn't the issue. The issue persists until I exit and reopen the file. Sometimes several such reopens are required. Audio plays normally. The MPC-BE OSD appears normally, but subtitles do not. Occasionally, the black screen will occur while rapidly seeking in a playing file.

I tried mpv and it did not exhibit this issue, but I don't like mpv much.

Yes, I had (when using 4K120 or even 4K24/60 in 10bits) and have to use my 3090 with a HDMI 2.0 EDID on my JVC NZ8 and an older driver (531.61 studio or 532.03 game ready) to an HDMI 2.0 input of my Denon AVR to resolve this and other issues. Limits 4K60 to 8bits but I don’t game much and prefer to prioritise HTPC use. From 535.xx, it seems to be a new branch that causes issues with the 3xxx series.

SEALBoy
4th December 2023, 16:52
Yes, I had (when using 4K120 or even 4K24/60 in 10bits) and have to use my 3090 with a HDMI 2.0 EDID on my JVC NZ8 and an older driver (531.61 studio or 532.03 game ready) to an HDMI 2.0 input of my Denon AVR to resolve this and other issues. Limits 4K60 to 8bits but I don’t game much and prefer to prioritise HTPC use. From 535.xx, it seems to be a new branch that causes issues with the 3xxx series.

Man, I really don't want to drop below 4K120 10-bit output. Seems like RTX 4000 series or RX 6000/7000 is my only option?

KrazyLurt
4th December 2023, 17:08
Yes, I had (when using 4K120 or even 4K24/60 in 10bits) and have to use my 3090 with a HDMI 2.0 EDID on my JVC NZ8 and an older driver (531.61 studio or 532.03 game ready) to an HDMI 2.0 input of my Denon AVR to resolve this and other issues. Limits 4K60 to 8bits but I don’t game much and prefer to prioritise HTPC use. From 535.xx, it seems to be a new branch that causes issues with the 3xxx series.
I've had this black screen issue for a long time as well, with a rtx 3080, and now later with a rtx 4090.

hank
8th December 2023, 22:26
Hello,

I use the MPC-BE Player 1.6.10 x64 and wanted to ask if there is a setting in which I can specify that the player always only shows forced subtitles and no others, because otherwise you always have to activate and deactivate the subtitles.

greeting

Aleksoid1978
9th December 2023, 00:54
Hello,

I use the MPC-BE Player 1.6.10 x64 and wanted to ask if there is a setting in which I can specify that the player always only shows forced subtitles and no others, because otherwise you always have to activate and deactivate the subtitles.

greeting

https://github.com/Aleksoid1978/MPC-BE/wiki/Default-track-preference

hank
9th December 2023, 14:04
https://github.com/Aleksoid1978/MPC-BE/wiki/Default-track-preference

I have no idea what to do with it!
Gruß

Sunspark
9th December 2023, 20:12
@hank In options>playback>default track preference, enter "[fc]".

Out of curiosity, why forced subs? It's been my experience that this flag is poorly used or is of poor quality.

butterw2
9th December 2023, 20:57
default track preference: "[fc]" didn't work, it still loads default subtitles.

Most people don't want subtitles for a language they understand and many movies come with English [default] subtitles.
I just bind a hotkey to switch subs on/off: mpc-be: (O)ptions > Player > Keys > Subtitles On/Off.

Sunspark
10th December 2023, 07:28
My solution was to use LAV splitter and set it up perfectly.

Manni
10th December 2023, 09:24
My solution was to use LAV splitter and set it up perfectly.

Please can you share your settings? One of the main reasons why I use BD menus to play a film is because LAV is unable to parse forced subs or the correct language to play when playing a film that has seamless branching with different video sections according to the selected language, often used in animation.

For example, if you try to play a BD folder of “Zootropolis”, it’s the French track that plays, along with the French titles in the video itself, irrespective of your default language settings for audio and subtitles in jRiver/LAV.

I discussed this issue with Nevcairiel in the past and even he said at the time that the only way to get the correct video and audio and forced subs was to use the disc menus, which is what I’ve done since.

I’d love to be able to not to use menus when I don’t have to (hence use MPC-BE more often) if I could get the correct language for both audio and video and the forced subs only, including with these seamless branching titles.

Note that I don’t have the time to figure this out when ripping my disks (I don’t know of any ripping software able to figure this out automatically from my original discs and create a correct mkv with the correct forced subs) and I need access to menus for extras/bonus content, so I don’t rip to mkv. BD menus is the only ripping option for me (I only use ISO for 3D blurays in order to not double the storage space).

x7007
10th December 2023, 10:25
any guidance on how to play Dolby Vision MKV files?

huhn
10th December 2023, 14:49
use mpcVR if the type of DV is supported it will work else not.

Sunspark
10th December 2023, 22:16
@manni Here are my strings, note that the newest 0.78 version of LAV has additional new operators to allow for more fine-grained selection, but I haven't needed to try those out yet.

So, for audio "jpn kor eng rus fre" and for subtitles, "eng|h eng@SDH eng@ass eng|n eng|d eng|f *|d"

Why the cascade like this? Because I want the audio to be in the native language but with full english subs, and yes, it actually does make a difference having these in this specific order. LAV selects from left to right.

In addition, if you want the audio to be the 2.0 track instead of 5.1, uncheck "Prefer audio stream with the highest quality".

Let me know how you get along with these strings, I haven't actually played any discs, only containers.

Manni
10th December 2023, 23:44
@manni Here are my strings, note that the newest 0.78 version of LAV has additional new operators to allow for more fine-grained selection, but I haven't needed to try those out yet.

So, for audio "jpn kor eng rus fre" and for subtitles, "eng|h eng@SDH eng@ass eng|n eng|d eng|f *|d"

Why the cascade like this? Because I want the audio to be in the native language but with full english subs, and yes, it actually does make a difference having these in this specific order. LAV selects from left to right.

In addition, if you want the audio to be the 2.0 track instead of 5.1, uncheck "Prefer audio stream with the highest quality".

Let me know how you get along with these strings, I haven't actually played any discs, only containers.

Thanks, that still doesn't work for me. If I use your string for audio, obviously I get Japanese audio if present instead of the original version in English or French. I usually leave that empty as I want to play the highest quality anyway, usually Atmos, DTSX or HD audio in the original language.
The forced subs still don't work. If you play Black Panther or Avatar, it doesn't play the forced subs in wakandan or navi.
Finally, if you play any Disney movie (say Bolt or Zootopia), it plays a random language for video (usually French) instead of the English videoh, so all the titles in the video itself are in the wrong language. Usually there are no forced subs for kids, anything writen in the animation is translated into different languages and the correct video is played with seamless branching according to the language selected in the disc menu at the begining.
So it looks like BD menus is still the only way to play these titles properly, at least with BD folders. With mkvs, the problem is moved at rip time. No ripping software that I know of is able to select the correct video track and the correct forced subs (you often have two or more forced subs english tracks for the same title).

Sunspark
11th December 2023, 00:34
Seems bothersome that it doesn't want to play nicely.. I guess it's going to have to come down to you selecting which individual track to use on a title-by-title basis since you are doing the ripping yourself.

Manni
11th December 2023, 11:30
Seems bothersome that it doesn't want to play nicely.. I guess it's going to have to come down to you selecting which individual track to use on a title-by-title basis since you are doing the ripping yourself.

Yes, and that's precisely why I don't rip to mkv. I don't have the time to figure out which of the three forced English subs is the actual forced sub track and which of the other two (or more) are empty or with the wrong language. Plus no ripping software can select the correct video track automatically either, so you have to watch all the mpls until you find the one that has a title in it, then find the mpls with the correct language in the video... That takes more time than watching the film. This is why I rip my disks to BD folders (while I do something else) and simply select the language on the disc menu when I play the disk. I get the correct video, correct audio and correct forced subs, 100% of the time, with zero effort.

Manni
12th December 2023, 10:42
Question: is it possible to specify the peak brightness of the display / projector in MPC-BE when using MPC-VR to tonemap HDR to SDR? I couldn't find the option.

huhn
12th December 2023, 12:10
no it's currently 125

https://github.com/Aleksoid1978/VideoRenderer/blob/master/Shaders/d3d11/ps_convert_pq_to_sdr.hlsl

only compiling this your self will do that.

Manni
12th December 2023, 14:41
no it's currently 125

https://github.com/Aleksoid1978/VideoRenderer/blob/master/Shaders/d3d11/ps_convert_pq_to_sdr.hlsl

only compiling this your self will do that.

Thanks for the confirmation and for the value. It would be great if this setting could be exposed in the MPC-VR settings in MPC-BE, as it would help to finetune the tonemapping for the display / projector in both directions (for low nits displays/PJs, which can have as little as 50nits or less, to OLED and bright displays that can have 600-1800nits peak brightness).

huhn
13th December 2023, 02:34
the answer is passthrough.

even if you add target nits you will nearly always not get accurate results.

it is currently always compressing to bt 709 just after tone mapping.
and converting to gamma 2.2 which is unlikely to be used seeing the spec as bt 1886/2.4. so it would also need gamma controls.

if a BD is watchable at 50 nits then a 125 nit tone map image will also be just as fine.

looking at the simplicity of the algorithm a PJ should tone map just fine.

Manni
13th December 2023, 11:07
the answer is passthrough.

even if you add target nits you will nearly always not get accurate results.

it is currently always compressing to bt 709 just after tone mapping.
and converting to gamma 2.2 which is unlikely to be used seeing the spec as bt 1886/2.4. so it would also need gamma controls.

if a BD is watchable at 50 nits then a 125 nit tone map image will also be just as fine.

looking at the simplicity of the algorithm a PJ should tone map just fine.

Well, all this is wrong and there should be settings to select target gamut and gamma. Passthrough is not an answer fro those who have a PJ with poor HDR or no HDR tonemapping (older JVCs, most Sonys etc).
The current standard for SDR isn't 2.4, it's BT1886, which is only 2.4 when the black floor is zero. It's much closer to 2.2 at the beginning of the curve in most cases except OLED and PJs with very good native black floor. This should be taken care of in calibration though, so technically 2.4 is what the renderer should be using for bluray.
I was surprised at how good MPC-VR HDR to SDR DTM was, it's a shame that it doesn't expose a few settings (peak brightness, target gamut and gamma) to allow for more flexibility and better performance.
I guess it's just designed as a quick solution for people watching on their PC monitor in a room with ambient light (sometimes a lot), in which case rec-709 gamma 2.2 makes sense.
Great to have it in MPC-BE anyway.

huhn
13th December 2023, 18:15
well i'm not here to stop anyone but i doubt it is even dynamic tone mapping and just static tone mapping.

I guess it's just designed as a quick solution for people watching on their PC monitor in a room with ambient light (sometimes a lot), in which case rec-709 gamma 2.2 makes sense.
Great to have it in MPC-BE anyway.
i guess so too.

the results are just fine. the EVR CP in mpc-be has tone mapping too i guess it is the same but the mpc-be code base is a bit to big for me to check.

Manni
13th December 2023, 19:23
well i'm not here to stop anyone but i doubt it is even dynamic tone mapping and just static tone mapping.

I was wondering about that. That would certainly explain why it’s so stable. I haven’t check the usual tricky scenes, only the brightness stability ones, and it had no issues whatsoever.