/mpv/ weekend thread

Downloads
mpv.io/installation/

Manual
mpv.io/manual/master/

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

FAQ
github.com/mpv-player/mpv/wiki/FAQ

User Scripts
github.com/mpv-player/mpv/wiki/User-Scripts

Stuff to do
github.com/mpv-player/mpv/wiki/Stuff-to-do

Attached: mpv-screenshot-34cd36ae.jpg (999x628, 152K)

Other urls found in this thread:

add0n.com/send-to.html?from=mpv
pastebin.com/Y2beCMSe
github.com/mpv-player/mpv/commit/2f6144c74b90fe8e8fae556ea8c2d28b98f0acd2#diff-5d10e79e2d65d30d34f98349f4ed08e4
github.com/mpv-player/mpv/commit/edbe25f38a2d5867dec066288cb61adf6191f327
github.com/mpv-player/mpv/pull/6158
github.com/jgreco/mpv-pdf
github.com/mpv-player/mpv/issues/6172
dl.dropboxusercontent.com/s/090fnw0w1f4zpot/shaders.7z
twitter.com/NSFWRedditVideo

Baste

how to make mpv use pulseaudio's volume mixer?

bumping for info

will wm4s changes ever get merged?

--ao-volume

maybe when weebfaggots stop polluting his code

Why mpv+yuotube-dl is slow on windows? mpc-hc+youtube-dl is much faster.

Probably because of cache settings

Probably cache settings have nothing to do with that, it just fucking slow. mpv with the same settings works fine on linux.

What is your ytdl-format set to? I've noticed that youtube will serve the unified video/audio streams to you MUCH faster than they serve the split video and audio streams.

e.g 22 is much faster than 136+140

bestvideo+bestaudio format. I don't know which format was used with mpc-hc and I can't check right now but I think it's irrelevant, because again the same format works fine on linux.
Maybe it's because they use Schannel on windows?

thanks!

yesterday I found out that I can paste live stream urls from porn websites into mpv and split screen outside of my browser for full multicast experience. I don't know how it works but I like it. can I do the same with twitch live streams? I tried with a twitch live yesterday but mpv just closed after I pasted the link. do I need a custom script or something?

you probably need something like acestreamer or livestreamer for that

livestreamer with -p mpv to forward it to mpv

What are you guys even talking about? mpv+youtube-dl handles twitch just fine for me.

yeah I just dropped youtube-dl.exe into my mpv directory and now it works like a charm. I also installed send-to-mpv extension and now I can just right click on a videon and send to mpv or just open the link and click the extension button to embed into mpv. you just have to add a bunch of lines into the registry if you are using windows, they offer a bat for that
>add0n.com/send-to.html?from=mpv

Why do I get frame drops with video-sync=display-resample?

My config's like a year old. It's just kind of thrown together from a couple I've seen. I really like its OSD settings. I think it might be missing a couple quality settings.

Thinking of updating mpv and the config. I'd like to add some basic scaling stuff that would benefit not so much anime, rather old film based movies and tv shows and misc kino. Please take a look and tell me anything I should change or add. Let me know if you see any commands they changed the name of again.

pastebin.com/Y2beCMSe

Attached: 1508696830327.jpg (514x367, 139K)

You havent updated mpv in a year? Definitely update. A lot has improved.
Since your on windows try gpu-api=d3d11
gpu-context=d3d11
hwdec=d3d11va instead of dxinterop

Is mpv and ytdl up-to-date?
I like to use force-window=immediate to know when it's being loaded.

Isn't mpv finished by now as a video player? why do they keep pushing commits and shit?

Attached: 1542419124946s.jpg (250x157, 5K)

>technology never changes
>software can never be improved
>complacency is good

Is 2400G's APU enough to handle mpv (1080 and 720 -> 1440 upscaling)? Currently on incel HD and it works like shit.

My intel hd530 handles 1080p and 720p to 1440, with gpu-hq, display-sync and interpolation.

picrel is what I use on my 4790k, i believe it's hd 4600 or something
and commented config was the one I used to have on my windows machine with gtx 1070

Attached: 1515776398316.png (590x603, 63K)

try switching to a different windows build
one of them had some bug with TLS
>[extension.webm]
>rest of config
it doesn't even work like that

>one of them had some bug with TLS
Then why mpc-hc+youtube-dl works fine? It looks like mpc-hc also uses Schannel (from LAVFilters build scripts).

I’m sorry for doubting you mpv bros
Now that the GUI is in it I can actually use it. I have tons of 4K media that I’ve been playing through VLC on my tv and after a few days of mpv with the high quality gpu decoding and sharpness autism I can honestly say I will never go back. the porn looked so good it’s like I was there, the movies looked awesome and it had none of that screwy shit where it occasionally smears the whole screen on high bitrates
Downside: I can hear my GPU fan going HAM while watching but small price to pay

