/mpv/ - the Sup 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:
Stable Portable: mpv.srsfckn.biz/
Stable Installer: rorgoroth.bitbucket.io/
Git Portable: sourceforge.net/projects/mpv-player-windows/files/
Git Installer: rorgoroth.bitbucket.io/
Vapoursynth: jenkins.maeyanie.com/job/mpv/

Attached: 1521377840647.png (5000x5000, 444K)

Other urls found in this thread:

iamscum.wordpress.com/guides/videoplayback-guide/mpv-conf/
twitter.com/NSFWRedditImage

I'd just like to say that OSC vidscale=no should be default behavior.

I agree

>open 6ch movie
>host pc audio setup is 2 channels
>add audio-channels=stereio to config file
>movie gets silent as fuck because mpv can't downmix properly in 2018 and you need to increase volume to like 150%
what a MESS guys

Attached: 1518188539404.jpg (618x597, 144K)

Have you fags made any script yet? I don't know shit about lua/javascript, but I'm willing to learn it just to mess around with mpv.

>2018
>stereio
XD

Damn, this thread is really dead, huh?

Anyway, I decide to start looking for some simple lua scripts myself to see what I can learn from them, and as far as the language goes it's pretty straightforward, but I just want to make one thing clear regarding the execution of functions. The documentation states: "Your script will be loaded by the player at program start from the scripts configuration subdirectory... Your script is first run "as is", and once that is done, the event loop is entered". Using the script bellow as an example, does that mean that the 'set_loop' function will be called twice, once the script is first run "as is" and then again when the 'file-loaded' event is fired? Not that knowing this changes things drastically, I just want to know what are the possibilities here.

-- Automatically set loop-file=inf for duration < given length. Default is 5s
-- Use script-opts=autoloop-duration=x in mpv.conf to set your preferred length

local autoloop_duration = 300

function getOption()
local opt = mp.get_opt("autoloop-duration")
if (opt ~= nil) then
local test = tonumber(opt)
if (test ~= nil) then
autoloop_duration = test
end
end
end
getOption()

local was_loop = mp.get_property_native("loop-file")

function set_loop()
local duration = mp.get_property_native("duration")
if duration ~= nil then
if duration < autoloop_duration + 0.001 then
mp.command("set loop-file inf")
else
mp.set_property_native("loop-file", was_loop)
end
else
mp.set_property_native("loop-file", was_loop)
end
end

mp.register_event("file-loaded", set_loop)

>stereio

found your problem

hey to be fair practically all TV anime is stereo

Only when the event file-loaded is triggered. You don't run the function anywhere else.

is ffplay better than mpv?

Attached: 1521438411869.png (810x793, 576K)

That's like asking if WordPad is better than Word.

Is WordPad better than Word though?

saving this for OP

Oh you're right, I just tested it using mp.osd_message and apparently when you register a function mpv doesn't run it at the startup of the script like it does with all the other functions.
Speaking of testing, I'm using mp.osd_message to sorta 'debug' my script and show the value of variables and function return calls, is this the best way to go about this?

I tried madvr and mpv HDR->SDR tonemapping

Attached: mpc.png (1920x1080, 3.01M)

Attached: mpv.png (1920x1080, 2.33M)

I think something went wrong for mpc because it's too washed but that's what they both look like out the box.

Someone help me with --video-sync=display-resample, and --interpolation. Should I use the former? I can't tell a different, but it makes frames drop sometimes, so it's costly. But with interpolation, panning shots look great, no jitter. But I fear that it's not representative of the original video, that it modifies it too much.

MadVR is GUI based, you have to click the Apply button.

You can use print() if you open mpv with a console

There's no option for CLI? What's wrong with mentally diseased Windows devs?

No user cli, there is an API for devs.

Windows was created to be used with one finger, so the devs created one-finger programs called GUI.

Post a screenshot of your madVR config...
Are you sure that you use madVR with mpc?

how to add support of vtt subtitles?

It isn't, and both are shit

