MPV - the Jow Forumsreatest media player

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

Manual:
Stable: mpv.io/manual/stable/
Git: mpv.io/manual/master/

User Scripts & Shaders:
github.com/mpv-player/mpv/wiki/User-Scripts

High quality video output profile (goes into mpv.conf):

profile=gpu-hq


Configuration Files:
mpv.io/manual/master/#configuration-files
mpv.io/manual/master/#files

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

Post your system specs and config if you're asking performance related questions.

Windows Builds:
sourceforge.net/projects/mpv-player-windows/files/

Evaluating mpv's upscaling algorithms:
artoriuz.github.io/mpv_upscaling.html

Attached: 1527674462087.png (586x314, 81K)

Other urls found in this thread:

github.com/ekisu/mpv-webm
github.com/TheAMM/mpv_thumbnail_script/issues/34
code.videolan.org/videolan/libplacebo
mpv.io/manual/master/#options-use-filedir-conf
mpv.io/manual/master/#options-sid
github.com/mpv-player/mpv/pull/6564
bpaste.net/raw/0cd50649153e
bpaste.net/raw/db134470565c
tanalin.com/en/articles/lossless-scaling/
twitter.com/NSFWRedditGif

I have this in my config file but it still doesn't change the subtitle font
sub-ass-force-style=FontName=OPENDYSLEXIC3-BOLD

Attached: 1532988756078.png (508x117, 7K)

Use the name of the font, not the name of the file. Viewing it usually gives you the correct name.

github.com/ekisu/mpv-webm
does the webm converter script use MPV's default hwdec settings for conversion? because I'd like to keep hwdec disables for mpv playback but enabled for webm conversion script to speed things up if possible.

is this doable?

I tried that first, no luck.

Attached: 1524514699205.jpg (927x816, 139K)

It shouldn't use your GPU. You wouldn't want that anyway. You gain speed but need a much bigger file to achieve the same quality.
Try getting it to work as the OSD font or something first, so you can be sure you've got the right name and shit. Try installing it and seeing what other programs name it.

it's already installed and it works fine in MPC-HC. no idea why MPV ignores it.

Attached: 1546238265439.png (646x497, 25K)

try setting sub-font=OpenDyslexic3

nice, it works!

Attached: 1551455162075.jpg (1480x1080, 368K)

Does this help with lysdexia?

contrary to popular belief and how it may seem, the word dyslexia is made in a way to not be able to confuse the mind of a dyslexic. But yes, the font helps.

Neat

Does FSRCNNX also work for live action content?
Or it was trained for just anime?

ravu=anime
fsrcnnx=live action

FSRCNNX is better than RAVU on both though.

Stop shilling this shit. It will never be better than VLC.

But VLC is going to use mpv...

Anyone else having problems with the thumbnail script crashing with auto generation turned on and going to next/prev file in a playlist?
mpv_thumbnail_script_client_osc:
mpv_thumbnail_script_client_osc: stack traceback:
mpv_thumbnail_script_client_osc: mp.defaults:365: in function 'handler'
mpv_thumbnail_script_client_osc: mp.defaults:459: in function 'call_event_handlers'
mpv_thumbnail_script_client_osc: mp.defaults:493: in function 'dispatch_events'
mpv_thumbnail_script_client_osc: mp.defaults:452: in function
mpv_thumbnail_script_client_osc: [C]: at 0x010de030
mpv_thumbnail_script_client_osc: [C]: at 0x010dd680
mpv_thumbnail_script_client_osc: Lua error: ...\Roaming/mpv/scripts/mpv_thumbnail_script_client_osc.lua:1080: attempt to compare nil with number

The problem seems to be with the duration not being set.
I tried fixing it by commenting out lines 1080 and 1082 to just have it always treat as true but then I get the same error as this github.com/TheAMM/mpv_thumbnail_script/issues/34

The script still works if used manually and the error on line 1080 seems to be caused by the duration not being set so I'm gonna guess the script executes before mpv actually knows the duration and that just fucks it.

good movie, shitty font

so sry for your disease pal

>This.

also fuck off foozoor

mpv doesn't properly support eia_608 subtitles. I wonder if the algorithm from ccextractor can be incorporated into it.

Attached: fudd.jpg (256x256, 26K)

Source? I don't disbelieve you, just couldn't find info

There is nothing about it on the VLC development mailing list.
It's more likely people will port IINA to Windows/Linux than replace the core of VLC with mpv.

