/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/

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

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


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

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

Other urls found in this thread:

github.com/dragons4life/MPC-HC-config-for-MPV/blob/master/input.conf
smtebooks.com/book/6113/programming-lua-4th-edition-pdf
github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua
github.com/mpv-player/mpv/issues/3659
github.com/mpv-player/mpv#release-cycle
github.com/mpv-player/mpv/blob/master/DOCS/release-policy.md#release-policy
github.com/mpv-player/mpv/wiki/User-Scripts#pixel-shaders
diff.pics/Nn01jOszfAMq/1
pastebin.com/nsBQvXzC
pastebin.com/yxFkjCBe
github.com/donmaiq/mpv-nextfile
github.com/mpv-player/mpv/blob/master/TOOLS/lua/ontop-playback.lua
sourceforge.net/projects/mpv-player-windows/files/64bit/
twitter.com/NSFWRedditVideo

Even MPC-HC devs switch to mpv, why wouldn't you?

Ok so this might sound weird but what are some really nice stuff to have in your config that isn't related to video/audio/subtitles?

Like, quality-of-life stuff pretty much. Also what are some scripts that I should get?

But i did!

The problem isn't the video sync. It's that he's using Angle. Remove that shit and use regular OpenGL or DXInterop and his problems will go away.

Wrong, angle is faster than other shit.

Wrong, it's slower and buggier on everything but Intel.

It depends

Not really. AMD and Nvidia both work badly with Angle. Or at least they did 6 months ago when I last had GPUs from both of them to test on.

Bullshit, it never worked badly on Nvidia.

i'm too dumb to compile mpv myself. Which repo has the newest mpv?

sourceforge

how do I nstall porn on this

>4k @ 60 fps lags like fucking hell on (((jewtube)))
>just werks with mpv

>mfw switched to mpv from mpc-hc+madVR+xysubfilter

How can I automatically play the next video in a folder?
How can I force mpv to keep the same window size and position when playing another video until I quit it?

I copy pasted this into input.conf but some commands don't work like the cycle border
github.com/dragons4life/MPC-HC-config-for-MPV/blob/master/input.conf

Should I learn lua?
smtebooks.com/book/6113/programming-lua-4th-edition-pdf

You either need a script for this or just drag multiple videos onto window.

how is mpcqt, does it just werk?

vlc user here, is mpv better?
Never used it, and vlc just werks. is there any pro that it has to vlc?
thanks

Is there a recommended place somewhere where I can find pre-made scripts?

Is ravu dead? Is it because the retarded apple fags with terribly limited opengl? Damn! Since when did they stop watching shorty itunes mp4?

yes, animu girls look 70% younger on mpv

Why does everyone care so much about configs?

Isn't mpv defaults already optimized for most scenarios?

I really can't understand why someone would spend so much time tweaking every single configuration option instead of just using the default, tested, simple default.

Actually, I would go as far as defend the idea that there shouldn't be any config file.
mpv should simplify itself and provide only 1 default that functions well and work from that.
Less code, less bugs, more focus.

Why isn't mpv loading my shaders?

This is my config:

profile=opengl-hq
opengl-backend=dxinterop

tscale=oversample
scale=ewa_lanczossharp
cscale=ewa_lanczossharp

interpolation=yes
temporal-dither=yes
video-sync=display-resample

no-border
no-taskbar-progress
autofit=1280x720

opengl-shaders="~~/shaders/SSimDownscaler.glsl, ~~/shaders/SSimSuperRes.glsl"

separated by ":" (";" on Windows) now.

Try:
opengl-shaders-append=~~/shaders/SSimDownscaler.glsl
opengl-shaders-append=~~/shaders/SSimSuperRes.glsl

I think this stuff changed recently.

This or

The default config is made to have the best compatibility but it's not the best for quality, that's why everyone care so much.

This is funny because it is true.

Do you mean shitty 80s animes looks more fancy with meme upscalers or just a pedo/shitpost?

That gave me a different error but still didn't work. Appreciate the help though.

This however did work, thank you so much.

I pasted this script in the mpv\scripts folder but it doesn't load the next video. What did I do wrong?
github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua

In the OP.

are they ever going to change the ugly ass logo? it's the most disgustingly ugly logo ever, even fucking vlc is better.

