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

maor26
15th February 2020, 14:04
you "can't" port a directshow player to linux.

linux has neither directshow and dirtectx.

Maybe They can use other projects like Gstreamer/ffmpeg/others to replace the use of directshow in a linux version.

huhn
15th February 2020, 14:24
yes they could write a completely new player and none of the things you have named is an directshow replacement.

maor26
15th February 2020, 15:42
yes they could write a completely new player and none of the things you have named is an directshow replacement.

No one asked them to write a new player....I was only asking if it was possible to make a linux compatible version.
And as far as i know the things I suggested are equivalent to at least a part of directshow and that is why I suggested the use of them(or other projects).

huhn
15th February 2020, 15:52
to port it you have to create a new player they are already using ffmpeg.

nevcairiel
15th February 2020, 18:03
I was only asking if it was possible to make a linux compatible version.

And the anwer is "No". You are the one suggesting to replace 90% of the internals and then call it still the same player.

maor26
15th February 2020, 19:34
And the anwer is "No". You are the one suggesting to replace 90% of the internals and then call it still the same player.

Are you guys serious or just playing dumb?
I asked if there's a chance to get a linux version.
A simple "no" or "no because it'll require too much dev work" is a good enough answer...I DIDN'T suggest to the devs to build me a new player or replacing 90% of the internals.
All I did was ASK.

Klaus1189
15th February 2020, 19:41
Why not simply use Windows and enjoy MPC-BE? :)

huhn
15th February 2020, 19:51
i'm serious a "port" would be like writing a new player that'S what i said in the first place. that's your answer that's not a no only a dev can say that but the work would be like writing a new player and calling that a port would be a "inaccurate".

so what's wrong with" you "can't" port a directshow player to linux.

linux has neither directshow and dirtectx."

maor26
15th February 2020, 19:53
Why not simply use Windows and enjoy MPC-BE? :)

Because windows is not linux :)

Seriously now, I do have a windows partition but I prefer using linux and unfortunately all the available media players on linux are not compareable to this+ i've been using MPC-HC for years, and now using MPC-BE and can't see myself switching to something else( and i've tried using vlc which is the best other option on linux but still not the same experience).

Klaus1189
15th February 2020, 20:00
Ok, what is so bad about Windows? Windows 10 is fine, at least in my opinion ;)

maor26
15th February 2020, 20:09
Ok, what is so bad about Windows? Windows 10 is fine, at least in my opinion ;)

Not necessarily bad...I just enjoy linux more.
I think that everyone should use the operating system that fits them and that they enjoy :)

Klaus1189
15th February 2020, 20:22
MPC-BE is a heavy argument pro Windows ;)

maor26
15th February 2020, 20:32
MPC-BE is a heavy argument pro Windows ;)

All I need for linux to be perfect for me is a good media player...
But there isn't one :(

ryrynz
16th February 2020, 05:56
Is it possible to have MPC-BE auto mount an iso file when it's clicked on in with Open DVD/Bluray?

v0lt
16th February 2020, 06:07
Is it possible to have MPC-BE auto mount an iso file when it's clicked on in with Open DVD/Bluray?
No.
Open ISO directly.

Grimsdyke
17th February 2020, 11:33
Hi guys, when I download the installer-zip and unpack it using 7zip then I can install BE without further issues. However, when I use the unpacker within Windows explorer then I am alarmed that BE is not digitally signed.
Most likely something wrong within Windows - any ideas ??

Aleksoid1978
17th February 2020, 12:37
on SF all builds are digitally signed.
SVN build - not.

beter
18th February 2020, 01:49
Update for translation of Traditional Chinese, Dutch and Simplified Chinese

For Simplified Chinese, I edited one line due to his misunderstanding. That "Filter" is not "Source Filter", and should be text filter for the items in the list instead.

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

hubblec4
18th February 2020, 11:45
All I need for linux to be perfect for me is a good media player...
But there isn't one :(

Exactly my issue. Linux is so great but the players are more or less bad.

MPC-HC/BE are the only good players.


Is there no chance to compile MPC-BE for Linux?

huhn
18th February 2020, 14:35
how clear do you need this to be?

the majority of the code asks for windows exclusive libs and other stuff windows provides.
there are no alternatives you can switch them with no you can't compile it for linux.

what is so hard to understand about this?

