/mpv/ - The Open Source and Cross Platform Video Player

Last thread Installation:
mpv.io/installation/

Wiki:
github.com/mpv-player/mpv/wiki

Manual:
mpv.io/manual/stable/

mpv.conf example:
github.com/mpv-player/mpv/blob/master/etc/mpv.conf

input.conf example:
github.com/mpv-player/mpv/blob/master/etc/input.conf

User Scripts(including opengl shaders):
github.com/mpv-player/mpv/wiki/User-Scripts

Migrating from MPC-HC?
github.com/dragons4life/MPC-HC-config-for-MPV/blob/master/input.conf

Vulkan(Linux only for now):
github.com/atomnuker/mpv

Test vulkan and post logs if it gives you any kind of problems.

For better playback quality paste this in your mpv.conf file:
# Specify high quality video rendering preset
profile=opengl-hq
# Scaler used when upscaling chroma (color information)
cscale=ewa_lanczos
# Scaler used when upscaling video
scale=ewa_lanczossharp

# github.com/mpv-player/mpv/wiki/Display-synchronization
# Force video to lock on the display's refresh rate
video-sync=display-resample
# Reduces stuttering
interpolation
# Interpolation scaler
tscale=oversample

Notes: Remove cscale and scale if your computer isn't powerful enough.
Interpolation can also reduce framerate drastically.

Mpv uses software decoding by default.
You may want to enable hardware decoding using hwdec=auto or hwdec=auto-copy.
Note that it can lead to issues, depending on your video card.

Getting freezes under Windows?
Add

angle-flip=no

to your mpv.conf.

If MOUSE_BTN3 and MOUSE_BTN4 aren't working in your input.conf, try using AXIS_UP and AXIS_DOWN to control scrollwheel.

To get error logs, please add

log-file=log.txt

to your config file.
Then search the log for "dumb" anything or for [e].

>RAAAVUUUUU!

Other urls found in this thread:

github.com/bjin/mpv-prescalers/blob/master/README.md
twitter.com/NSFWRedditVideo

Next lachs0r stable release when?

Probably not soon. Good thing there is shinchiro!

Posting RAVU comparison from last thread.

nnedi3 64.

RAVU-r3-native.

NGU AA very high.

Any cool GOOEY for mpv that would be nice on linux? Using openSUSE KDE.

Aliased anime picture.

nnedi3 64.

RAVU-r3-native.

Keep in mind that this is not "real" anime picture. Its anime art.

More real anime.

nnedi3 64.

RAVU-r3-native.

ewa_lanczossharp.

Which one is better?
I am on my shitphone and they look identical.

FINESHARP MASTERRACE

Its hard to say there but in the last comparison (obasan) RAVU wins hands down IMO.

Why not RAVU-r4? That's what haasn is using currently.

I'll try r4 later. bjin says in readme that r3 is preferable and r4 is unreliable or something.

Could you share the rendering times too?
Is it really faster than NGU-AA (Low, Medium, High)?

I cant tell exact times right now but RAVU-r3-native requires like 2/3 of what nnedi3 64 needs. nnedi3 64 is faster than NGU AA (High) for me.

nnedi3 64.

RAVU-r3-native.

ewa_lanczossharp.

RAVU wins again IMO. RAVU is not neural network based and hasn no errors in image compared to lots errors in the nnedi3 one. Holy heck, RAVU can become THE BEST animu scaler!

I wonder why haasn uses ravu-r4 and not ravu r4-native.

maybe cuz ravu-r4 with gather is MUCH faster?

Last test for now.

nnedi3 64.

RAVU-r4-native.

...

Wait. So RAVU has half pixel shift like nnedi3 too?

Yeah, probably. Why native versions dont use gather?

All these images look the same

Its not possible to quadruple image with RAVU right now? ;___;

this. just use profile=opengl-hq anything above that is a meme.

>Wait. So RAVU has half pixel shift like nnedi3 too?
Yes, it follows the same pattern as superxbr of directly mapping the source image to (0,0) and interpolating (1,1) followed by the diagonals (0,1) and (1,0) in (rotated) separate passes.

Note that normally, half pixel offsets like these are corrected by the main scaler, but when the main scaler is not active (e.g. image size == screen size), this is of course not going to happen.

So if you have a 4K screen and you're playing a 720p source upscaled to 1440p by the prescaler, the half-pixel shift will be corrected during the scale pass from 1440 to 2160. Similarly, if you're playing a 720p source on a 1080p screen, it will be corrected during the *downscale* from 1440p to 1080p. But if you're playing a 1080p source which gets scaled to 2160p on a 2160p monitor (thus causing the main scaler to be inactive), you get the half pixel offset.

I see, thanks. RAVU looks great! It kinda looks weird for 720p -> 1080p though. At least with SSIM.

Damn...
>top: nnedi3 64 -> ewa_lanczossharp
>bot: RAVU-r4-native -> ewa_lanczossharp

why are you doing comparisons on hardsubs? I assumed these upscaling algorithms are trained 100% on raws because there's no reason to use hardsubs unless using a shitty video player

Can you answer please.