";" works for me on Win.

wrong folder

You're right for the most part. mpv devs actually care about the defaults, so most options will be set to what the devs think are the best settings. The exceptions are options that are a trade-off between quality and performance or compatibility. For example, mpv uses bilinear scaling by default, which is not particularly good looking, but much faster than the other scalers on shitty integrated GPUs. If you set profile=opengl-hq, it will change a bunch of options to less-well-performing, less-compatible, but better-looking values, but even then, it won't enable things like the EWA scalers, because most people can't tell the difference between them and spline36, they need a lot more computing power, and when you get to high-quality scalers like that, things actually get pretty subjective, so it's hard to pick a default (eg. do you pick ewa_lanczossharp or ewa_lanczossoft?).

Is there a good picture to ass converter?

Maybe. I've heard some devs complain about the logo on IRC, so it's possible. The current logo definitely looks outdated. It was clearly made to fit in with trends in OS X app logos at the time, with the grain texture and faux-3d highlights.

I wish there was a profile opengl-vhq or something for maximum placebo ;___;

Apparently the subjectivity thing is why they won't add an opengl-vhq:
github.com/mpv-player/mpv/issues/3659

I wouldn't mind one though, if it had stuff like scale=ewa_lanczos and video-sync=display-resample in it.

Hope they will not fall for the flat or material design memes!

That explains a bit, thank you.
I'll just keep using the default. I trust the developers to options that are the best trade-off.
If I had a really powerful computer I could look into other options for worse performance / better quality.
But in a limited notebook... let's keep things as they are.

I still think there are far too many people who care about config options that would be much better by keeping the defaults.
Fuck, there are clueless users copying config options around without even knowing what they do.

Guys... just calm down and keep it easy.
Install mpv and watch videos.
How hard is that?
In most cases you don't need (or should) touch anything, right?
Unless you have a really powerful computer and want to marginally increase the quality. In that case you add 1 or 2 config options. No need to go crazy over it.

>Core mpv functionality can be extended with Lua scripts. All scripts from ~/.config/mpv/scripts/ directory are loaded automatically
from the wiki
They also mention Several Lua scripts are shipped with mpv and installed into /usr/share/mpv/lua/ directory. Created mpv\lua and put the script in there, still doesn't work.

Which directory should the scripts be in then?

github.com/mpv-player/mpv#release-cycle
> Every other month, an arbitrary git snapshot is made, and is assigned a 0.X.0 version number.

github.com/mpv-player/mpv/blob/master/DOCS/release-policy.md#release-policy
> Once or twice a month, a new release is cut off of the master branch and is assigned a 0.X.Y version number


One contradicts the other!
And besides that, there's been no new release since April.
So both are wrong?

April was three months ago, so you're right. The release policy is literally "whenever lachs0r feels like it."

kek
we should make a PR changing the text to "whenever lachs0r feels like it."

nevermind, I guess you are using the right folder

Bump

>and we needed to get rid of the antique UI, preferably replacing it by something as simplistic

Oh god now, MPC layout is perfect. No bullshit.

NEWS FLASH: no media key support outside of OS X. Enjoy alt tabbing + spacebar in games. V>V

it can have it but I think you need to use a certain setting to enable it.

I just use Plex for my shows and the web player for youtube.
mpv is only useful for porn to be honest.

Anyone on windows got the autoload files in folder script to work?
github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua

It's supposed to make you able to play the next or previous file in a folder.
The other scripts work.

mpv is better

start mpv from the commandline, specify a folder name, and it will load it as a playlist

Works just fine for me. Latest shinchiro build Win7.

It works with pageup on the keyboard. I was trying to use the next/previous file on the OSD.
Anyway to make it work for those?

What no, the current devs (and me, as a user) like the logo.
There was uncertainty about the logo's license and that was the reason they talked a few times about a new one. However, they managed to contact the creator and now everything is fine.

The logo is great, go fuck yourself for your shit taste.

Yeah, there was some uncertainty with the licence, but I remember someone proposed a solution to replace the logo with a more modern-looking one. It hasn't come up again as far as I know because the licence situation was resolved.

If I'm being honest, I really dislike the logo. It's a weird faux-3d thing, but it's not a 3d object that exists in real life. It's like a weird disc with a wonky misshapen tube on it. Also, while the rest of the logo is 3d, the play symbol in the middle has no definition of its own, even though it should be the focal point.

