/mpv/ - the vulkan media player

>the vulkan branch:
github.com/haasn/mpv/commits/vulkan

>low-end scaling profile:
scale=spline16


>mid-end scaling profile:
profile=opengl-hq


>high-end scaling profile:
profile=opengl-hq
cscale=ewa_lanczos
scale=ewa_lanczossharp


>enable default interpolation:
video-sync=display-resample
interpolation=yes
blend-subtitles=yes


>enable smoothmotion interpolation:
video-sync=display-resample
interpolation=yes
tscale=oversample
blend-subtitles=yes

Other urls found in this thread:

github.com/kevinlekiller/mpv_scripts/commit/6e2f822515ffc4be93678b0cefade9dcc239f6d2
sourceforge.net/projects/mpv-player-windows/files/
nirsoft.net/utils/monitor_info_view.html
rbt.asia/g/thread/S56586786#p56601147
github.com/google/angle/tree/master/src/libANGLE
pastebin.com/raw/3WQVnrJh
github.com/torque/mpv-progressbar
mpv.io/manual/master/#on-screen-controller-layout
mpv.io/manual/master/#options-video-sync
twitter.com/NSFWRedditVideo

Stop making these fucking cancer threads

Stop posting shit, you don't have to read them.

Protip: get your own website and you can talk about your software there. Start a fucking Facebook group about it if you want. Anywhere is better than here.

So do it now if you want.

Hey winfags with recent display, you should care about it to get a perfect playback.
github.com/kevinlekiller/mpv_scripts/commit/6e2f822515ffc4be93678b0cefade9dcc239f6d2

This does not even work. It does not change the refresh rate of my monitor for some reason.

Did you unzip nircmd into your mpv folder?

Are you sure your display supports multiple rates?

Uh, what? It says "can use nircmd" on the readme and the default setting on the script to use nircmd is set to false. Is it mandatory?

Not sure about that.

You have to get nircmd to switch framerate!

Okay, now command line pops out just before opening mpv, but it does not seem to be doing anything.

>vulkan media player

>no profile=vulkan-hq

Haasn began vulkan support yesterday! ^^'

What do you get when you press the y key?

>stop talking about FLOSS software on Sup Forums

What the fuck would you rather be talking about on a technology board?

Nothing? OSD not showing up eventhough the key is set to "y" and the script is loaded correctly.

Please stop shitposting here.

>VO does not support requested hardware decoder, or loading it failed.
I'm guessing this is referring to vo=opengl? What's wrong with that?

Also, why is softvol going to deprecated soon, no replacement?

Did you put something like this in your mpv.conf file?
script-opts=autospeed-nircmd=true,autospeed-speed=false,autospeed-nircmdc="nircmdc",autospeed-dwidth=1920,autospeed-dheight=1080,autospeed-bdepth=32,autospeed-rates="24,50,60",autospeed-exitrate=60,autospeed-minspeed=0.9,autospeed-maxspeed=1.1,autospeed-osd=true,autospeed-osdtime=10,autospeed-osdkey=y,autospeed-estfps=false,autospeed-spause=4

Are you using the latest windows builds from sourceforge?
sourceforge.net/projects/mpv-player-windows/files/

No, I'm using the latest linux build from ppa:mc3man/mpv-tests
>2:0.20.0+git1~xenial

Fug, I forgot to add autospeed-osd=true. I copied your settings now and when I press y it shows the pic which is I guess not changing refresh rate.

I keep forgetting things...

Check if you display monitor supports multiple frame rates first.
Check on google how to get them on windows!

You can use this program to get your available display modes!
nirsoft.net/utils/monitor_info_view.html

Um ok so do I not set anything for vo then? Still get that error without that script added.

My monitor only supports 60hz at 1080p according to this program.

So wait, mpv is going to start using vulkan instead of opengl to render frames?

Yes!!!

Yes this guy is just awesome!
But how does he do? Is he an alien from another galaxy ?

What are the main differences? All I know about vulkan is that it's better at resource management and doesn't use up too much of the CPU. Also isn't vulkan itself pretty experimental?

Yes it's maybe more experimental than opengl but it's the future!

Vulkan allows for more low level control over GPU tasks, which generally results in better GPU and CPU performance.

rbt.asia/g/thread/S56586786#p56601147

Link us to a thread that you think contributes to Sup Forums better.

Is angle working with vulkan? If yes, does it mean it will be faster on windows?

github.com/google/angle/tree/master/src/libANGLE

Looks like it has a vulkan renderer path


So probably yes.

