Why GPU decoding doesn't work with MPV?

Why GPU decoding doesn't work with MPV?

It works fine with MPC-HC and VLC.

Other urls found in this thread:

mpv.io/manual/master/
en.wikipedia.org/wiki/Motion_interpolation
github.com/mpv-player/mpv/commit/00091411ec91edbd5357dbba6feb4c08ddf6ac4f
youtube.com/watch?v=OPf0YbXqDm0
github.com/mpv-player/mpv/wiki/User-Scripts
github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua
ys.3dyd.com/home/
rg3.github.io/youtube-dl/supportedsites.html
mpv.srsfckn.biz/
github.com/rossy/mpv-install/
twitter.com/AnonBabble

>he fell for the MPV meme

>Windows peoblems

mpv.io/manual/master/
Enjoy your 67 matches with "hardware"

>Why GPU decoding doesn't work with MPV?
It works. I am decoding HEVC 10-bit 4k@60fps on Windows 10 Anniversary Update no problems.

I thought I tried all of that, but I didn't try this:
--hwdec=dxva2

It works!

use hwdec=auto

Any reason for this not being the default?

hw decoding is shittier quality than sw

Can someone explain to me why a movie playing on my TV (eg. AXN channel) which is streamed at 1080i 50Hz looks smooth as butter, has very little blur, the credits at the end pan vertically and are perfectly readable without a single stutter

Meanwhile if I try to play a movie on mpv it stutters and it judders. If I set my screen frequency to a multiple of the movie (eg 48hz/72hz) then the judder disappears but there's still stutter. If use interpolation not only does it add a fuckton of blur but it still doesn't remove the stutter entirely and the credits are almost unreadable.

Please explain. Are the movies being interpolation to 50fps? If so how are there no artefacts?

What?

Normally, hardware decoding does not reduce video quality (at least for the codecs h264 and HEVC). However, due to restrictions in video output APIs, there can be some loss, or blatantly incorrect results.

In some cases, RGB conversion is forced, which means the RGB conversion is performed by the hardware decoding API, instead of the OpenGL code used by --vo=opengl. This means certain obscure colorspaces may not display correctly, not certain filtering (such as debanding) cannot be applied in an ideal way.

vdpau is usually safe. If deinterlacing enabled (or the vdpaupp video filter is active in general), it forces RGB conversion. The latter currently does not treat certain colorspaces like BT.2020 correctly (which is mostly a mpv-specific restriction). The vdpauprb video filter retrieves image data without RGB conversion and is safe (but precludes use of vdpau postprocessing).

vaapi is safe if the vaapi-egl backend is indicated in the logs. If vaapi-glx is indicated, and the video colorspace is either BT.601 or BT.709, a forced but correct RGB conversion is performed. Otherwise, the result will be incorrect.

d3d11va is usually safe (if used with ANGLE builds that support EGL_KHR_stream path - otherwise, it converts to RGB), except that 10 bit input (HEVC main 10 profiles) will be rounded down to 8 bits.

dxva2 is not safe. It appears to always use BT.601 for forced RGB conversion, but actual behavior depends on the GPU drivers. Some drivers appear to convert to limited range RGB, which gives a faded appearance. In addition to driver-specific behavior, global system settings might affect this additionally. This can give incorrect results even with completely ordinary video sources.

All other methods, in particular the copy-back methods (like dxva2-copy etc.) are either fully safe, or not worse than software decoding. In particular, auto-copy will only select safe modes (although potentially slower than other methods).

Is there a reason why anyone should use MPV over MPC-HC? I've been seeing this meme player on Sup Forums for a while, is it really good or something?

It ran better on my old Win-XP toaster. Also runs natively on GNU/Linux, Sup Forums's preferred OS.
What else do you want?

It will run literally anything you throw at it at nearly best quality without any configurations of installing any sort of codecs and other shit. Literally download and drag a video file to play

So far from my limited use case:
1. it's slightly more CPU/GPU efficient
2. the time stretch algorithm is better (still not as good as VLC, but almost) and you get finer speed control
3. scrolling through a video is faster
4. it opens faster

At least for me it works better than MPC-HC, especially when upscaling 720p to a 1080p screen or vice versa. Handles huge (10GB+) files better too. It's also lighter and clean-looking.

>Is there a reason why anyone should use MPV over MPC-HC?
MPC-HC only works on non-free proprietary operating systems that absolutely hate your freedom, trample on it and spit on it.

