> Windows builds for mpv and youtube-dl:
> Display statistics for the currently played file:
> Low quality configuration:vo=opengl:interpolation
> Medium quality configuration:vo=opengl-hq:interpolation
> High quality configuration:vo=opengl-hq:interpolation:scale=ewa_lanczossharp:cscale=ewa_lanczossoft
> Insane quality configuration:vo=opengl-hq:interpolation:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:prescale=nnedi3:nnedi3-neurons=64:prescale-downscaling-threshold=1.5
Fucking finally. Thank you based OP.
There's one problem though, display-sync probably shouldn't be in the low quality config. My laptop is too slow for interpolation and display-resample. If you can't do opengl-hq, you probably can't do display-sync.
Those are release builds, not nightlies. Unofficial nightlies are on https://bitbucket.org/rorgoroth/mpv-for-windows/downloads
It's also not particularly hard to build them yourself if you like the bleeding-edge.
I don't know but I don't think they do.
ANGLE is a bit of a bitch to compile under mingw-w64, and it's worse if you want a static build, so I'm not surprised that no one's done it yet. To make things even worse, Google have probably broken ANGLE under mingw-w64 again with the most recent commit (mingw-w64 is missing dcomp.h.) That said, a ANGLE-supporting mpv is probably coming to the MSYS2 repos soon™.
Is there a way to make mpv sort screenshots into folders based on filename of the video you're watching?
For example, doing this in the config doesn't work. It seems mpv by itself refuses to create folders.screenshot-template="~/mpv/%F/mpv_%F_[%wH.%wM.%wS,%wT]"
I'm sure it's possible via lua, but I don't know anything about lua.
Maybe, but it's the best player available.
This is not perfect but nothing else do something better than it. It's fully opensource and runs very well on any modern desktop operating system.
I'm really curious about something. Are there any plans in mpv to support adaptive sync solutions, as in FreeSync and/or GSync? Those seem like a godsend to proper video playback, no judder whatsoever no matter the frame rate.
Do either of those even work on Linux in the first place?
Didn't make much difference other than >doubling cpu and kicking the fan on.
Is it because I'm on Windows? Without that line it plays smooth as silk 60FPS mp4 opengl-hq, it also plays smooth with that line but using vo=direct3d_shaders.
>They work already.
Yeah, if it's not displaying in a mode tied to VSync (and in OpenGL full screen) both should work if the FPS falls within the supported interval, but can mpv do things like playing a 24FPS video at 48FPS with frame doubling?
A lot of monitors with FreeSync at least can't for instance go as low as 24Hz, but you could easily play at 24Hz video at 48Hz.
I'm new to mpv I just use vo=opengl-hq so, how do I find out if that has prescaler on?
Fuck off cunt hwdec works fine for me and means my notebook fan doesn't kick in using 50% cpu on 60fps 1080p vids.
>I just use vo=opengl-hq
Then you're not using a prescaler.
I would try withvo=opengland if it's still dropping frames either your computer is to weak to use the video-sync option or it's bugged for you.
Any program on Windows that allows you to disable any form of sync supports FreeSync/G-Sync. I dunno about FreeSync but G-Sync works in both DirectX and OpenGL, windowed and fullscreen.
No idea what the fuck you're talking about.
The insane quality config makes my player drop/delay frames by a a lot but only when its full screen.If i run it in windowed its fine. If I turn off video-sync=display-resample
it works fine in fullscreen though. Have an i5 2500k and a 980 so it should work right?
>No idea what the fuck you're talking about
Yes, that's quite clear. Let me tell you then. A lot (the vast majority/all) of FreeSync monitors that are currently on the market have a minimum refresh rate that can work with FreeSync. This is generally above 30Hz and almost definitely not as low as 24Hz. This means that any program refreshing at 30 or 24FPS does in fact NOT benefit from FreeSync, as is the case for any video player that does not do frame doubling (so, all of them).
It's a bit of a stretch to say that mpv or any other video player supports FreeSync when the vast majority of videos at the most common frame rates will in fact not benefit from FreeSync in any manner. If the player did frame doubling, to 48 or 60FPS, then it *would* indeed support FreeSync on current monitors.
No idea about GSync. I know AMD does some shit to make FreeSync work below the actual threshold on certain screens (depending on their supported FreeSync interval, if max >= 2.5*min), probably some variation of displaying the same frame multiple times to get over the minimum FreeSync refresh rate.
Use the high quality settings, full screen, print screen then save as png.
Hit Q, change config to insane quality, open video back on same frame and print screen again. See if you can see even the slightest difference.
There's a significant improvement, though I can't help but feel that the better the actual video quality is, the less important using something like nnedi3 is.
If you're going to watch something that you can only find in shitty DVD rip quality, you'll need all the help you can get. If you're watching a high-quality, high-bitrate 1080p rip it probably won't make much of a difference at all.
I'd love to see a comparison shot of something like good quality 1080p video resized to 4K.
Why would I want interpolated frames when the hardware is perfectly capable of displaying the video properly? There's no real reason to have a fixed refresh rate on a monitor that isn't a CRT.
What's the point of interpolation if the hardware is capable of displaying video of essentially arbitrary frame rate without judder? Interpolation is a solution to a problem that doesn't even actually exist on modern hardware.
Well, to be fair, since pretty much everything is constant frame rate, you can just switch to the proper refresh rate once playback starts anyway, but adaptive sync solutions should really be the way to go.
Looking at those on a 4K monitor at 100% zoom, the difference in favor of nnedi3 is actually greater than I expected. I'm not quite sure if I'd notice the difference between Lanczos/Jinc and NNEDI3 when watching actual video though, not just still frames.
Well, for one, G-Sync doesn't operate below 30Hz. It does however do frame doubling natively (thanks to the G-Sync Module) whenever the refresh rate drops below 30Hz. So if you have 25Hz, it's doubled to 50Hz. It's clever actually.
But I have no idea how this works with video players.
I still don't understand NNEDI3. Someone told me it only doubles the image and if that is the case then it is virtually useless on my 2560x1440 display unless I watch 1280x720 releases, but why would I do that when I have access to 1920x1080 releases?
Or does NNEDI3 work with 1920x1080 releases on a 2560x1440 monitor?
If I remember correctly, you'll need some god damn pristine eyes to see any difference in quality at full HD resolution. Hell, even HD content (720p) is probably hard to notice unless you compare still images with a magnifying glass.
Though for low res shit it's pretty good as long as you can run it. Like old DVDs, or other < 480p content.
If the environment variable XDG_CONFIG_HOME is not set, user configuration files will be read from the ~/.config/mpv directory. System-wide configuration files are read from the /etc/mpv directory.
Regardless of whether svp-like interpolation is good, doing it on the CPU with vapoursynth is really bad. There may not be another solution for MPV at the moment, so you're better off not using it or switching to whatever player is supported by SVP.
Can anyone prove me that mpv is better than madvr with highend configuration?
I can use nnedi3, deband, superres and ewa scalers without any dropped frames with mpdn unlike with madvr or mpv.
This is very powerful but the development seems to be slow this time.
Clearly it dosent.
Runs the config on the right
Config on the left is overwrode
Blurry mess and not needed on a "best" configuration because you should already have a 120Hz display.
These are all horrible and literally worse than opengl-hq defaults.
Not needed on a "best" configuration because you should already have an 8-bit display.
This is not enabled if you have an icc profile no matter.
u wot m8
0/10 bait troll, made me respond.
You still need to add:video-sync-max-video-change=5
And I would also add:vd-lavc-threads=0
>He doesn't use the cache option!cache=auto
When I use
I get mistimed/delayed frames, also looks like their mouths slightly don't match the audio, any ideas how to fix it?
Running on Mint with AMD FX-6300 CPU and GTX 760 GPU.
My current config:vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:dscale=mitchell:tscale=robidouxsharp:scale-antiring=0.8:cscale-antiring=0.9:dither-depth=auto:gamma=0.9338:target-prim=bt.709:scaler-resizes-only:sigmoid-upscaling:interpolation:fancy-downscaling:source-shader=~~/shaders/deband.glsl:icc-cache-dir=~~/icc-cache:3dlut-size=256x256x256:temporal-dither
Anything I should add or change?
OP's configurations are bad. Here is a better set:
Highest quality video configuration:vo=opengl:scale=ewa_lanczossharp:cscale=ewa_lanczossharp:scale-antiring=0.8:dscale=mitchell:dither-depth=auto:correct-downscaling:sigmoid-upscaling:icc-profile-auto:deband:blend-subtitles:tscale=oversample:tscale-clamp:es=no:swapinterval=1:pbo
High quality video configuration:vo=opengl:scale=spline36:cscale=spline36:scale-antiring=0.6:dscale=mitchell:dither-depth=auto:correct-downscaling:sigmoid-upscaling:icc-profile-auto:deband:blend-subtitles:tscale=oversample:tscale-clamp:es=no:swapinterval=1:pbo
Medium quality video configuration:vo=opengl-hq:icc-profile-
I have also included a low quality configuration here, but I really do not recommend its use:vo=opengl:scale=bilinear
Seems like a waste of resource since I only have 2 channel stereo speakers. Anyway to force it to only use 2 channel out of the 6 so it doesn't use that much resource? Or am I overthinking this?
Ok so this is stupid. Opengl-hq does most of this already. By using Opengl-hq in the beginning this is the exact same line:vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossharp:scale-antiring=0.8:icc-profile-auto:blend-subtitles:tscale=oversample:tscale-clamp:swapinterval=1:pbo
Now, tscale=oversample is dumb as fuck, because oversample is default, so that can be removed. The same goes for swapinterval=1. Enabling PBOs can cause corruption and can also make the entire shit slower if you don't have the "correct drivers" so that one needs to be heavily tested by the user before even being considered to be used.
But wait! There is more: tscale-clamp is completely useless because you don't use interpolation in that config. That goes for tscale=oversample which we removed previously as well.
So then you're left with:vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossharp:scale-antiring=0.8:icc-profile-auto:blend-subtitles
And the scale anti-ring can cause artifacts, so I'd say remove that shit as well.
>OP's configuration are bad
No, your configuration is absolutely disgusting. Don't correct other people when your shit is even worse.
My apologies, seems like they changed that default setting recently.
Still doesn't redeem the config since tscale isn't used in the configuration anyway, but I'll admit that was wrong.
How about this?
>ao_dsound: remove this audio output
>It existed for XP-compatibility only. There was also a time where ao_wasapi caused issues, but we're relatively confident that ao_wasapi works better or at least as good as ao_dsound on Windows Vista and later.
RIP dsound 2001 placebo faggots!
in the config file I can add[extension.webm]
and all the options I put after it will only apply to .webm files
if I wanted some settings to apply to a specific set of files, e.g. .mkv and .mp4, how would I go about doing that?
Should I make two separate sections one for [extension.mp4] and one for [extension.mkv] and use the same options or is there a better way?
What do VO inDropped=X VO=X Delayed=Xmean or reference to?
I notive nothing visually but I get the following:vo=opengl-hq VO=1573
on a 720p 60fps 50 second clip.
this is my main laptop, i'm looking into buying a small thinkpad to easily carry with me with arch on it
anyway, it seems that the installed size difference is not that big so i'm going with the flow
Well this seems to be a brutal thread for configs.
On my laptop with an i5-5300U, HD5500 grapchics, and a 1440p screen I usevo=opengl-hq:interpolation:tscale=mitchell:swapinterval=1:deband=no
which works even with with 10bit chinktoons flawlessly, in windowed mode. However any video on full screen it drops frames like crazy. I even tried a DVD quality 2.35:1 video scaled to max on the screen. So theoretically rendering the exact same amount of pixels fullscreen or not, and it STILL dropped tons of frames.
So first thing I did is just trympv --vo=opengl --hwdec=no shitty_video.mkvwhere the shitty video is a video I've tested with my desktop (which I have no problems with) to make sure the video isn't corrupted or has issues. However, even with no hwdec, on a video I downloaded from youtube, full screen drops frames like you wouldn't even believe. A/V desync happens almost instantly, and you would assume I'm on a toaster. But just by pressing f the sync goes back to normal and the video plays fine. Even if I scale it up to the size of my screen, as long as it isn't actually in fullscreen mode it works fine.
So what the fuck is happening?
On MPC-HC I got flawless playback when playing HD video files. Can't believe Linux is inferior in playback quality.
I already tried it, but didn't notice any change in the playback.
>On MPC-HC I got flawless playback when playing HD video files.
So no madVR? The "low" configuration in the OP uses interpolation, which is not standard in either madVR or MPC-HC.vo=openglwill be as good as something like KCP on the low setting.
Does anyone know if there is a way to control mpv's playback from the terminal? Like with mpd/mpc, I can type mpc pause, mpc play, and it will pause/play my currently playing song.
The reason I ask is, it would be really handy (and lazy) if I could SSH into my desktop PC while laying in bed and type "mpv pause" or "mpv skip 10" to skip ten seconds, so that I don't have to get up.
tscale=mitchell is redundant since it's on by default, same goes for swapinterval=1.
So to shorten it down:vo=opengl-hq:interpolation:deband=no
Any reasoning why you turned off debanding?
It doesn't seem to make much of a difference. Just tested it with the git master and still has the same issues. Playback at 1440p works fine unless it's 'fullscreen'.
>Any reasoning why you turned off debanding?
To try and figure out why the fuck my laptop can't playback on fullscreen. And yeah I turned off hwdec too.
Probably won't solve your problem, but on OS X we need to setfs-black-out-screensin order to fix the full-screen performance issue. It's Apple's fault and not mpv, so that's the only workaround. However since you're going Linux I doubt it'll solve it. Give it a shot at least.
I don't reallt see it but it seems the only way to not get crazy ass dropped frames on my intel-only notebook is by using direct3d_shaders. I was reading github issues last night and came across one saying one day direct3d may be removed in favor of angle.
Should I just go back to using mpc-hc?
Direct3D_Shaders is deprecated and should only be used if your PC is so old and shit that it can't do OpenGL. See: https://mpv.io/manual/master/#video-output-drivers-direct3d-shaders
but my notebook is less than a year old i5.
when I ask in previous threads I just told "hurr opengl on windows doesn't work"
I can't even see the frame drops with my eyes, but it goes up to 1.5k in a minute of video and it worries me.
As you said, angle will be the new shit for Windows users. However it isn't implemented yet. There's an experimental backend called "dxinterop", however that only works on nVidia and AMD GPUs. Windows doesn't have any hardware decoding yet, unlike Linux which has vdpau for Intel GPUs.
Sounds strange that you have frame drops on a newer i5 (Haswell/Broadwell?), it should work just fine unless it's some insane high res HEVC file. Tried with a completely clean configuration, without any extras? Just a simple vo=opengl?
I tried hwdec=dxva2-copy and it works fine (doesn't make difference to frames dropped from vo=x though) I tried so much shit the past few days.
I have an i5-5200U w/ Intel HD Graphics 5500
opengl-hq drops like insanity, opengl drops a lot but nowhere near as bad and d3d_shaders is the only one that doesn't.
The thing is when I tried some 60fps video I cannot tell that anything is being dropped, the scenes look right but I can see cmd open with dropped frames sky-rocketing.
If I add `video-sync=display-resample` then it becomes noticeable on opengl and opengl-hq, but completely fine with d3d.
Anyone know how I can bind keys to pan the video up and down?
Manual says "video-pan-x" but when I tried:alt+LEFT video-pan-x -0.1
alt+RIGHT video-pan-x -0.1
alt+UP video-pan-y -0.1
alt+DOWN video-pan-y -0.1
it says command not found.
I have basically the exact same CPU/GPU and I'm getting some of the same issues >>52272907
Probably a coincidence, but maybe intel has severely fucked up its drivers on both windows and linux. Who knows.