So what's going on here?
mpv arrow.317.hdtv-lol.mp4
Warning: option --softvol is deprecated and might be removed in the future (no replacement).
Auto-loading profile 'extension.mp4'
Resuming playback. This behavior can be disabled with --no-resume-playback.
Loading config '/home/alex/.config/mpv/watch_later/580C6153E6069082A9A59CC5859CBD6E'
Playing: arrow.317.hdtv-lol.mp4
(+) Video --vid=1 (*) (h264)
(+) Audio --aid=1 --alang=und (*) (aac)
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
libva info: va_openDriver() returns -1
VO does not support requested hardware decoder, or loading it failed.
[xrandr] output LVDS mode=1366x768 old rate=59.98 refresh rates = 59.98*+
AO: [jack] 44100Hz stereo 2ch floatp
[xrandr] container fps is 23.976024627686Hz, for output LVDS mode 1366x768 the best fitting display fps rate is 59.98Hz
Using software decoding.
VO: [opengl] 720x404 yuv420p
AV: 00:13:35 / 00:42:23 (32%) x1.00 A-V: 0.000 DS: 2.000/0
[fpsadjust] Setting speed to 1.000673059682
AV: 00:13:40 / 00:42:23 (32%) x1.00 A-V: -0.007 DS: 2.500/0
Saving state.

mpv detected your shit taste

Radeon mesa doesn't support VAAPI.

Oh ok thanks.

>high-end scaling profile:
any other options i could add to this if i have cpu and gpu to spare?

There was a couple of other presets that used shaders that was in the OP, check the archive for them.

Is there any way to make deinterlacing enabled by default from the config file?
By the way, this is what I have so far
profile=opengl-hq
video-sync=display-resample
interpolation=yes
tscale=oversample
blend-subtitles=yes
cscale=ewa_lanczossharp
scale=ewa_lanczossharp

Are all of these lines useful or should I remove/edit something?

Sorry for being a fag but does someone have a simple osc like pic related? Broke with an update last Sept.

or if anyone knows how to fix
pastebin.com/raw/3WQVnrJh

Thanks to the user that posted it. Been using it for about a year now.

well there's github.com/torque/mpv-progressbar

I've toyed around with modding the OSC myself but I don't know enough to really do anything.

how do u download it

It's on the manual look for the osc styles