That was a very neat post.

just copy paste mate

Make an issue on github, and pray they actually acknowledge you.

This isn't an issue, it happens to everyone

>This isn't an issue, it happens to everyone
Sounds like an issue to me.

No, this happens to any 23.975 movie playing on any player on any system with any configuration. It's an issue with the refresh rate of the screens. To get a smooth experience with need a screen that could refresh at 23.975hz which doesn't exist. I just don't understand how a movie playing on a tv channel is buttery smooth

Do you need any directx or some bullshit program with mpv?

Yes, which is why it will never run on Linux.

I'll take that as a no

>people having problems with mpv
Fucking shit just works here, no goddamn config necessary. The fuck kind of bloated, nonstandard, fucked up shit are you people watching? Jesus fuck.

I still have stats.lua giving me red numbers and shit, don't know how to fix it.
The video plays fine, but according to the graphs and stats it isn't?

update your stats.lua

>lies, damn lies, and statistics
It plays fine, don't be OCD about it.

>meme-player Sup Forums

>KCP abandoned and dead
>VLC still shit
>MPV still a meme

retard

>mac
pls get out

Didn't work, sadly.

>stutter
It's the low frame of the video

>I just don't understand how a movie playing on a tv channel is buttery smooth
motion vector interpolation done either by broadcaster or your hdtv to increase framerate
en.wikipedia.org/wiki/Motion_interpolation
SVP or MVtools does motion interpolation and they can be used with mpv

>>discourage bug reports
>Do not bother reporting a bug if you do not provide the required information.
github.com/mpv-player/mpv/commit/00091411ec91edbd5357dbba6feb4c08ddf6ac4f
The horror, you are not encouraged to waste time of developers if you are not willing providing the details

Where do I set the default audio track preference?

I don't want dubs.

>tfw MPV thread
>I can finally post on other threads other than /hpg/ and /mkg/
please don't die to fast.

>The horror, you are not encouraged to waste time of developers if you are not willing providing the details
I gotta agree with him however, why word it that way.

Not that many people make issues anyways, and when I do see them they actually do follow the main post/rules majority of the times.

tl;dr: just my 0.02 cents.
It's okay.
GPU?
>Handles huge (10GB+) files better too
Gotta be honest with you familia, that does not make much sense.>scrolling through a video is faster
what
>it opens faster
actually noticed barely any difference between potplayer+theshittonoffilters and mpv last time I tried it.
R.I.P
>Please explain. Are the movies being interpolation to 50fps? If so how are there no artefacts?
Personally, I have not seen a full movie be interpolated without artifacts.