>on hardsubs
Not hardsubs.

RAVU still has trained weights though, arguably that could be considered a NN

>nnedi3 64.
please post config. I don't know how to do it.

There is a reason to use hard subs: if you need subtitle effects that exceed what .ass is capable of (realistically)

realistically, needing such subtitle effects is retarded and pointless 100% of the time!
your shitty animated karaoke has no right to mar the original work.

Look at O and U. What the heck man...

I summon bjin ITT to tell me what scale to use with RAVU and if RAVU can into quadrupling! System resources are not a problem.

But all that works just fine on softsubs.

Is it possible to force high quality upscaling in videogames?

I have a weak GPU and a 4k screen and for now i play most shit in 1080p it looks like it scales with nearest neighbour or some shit.

Can i force it somehow to scale with lancsoz somehow?

Why haasn abandoned FSRCNN?

He can't run it in real-time.

Lies!

>translating signs is pointless
funny how purists are okay with glaring shitty annotations over subtitles

If your typeset is so complex it has to be burned into the video, you're wasting everyone's time.

Yeah, I'd like to see you do this with softsubs. Hard mode: it has to render in realtime

Working out the details is annoying and I have more interesting things on my priority list at the moment

Also, the thing I'm working on right now will help make FSRCNN faster. It's better to get all of these things out of the pipeline first so I can write a more optimized version of it using compute shaders eventually

Thanks! Do you know why RAVU looks like that with subs (bottom pic)?

NGU AA is very clearly the best here.

Is it me or SSIM barely makes any difference with RAVU?

That's very clearly subjective.
But it's also worth noting that RAVU is brand new and still experimental.

Those look like hardsubs, so RAVU will of course affect them. Use softsubs to avoid this.

As for why it rings, probably due to scaling in gamma light instead of sigmoid. bjin has plans to improve this

Those are softsubs. I think RAVU has a bright future!

user, if they were softsubs, then a shader that operates on the image would not affect them.

Damn RAVU is nice

please post config

>a shader that operates on the image would not affect them
Why? It was always like that for me in mpv. I use standard sub settings. Those subs are regular horriblesubs subs.

depends on your "--blend-subtitles" setting

I use default settings. Maybe shnichiro changed defaults for subs?

SMplayer?

Never mind me, i`m retarded :^)

Disregard those i`m an idiot.

What's the difference between all these different ravu versions (r2, r3, r4) and what difference is there between the normal file, -native and -all? I assume -all means ravu is used for chroma and luma?

it's just RAVU...

github.com/bjin/mpv-prescalers/blob/master/README.md

so it's just
opengl-shader="~~/shaders/ravu-r2-all.hook"


without scale, cscale etc?

scale/cscale has nothing to do with it

and the one I'm using is gather/ravu-r4.glsl

I wonder how good is RAVU for chroma...

Could you explain the difference? I have a hard time understanding this shit even though I looked into the manual

The way I understand it:
You have a 720p video and you're watching it on a 1080p screen. cscale upscales it with ewa_lanczossharp for example. what's the difference compared to ravu-r4.glsl?

Just noticed that when I'm using I seem to be using bilinear scale even though I have it set to lanczos in my config, is this normal?

>when I'm using ravu

Probably in 1-3 months. Enjoy ur wait

Dude, just use profile=opengl-hq + opengl-shader="~~/shaders/ravu-r3-native.hook"

Or you can try r3/r4 from "gather" folder. They like 50% faster but need somewhat recent GPU.

...

Because you have direct 2X upscale, probably. Try different video with different scaling factor.

Left one is with nothing and the right one it with:
opengl-shader="~~/shaders/adaptive-sharpen-2pass.glsl"
opengl-shader="~~/shaders/LumaSharpenHook.glsl"
opengl-shader="~~/shaders/SSimSuperRes.glsl"
opengl-shader="~~/shaders/FineSharp.glsl"


I don't know if it makes sense to run so many sharpeners at the same time but the difference is for real and far from placebo. I think it looks way better.

Why do you even need his build?

Oh thanks, that's a good feature.

Is there any reason to use lanczsossharp for chroma upscaling with ravu?

Do yourself a favor and remove everything but SSSR.
Just set cscale to ewa_lanczos and forget about it.

but why? I looks way sharper with everything on than just with SSSR

Because its retarded to have so many sharpeners at once. Sharper not = better. BUT if you like that mess then feel free to use it...

Stability

You think its any more stable than shinciro's? Youre wrong, man.

...

okay one last question. What's the difference between SSimSuperRes and ravu. Are they doing the same thing?

>I want new changes from git immediately but I also want my builds to be stable and not introduce breakage
hmm

No. RAVU also wants at its best with anime currently. With other things it can look like trash. SSSR works with everything. SSSR is your best bet if you dont wanna get into the placebo zone.

Great, thanks. I'll keep using my retarded quadro config, I got a sharpener fetish.

...

ctrl+f oversharp and increase the value

I still prefer my retard conf =)

>quadro
you know it won't do anything better than a regular geforce card in this use case right?

what? I called it quadro because I'm using four sharpeners at the same time lol