stats.lua (and any OSC events) got fucked with the latest sourceforge build. Taking a screenshot sends a terminal message (which at least is input, but I'd like some message to show up in the video), but stats.lua refuses to load. Probably because of commit 9c9cf1.

Yeah forgot about that one. I remember playing around with that. Didn't like it as much and I couldn't figure out how to make it work with my input.conf

iirc it breaks with
MOUSE_BTN0_DBL cycle fullscreen
MOUSE_BTN0 cycle pause


Also if it could completely hide in fullscreen which is a stupid default not to imo

Probably an idiot but not seeing it.

really? now, go & open the issue in github

>Probably an idiot but not seeing it.
mpv.io/manual/master/#on-screen-controller-layout

>mpv.io/manual/master/#on-screen-controller-layout

Yeah, well I found that but nothing there is really what I was asking for?

I really want to believe you are serious
layout
Default: box
The layout for the OSC. Currently available are: box, slimbox, bottombar and topbar.

Can you read the last part?

Nothing experimental about vulkan itself. It's already officially released- Any experimental state would've been from before the public release of the spec and driver software.

Now what can be considered experimental, are the various implementations of it in game engines and other software that explicitly only allows a vulkan backend in their "beta", "alpha" or experimental" branches.

As for MPV, the question becomes wether or not a vulkan backend is actually useful yet, and how much work it'd take to outperform the mature opengl backend.

Are these timings okay?

Extremely interesting. I assume this will be the very first Vulkan-enabled media player that isn't a proof-of-concept? Love it.

It'll probably be a while before this is working properly and merged into mainline though. However it is one of the more interesting developments in mpv in a while.

>Cant even use Reclock with MVP for perfect playback
Into the trash it goes.

>using reclock, a dead 32bit-only directshow filter
>not using the perfect video-sync=display-resample
You should inform yourself before shitposting like an illiterate.

>implying every display can switch to match the video FPS

That's not what it is.
Please read the documentation:
mpv.io/manual/master/#options-video-sync

You know that shitposting in the form of “>can't even do X with Y let trash xDDD” is Sup Forums's way of asking to be spoonfed on how to configure things, right?

I know it's hard for you autists, but you have to learn to just ignore it, otherwise we'll continue getting swarmed by dumb people asking to be spoonfed.

Bah it's an imageboard website, we are used to.

>Resample audio to match the video. This mode will also try to adjust audio speed to compensate for other drift. (This means it will play the audio at a different speed every once in a while to reduce the A/V difference.)
This wont give you perfect playback without repeated frames. The only way is a custom resolutions/Hz display switch/Reclock.

You don't need reclock if you use a perfect custom resolution.
The old and deprecated reclock and video-sync=display-resample produce the same effect.

Custom resolutions is pain in the ass to use.

>a perfect custom resolution
No every display supports it, right?

>stats.lua (and any OSC events) got fucked with the latest sourceforge build. Taking a screenshot sends a terminal message (which at least is input, but I'd like some message to show up in the video), but stats.lua refuses to load. Probably because of commit 9c9cf1.
Works fine here with this commit.
If it doesn't work for you, report it (not sure where though).

>Are these timings okay?
Depends on your config. These numbers would be awfully high for vo=opengl but I guess for some heavy config it might be okay.
In the end all that matters is if you drop frames during playback.

I just use profile=opengl-hq and don't have any dropped frames.
Well, seems like it is okay, thanks!

>22ms rendering
>16ms vsync
you do the math

What do you mean?

I'm a pleb and have no idea about these until I saw them mentioned in another thread.

The video looks fine, there is no desync or anything I can see or in cli log.

install mpc-hc + reclock + svp manager + lav filters + ffdshow + madvr and join the future.

>What do you mean?
He means that when looking at the peak value you need 22ms per frame. In the case of 60fps you only have 16ms per frame (1/60 second) meaning your computer is too slow (-> frame drops).
However, that's just the peak. Looking at your average values you need 13ms per frame which is fine for 60fps.

>The video looks fine, there is no desync or anything I can see or in cli log.
Framedrop exists to avoid desync. Unless you deactivate it on purpose (bad idea) it shouldn't happen just because your computer is a little slow.

Thanks. I didn't see they added a new osc. Really that's all you needed to say. From what I remember all the defaults looked terrible so I was asking for a lua.

Only if you're an idiot.

This is the only legitimate criticism here.

I try using `opengl-backend=dxinterop` instead of the default (angle/d3d11va) and my timing are MUUUUCH lower.

Oops, this is with just opengl not profile=opengl-hq.

When I use vo=opengl with angle I actually get same or worse than opengl-hq profile.

dxinterop + opengl-hq profile still muuuch better.

fug.

How do i into custom resolutions?

>I didn't see they added a new osc
It's not even new
>so I was asking for a lua
Well than, if you are in fact not trolling than eat shit

that's common, but often you can add new modes

mine also only “officially” has 60Hz at 1920x1080, but that's nothing that couldn't be fixed
1920x1080 60.00*+ 71.93 72.00 59.94 60.00 50.00

windows user have reclock, built in feature or manual setup of the refresh rate with conditional behavior.

Well first you said you wanted me to be serious. Which is it?

>It's not even new
Well I haven't checked in a while so maybe it isn't new to you but it is to me.

>than
then*

Lol thumbs for JoJo

I tried to add new refresh rates using nvidia control panel but it did not work. I only get black screen.

And you already shortened a lifespan of the monitor. Cool.

I don't really care I've been using this monitor for almost 7 years.

most monitor "overclocks" aren't really overclocks, just a case of adding modes that aren't provided from the factory

mine for example () are all within spec (horizontal/vertical min/max, pixel clock limit), so they are not overclocks, and won't harm the monitor

>>madvr: less powerful than mpv
Cmon man.

Should probably upgrade your monitor instead of caring about a dropped frame every 7 minutes.

I'll never get why so many people here care about these nearly placebo tweaks when they're probably watching all their shit on mediocre monitors that are uncalibrated or they think it's still calibrated because the factory did it and they think that lasts forever.

Oh wait, I do know why.

Why the fuck would they stop supporting XP? This was one of the most efficient players out there, and they fucking dropped XP.

What am I supposed to use now? Upgrade is not even a choice.

...

I don't give a fuck about calibration. I tweak things until it looks good subjectively. I'm viewing, not mastering.

#
ffdshow: dead
reclock: dead and was 32bit only
madvr: less powerful (scaling and color-management) than mpv, closed source, some of his implementations are wrong (smoothmotion, superres, ...), old sharpeners (adaptive-sharpen and crispen-edge) and some other shits
lavfilters: slow/suspended development
mpc-hc: suspended
svp: works better with mpv and vapoursynth