So I've been using MPV (on linux) for a few years now but never got around to configuring it. I have a bunch of questions.

I'm on an Nvidia card so obviously I'd want to enable hardware acceleration, should I use VDPAU or Cuda? I'm getting the vibe that Cuda hwdec is fairly new and mainly used for 10bit??

Is profile=opengl-hq better than hwdec=vdpau with vo=vdpau?

Is vdpaupp (vdpau post processing) worth configuring?

Are there any worthwhile shaders out there? If so, link to glsl?

How far along is Vulkan and are there any benefits in using it?

Anything else you guys recommend?

Imported those opengl-shaders:
opengl-shaders="~~/shaders/FSRCNN_24_4_4_ssim.glsl"
opengl-shaders="~~/shaders/KrigBilateral.glsl,~~/shaders/SSimDownscaler.glsl,~~/shaders/SSimSuperRes.glsl"
Which in turn gives me this:
[vo/opengl] Unrecognized command 'DESC KrigBilateral Downscaling Y pass 1'!
[vo/opengl] Unrecognized command 'DESC SSimDownscaler Variance I'!
[vo/opengl] Unrecognized command 'DESC SSSR I Downscaling I'!
I guess I am using old version of mpv, aren't I?

I dont know what the fuck shaders or vulkans are but my config only has a few lines mostly shit for mouse timeout and moving the bar to the bottom.
Everything works just fine and I dont see any issues with the videos.

Can someone explain what all of this extra ricing is about and put simply what difference some of this stuff will ACTUALLY make

How do I load lua files on Windows?

I need it so it can load the next video in the folder.

>but I remember someone proposed a solution to replace the logo with a more modern-looking one. It
Multiple people, actually.
However, I can't remember a single one that was not hated.

put the bar at the bottom

layout=bottombar
seekbarstyle=bar

>I'm on an Nvidia card so obviously I'd want to enable hardware acceleration, should I use VDPAU or Cuda? I'm getting the vibe that Cuda hwdec is fairly new and mainly used for 10bit??
I think Cuda is the newer one. Apparently Nvidia is letting their VDPAU library stagnate, so Cuda might be more usable, especially for newer formats like 10-bit HEVC. (I don't have Nvidia so I don't know for sure.) Don't feel obliged to use hardware decoding though. It's not always faster, especially with a desktop CPU.

>Is profile=opengl-hq better than hwdec=vdpau with vo=vdpau?
Yep. profile=opengl-hq and vo=opengl are recommended if you can run them. hwdec=vdpau and hwdec=cuda both work with vo=opengl and use GPU-to-GPU copying (whereas the *-copy hwdecs work with any VO and copy through the CPU.)

>Is vdpaupp (vdpau post processing) worth configuring?
Only if you want hardware-accelerated deinterlacing, and be careful because it might hurt video quality and colour accuracy.

>Are there any worthwhile shaders out there? If so, link to glsl?
github.com/mpv-player/mpv/wiki/User-Scripts#pixel-shaders
SSimSuperRes is pretty okay. I haven't tried the others.

>How far along is Vulkan and are there any benefits in using it?
Not very far along. It will be a long time before the quality is as good as opengl. Possible future benefits include performance improvements because some operations can be made asynchronous.

you put it in the fucking scripts folder

Since there's no script folder it's not just "put it in the fucking" folder.

And making a scripts folder didn't help.

>TFW mpv on it's beta release opens files faster then VLC on FUCKING Android despite VLC having numerous updates.

Is there magic sauce on this thing.

yes
look at this old comparison for example (default is VLC like quality)
diff.pics/Nn01jOszfAMq/1

Why the fuck are you asking such a simple question?
It's obviously super easy, you just have to type
0=&%2%2%2!"4qn4_//QL#M&%745sn5-##80ei9w9##v3vopb4e__code__y5djcvlkdse54b90n7zoey¤(&/Q#544ehn7ne09)=.//_sb5erio7uklr
in the
stuff--- code--- //6aqzxedcrfgvb54yhmu789ppihe
so that
#¤%&/MN loads the B&W#%¤SR)(IYBGH)`?!%#
by removing the ¤SR you get it to work with
-##80ei9w9##