stax76
18th February 2020, 17:36
The audio dropout problem I reported before is a general efficiency issue I found out now.

I tried all popular players now using hw decoding and Kodi is the only player that can play it fluidly without audio or video dropouts!

-------

G: Matroska, 24.8 GiB, 1 h 57 min, 30.3 Mb/s

V: HEVC, Main 10@L5.1@High, 3840x2076, 59.940 FPS, 20.4 Mb/s

A: German, MLP FBA, 4 211 kb/s, 8ch, 48.0 kHz, Default
A: German, AC-3, 640 kb/s, 6ch, 48.0 kHz
A: English, MLP FBA, 4 204 kb/s, 8ch, 48.0 kHz
A: English, AC-3, 640 kb/s, 6ch, 48.0 kHz

S: German, UTF-8, Default, Forced
S: German, PGS, Forced
S: German, PGS
S: English, PGS

-------

G: MPEG-4, 1.83 GiB, 58 min 40 s, 4 468 kb/s

V: HEVC, Main 10@L5.1@Main, 3840x2160, 50 FPS, 4 330 kb/s

A: German, AAC, 128 kb/s, 2ch, 48.0 kHz

-------

HP Pavilion 590-p0599ng Desktop PC i5-8400 8GB 256GB SSD Silver

MSI GeForce GT 1030 2GHD4 LP OC 2GB GDDR

v0lt
18th February 2020, 18:00
@beter
Thanks. Updated in r5083+r5084.

v0lt
20th February 2020, 09:11
I was able to speed up copying a frame to a D3D11 texture on an Intel graphics card when using a software or DXVA decoder.
Regular version - MPCVideoRenderer-v0.4.2.1143_git2020.02.19-63d3620 (https://yadi.sk/d/X0EVMKP4TcmnHQ)
Modified version - mpcvr_1144_d3d11vp_UpdateSubresource_Intel (https://yadi.sk/d/X0EVMKP4TcmnHQ/Test/d3d11vp_UpdateSubresource)

Example for Intel HD 4000 (before / after):
https://i.ibb.co/6Ft3M42/Intel-HD4000-1143std.png (https://ibb.co/6Ft3M42) https://i.ibb.co/smhMvsF/Intel-HD4000-1144mod.png (https://ibb.co/smhMvsF)
Please check on other Intel graphics cards.

Grimsdyke
20th February 2020, 11:37
I am not really sure if I had all settings correctly but when downscaling 4k-HDR on my setup framerate increases by around 1 frame using the intel-test-build.

aufkrawall
20th February 2020, 12:05
There is an issue with MPC VR:
When I set it to use 16 bit FP, HEVC 10 bit video looks too dark (tested with D3D11VA in MPC HC).
Imho this format should also be the default once there are no known bugs, it should work on the slowest GPUs (if not too ancient).

Aleksoid1978
20th February 2020, 12:15
Test on latest git version - link in post above.

v0lt
20th February 2020, 12:47
I am not really sure if I had all settings correctly but when downscaling 4k-HDR on my setup framerate increases by around 1 frame using the intel-test-build.
What is your graphics adapter?

aufkrawall
20th February 2020, 13:08
Test on latest git version - link in post above.
That works. Is it planned to implement dithering? I can see slight banding in 10 bit gradient, which shouldn't be there if dithering was used.

Aleksoid1978
20th February 2020, 14:03
That works. Is it planned to implement dithering? I can see slight banding in 10 bit gradient, which shouldn't be there if dithering was used.

10bit content using 10bit texture banding ?
Try using shader for color convert - uncheck P010/P016 and test again. Also can select Chroma scaling -> Catmull-Rom.
For shader can select 16bit float texture :)

aufkrawall
20th February 2020, 16:12
Well, if there's no dithering, it can't be free of banding with 8 bit output. :)
The settings avaiable don't seem to make a difference. In mpv, the gradient gets smooth when enabling dithering.

v0lt
20th February 2020, 16:24
@aufkrawall
EVR-CP has dithering. Does this help you?

huhn
20th February 2020, 16:30
yes that's good enough i will test it later but i'm very sure that it was fixing any banding issues from processing.

edit:looks good on a small scale but i have to install this new image source filter mpc-be is instantly finishing the file.
i need RGB48 input support to test my usually test image. hard to test lavfilter has dithering too so the error only comes from scaling

