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

Emulgator
11th May 2023, 07:44
Many thanks, v0lt !

wushantao
11th May 2023, 15:39
Update Simplified Chinese:)

https://anonfiles.com/l5MbBeqcz0/mplayerc_sc_rc_7z
https://files.catbox.moe/hchwra.7z

v0lt
12th May 2023, 04:31
Thank you. Translations have been updated.

s0meone_new
16th May 2023, 22:19
Hungarian translation updated:
https://easyupload.io/3xtzuq

Klaus1189
17th May 2023, 03:59
Updated german translation (https://drive.google.com/file/d/1NwBzp70DqbsN-NeKUsrorOgUedPyb_nu/view?usp=share_link) :)

Klaus1189
18th May 2023, 09:22
Updated german translation (https://drive.google.com/file/d/1NwBzp70DqbsN-NeKUsrorOgUedPyb_nu/view?usp=share_link) - some cosmetics :)

wushantao
18th May 2023, 09:57
https://files.catbox.moe/8vopar.7z
https://anonfiles.com/069cb3s4z3/mplayerc_sc_rc_7z
Update Simplified Chinese:)

Klaus1189
19th May 2023, 14:14
Updated german translation (https://drive.google.com/file/d/1NwBzp70DqbsN-NeKUsrorOgUedPyb_nu/view?usp=share_link) - some cosmetics for last update needed :)

digi340
20th May 2023, 07:35
Hy to all. On this site "https://www.hiresaudio.online/max-radio-society/" is adress streams radio station . MPC-BE not play these radio streams. On webplayer work streams - "https://www.maxradio.ca/StreamsHiFi/MaxRadioPlayer/index.html.".Is UHD radio streams. Thanks.

Sunspark
20th May 2023, 16:42
The streams work fine for me. You need to copy the url of the stream you want and paste it in the open file/url dialog.

Klaus1189
20th May 2023, 17:18
Now last update for german translation (https://drive.google.com/file/d/1NwBzp70DqbsN-NeKUsrorOgUedPyb_nu/view?usp=share_link) :)

Perenista
21st May 2023, 07:35
I am having a particular problem with a MKV edited with MKVToolnix. I tried both MPC-BE and MPC-HC and they failed. MPC-BE even failed with LAV instead of MPC Decoder. If I am not mistaken, madVR was selected, too.

Here's the thing: all tracks (audio and subtitles), except for 1 of them, had a positive delay of 8 minutes, 41 seconds and 934ms, or 521934 ms if we write in the "delay" field.

This was needed because these new added tracks do not include the extra 8 minutes from it, so they need to start after 8m41s934ms, meaning if we use them, there will be silence, except for 1 track.

But doing so will create an issue with the MKV - it will freeze when you open the file, from the beginning. If you skip to any other moment of the file, you'll continue watching. However, it's paused for good while I try to open, and if I hit "continue playing", it's still at 0:00:00.

I tried skipping to another moment like 1 hour, then I moved back to 1 second. Now the file is OK and from the start.

The funny thing is that:

- If you try to open with proprietary software, like PlayerFab, or VLC (which is free), everything will be fine and no sign of a bug anywhere! No freezing, too.

So what should I do?

MEDIAINFO:
https://pastebin.com/iVmW3sh9

Aleksoid1978
21st May 2023, 08:58
I am having a particular problem with a MKV edited with MKVToolnix. I tried both MPC-BE and MPC-HC and they failed. MPC-BE even failed with LAV instead of MPC Decoder. If I am not mistaken, madVR was selected, too.

Here's the thing: all tracks (audio and subtitles), except for 1 of them, had a positive delay of 8 minutes, 41 seconds and 934ms, or 521934 ms if we write in the "delay" field.

This was needed because these new added tracks do not include the extra 8 minutes from it, so they need to start after 8m41s934ms, meaning if we use them, there will be silence, except for 1 track.

But doing so will create an issue with the MKV - it will freeze when you open the file, from the beginning. If you skip to any other moment of the file, you'll continue watching. However, it's paused for good while I try to open, and if I hit "continue playing", it's still at 0:00:00.

I tried skipping to another moment like 1 hour, then I moved back to 1 second. Now the file is OK and from the start.

The funny thing is that:

- If you try to open with proprietary software, like PlayerFab, or VLC (which is free), everything will be fine and no sign of a bug anywhere! No freezing, too.

So what should I do?

MEDIAINFO:
https://pastebin.com/iVmW3sh9

In short, this is a limitation of DirectShow, it is impossible for the first audio packet to have a large delay.
For good, it’s not so necessary to make delays - they insert silence at the beginning, but this should already be done in the editor.

Perenista
21st May 2023, 21:39
In short, this is a limitation of DirectShow, it is impossible for the first audio packet to have a large delay.
For good, it’s not so necessary to make delays - they insert silence at the beginning, but this should already be done in the editor.Does this apply to everything you can configure with MPC-BE and MPC-HC?

Every setting?

So if a single track has such delay, it will cause this issue? Or it's the number that seems to be the problem?

I heard VLC/PlayerFab use their own built-in decoders...

beter
23rd May 2023, 22:22
Update for translation of Dutch and Chinese Traditional

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

v0lt
25th May 2023, 04:40
Thank you. Translations have been updated.

wushantao
2nd June 2023, 18:32
Hi, Does anyone know if amd 780m (7840 & 7940) can use "Super Resolution" in MPC VR?

v0lt
2nd June 2023, 18:42
Hi, Does anyone know if amd 780m (7840 & 7940) can use "Super Resolution" in MPC VR?
No. This is written in the description of release 0.6.7 (https://github.com/Aleksoid1978/VideoRenderer/releases/tag/0.6.7).

wushantao
3rd June 2023, 04:05
No. This is written in the description of release 0.6.7 (https://github.com/Aleksoid1978/VideoRenderer/releases/tag/0.6.7).

Bad news, but thanks;)

Maybe I should look for or wait for the intel 14gen ncu

v0lt
3rd June 2023, 06:59
Support for Super Resolution appeared after the implementation in Chromium. The file swap_chain_presenter.cc (https://github.com/chromium/chromium/blob/main/ui/gl/swap_chain_presenter.cc) contains the functions ToggleIntelVpSuperResolution and ToggleNvidiaVpSuperResolution. There is no solution for AMD.

butterw2
3rd June 2023, 08:45
For Nvidia Video SuperResolution, there has been an Nvidia blog post and very mixed user reviews. For Intel, there was just some press coverage of the chromium commit.

butterw2
3rd June 2023, 14:30
Using mpc-be with mpc-vr dx11, I've noticed that when I open the shader combiner interface "Shaders > Select Shaders..." the combo-box always starts on dx9. However, the user would need to use dx11 shaders in this case. Would it be possible to modify so that the selector is set to the display mode currently in use (ie dx11) ?

v0lt
4th June 2023, 05:45
Would it be possible to modify so that the selector is set to the display mode currently in use (ie dx11) ?
The problem here is that MPC VR can be inactive. And I don't want to look for renderer settings in the registry.

In commit 9643c21 (https://github.com/Aleksoid1978/MPC-BE/commit/9643c213c0547749863b079d7efd67232dac78f4) I made it so that the choice of DX9/DX11 depends on the renderer selected in the settings and the Windows version. This will close the issue on typical configurations.

hajj_3
4th June 2023, 21:58
dav1d v1.2.1 is out

ashlar42
5th June 2023, 01:05
Is there a way to play HLG files in HDR10 or HLG passthrough? Tried a couple of HLG files that Kodi handles well and they played back in SDR.

Aleksoid1978
5th June 2023, 04:40
Is there a way to play HLG files in HDR10 or HLG passthrough? Tried a couple of HLG files that Kodi handles well and they played back in SDR.

Yes - use MPC VR.

ashlar42
5th June 2023, 11:47
Yes - use MPC VR.
Right. I had tried but I made a dumb mistake... it works. Thanks a lot.

ashlar42
5th June 2023, 12:14
Hmmm... it works with some files and not with other files. I uploaded here two very small videos, one working, the other not working. Meaning one activates HDR and the other doesn't. Both work fine in Kodi 20.1.

https://easyupload.io/zai05t

Let me know if any other info is needed to help solving this.

huhn
5th June 2023, 12:36
one file is not HLG it is BT 2020 (what ever that means for transfer).

https://en.wikipedia.org/wiki/Rec._2020#Transfer_characteristics

do not forget wikipedia is not reliable for video specs.

ashlar42
5th June 2023, 13:03
one file is not HLG it is BT 2020 (what ever that means for transfer).

https://en.wikipedia.org/wiki/Rec._2020#Transfer_characteristics

do not forget wikipedia is not reliable for video specs.
Mediainfo for "non working" file states:

Color range : Limited
Color primaries : BT.2020
Transfer characteristics : BT.2020 (10-bit)
transfer_characteristics_Original : HLG / BT.2020 (10-bit)
Matrix coefficients : BT.2020 non-constant

Mediainfo for "working" file states:

Color range : Limited
Color primaries : BT.2020
Transfer characteristics : HLG
transfer_characteristics_Original : HLG / BT.2020 (10-bit)
Matrix coefficients : BT.2020 non-constant

Now, I have zero knowledge about the implications but the "non working" file is displayed in HDR through Kodi and it's quite clear that HDR picture information is there.

So, maybe the "transfer_characteristics_Original" value is the correct one, I don't know.

One extra question, on MPC VR:

I don't see where to set range output. I need limited range, that's how I have calibrated my display. But MPC VR is outputting full range and I don't see where I could change that.

In madVR I have set "The display expects the following RGB output levels:" to TV levels (16-235) and colors are correct.

huhn
5th June 2023, 13:10
i get this for not working:
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : BT.2020 (10-bit)
transfer_characteristics_Origi : HLG / BT.2020 (10-bit)
Matrix coefficients : BT.2020 non-constant

and this is not HLG the mpcVR is also seeing this as none linear bt 2020 (pretty much means ~gamma).

mpcVR doesn't have a range option(and i support this).
you can still do this using shaders.
should be the first one under shader make sure you match the DX version.

ashlar42
5th June 2023, 13:17
i get this for not working:
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : BT.2020 (10-bit)
transfer_characteristics_Origi : HLG / BT.2020 (10-bit)
Matrix coefficients : BT.2020 non-constant

and this is not HLG the mpcVR is also seeing this as none linear bt 2020 (pretty much means ~gamma).

As stated, I don't understand what all this means. I'm simply reporting that in Kodi I get correct HDR output for the non working file. Now, it might be an incorrect tagging/encoding/whatever. But Kodi makes it work just the same. If there are cons to that approach I don't know. Which is why I prepared the files, etc. Hoping to help in making MPC-BE work better (if it makes sense).

mpcVR doesn't have a range option(and i support this).
you can still do this using shaders.
should be the first one under shader make sure you match the DX version.
Yeah, I see there's a bit of a "religion war" on the subject. If one calibrates their TV correctly, limited range is the way to go but I absolutely don't want to go into that, since I got the impression it's already been debated to death. If you want to explain in a PM what it is all about, I'd appreciate it. But I don't wanna clutter the discussion here. :-)

If the shader approach is correct, I'll use that (I discovered it after writing the previous message).

huhn
5th June 2023, 13:26
As stated, I don't understand what all this means. I'm simply reporting that in Kodi I get correct HDR output for the non working file. Now, it might be an incorrect tagging/encoding/whatever. But Kodi makes it work just the same. If there are cons to that approach I don't know. Which is why I prepared the files, etc. Hoping to help in making MPC-BE work better (if it makes sense).
i can not tell you if transfer bt 2020 is brighter than 120 nit or if kodi just supports SDR -> HDR conversation or if the wiki is correct with this is watch on bt 1886 calibrated devices (gamma 2.4 120 nits).
under the current information on the wiki it is plain SDR.

Yeah, I see there's a bit of a "religion war" on the subject. If one calibrates their TV correctly, limited range is the way to go but I absolutely don't want to go into that, since I got the impression it's already been debated to death. If you want to explain in a PM what it is all about, I'd appreciate it. But I don't wanna clutter the discussion here. :-)
there are spec and they are very easy to follow especially with a meter and a spec like PQ.
If the shader approach is correct, I'll use that (I discovered it after writing the previous message).
should be but i will not try it... because limited range on a video renderer on the desktop side is just dumb maybe with a black hole TV this changes.

ashlar42
5th June 2023, 21:32
Mediainfo for "non working" file states:

Color range : Limited
Color primaries : BT.2020
Transfer characteristics : BT.2020 (10-bit)
transfer_characteristics_Original : HLG / BT.2020 (10-bit)
Matrix coefficients : BT.2020 non-constant

Mediainfo for "working" file states:

Color range : Limited
Color primaries : BT.2020
Transfer characteristics : HLG
transfer_characteristics_Original : HLG / BT.2020 (10-bit)
Matrix coefficients : BT.2020 non-constant

Using mkvtoolnix I tested remuxing the "non working" files, changing the "Transfer Characteristics"value in the header from 14 to 18. That makes it HLG, according to Mediainfo. And it appears to be working just fine (visually, that is).

Which leads me to believe the problem was probably just in the muxing process for whomever encoded those files.

Starks
5th June 2023, 23:57
Are there any oneVPL implementations on Windows?

shaolin95
12th June 2023, 03:56
Hi guys!
Has anyone seeing a non linear stretch shader like this
https://www.heimkinoverein.de/forum/thread/21670-mpv-shader-non-linear-stretch/
For MPC?
Thanks

v0lt
12th June 2023, 06:02
@shaolin95
MPC shaders do not change the frame size.

huhn
12th June 2023, 10:50
you don't need to change the size the output can be forced to be the same size.
you just distort it and that should work shouldn't it?

shaolin95
13th June 2023, 04:18
you don't need to change the size the output can be forced to be the same size.
you just distort it and that should work shouldn't it?

Not looking promising? :D
I started looking into mpv but boy is not very user friendly lol

Enet47
14th June 2023, 10:49
I recently tried mpc-be again and I really like it. There isn't such a large difference as maybe there once was in picture quality between mpv and mpc-be. I watch a lot of 3D and I convert them to TB for a couple of reasons. But until I've converted them, mpc-be is still the best way to watch them.

Not looking promising? :D
I started looking into mpv but boy is not very user friendly lol
Yeah I know what you mean. I did a crap ton of reading and testing to get my script where it is today and I know that I've only scratched the surface lol. You can look at mpv as a kind of a non-GUI version of mpc-be+madVR. But with added flexibility because of a large open-source library of scripts, code and shaders which is why I've come to love it. That flexibility comes at the cost of increased configuration complexity, but you can use an mpv GUI then slowly work towards a fully text based config.

In the mean time, I think mpc-be is the best direct-show player and is the only other player I have on my PC.


BTW, thanks for the non-linear stretch, I've never heard of that before but it did look interesting. I tried it on video and it's horrible which makes sense, so I modified my config to only run the script for images. It works ok but not for all images. It's a bit of a hack and the author says he doesn't see the point. of it. Like the author I can't see the point of ever using it.

Klaus1189
16th June 2023, 19:31
Microsoft Defender gives me a false positive for latest nightly 1.6.7.125 x64 installer.

file: C:\Users\Klaus Luppert\Downloads\1.6.7.125\MPC-BE.1.6.7.125_git2023.06.15-d1c8fc574.x64-installer.zip
Trojan:Script/Wacatac.H!ml

Sunspark
16th June 2023, 19:47
You can't automatically assume it's a false positive. You need to scan with other utilities to determine if they also return the same result.

Klaus1189
16th June 2023, 19:59
https://www.virustotal.com/gui/file/f7b0d7f0c4093a83e365b4dde84bcd0da24cfc1779fc322c1f770b726912db22/detection

shaolin95
17th June 2023, 00:43
I recently tried mpc-be again and I really like it. There isn't such a large difference as maybe there once was in picture quality between mpv and mpc-be. I watch a lot of 3D and I convert them to TB for a couple of reasons. But until I've converted them, mpc-be is still the best way to watch them.


Yeah I know what you mean. I did a crap ton of reading and testing to get my script where it is today and I know that I've only scratched the surface lol. You can look at mpv as a kind of a non-GUI version of mpc-be+madVR. But with added flexibility because of a large open-source library of scripts, code and shaders which is why I've come to love it. That flexibility comes at the cost of increased configuration complexity, but you can use an mpv GUI then slowly work towards a fully text based config.

In the mean time, I think mpc-be is the best direct-show player and is the only other player I have on my PC.


BTW, thanks for the non-linear stretch, I've never heard of that before but it did look interesting. I tried it on video and it's horrible which makes sense, so I modified my config to only run the script for images. It works ok but not for all images. It's a bit of a hack and the author says he doesn't see the point. of it. Like the author I can't see the point of ever using it.

I wonder if it can work with smplayer since from my understanding is using mpv.

v0lt
17th June 2023, 06:04
Microsoft Defender gives me a false positive for latest nightly 1.6.7.125 x64 installer.

file: C:\Users\Klaus Luppert\Downloads\1.6.7.125\MPC-BE.1.6.7.125_git2023.06.15-d1c8fc574.x64-installer.zip
Trojan:Script/Wacatac.H!ml
I downloaded MPC-BE 1.6.7.125 from "main file store" and from "Mega". Checked with Microsoft Defender built into Windows 10. No threats were found.

Klaus1189
17th June 2023, 07:10
Yeah, updated Defender today and it is gone.
Same for VirusTotal. Now no Detections found, but yesterday one found, it was Microsoft false positive:
https://www.virustotal.com/gui/file/f7b0d7f0c4093a83e365b4dde84bcd0da24cfc1779fc322c1f770b726912db22/relations

shaolin95
17th June 2023, 15:53
you don't need to change the size the output can be forced to be the same size.
you just distort it and that should work shouldn't it?

So I was playing with CHATGPT asking for a script and it gave me this :D



float2 StretchUV(float2 uv, float aspectRatio)
{
float stretchFactor = (1.0 - aspectRatio) * 0.5;
float2 stretchedUV = uv;

stretchedUV.y = uv.y / aspectRatio;

if (stretchedUV.y < stretchFactor)
{
float stretchAmount = stretchFactor / stretchedUV.y;
stretchedUV.x *= stretchAmount;
}
else if (stretchedUV.y > (1.0 - stretchFactor))
{
float stretchAmount = stretchFactor / (1.0 - stretchedUV.y);
stretchedUV.x *= stretchAmount;
}

return stretchedUV;
}

sampler2D inputTexture : register(s0);

float4 main(float2 texCoord : TEXCOORD0) : COLOR
{
float2 stretchedUV = StretchUV(texCoord, 2.35 / 1.0); // Set the desired aspect ratio here

// Sample the input texture using the stretched UV coordinates
float4 color = tex2D(inputTexture, stretchedUV);

return color;
}


It seems to be stretching vertical and horitonally so I am trying to figure out what to change to see if there is hope.
What you think?
:D

huhn
17th June 2023, 18:01
this look like it is changing the resolution and only in the vertical.... which does not work. to get this working on a shader here it needs to understand that the image is already stretched and it needs to redo the stretch on that image.

just applying downscale in the same shader may work here.

i'm not qualified to talk about this.

shaolin95
18th June 2023, 00:26
this look like it is changing the resolution and only in the vertical.... which does not work. to get this working on a shader here it needs to understand that the image is already stretched and it needs to redo the stretch on that image.

just applying downscale in the same shader may work here.

i'm not qualified to talk about this.

Just in case anyone wants to play with it, this one works


sampler s0 : register(s0);

float4 main(float2 tex : TEXCOORD0) : COLOR
{

// convert incoming pixel coord from a value 0 to 1 to a value -1 to +1
tex.x = tex.x * 2.0 - 1.0;

// give pixel its distanceFromEdge value between 0 and 1
float distanceFromEdge = max( abs(tex.x ), 0.0 ) * 0.5 + 0.5 ;

// linear interpolate using the square of the distance from the edge
tex.x = lerp( tex.x / 0.75, tex.x, pow(distanceFromEdge,2) );

// convert outgoing pixel coord from a value -1 to +1 back to a value 0 to 1
tex.x = tex.x * 0.5 + 0.5;

//return the pixel
float4 l = tex2D(s0, tex);
return l;
}


Still trying to figure out what things to change around to see if I can make it look decent enough.

Enet47
19th June 2023, 12:24
I wonder if it can work with smplayer since from my understanding is using mpv.
Yes smplayer is able to run mpv and it works well, but as you get more advanced you come across some weird behaviour and limitations. It's flexible and enables the use of advanced functions without configuration, but they are fixed and you can't change them. There are ways to add extra config and apply them to specific files which is great, but the ini files are a mess. You can also set smplayer to use your own mpv config file. I learned a lot when using it and with "some" reading it helped me to advance to the point where it made more sense to go back to having a single config file.