>Now that the GUI is in it
?

What script do you use to download subs?

That bar at the bottom with seek and subtitle control and playpause and Audi track selector? It wasn’t always there. When I first tried mpv it would play your video and show nothing on screen EVERYTHING ELSE WAS KEYBINDS. Want to change subs? Look up the keybind. Want to change audio track? Another keybind. It was stupid. Really stupid.

Ok, this is with lachs0r build only, shinchiro builds (at least latest) don't have that problem.

It's had that gui for 4+ years

And I’ve been using the internet for far longer? What’s your point. The last time I used mpv it had no GUI

They added it in 2016 with 0.21.0

Attached: image.jpg (640x458, 176K)

github.com/mpv-player/mpv/commit/2f6144c74b90fe8e8fae556ea8c2d28b98f0acd2#diff-5d10e79e2d65d30d34f98349f4ed08e4
I'm sure you can find an even older commit if you bother looking before the rename

What more should I use for anime?

Attached: conf.png (413x366, 29K)

sigmoid-upscaling=yes

But /mpv/ told me it was garbage.

remove all that shit and put profile=gpu-hq

i remember someone frequently complaining about this, it finally got merged

github.com/mpv-player/mpv/commit/edbe25f38a2d5867dec066288cb61adf6191f327

>This makes the default fit on screen, autofit and window-scale changing behavior to use the screen working area, instead of the whole screen area.

>As a result mpv window doesn't cover the taskbar now when opening videos with size larger than the screen size.

>github.com/mpv-player/mpv/pull/6158
When?

does mpv play iso files?

yes
I remember having a dvd iso and was able to play it

thanks satan

mpv plays PDFs now, how can vlc even compete???

github.com/jgreco/mpv-pdf

Attached: 1oy4gf.jpg (640x400, 38K)

wew lad

>doesn't support searching
trash

not currently but it will.

when did mpv start kicking mpchc's ass and why did it appear when it did?

how does osd work?
I found this
osd-status-msg='${filename}\n${time-pos} / ${duration}${?percent-pos: (${percent-pos}%)}\n${?frame-drop-count:${!frame-drop-count==0: Dropped: ${frame-drop- count}}}\n${?chapter:Chapter: ${chapter}}'

but it only seems to show the duration and %
also "O" is supposed to cycle between osd level 1, 3 and none, but it only shows duration (which i guess is level 1?)

Is there another way to show the playlist that displays the text for longer than this?
MBTN_FORWARD script-message osc-playlist

I also tried MBTN_FORWARD show-text "${playlist}" but the font size gets messed up

MBTN_FORWARD show-text "${playlist}" 3000

Attached: thanks.jpg (199x260, 28K)

Can anyone tell me which GPU I should get for a HTPC? I play all my content from downloads, remuxes, etc using mpv. Might use it to transcode for plex a little while I'm away from home. No netflix >1080p. Looking to use it for 10bit/HDR/4k so need something compatible with all that.

I saw a few people recommending the 1030 passive cooled but I heard a few more saying that it doesn't support encoding only decoding?

why the fuck would you do this

pretty cool though, innit?

mpv text editor when???

Opinions on sphinx tscale?

you just reminded me that i had it enabled. i don't see any difference to mitchell.

Did you enable it like in that post on github?

tscale=box
tscale-window=sphinx
tscale-radius=1.0
tscale-clamp=0.0 is much smoother than overscale with defaults for me, with only a tiny bit more (tunable) blur.

What DE haasn uses with his gentoo?

>software can never be improved
The last 10 years or so have shown that it can get much worse.

What did he even change that is worth pulling?

removing more crap

>force-window=immediate

Attached: benis.png (112x112, 38K)

Everything.

>10bit/HDR/4k
1050ti, 1080ti and above are your only choices there
1030 will also do it, but it doesnt do encoding as you've been told
i dont know about the amd/intel gpus
>t. researched for the past year after getting a 10bit 4k monitor

based and repilled

Looks like shit.

thank you shinchiro

Attached: update.png (1347x100, 18K)

Did anyone submit this bug to nvidia? Is there anywhere to track it? I can't use vulkan because of this :(
github.com/mpv-player/mpv/issues/6172

can you decode av1 with libdav1d now?

if ffmpeg can than yes

dav1d fedora package when

scale-clamp=0.2

do scripts even work on windows? i've never gotten them too

depends which ones your trying to use

mostly the ones like blackbox and the rest from videoplayercode

I've never used that one. But it looks like it should work on windows as long as you have lua and js support. Most scripts will work on windows btw. It will usually tell you if it doesn't.