VLC hired a prominent mpv Dev to create Libplacebo.
>libplacebois essentially the core rendering algorithms and ideas ofmpvturned into a library

Once this is finished VLC will effectively run on top of mpv

Ah, so baseless speculation, got it

code.videolan.org/videolan/libplacebo

>baseless speculation

Attached: d33.jpg (200x219, 10K)

Attached: 1435353724121.jpg (800x800, 299K)

mpv = must pwn vlctards

How can I make mpv prefer [eng] English subs over [eng] Signs/Songs?

Have you tried the basic:
slang=eng,en,enUS,en-US,English

Also, we need the OP's post to link to mpv IRC channel for people needing help.

profile=gpu-opengl

>gpu-opengl

Which one provides better quality in live action content?(don't care about performance).
KrigBilateral or ravu_r4?

Yeah, doesn't work. It just selects the first english subtitles, which is "signs/songs" in this case.

--slang uses the language tags, it doesn't use the subtitle tracks name. There is no simple way of doing this for everything, really. Your best bet is a script, but you can set use-filedir-conf in your main config file, and make a mpv.conf file with sid=x in the directory of the files you're playing.
mpv.io/manual/master/#options-use-filedir-conf
mpv.io/manual/master/#options-sid
There's a link in the OP comparing scalers.

How do I activate dithering in mpv, like this?:
dither-depth=8
dither=fruit
dither-size-fruit=6
temporal-dither
temporal-dither-period=1

Is that right?

What do I need to do to be able to toggle between audio devices?

profile=gpu-hq already sets dither depth to auto, and you should change it only if it improperly detects your device. The rest of your list are preferences, with temporal dither being very questionable.
What OS?

>What OS?
Windows. I want to be able to toggle between the following: 'wasapi/{0e3bed2c-b604-452e-becf-1d08d6bf66d1}' (Realtek Digital Output(Optical) (Realtek High Definition Audio))
and
'wasapi/{cbc14e7a-5a5e-471f-b49f-240144060090}' (AMD HDMI Output (AMD High Definition Audio Device))

Try cycle-values audio-device "wasapi/{0e3bed2c-b604-452e-becf-1d08d6bf66d1}" "wasapi/{cbc14e7a-5a5e-471f-b49f-240144060090}".

Works like a charm! Thanks!

Attached: 1527331260775.jpg (425x425, 10K)

Is it possible to use auto-profiles.lua to enable a profile when it's 720p+, but not more than 50fps? I can set a profile for one or the other, but not both at the same time.
profile-desc=cond:get("height", 720) > 720
profile-desc=cond:get("container-fps", 50) < 50
These are the triggers for the two different profiles, how do I combine these?

Have you tried making the first one's conditions require both height >=720 and FPS

cond:get("height", 720) > 720 and cond:get("container-fps", 50) < 50

I've tried yes, but I don't know how. I've tried
profile-desc=cond:(get("height", 720) > 720) AND (get("container-fps", 50) < 50)
profile-desc=(cond:get("height", 720) > 720) AND (cond:get("container-fps", 50) < 50)
And a few others, but it either just doesn't trigger at all, or it fails.

That doesn't trigger on 720p+.

and is lowercase

After looking at it closely the lines look really strange, but I'm no expert myself. Try profile-desc=cond:get('container-fps', 0) =720

Attached: 1385178563112.png (1265x2717, 915K)

That seems to trigger always.

this seems to be working for me
profile-desc=cond:get("height", 0) > 720 and get("container-fps", math.huge) < 50

Yes, that works! No idea why that works, while similar things don't, whatever. Thanks.

MRT support when?
I want to use FSRCNNX_x2_56-16-4-1 in real time.

Strange, when comparing height, = don't work, but they do for FPS.

Was this github.com/mpv-player/mpv/pull/6564 added already?

I tried using it with the last shinchiro build:
dither-depth=10 (sony x800d 4k tv)
dither=error-diffusion
error-diffusion=floyd-steinberg

How do I know it's working?
The log doesn't say anything about it.

no it wasn't

Attached: file.png (78x38, 1K)

Ok thanks user.

haasnterpolation is coming soon right?

Is there a way to make mpv always do temporal scaling?

I stuck this in my config file yet nothing happens. What am I doing wrong?
mpv appears to load the shader fine, if I change the filename to an invalid one it complains it can't find it, but this is playing in real time and my hardware load is still mostly idle while the video plays. I don't spot any visual difference, so I doubt it's working.

# Testing fun scalers
glsl-shaders="~~/shaders/FSRCNNX_x2_56-16-4-1.glsl"

press shift+i and then "2" to see if a shader is working

>no it wasn't
JEEEEEEEEEEEEEEEEEEEEEEEEEEEB

Nothing about the shader.

Attached: test.jpg (1920x1080, 304K)

what's your source video? post screen 1

>[Kagura] Urusei Yatsura - 071 [BDRip 1280x960 x264 Hi10P FLAC].mkv
mediainfo -f of the file: bpaste.net/raw/0cd50649153e

My mpv.conf for good measure:
bpaste.net/raw/db134470565c

Attached: test2.jpg (1920x1080, 203K)

>1280x960
What kind of weirdass resolution is this? If I remember right, FSRCNNX is a doubler so it won't do anything assuming your screen is 1080p.

i thought it didnt do anything if it was > 720p

>cscale=ewa_lanczossharp # Appears to be the best.
KrigBilateral is the best.

And this It won't work unless you get a 1440p or 4k monitor.

Is it normal that SSSR seems to do a better job of handling ringing than either RAVU or FSRCNNX?

Does FSRCNNX work on 720p with 1080p monitors? I honestly don't know. I thought it doubled so it had to be at least 1440p.

The blu-ray master is a mess and the encoder reverse upscaled it apparently.
Oh, I see I'm retarded now. I just played the file again with ' --vf-pre=scale=960:-1:bilinear' and the shader kicks in.
Thanks lads.

Which one do I pick if I want to upscale anything below 1080p to 1080p then?

But the video in isn't 720p, it's 960p.
That's why FSRCNNX isn't working.

Yeah I know that. But I thought it didn't work on 720p -> 1080p either.

Nevermind, I'm a fucking retard and forgot to include all the pixels. Now I get it.

Why hasn't no one added integer scaling to mpv.
1080p would look sharp as fuck in 4k as well as 720p (720*3=2160p).
AMD is supposedly adding a GPU based integer scaling by the next feature release( by the end of the year).
White paper:
tanalin.com/en/articles/lossless-scaling/

Attached: g in a nutshell.png (1098x265, 73K)

You mean nearest neighbor?
Every non-shit software allows you to do it.

So you are saying that if use --scale=nearest a 1080p will look sharp when scaled to 4k?

Yes.
Make sure you do the same with the chroma (--cscale=nearest) or the chroma is likely still being upscaled with something else.

You don't actually want nearest neighbor scaling on a 1080p or 720p image to 4k. It doesn't take advantage of the increased DPI and keeps the image looking the same as a 1080p or 720p. Upscaling with fancy algorithms is better and causes the picture to look better than the resolution it actually is.

>t. actually owns a 4k monitor

>KrigBilateral

performance is trash when downscaling you're warned

>tfw gpulet and can't even run Krig while upscaling

You don't even know what it means.

>performance is trash
Not when using vulkan or d3d11.

Hacking ffmpeg. I like that mpv takes seconds to rebuild against ffmpeg to test changes

Attached: Dead.Calm.1989.720p.BluRay-[10.11.319-10.22.246].webm (1280x532, 2.99M)

Nobody on Jow Forums actually runs windows, right?

Doubt it, most people run OpenBSD

Me ;^))

You can use vulkan on linux

I do

Attached: 1455152159419.jpg (907x718, 53K)

Can someone explain why when I drop a bunch of audio file into mpv it doesn't auto play the next file in the list?

It's profile=opengl-hq
and is it better than profile=gpu-hq?

>I drop a bunch of audio file
Try $ mpv * on command line or wherever your audio files are.

still trash

hold shift while you drag
or drag the entire folder

opengl-hq was deprecated sometime ago when vulkan and d3d11 were introduced to the mpv pipeline.
Use:
profile=gpu-hq

Still better than ravu or any ewa scaler when it comes to quality.

>drag
>gui
>windows
Imagine not even seeing decoding errors because you refuse to use mpv in console like a normal person.

Attached: 1429868198111.jpg (1008x716, 311K)

never doubt that shit so enjoy your 1000$ gpu

>console
>normal person

look at this asocial autist nerd boys

this is windows, mpv just stops once the file finishes playing