mp.msg.verbose()

Don't "normalize" downmix. There are two settings for that, mpv's own downmix and codec downmix. Enlighten yourself with the manual.

They work.

use MPC-BE not MPC-HC

they aren't working. says no subtitles available

Don't use MPC-BE, it's just a stupid MPC-HC clone... Use PotPlayer Stable with madVR or mpv with autoprofile, autospeedwin and your favorite glsl/hook shaders.

It's just insane how retarded are some people.
There are tons of mpv "noobs" guides on internet and a huge official manual but people are too retarded to use them.

Stop shitposting, mpv is the best and you can't prove the opposite. MadVR fags tried with NGU and stupid RCA without success.

Is the haasn's motion interpolation algo still on the roadmap or it was just to attract people on patreon?

The noobs guide:
iamscum.wordpress.com/guides/videoplayback-guide/mpv-conf/

post profiles, homos
keep-open=yes

gpu-context=winvk
gpu-api=vulkan

scale=nearest
glsl-shader="~~/FSRCNN_x2_r2_32-0-2.glsl"
sigmoid-upscaling=yes

cscale=sinc
cscale-window=blackman
cscale-radius=3

dscale=mitchell
correct-downscaling=yes

vd-lavc-dr=yes
video-sync=display-resample
interpolation=yes
tscale=oversample
blend-subtitles=yes
demuxer-mkv-subtitle-preroll

dither-depth=auto
deband=yes

You need both for perfect playback. Set tscale=oversample for the most close to the original interpolation.

Shit config.

Why is there two versions seem to be maintained now on the github - 0.27 and 0.28?

I don't see you posting, so I bet your config is shit

If I was to guess I'd say its something to do with ffmpeg versions.

At least he probably doesn't use nearest for scale and non X FSRCNN.

>scale=nearest
lol
>blackman3 cscale
meme
>blend-subtitles
meme
>deband=yes but no config for it
meme, by the time you notice banding the default settings will barely do anything
>vd-lavc-dr and vulkan
meme, d3d11 has comparable timings without dr on new cards
>32-0-2 fsrcnnx glsl
0-2 is a meme, just go down to 24 senpai

Why not the superior madVR NGU for chroma and luma upscaling?
It's d3d9 based and has much better timings and results.

The player (MPC) is shit, takes years to go in and out of fullscreen and seeking is slow as shit. Even VLC 3.0 is better on the fullscreen part. And no, not really for timings, and as far as results go it's marginally better than FSRCNNX-24 which isn't worth a far inferior player when it comes to the above, subtitle rendering and taking screenshots.

You either disabled vtt then, or are using libav instead of FFmpeg. mpv with libav subtitle support is nonexistent.

What does mpv stand for?

good question

What the fuck is up with mpv's screenshot function? left is an mpv screenshot and right is a printscreen. Where the fuck do all the colors go?

Attached: comparison.jpg (6392x1615, 744K)

use newer git master build.

>you have to configure it MPC+MadVR manually instead of it just working
sounds like a video player for autists desu

Is mpv decent on Windows? How does hardware acceleration work (on Linux I use vdpau)?

even better than in Linux

So what driver do I use?

hwdec=auto

should pick d3d11va with the default gpu-api=d3d11

How do I update mpv on windows without fucking everything up? I'm using the Git portable version.
Do I extract the new version inside that same folder and replace the files or just delete the old one and run the mpv-install file again and then reconfigure everything?

Attached: 148538593356.jpg (500x377, 32K)

just run the updater script

From the old folder? So I don't need to manually update it? That makes sense I'm a fucking retard.

>From the old folder?
Absolutely, this one

Attached: Capture.png (125x133, 3K)

>stream 4k video sourced from youtube
>constant buffering and taking forever
>play the same 4k video in browser
>no buffering and plays consistently
explain what's wrong here

Your configuration.

I haven't touched the configuration, why should I if it's supposed to just werk out of the box?