Not even on my cousins huge ass TV with interpolation. ( which he apparently didn't even realize it had interpolation ).
alang=Japan,jpn,jp,en,eng,Englis
in your conf, also I have it set to japan first, so put the English abbreviations first.

>I can finally post
How fucking new are you?

youtube.com/watch?v=OPf0YbXqDm0

How come MPV doesn't automatically go to the next video in the folder?

It's perfectly capable of doing that

So how come it doesn't?

The next button is blanked out

>mpv noobs
Just download smplayer please, great fucking frontend for mpv.

You need to select all the videos you want to play.

Anyway I can get it to work like MPC-HC where it just does the next in the file?

user-error

I'm not really sure what you mean by that, but when I do the select thing, it automatically goes to the next one in the set.

So in MPC-HC I can double click on Episode 1 and it will allow me to click a button to go to Episode 2 in the next folder.

Is there anyway to get MPV to do this?

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

Select all the files in the folder you want to play videos from and make sure they're ordered in the order you want to play them in. Left click one and select "Play with MPV". The little arrows that appear to the left and right of the title on the controller should let you change to the next episode.

github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua

put this in your scripts folder

>motion vector interpolation done either by broadcaster or your hdtv to increase framerate
My tV doesn't have any interpolation and the broadcast is artifact free. How do they do that?

i'm a newbie when it comes to mpv, been using it and have no idea how to use correctly, been always using
" vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:prescale-luma=nnedi3:prescale-downscaling-threshold=1.5:hwdec=no"

can any throw some guide or something, the main manual is pretty long .

>:prescale-luma=nnedi3:prescale-downscaling-threshold=1.5:hwdec=no
remove

It's pretty stupid that you even need a script for it but
is correct.
In my opinion, you should just use this instead.
vo=opengl-hq:interpolation:tscale=linear:

and add
video-sync=display-resample
on a new line

They might be doing a simple interlacing on 24 fps movie and turn it into 50Hz broadcast which is effectively doubling perceived framerate

Perfect that works just fine.

my machine is pretty solid, so there is no problem with cpu,ram or gpu, actually, i want to make mpv works on its highest, for image and color improvement so this one is enought?
"vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossoft"

post your specs

...

vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:tscale=:temporal-dither:blend-subtitles:pbo:target-prim=bt.709:target-trc=bt.1886:gamma-auto:icc-profile-auto:3dlut-size=256x256x256

we VLC now

I'm going to blame macos' terrible opengl support on this one

Thanks a lot.

you can also add tscale-clamp there. it removes ringing artifcats caused by the tscale

>blend-subtitles
it has to be haasn retarded ass writting this long ass shit

i see.

Blend subtitles directly onto upscaled video frames, before interpolation and/or color management (default: no). Enabling this causes subtitles to be affected by icc-profile, target-prim, target-trc, interpolation, gamma and post-shader. It also increases subtitle performance when using interpolation.

Can I do that on mpv or something?

It isn't. half of the things there are redundant or already implied in opengl-hq, or platform specific like gamma-auto
Hassn doesn't advocate one size fits all configs aside opengl and opengl-hq

opengl-hq implies this:

vo=opengl:scale=spline36:cscale=spline36:dscale=mitchell:dither-depth=auto:correct-downscaling:sigmoid-upscaling:deband:es=no

None of which are in that line

simple, clean, customizable.
youtube dl integration. fast seeking.
also the best for internet porn.

>youtube dl integration
ys.3dyd.com/home/
Works for MPC-HC/PotPlayer

It's actually better than youtube-dl+mpv FOR youtube alone.

easier to make playlist and add videos/playlists.

However from what I've seen it doesn't support as many sites, if any.

With what porn websites does youtube-dl work?

rg3.github.io/youtube-dl/supportedsites.html

Yeah but youtube-dl + MPV is faster and doesn't need to be running on background
And like you said, youtube-dl supports many, many more sites.

>easier to make playlist and add videos/playlists.
Shift + drag and drop a link to add a video to playlist. Also theres a userscript that lets you reorder videos in a playlist and save your playlist to a file.

People use shitty hybrid tablet/laptop computers now and don't know how to use shortcuts/multiple keys... It's 2016...

>Yeah but youtube-dl + MPV is faster
I wouldn't know since I didn't compare them, but they are probably identical, hell 3dyd might be a bit faster, but I don't know.
>doesn't need to be running on background
bruh...
>that list
based

So does mpv.conf just not work on Windows, or is something fucked up? I made an mpv.conf in %appdata%/mpv/ as specified by the manual and it doesn't do anything.

My machine doesn't handle these without VO:
vo=opengl:cscale=ewa_lanczos
or
vo=opengl:user-shaders="~~/superxbr-chroma.hook"
or
vo=opengl-hq

Why can I use Jinc or SuperXBR for chroma in madVR without any performance issue?

/thread

Should be in appdata/Roaming/mpv/
Other then that your conf file might contain lines that don't work on windows. for example "ao=alsa"

Best preset for Intel HD3000?

vo=opengl-hq drops frames like crazy

>appdata/Roaming/
%appdata% will give you /appdata/roaming/ at least in "Run..."
>Shift + drag and drop a link to add a video to playlist.
Why would I want this or even do this? I've already heard the song/watch the video.
Maybe If I wanted to go back to it.
>Also theres a userscript that lets you reorder videos in a playlist and save your playlist to a file.
lol

>%appdata% will give you /appdata/roaming/ at least in "Run...
and in the window explorer when you type it on the adress bar*

Yeah that's where it links to. Only line I'm trying is screenshot-template=%f and even that isn't working.
using the 64 bit build from mpv.srsfckn.biz/ and github.com/rossy/mpv-install/

>Why would I want this or even do this? I've already heard the song/watch the video.
You don't see the use in queuing videos in a playlist?

>You don't see the use in queuing videos in a playlist?
The videos auto-play when you drag and drop em, with shift senpai, also... one by one..
dear god.

what are you even talking about?

ok

vulkan fucking when

( no point )

never

Wish the list had sections

How can I make the UI in mpv look like that?

script-opts=osc-seekbarstyle=bar,osc-layout=bottombar

Thanks.