God! Why can't people learn these things that isn't in the guide when it's so easy?

try putting this in mpv.conf, maybe it'll help
load-scripts=yes

Sorry, didn't load the autoload.lua that I put in MPV\scripts\

You need to create a sripts folder in the mpv directory.
The play next file script works but only if you use the keyboard shortcuts (pagup - pagedown).
I was confused as well since the skip buttons on the OSD didn't work.

The scripts folder is in the mpv directory as seen.

How is your mpv.conf written to load the lua?

You don't need to do anything to the mpv.conf
it loads the scripts automatically when inside that folder.
Make sure you have fileextensions turned on and that it's not .txt

It's lua as you see in the image and as you can see I don't hide extensions on files.

here is my tree list if you didn't understand:

.
├── doc
│ ├── manual.pdf
│ └── mpbindings.png
├── installer
│ ├── configure-opengl-hq.bat
│ ├── mpv-icon.ico
│ ├── mpv-install.bat
│ ├── mpv-uninstall.bat
│ └── updater.ps1
├── mpv
│ ├── lua-settings
│ │ └── stats.conf
│ ├── scripts
│ │ ├── old
│ │ │ ├── mines.lua
│ │ │ └── osc.lua
│ │ └── stats.lua
│ ├── shaders
│ │ ├── nnedi3-nns32-win8x4.hook
│ │ └── superxbr.hook
│ ├── input.conf
│ └── mpv.conf
├── d3dcompiler_43.dll
├── mpv.com
├── mpv.exe
├── updater.bat
└── youtube-dl.exe

Well, it should work if you use the pageup key on your keyboard to play the next file.

mpv.conf
pastebin.com/nsBQvXzC
in input.conf I have
pastebin.com/yxFkjCBe

put the file in %appdata%\mpv\scripts
if that doesn't work either, then try to load the script manually with
script="directory of autoload.lua"

Does mpv support linked mkvs yet, or is it still 20 years behind MPC-HC?

That didn't work either.
What bindings are you using for jumping to next file?

Mine are
PGUP add chapter -1
PGDWN add chapter 1

But I read something about next_file or whatever but don't have that page anymore.

Got it to work using another script, so scripts worked, it's just that autoload.lua didn't work.

github.com/donmaiq/mpv-nextfile

Now I just have to rebind this so it works with PGUP and PGDN

I'll post it if I get it working so others with similar problems can try.

you know autoload automatically loads the next file in the folder after the current one has finished, right?

That's the thing, it didn't once the video was over.
I loaded the videos over and over seconds before it ended, let it play to the last second, nothing.

Weird, for me autoload works with pageup by default.

Yeah.
How does your bind looks like in input.conf because for me it was PGUP add chapter -1.

Same as yours, copied from the mpc-hc config
PGUP playlist-next; write-watch-later-config #Skip to next file

I just added adjusting volume with mousescroll
AXIS_UP add volume 1
AXIS_DOWN add volume -1
Should be the default desu

and a rightclick menu that only works on linux ;_;

I think windows might read it a different way then.
since adding PGUP playlist-next to the input.conf doesn't change file

>switched to mpv yesterday
>already miss ngu so much

If I drag all videos into the player it jumps between files but still not doing it when opening a single video so it's still not loading it in the way MPC does that can load videos in the same directory.

Got ontop to work with simply putting ontop in mpv.conf and using github.com/mpv-player/mpv/blob/master/TOOLS/lua/ontop-playback.lua
So now it works closer to MPC step by step.

If you drag multiple files manually it's going to create a playlist, so that's normal, what autoload does is make a playlist out of files in the directory automatically. Still I don't know why it won't work for you, it works on my windows.

I vaguely remember someone decompiling MadVR to grab the NGU glsl file a few weeks ago. Was anyone ever able to get that working?

I'm using the portable version, try that and copy over the scripts folder.
sourceforge.net/projects/mpv-player-windows/files/64bit/

I switched from madvr too. I dont miss NGU. I find nnedi3 to be better than NGU with low res anime. I use SSSR with 720p videos and Krigbilateral with native res videos. SSIM for downscaling. I get better colors than in mpc-hc too.

I think I had a portable version as well because MPV didn't make stuff into %APPDATA for me.