View Full Version : Media Player Classic - BE Win32/x64
aufkrawall
22nd February 2020, 00:59
Is this about semantics? Why would adjusting audio speed be called resampling, but video speed not?
And where is the corresponding option in mpc be/hc to get perfect playback of e.g. 23,976fps at 48Hz?
nevcairiel
22nd February 2020, 02:32
Is this about semantics? Why would adjusting audio speed be called resampling, but video speed not?
I never said it isn't called that, its just not a common term to use, but you can call it that if you want, its not wrong. But that is ultimately what Smooth Motion is doing.
However, if you just change the timestamps so the video runs a different speed, thats not really "resampling", for resampling to take place, the video frames need to actually change.
What its really about is that you are seemingly alternating between resampling audio and resampling video - or you assumed the mpv "display-resample" mode did something else then it actually does (because that resamples audio), leading to confusion.
And since we're talking about a mobile solution with power efficiency in mind, resampling audio like this is also far cheaper then resampling video (properly).
And where is the corresponding option in mpc be/hc to get perfect playback of e.g. 23,976fps at 48Hz?
Install ReClock, use it as audio renderer. Maybe also with SaneAR, but I heard it may still have issues.
MPC-HC doesn't have this function built-in, but its achievable with little effort.
huhn
22nd February 2020, 02:44
resampling video (i still think the term is miss leading) only has 23-60 samples a while audio has 44100 or more that means the error added by resampling in audio is very low and the error in video can be devastating like smooth motion at 23p with a 23p source the result is close to useless but 23p at 60p is fine. the next problem is it cost massively more processing power.
v0lt
22nd February 2020, 06:16
mpv wiki - display-sync (https://github.com/mpv-player/mpv/wiki/Display-synchronization#display-sync)
mpv wiki - Motion-based interpolation and Smoothmotion (https://github.com/mpv-player/mpv/wiki/Interpolation#motion-based-interpolation)
We do not plan to implement anything like this in the near future. Perhaps we will try to use D3D11 VP functions for Nvidia, see Rate Conversion Caps in DXVA Checker. But even this will take a long time, so it's better not to wait for it and not to worry.
So, if you are in a hurry, you can implement the features yourself or find people who can do it (I believe these people exist).
foxyshadis
22nd February 2020, 09:56
Resampling video to match audio just sounds like a huge waste of cpu/gpu power, when the algorithms to perfectly resample audio can run on a P3 in realtime. On the other hand, people mine bitcoin, so I guess that ship has sailed.
Resampling video exists to match monitor refresh rates, not audio timing. With the increasing adoption of G-sync and Freesync, the need for that is disappearing as players start to use that. Beyond that, the benefits of things like black-frame-insertion and frame blending have been contentious at best.
huhn
22nd February 2020, 12:03
freesync and gsync for video playback is so inaccurate good luck with that video player...
lvqcl
22nd February 2020, 12:35
Why would adjusting audio speed be called resampling
It seems that you confuse resampling and changing(adjusting) sample rate.
aufkrawall
22nd February 2020, 15:02
You are probably right if you want to be precise.
Well, thanks @ mpc be devs for evaluating.
In the meantime, I'll be continuing using display-resample mode, which plays judder test videos even without any audio smoothly, doesn't "devastate" the result and neither is "smooth motion". People in their ivory tower of limited scope may continue thinking otherwise, totally ok with me.
huhn
22nd February 2020, 18:11
ivory tower of limited scope
just read the parts you like and ignore the rest and talk about a limited scope.
aufkrawall
22nd February 2020, 22:58
So I've remuxed a 23,976fps judder test video together with an audio track, playback with ReClock (32 bit only binary, srsly?) at 48Hz shows stutter, while mpv display-resample does not.
Why? (Don't anybody come up with smooth motion...)
stax76
24th February 2020, 19:46
Turns out not only Kodi but also mpv (using hwdec=nvdec) can play UHD/4K using GT 1030 2GB, mpc fails even with LAV Decoder and NVIDIA CUVID.
Aleksoid1978
24th February 2020, 23:21
I have 1030 2Gb and perfect playback 4K 10Bit 60fps in MPC-BE.
stax76
24th February 2020, 23:58
I have 1030 2Gb and perfect playback 4K 10Bit 60fps in MPC-BE.
Do you have a sample like this:
V: HEVC, Main 10@L5.1@High, 3840x2076, 59.940 FPS, 20.4 Mb/s
A: AC-3, 640 kb/s, 6ch, 48.0 kHz
huhn
25th February 2020, 01:14
if you want efficiency and the highest change of getting this to work use DXVA2 native or D3D11 native but not cuvid.
Aleksoid1978
25th February 2020, 01:19
Do you have a sample like this:
V: HEVC, Main 10@L5.1@High, 3840x2076, 59.940 FPS, 20.4 Mb/s
A: AC-3, 640 kb/s, 6ch, 48.0 kHz
20.4 Mb/s - it's so easy :)
Test on https://4kmedia.org/sony-bravia-uhd-hdr-4k-demo/ - perfect playback.
stax76
25th February 2020, 01:23
if you want efficiency and the highest change of getting this to work use DXVA2 native or D3D11 native but not cuvid.
Neither works.
stax76
25th February 2020, 01:43
Please try this:
http://www.mediafire.com/file/kbn371cc9oskjpi/GeminiMan.mkv/file
Here in mpv it's crazy jerky and in mpc it's slow mo with audio dropouts.
Aleksoid1978
25th February 2020, 01:47
Perfect playback. Test in MPC-BE using EVR-CP/MPC-VR(DX9) + internal filter(DXVA2 Native), MPC-VR DX11 + LAV DX11 Native.
Show screenshot in MPC-BE with statictics(Ctrl+J).
stax76
25th February 2020, 02:18
Perfect playback. Test in MPC-BE using EVR-CP/MPC-VR(DX9) + internal filter(DXVA2 Native), MPC-VR DX11 + LAV DX11 Native.
Tried all that, nothing works.
https://postimg.cc/G9hzy0fN
edit:
Please also show screenshot.
Aleksoid1978
25th February 2020, 02:24
Tried all that, nothing works.
https://postimg.cc/G9hzy0fN
edit:
Please also show screenshot.
Something wrong at you system. Monitor GPU load/memory using GPU-Z or TaskManager in Windows 10.
stax76
25th February 2020, 02:39
https://postimg.cc/YhB6zJDM
edit:
Why do the stats have tiny font? Please post screenshot.
huhn
25th February 2020, 02:52
did you try changing the nvidia power setting to adaptive?
it doesn't look like it but is this a laptop with an intel iGPU so maybe even optimus?
stax76
25th February 2020, 03:00
did you try changing the nvidia power setting to adaptive?
Where do I find this?
it doesn't look like it but is this a laptop with an intel iGPU so maybe even optimus?
It's a 6 core desktop system.
HP Pavilion 590-p0599ng Desktop PC i5-8400 8GB 256GB SSD Silver
huhn
25th February 2020, 03:08
manage 3D settings -> power management mode
stax76
25th February 2020, 22:57
I was able to find out that in mpv it works if there is no color/transfer metadata in files.
mpc don't work with or without such metadata.
https://postimg.cc/qgG3QPQ8
https://github.com/mpv-player/mpv/issues/7478
Aleksoid1978
26th February 2020, 00:08
mpc don't work with or without such metadata.
https://postimg.cc/qgG3QPQ8
Very high GPU/Video decode load.
I repeat - 1030 is good for 4K 10-bit 60fps playback.
https://i.imgur.com/cbTxlfL.png
stax76
26th February 2020, 06:16
Video decode is indeed much higher.
huhn
26th February 2020, 06:26
your problem should be the hdr->SDR conversation which your card simply can't do that would explain why it works without meta data because there is no conversation without meta data.
the next part that doesn't make sense is the high video engine load it doesn't matter if the video can be shown or not the video engine shouldn't care but your load is still high.
aufkrawall
26th February 2020, 12:18
It should be no issue for a 1030 with mpv if peak detection is turned off and bilinear scaling is used since I had smooth playback of streamed 4k 60fps VP9 HDR on Gemini Lake and Linux. Not on Windows though, but a 1030 is much more "powerful" anyway.
stax76
26th February 2020, 15:44
Maybe there is problem with my card (MSI GeForce GT 1030 2GHD4 LP OC 2GB GDDR) or my PC (HP Pavilion 590-p0599ng Desktop PC i5-8400 8GB 256GB SSD). I've updated the NVIDIA driver, might I need a driver or new bios for the motherboard?
Kodi can play my file fluently however, including color manipulation but that color manipulation is broken, I can file a bug report.
Or I could ignore the issue since I rarely have such video files or buy a new PC or start rendering development.
It should be no issue for a 1030 with mpv if peak detection is turned off and bilinear scaling is used since I had smooth playback of streamed 4k 60fps VP9 HDR on Gemini Lake and Linux. Not on Windows though, but a 1030 is much more "powerful" anyway.
My scaling setting is bilinear, I tried hdr-compute-peak=no and dropped frames went down from 550 to 220 so some improvement, any further ideas? Maybe try the Intel IGP?
v0lt
26th February 2020, 15:46
@stax76
Which GT 1030 graphics card are we talking about?
What kind of memory is GDDR5 or SDDR4?
https://www.geforce.com/hardware/desktop-gpus/geforce-gt-1030/specifications
GDDR5 - 48 GB/sec
SDDR4 - 16.8 GB/sec
stax76
26th February 2020, 15:50
Apparently I found the solution. :cool:
hdr-compute-peak = no
d3d11va-zero-copy = yes
Zero dropped frames!
mpc still unusable ;)
s0meone_new
4th March 2020, 12:46
Hello! :)
Hungarian translation update! (little fix in it)
https://www109.zippyshare.com/v/oyl1jNZe/file.html
v0lt
4th March 2020, 14:04
@s0meone_new
Thanks. Updated in r5110.
s0meone_new
5th March 2020, 02:57
Ok thank, update again. (just a small fix) :)
https://www40.zippyshare.com/v/cfY68dJz/file.html
Completed.
v0lt
5th March 2020, 18:48
@s0meone_new
Thanks. Updated in r5112.
hajj_3
6th March 2020, 12:36
dav1d v0.6.0 decoder is out now, hope that this can be added to a new build of mpc-be.
koupa
7th March 2020, 11:14
Is there a possibility to add multi site support for subs like mpc-hc?
Sent from my MI MAX 3 using Tapatalk
Aleksoid1978
7th March 2020, 13:28
Is there a possibility to add multi site support for subs like mpc-hc?
Sent from my MI MAX 3 using Tapatalk
Not planned.
koupa
7th March 2020, 13:49
Oh OK. I use BE for everything since it's got support for most filetypes. But I'm from Greece and subs are not always available or correct. So I have also installed HC for that reason.
Sent from my MI MAX 3 using Tapatalk
v0lt
7th March 2020, 14:20
But I'm from Greece and subs are not always available or correct.
You can specify any URL to the subtitle database.
Sent from my MI MAX 3 using Tapatalk
Please do not write this anymore.
stax76
7th March 2020, 14:27
> Sent from my MI MAX 3 using Tapatalk
Please do not write this anymore.
It's a very popular mobile app that writes this, probably cannot be disabled. Please note that this old forum software doesn't have mobile support except using Tapatalk.
koupa
7th March 2020, 16:17
You can specify any URL to the subtitle database.
It's not only a single site but a bunch of them. It's not a big deal but it would be nice. Both mpc players gave the easiest way to find subs. You press D and it's done. In every other player you must do alchemy.
OH an something else. I use the nightly version which is updated almost daily. Can we have an update information because yandex has blocked me and I have to save the file in my account and then download it. It's a little bit complicated.
ryrynz
7th March 2020, 21:14
It's a very popular mobile app that writes this,
It can be disabled. It's set by default for advertising and people generally wouldn't know about it.
M.Scott
8th March 2020, 16:37
Just wanted to say thank you to the devs and contributors who do a great job on MPC-BE, it has essentially become my daily driver... in only a few situations do I still need VLC.
If I could ask a simple first question... the links in v0lt's sig to the main and alternate 1 downloads for v5113 show (x64.7z) 11.9 MB (main) & 11.8 MB (alt 1) - are these files the same? If I could ever catch the main and alternate 1 both available with the same version I would download both and do a hash comparison, extract both a have a look but I usually can only get the file offered from alt 1.
Just wonderin' :)
v0lt
8th March 2020, 18:26
If I could ask a simple first question... the links in v0lt's sig to the main and alternate 1 downloads for v5113 show (x64.7z) 11.9 MB (main) & 11.8 MB (alt 1) - are these files the same?
These are files compiled from the same source code. The files may differ.
Klaus1189
8th March 2020, 18:54
in only a few situations do I still need VLC.
What situations are these?
JarrettH
10th March 2020, 01:31
All look's good. Without such device i can't test and say what's wrong.
P.S. Try another app with WASAPI Exclusive Output(need use WASAPI Exclusive Event mode) - foobar, AIMP.
The problem has been solved after I updated to the latest Topping driver (4.82). I guess it's for the XMOS XU208.
yonta
11th March 2020, 03:17
mpc-be+LAVVideo can't hardware-decode this video (https://drive.google.com/file/d/1wSSaX7id58xyGC-aL6hpfUAGlGIwXtl-/view?usp=sharing).
d3d11, dxva2n, dxva2copyback nothing works.
mpc-hc plays it in dxva mode just fine with the same setup.
it is a plain youtube video downloaded some time in last septermber(youtube-dl+ffmpeg).
source URL: https://www.youtube.com/watch?v=AkBQDBwuQT4
i re-downloaded the video using the latest version of ffmpeg for muxing and mpc-be can play it in dxva mode just fine?
one more thing, potplayer shows the same behavior as mpc-be.
Aleksoid1978
11th March 2020, 05:12
It’s normal DXVA decode with internal decoder ?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.