on a scale of 1 to chromium, what kind of rig do i need to compile mpv?

Yes, directshow is fully retarded.

it can be a problem with cache settings or youtube-dl

Mpv is an advanced player with really decent default settings compared to chromium/firefox ones.
People with shitty CPU and pajeet internet connection should change the mpv defaults.
Don't forget most of mpv devs are German or American with proper hardware.

okay, well I'm using 2018.03.14 for youtube-dl and I'll give the following settings a go
cache-default=20480
cache-initial=9216
I'm in america with gigabit internet speeds, my hardware is no slouch either.

What about your CPU?
Why not enabling hwdec in mpv.conf?

try perhaps with default cache settings

i7-4770k @4GHz, I do have hardware decode enabled among other settings that shouldn't affect playback too heavily.
I was using default settings before and get told to change it. Which is it?

USA destroyed internet neutrality, you are probably considered as suspicious and they slowdown your connection. ;)

just use what works for you

okay, I'm gonna stop using mpv because it doesn't work.

goodbye then

Does youtube-dl work alone?
Could you post a screenshot of mpv with stats.lua on when launching this video?

>I haven't touched the configuration, why should I if it's supposed to just werk out of the box?
Nah bruvva, you've landed in the wrong thread.
If you want everything out-of-the box use windows media player. use this mpv if you want gentoo-tier bugs & configs

meme player 5

interpolation doesn't even work without display-resample. If you think it did, you fell for the placebo effect.

Is this a good config?
I mainly watch chinese cartoons, and I have a decent pc to throw some heavier settings at if they're noticable enough.

#Video
profile=opengl-hq
scale=ewa_lanczossharp
cscale=lanczossharp
tscale=oversample
interpolation
video-sync=display-resample

Depending on your version you might need to change opengl-hq to gpu-hq.
Also, I tend to fine that oversample isn't good enough for anime, so try something different like triangle or catmull_rom.

scale=ewa_lanczossharp
cscale=lanczossharp

Is this necessary or is it just placebo?

I have something to share with arch users.

I tried to install mpv-full (with all possible libs) but it fucked up everything by installing ffmpeg-git over ffmpeg and moc and everything didn't have ffmpeg anymore
If you're on arch and face this issue:
>yaourt (or pacman) -Rdd ffmepg-git
>yaourt (or pacman) -Rcs mpv-full
>yaourt (or pacman) -S ffmpeg-full
>yaourt (or pacman) -S mpv
Meh
I wanted to share that, don't trust this package, it mess up after one hour of install
So i'm back to the vanilla one. I will lurk here now, i need to learn how to config it without installing extra-packages.

I'll try that then, thanks.

just use mpv-build-git

There is a real difference ?

it uses the most recent ffmpeg version for mpv without overwriting the one on your system

>You need both for perfect playback
But interpolated frames don't exist in the source, so they're not true to how the video should be shown

Oh ok. I will do that.
But one last question, i don't have a mpv.conf in /.config, do i have to create one by myself ?

upscaling video is interpolating data that doesn't exist in the source too

lmao you deleted your comment to fix one typo, when you still have a couple left.

>to fix one typo
Not really, i've forgotten to quote user in the first one, but for the errors, i'm not anglo and still learning, so don't bully please.
If you can answer to my question it would be nice too.

Yes, you create mpv.conf and input.conf with a text editor.

Stutters don't exist in the source too. Also what other user said.

I think maybe you confuse frame mismatch stutters with native anime choppiness? Either way youre right in configuring things according to your taste.

Scaling and interpolation are literally two different things

Is there a way to speed up the download cache when playing a youtube video ?
Can't watch 4k without waiting an eternity.
I know it's huge files, but maybe there is a good option for that.

>is there a way to make my internet faster
Yes, yes there is.

I'm the same user that asked a few hours ago how to update mpv.
I'm getting this error. I've tried it a bunch of times and still get the same error, internet works fine.
Google didn't help a bit.

Attached: mpv updater timeout.png (1366x768, 122K)