mpc-be EVR seems to win against MPC-HC EVR in this test:
https://drive.google.com/file/d/0B68jIlCvW85gWFp0NVUwTFdTNFE/view
ignore the bottom part

sorry i'm currently using 2 screen with 6 bit.

aufkrawall
20th February 2020, 18:57
Yeah, mpc-be evr-cp is fine.

v0lt
20th February 2020, 19:20
@aufkrawall
I suggest trying v0.4.2.1148 in DX9 mode.

huhn
21st February 2020, 11:07
mpc-vr DX9 doesn't fail the banding test anymore good job

v0lt
21st February 2020, 12:13
Dithering is also added for DX11 mode in v0.4.2.1150.

huhn
21st February 2020, 12:36
doesn't seem to work here.

v0lt
21st February 2020, 13:22
@huhn
Thanks. I fixed this in v0.4.2.1151.

aufkrawall
21st February 2020, 13:36
It's looking fine now, even with D3D11VA resizing. Great work!

Now, if I may offer another wish: Something like mpv's --video-sync=display-resample would be nice to always have perfect playback, as long as being close enough to a corresponding refresh rate:
https://github.com/mpv-player/mpv/wiki/Display-synchronization
It's quite nice vs. smooth motion/interpolation to save power on mobile devices.

JNW
21st February 2020, 13:54
Introduced a bug here. The whole picture has been shifted up.
https://ibb.co/GpcF33b

aufkrawall
21st February 2020, 14:18
Hm, it's unfortuantely too slow on my Gemini Lake SoC: Even YouTube 1080p 60fps with lowest scaling and format settings consumes more than 10W package power, while mpv 4k 60fps averages around 8W (would be <6W on Linux Xorg fullscreen).

v0lt
21st February 2020, 14:39
@JNW
Thanks. I fixed this in v0.4.2.1152 (https://yadi.sk/d/X0EVMKP4TcmnHQ).

nevcairiel
21st February 2020, 15:57
Now, if I may offer another wish: Something like mpv's --video-sync=display-resample would be nice to always have perfect playback, as long as being close enough to a corresponding refresh rate:
https://github.com/mpv-player/mpv/wiki/Display-synchronization
It's quite nice vs. smooth motion/interpolation to save power on mobile devices.

You do know this is just another take on what ReClock did 10 years ago, and many other players support by now? :D
Let video timings be precise, resample audio to match.

aufkrawall
21st February 2020, 16:24
and many other players support by now? :D

Ok, where is this magic button?


Let video timings be precise, resample audio to match.
But why should I?

huhn
21st February 2020, 16:50
to bad it's not fixed in sanear the last commit was something about that interface.

nevcairiel
21st February 2020, 21:07
But why should I?

What, thats exactly the technique your link proposes. Just what ReClock does.

aufkrawall
21st February 2020, 21:53
What, thats exactly the technique your link proposes. Just what ReClock does.
I meant: Why not resample video?
You change the refresh rate to anything or a multiple close and that's it, perfect playback guaranteed. There are no drawbacks in practice.

Note that my context was mobile devices and not one's personal cinema room with audio passthrough etc.

huhn
21st February 2020, 22:04
doesn't change that they are selling audio resampling as new...

there is even a 3rd version from MPDN where the "sound" card just get's different sample rate and has to deal with that.

aufkrawall
21st February 2020, 23:10
I politely asked for a handy feature and not for lectures by non-developers about its alleged history that is of no interest to anyone.

nevcairiel
22nd February 2020, 00:11
I meant: Why not resample video?

Thats basically Smooth Motion. Sampling is the process of taking distinct temporal snapshots from a continous analog signal. In audio thats samples, in video thats frames. Smooth Motion interpolates between the available frames to show a different snapshot in time, ie. resampling.
Playing at a perfect integer multiple of the movie frame rate does not require any processing, since the sample-and-hold nature of video just takes care of that either way.

Resampling Audio with perfectly timed video is available in many players, including mpv as your quoted --video-sync=display-resample, or ReClock in DirectShow (or perhaps other audio renderer as well, I haven't really followed SaneAR etc)
Resampling Video is madVR Smooth Motion.

Your questions aren't very clear. You asked about emulating that mpv mode mentioned above, which is just what ReClock does. And now we're talking about the actual opposite instead?