Absolute mpv noob here, can someone tell me how to add libraries(specifically libcac) to mpv? Thanks!

Attached: jtpL8.jpg (960x635, 159K)

Anybody have any suggested downscaling settings? Specifically for 4K HDR Content?
SSIMDownScaler seems to be having some artifacts recently, even with dscale=gaussian or mitchell (like IGV recommends)

Setting fbo-format=rgba16f still produces errors but fbo-format=rgba32f has extreme errors, although I doubt rgba32f is recommended, here are some examples

Sorry if there is compression I had to crop it quite a bit

Attached: Blade Runner 2049 Sample Comp.png (1604x2050, 3.73M)

You'll have to build it from source to do that.

Are you using correct-downscaling

Yes, same effect with it off, and these on/off too
sigmoid-upscaling=yes
linear-upscaling=yes
linear-downscaling=yes

Have you tried a different gpu-api and gpu-context?

Not recently, with my extensive testing i have had the best performance and compatibility with these
profile=gpu-hq
vo=gpu
hwdec=no

gpu-api=opengl
gpu-context=dxinterop


vd-lavc-dr=yes
vd-lavc-threads=0
ad-lavc-threads=0

opengl-pbo=yes


I have a i7 3930k @4.3GHz, GTX 980SC (Non TI)
Vulkan has been hit and miss for me, sometimes the drivers don't install the redist, and d3d11 spits out a bunch of shader errors

>wayland is finally the default context now
Thank the heavens.

Which windows os? d3d11 is the best, but try gpu-context=win or gpu-context=angle

Please rate my config and bully away any mistakes.

Attached: 1542599231-151638114_scrot.png (956x1056, 83K)

deband=yes is included in gpu-hq

Latest Windows 10, latest Nvidia drivers

>vaapi as a fallback
Is there a reason for this?

Nope. I was playing with VOs at some point trying to make 4k h265/vp9 play in real time for me because I get gpu-bottlenecked (integrated intel-aviv) and one of the options was the vaapi VO. I only bothered removing it from the config now.
When I play back 4k I just use --gpu-dumb-mode=yes instead.

This is my profile as it stands, other than SSIMDownScaler it is flawless on my system, 4k60fps 10-Bit HDR at 3440x1440 plays with 0 dropped frames

I like to experiment with the Test Shader Profile, it can give a nice sharpness boost with out overdoing it in my opinion, again flawless playback even with all enabled

Latest Windows 10
i7 3930k @4.3GHz
GTX 980SC Latest Drivers
16GB 2133MHz Ram
3440x1440 LG 34uc87m-B 10-bit (Bit depth set even with no Quadro card, only works for MadVR)

profile=gpu-hq
vo=gpu
hwdec=no

gpu-api=opengl
gpu-context=dxinterop

vd-lavc-dr=yes
vd-lavc-threads=0
ad-lavc-threads=0

opengl-pbo=yes

video-sync=display-resample
interpolation=yes
framedrop=vo

tscale=box
tscale-window=sphinx
tscale-radius=1.0
tscale-clamp=0.0
blend-subtitles=no

scale=ewa_lanczossharp
cscale=ewa_ginseng
dscale=gaussian

correct-downscaling=yes
sigmoid-upscaling=yes
linear-upscaling=yes
linear-downscaling=yes

# fbo-format=rgba16f
fbo-format=rgba32f

glsl-shaders="~~/shaders/SSIMDownscaler.glsl"

###############
# Test Profile
# glsl-shaders="~~/shaders/KrigBilateral.glsl"
# glsl-shaders-add="~~/shaders/SSIMSuperRes.glsl"
# glsl-shaders-add="~~/shaders/SSIMDownscaler.glsl"
# glsl-shaders-add="~~/shaders/adaptive-sharpen.glsl"
# glsl-shaders-add="~~/shaders/LumaSharpenHook.glsl"
# glsl-shaders-add="~~/shaders/noise/Noise24.glsl"
###############

dither-depth=auto
dither=fruit
dither-size-fruit=4
temporal-dither=yes

deband=yes
deband-grain=12
deband-iterations=2
deband-range=12
deband-threshold=64

use-embedded-icc-profile=yes
icc-profile-auto=yes
target-prim=bt.709
target-trc=srgb
icc-3dlut-size=256x256x256
icc-contrast=100000
icc-intent=0

video-output-levels=full
gamma-auto=yes

tone-mapping=hable
hdr-compute-peak=yes
tone-mapping-desaturate=0

Here are all the shaders I use
dl.dropboxusercontent.com/s/090fnw0w1f4zpot/shaders.7z

Put shaders folder next to mpv.exe