[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/mpv/ - The Open Source and Cross Platform Video Player

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 333
Thread images: 37

File: mpv.png (72KB, 586x314px) Image search: [Google]
mpv.png
72KB, 586x314px
Last thread: >>61526939

Installation:
https://mpv.io/installation/

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

Manual:
https://mpv.io/manual/stable/

Config example:
https://github.com/mpv-player/mpv/blob/master/etc/mpv.conf

User Scripts(including opengl shaders):
https://github.com/mpv-player/mpv/wiki/User-Scripts

Migrating from MPC-HC?
https://github.com/dragons4life/MPC-HC-config-for-MPV/blob/master/input.conf

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

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

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

For better playback quality paste this in your mpv.conf file:
# Specify high quality video rendering preset
profile=opengl-hq
# Scaler used when upscaling chroma (color information)
cscale=ewa_lanczos
# Scaler used when upscaling video
scale=ewa_lanczossharp

# https://github.com/mpv-player/mpv/wiki/Display-synchronization
# Force video to lock on the display's refresh rate
video-sync=display-resample
# Reduces stuttering
interpolation=yes
# Interpolation scaler
tscale=oversample


Notes: Remove cscale and scale lines if your computer isn't powerful enough.
Interpolation can also reduce framerate drastically.

Mpv uses software decoding if hwdec isn't specified. You may want to enabled it using
hwdec=auto or hwdec=auto-copy.

A side note about scalers:
best quality > ... > worst quality
ewa_lanczossharp > ewa_lanczos > lanczos > spline36 (default) > bilinear

Getting freezes under Windows ?
Add
angle-flip=no
to your mpv.conf.

If MOUSE_BTN3 and MOUSE_BTN4 aren't working in your input.conf, try using AXIS_UP and AXIS_DOWN to control scrollwheel.

To get error logs, please add
log-file=log.txt
to your config file.
Then search the log for "dumb" anything or for [e].
>>
RAAAAVVVUUUUUUUU
>>
>>61539204
>interpolation=yes
t. hasn't read manual
>>
File: 00383913.jpg (35KB, 500x375px) Image search: [Google]
00383913.jpg
35KB, 500x375px
>>61539204
You can just put interpolation without "yes".
>>61539250
RAAAVUUUUUUU
>>
>>61539382
Holy fuck, I should have double checked that. I was just using the pastebin the other anon made a couple threads ago.

https://pastebin.com/0v2aW6Rc

Are there any other errors? There's some reorganization I want to do on it as well.
>>
bjin and haasn are weebms. Heck, most of mpv team are weebs! How can madshi compete???
>>
>>61539432
I'd explicitly say hardware decoding is generally a meme since your CPU is already very good at it, hardware decoding also messes up colors if you're not careful
>>
how do i view frametime?
someone said at previous thread that i need to check my framtime if its at 16.6 to make sure interpolation is working
>>
>>61539204
The default scaler is bilinear, not spline36.
>>
>>61539457
Pretty sure your post is a meme and hwdec is pretty good these days.
>>
>>61539468
stats.lua
its in the user scripts link in the OP
>>
>>61539493
Maybe he meant its default for opengl-hq? Need some corrections there.
>>
>>61539508
i have stats.lua.
there is no frametime word here
>>
>>61539534
What should it say?

Also, someone should write an actual Quickstart for all these MPC-HC refugees.
>>
>>61539547
You need to update your mpv and stats.lua. shift+i will activate stats. Pressing 2 during them will switch to advanced view.
>>
>>61539561
where is the updated stats.lua?
>>
>>61539581
In the same place where you got your old one. Check user scripts link in the OP.
>>
File: Screenshot_20170724-112543.png (263KB, 1440x2560px) Image search: [Google]
Screenshot_20170724-112543.png
263KB, 1440x2560px
>>61539497
https://github.com/mpv-player/mpv/issues/2773
>>
>>61539588
already updated. still no frametime. pressing 2, nothing apprears.
>>
>>61539204
VLC is better
why people meme this shit player?
>>
>>61539620
because this has cool logo.
VLC logo is ugly.
>>
>>61539607
You need to update mpv too.
>>
>>61539630
>meme reply only think anti-VLC leftists can do
>>
>>61539204
Stuff to correct:

- reordering links: mpv.conf example should be next to input.conf example.
- interpolation=yes isn't needed interpolation is enough.
- warn users about hwdec meme
- spline36 is opengl-hq default, bilinear is default
>Getting freezes under Windows ?
- Uneeded space before question mark.

Any other remarks?
>>
>>61539667
install VLC
>>
File: Panorama.jpg (360KB, 1784x2008px) Image search: [Google]
Panorama.jpg
360KB, 1784x2008px
>>61539607
werks for me ;^)
>>
>>61539607
Use mpv v0.26.0 and stats.lua master.
>>
>>61539497
There's a potential performance increase at the cost of quality decrease and potential for massive image corruption, wrong levels, wrong colors, etc. out of hwdec.
>>
>>61539204
>best quality > ... > worst quality
>ewa_lanczossharp > ewa_lanczos
Well, that's subjective. Some people seem to prefer lanczossoft even.
>>
>>61539756
its not as common as you might think
>>
>>61539761
>>best quality > ... > worst quality
>>ewa_lanczossharp > ewa_lanczos
I dont like this part. It lures newfags into wanting to fuck up things.
>>
>>61539761
>>61539801
OP should leave it at:
-from manual on ewa_lanczossharp: "A slightly sharpened version of ewa_lanczos, preconfigured to use an ideal radius and parameter. If your hardware can run it, this is probably what you should use by default."
-spline36 is default for opengl-hq and devs have said there's no opengl-vhq because scalers past spline36 are mostly subjective
>>
Wait lol, why wouldnt you guys just use VLC?
>>
I have a problem with MPV that is kinda odd.

It remembers some settings, and forgets some settings, then it remembers it occasionally and forgets some other settings instead.

I haven't changed anything in the conf files yet some days it just behaves like it wants.
>>
File: 2017.07.24-18.jpg (3MB, 4325x1620px) Image search: [Google]
2017.07.24-18.jpg
3MB, 4325x1620px
Why is it so bad?
Am i doing something wrong or do i have to scarifice settings?

System is
>[email protected]
>R9 380X
>a videogame running in background although doesnt make drastic difference
>>
>>61539761
>>61539801
I guess I'll remove it. Like >>61539812 said, better explaining that scalers past spline36 are mostly subjective.
>>
>>61539831
Press 2 on the stats screen and it will show you the individual settings timings.
>>
>>61539821
Are you on windows?
>>
>>61539831
Regarding video quality remove everything but:
profile=opengl-hq
cscale=ewa_lanczos
scale=ewa_lanczossharp

video-sync=display-resample
interpolation
tscale=oversample

Everything else is either already included into profile=opengl-hq, doesnt work at all (antiring) or potentially can fuck things up. If its still too slow then you will have to decrease some settings or say goodbye to interpolation.
>>
>>61539592
Anon, did you not read all the comments on that issue?

tl;dr:
>don't use vaapi with nvidia
This should be obvious, AMD drivers/cards support VA-API and NVidia drivers/cards support VDPAU. There are ways of using VAAPI on NVIDIA and VDPAU on AMD but they're slow as fuck because they're literally translating from one to the other as they go.
>Decoding refers to decompressing the stream, not manipulating it.
>Hardware decoding (hwdec) uses a hardware module to decompress the stream directly on the GPU and saves some CPU cycles. Software decoding decompresses the stream on the CPU and moves it to the GPU so that it can be manipulated later.
>Hardware decoders only support a small subset of algorithms that software decoders are pretty good at nowadays as well.
Note: If your file isn't supported then MPV will silently and automatically fallback on software decoding.
>Hardware decoding "does neither increase nor decrease the quality. And, as haasn explained, it only works with some specific encoding formats."

On the other hand, if you use vo=vdpau then you are processing on the video card and that can affect quality. From MPV manual:
>The recommended output driver is --vo=opengl, which is the default. All other drivers are for compatibility or special purposes. If the default does not work, it will fallback to other drivers (in the same order as listed by --vo=help).

So using something like:
profile=opengl-hq
hwdec=auto

instead of
profile=opengl-hq

>will still use --vo=opengl
>will neither increase/decrease quality
>will try to automatically choose a hardware decoder
Though, it's not super clear if this can accidentally choose a crappy decoder (eg. VAAPI on Nvidia) if your configuration allows for it, as such it may be better to manually choose one yourself based on your hardware.
https://mpv.io/manual/master/#video

Cuda seems to outperform VDPAU on my NVidia card.

>>61539756
You're wrong for the reasons I just stated above.
>>
>>61539949
>You're wrong for the reasons I just stated above.
No im not and there is not a single reason to enable hwdec on modern CPU's unless youre playing some heavy bitratre 4K 60FPS video or something.
>>
Hey devs, now that windows is deprecating paint, could you please add a --launch-paint option? you have everything else in there already.
>>
>>61539949
>>Hardware decoding "does neither increase nor decrease the quality.
Then why does the manual say that there are some cases where there is a quality reduction?
>>
>>61539949
Then tell me why its disabled by default.
>>
>>61539995
you can already bind keys to launch other programs
>>
>>61539949
>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.
???
>>
File: 2017.07.24-19.jpg (3MB, 3840x2160px) Image search: [Google]
2017.07.24-19.jpg
3MB, 3840x2160px
>>61539930
>>61539898
It looks like blending subs eats away most performance.

Are they going to look fucked up if I dont blend them?
Can i reduce subs quality?

What else can benefit performance without too much quality loss?
>>
>>61540128
Try opengl-backend=dxinterop
>>
>>61539382
consider killing yourself
>>
>>61540012
>>61540118

The colorspace thing? Those are ridiculous corner cases that you'll likely never run into.

>cuda = safe
>vaapi = safe
>vpdau = safe unless deinterlacing (in which case it messes up BT.2020 used in 4K and 8K video in which case literally what the fuck are you watching?)
>all copy-back methods = safe

>>61540081
Because it relies on your system having a working video card with working drivers.
>brainlet installs mpv
>shit doesn't work because of broken drivers or video card
>brainlet blames mpv
>>
>mfw just use profile=opengl-hq and call it a day
>>
>>61540204
muh nigga
>>
>>61540204
profile=opengl-hq
scale=ewa_lanczossharp
tscale=oversample
video-sync=display-resample
interpolation
icc-profile-auto

in terms of video quality, everything else people copy is either worse than opengl-hq or placebo
>>
File: 2017.07.24-19.jpg (2MB, 3840x2160px) Image search: [Google]
2017.07.24-19.jpg
2MB, 3840x2160px
>>61540153
>opengl-backend=dxinterop
>hwdec=auto

I added these two lines and it seems to be fine.
So this now works as intended, right?
>>
>>61539639
everything is updated.
>>
Mpv uses software decoding if hwdec isn't specified. You may want to enabled it using
hwdec=auto or hwdec=auto-copy.
Note that it can lead to issues, depending on your video card.

A side note about scalers:
Out of the box, mpv is using bilinear scaler, which is why video looks blurry.
Spline36 is used when opengl-hq is enabled. However, ewa_lanczossharp "is probably what you should use by default".

Too much spoon feeding?
>>
>>61540376
>>
Things to note (just recompiled mpv)
-turning direct rendering on makes mpv lag like crazy
-user shaders are not working

OS is Linux (yes :^]) and gpu is 280x.
>>
>>61540376
>>61540400
it was supposed to be a thumb up emoji btw
>>
>>61540404
Performance is fine for me. User shaders don't work though. When I toggle adaptive sharpen on I can see the grain shift slightly but it's obviously not enabled.
>>
>>61540476
>Performance is fine for me
As soon as I turned the vd-lavc-dr switch on, the video became a slideshow.
>>
>>61540291
>everything else people copy is either worse than opengl-hq or placebo
Prove that everything else is more placebo than ewa_lanczos
>>
>>61539949
This is simply not true. Most hwdec APIs do processing on the image. Even the ones that *don't* mangle your colors will still do stuff like e.g. rounding 10 bits to 8 bit. (Sometimes even without dithering)
>>
>>61540618
>This is simply not true. Most hwdec APIs do processing on the image. Even the ones that *don't* mangle your colors will still do stuff like
Read the manual.

>e.g. rounding 10 bits to 8 bit. (Sometimes even without dithering)
As far as I can tell that was a bug where 10 bit video would be decoded as 8 bit video. I don't think there is currently any support for 10 bit hardware decoding (it's too new).
>>
>>61540175
>cuda = safe
Not true, it will fuck timestamps
>vaapi = safe
Not true if you're using vaapi-glx.
>all copy-back methods = safe
Still not true, they can still fuck timestamps. Also if you're doing copyback then what the fuck is even the point of using hwdec? Just swdec..

>shit doesn't work because of broken drivers or video card
Do you know how fucking common this is? hwdec is the #1 reason of fuckups in pretty much all platforms, and there's a good fucking REASON it's off by default. So please don't go around reocmmending people turn it on unless it's a last resort in case their potato CPU can't decode whatever they're trying to play.

For fuck's sake this really isn't so complicated. Also that man page is probably outdated, because even hwdecs that don't mangle the RGB conversion can and will still silently clip 10 bit content, shit itself on 10 bit or HDR content, corrupt timestamps, etc.
>>
Wintard guide to mpv.

Download Windows build here: https://sourceforge.net/projects/mpv-player-windows/files/latest/download
Go into the installer folder and execute configure-opengl-hq.bat and mpv-install.bat.
You can also create a file named "input.conf" in the mpv\ directory if you want to set custom key bindings.

If you want to use scripts, go into the mpv\ directory and create a directory named "scripts".
Then put the .lua files in this directory.

Now the file tree should looks like something like that:
<whatever>\
mpv.exe
mpv\
input.conf
mpv.conf
scripts\
script.lua


Feel free to modify this.
>>
>>61540696
absolutely BTFO
>>
>>61540321
If you're playing it at 4K, probably. If it's at 1080p, no somethings still wrong, I'd guess the game running in the background.
>>
>>61540762
4k indeed.
>opengl-backend=dxinterop
Made it work about twice faster.
Why isn't it default?
>>
>>61540808
>Why isn't it default?
Works differently on different hw and drivers. For example, angle works better for me.
>>
https://pastebin.com/Y71iYrGL

Quick op update.
>>
>>61540404
What drivers? Can you be more specific? AMD benchmarks would actually be useful, since currently all our benchmarks are intel and nvidia only because nobody actually has an AMD GPU
>>
>>61540808
Because it crashes for most people due to Windows QUALITY OpenGL drivers
>>
>>61540967
I have AMD GPU and will test in 4 days when shinchiro updates his builds!
>>
>>61540808
Angle works better for me.
>>
Here's what a *real* mpv-for-retards guide should tell people to do: Figure out which backend works the best for you.
>>
We probably need troubleshooting section with:
>>try adding opengl-backend=dxinterop to the config if you get some abnormal behavior (extreme rendering times, low quality or other glitches)
Yay or nay?
>>
>>61541093
Probably also best to explain how to install stats.lua and how to get a detailed stats dump, as well as how to generate/upload a log file
>>
>>61540696
>Not true, it will fuck timestamps
Literally nothing about that in the github issues or in the manual. Only place I'm seeing it mentioned is in /g/ threads probably by the same anon.

Current cuda issues on mpv github:
>non-reproducible chroma scaling issue that only occurs for one user who has weird settings.
>weird extra line issue when decoding files with an extremely rare resolution
>memory leak that occurs when decoding tons of videos in a loop over many hours
>possibly broken on windows in current build (0 comments)

>Not true if you're using vaapi-glx.
>Not true if you're using vaapi-glx and the video colorspace is either BT.601 or BT.709,
fixed, but I'll give it to you since it seems the backend is auto-selected and only listed in logs(?)

>Still not true, they can still fuck timestamps.
See above
>Also if you're doing copyback then what the fuck is even the point of using hwdec? Just swdec..
Depends on your hardware. I think that copyback may be slower for normal desktop users but may be faster for users on devices with shitty CPUs but with hardware decoders.
>>
>>61541113
Yeah, sure. Just thought that dxinterop should be mentioned because of how many times it fixes things for windiots.
>>
>>61541093
dxinterop OR angle
dxinterop doesnt work for everone and vice versa
>>
>>61541138
>angle
Isn't angle default backend for win7+?
>>
>>61541162
where does it say that?
>>
I downloaded mpv from here https://mpv.srsfckn.biz/
I wanted to use the stats script but nothing shows up when I press the keybind. Is the latest version from that site compatible with the script?
>>
>>61541251
It doesnt but i assume so. Angle was used by default for me (Win7) and for few of my buddies on Win 10. I have AMD they have nvidia.
>>
>>61541262
post screenshot of insides of your mpv folder
>>
>>61541262
Yes, I'm using it. Did you download the script from releases or the master?
>>
File: 1.gif (32KB, 369x236px) Image search: [Google]
1.gif
32KB, 369x236px
>>61541290

>>61541305
yes, master branch
>>
>>61541335
OK. Nevermind. It works now for some reason.
>>
>>61541335
Except the .gif screenshot, I see nothing wrong with your setup.
>>
>>61540365
Report a bug
>>
I updated mpv recently and now I'm getting these errors

Option fmt: unknown format name: '444p'
Error parsing option fmt (option parameter could not be parsed)
Option vf-add: Error while parsing noformat parameter fmt (444p)
Error parsing option vf-add (option parameter could not be parsed)
/usr/local/etc/mpv/encoding-profiles.conf:72: setting option vf-add='noformat=444p,noformat=444p9,noformat=444p10,noformat=422p,noformat=422p9,noformat=422p10' failed.
Passing multiple arguments to ofopts-add is deprecated!
Passing multiple arguments to ovcopts-add is deprecated!
Passing multiple arguments to ofopts-add is deprecated!
Passing multiple arguments to ovcopts-add is deprecated!
Passing more than 1 argument to vf-add is deprecated!
Passing multiple arguments to ovcopts-add is deprecated!
Passing multiple arguments to ovcopts-add is deprecated!
Passing more than 1 argument to vf-add is deprecated!
Passing multiple arguments to ovcopts-add is deprecated!
Passing multiple arguments to ovcopts-add is deprecated!
Passing more than 1 argument to vf-add is deprecated!
Passing more than 1 argument to vf-add is deprecated!
Passing more than 1 argument to vf-add is deprecated!


my only options in config are
no-border
autofit=1440
hwdec=auto
video-sync=display-resample

Any help? Using it on Mac with Homebrew
>>
OP pls put SMPlayer in the OP
pls
>>
>>61541398
Clearly you have some bullshit in your /usr/local/etc/mpv/encoding-profiles.conf file
Looks like an open single-quote '
Close it
>>
>>61541406
SMPlayer is outdated
>>
>>61541406
SMPlayer refuses to properly interface with mpv and is unsupported by mpv's developers.
>>
>>61541406
why not add all frontends?

https://github.com/mpv-player/mpv/wiki/Applications-using-mpv
>>
File: Untitled.png (2MB, 1237x701px) Image search: [Google]
Untitled.png
2MB, 1237x701px
>>61541390
its working now.

on page 2 of stats.lua, why does it show scale=bilinear when i already set it to scale=ewa_lanczossharp ?
>>
>>61541491

nvm. its working fine now. had to full screen it.
>>
>>61541491
scale only works when you upscale video. 720p -> 1080p for example.
>>
>>61541462
bomi is not being developed anymore
Baka is a mess
mpc-qt is broken
OvoPlayer is broken
xt7 is broken
>>
>>61541491
rtfm
>>
File: 1451530243054.png (763KB, 787x830px) Image search: [Google]
1451530243054.png
763KB, 787x830px
OK, I don't see if any of the information on the stats have any relevancy to my issue so here's what I'm dealing with:
On normal playback and sped up to whatever ratio, on earphones you can clearly hear that the audio is like jittery? I'm not really tech savvy so I don't know how to explain this.
This is my config file I scrapped from the interwebz https://pastebin.com/ArxtxWg2

Anyone know how to set up audio properly?
>>
>>61541542
I wont click your link but it supposed to work normally out of the box. Tell your OS and post logs!
>>
>>61541521
okay. last question.

this is my config, it works perfectly now.

profile=opengl-hq
cscale=ewa_lanczos
scale=ewa_lanczossharp
interpolation
video-sync=display-resample
tscale=oversample

what is the purpose of "opengl-backend=dxinterop"?
do i need it?
>>
>>61541398
Look for "[enc-v-h264]"
Remplace content with
profile-desc = "H.264 (x264)"
ovc = libx264
ovcopts = preset=medium,crf=23,threads=0
# If you want to restrict the output video to something compatible with most
# hardware and basic decoders, add "profile=high,level=41" to ovcopts above and
# uncomment the following line to avoid errors when source video isn't yuv420p:
#vf-add = format=yuv420p
>>
>>61541542
I think interpolation/display-resample can fudge the audio in some situations
>>
>>61541581
can help or hurt performance
test it
>>
>>61541592
Thanks, it got rid of the errors, now all that's left are the "Passing multiple arguments..." warnings.

I was thinking of just replacing the file with the default one. I've never manually edited the encoding-profiles.conf anyway
>>
>>61540291
I dont like oversample for interpolation because in my experience it ruins fast cuts.

For example, in the Evangelion opening you'll see quick cuts to white text on a black background and instead of it being jarring like its supposed to be, it turns into a fade. I do have a 120 hz monitor ao maybe thats what lets me see it.
>>
>>61541668
Mhm, looks like you still have the old encoding-profiles.conf. You should probably replace it with https://raw.githubusercontent.com/mpv-player/mpv/master/etc/encoding-profiles.conf
>>
>>61541875
Oversample should in theory never result in a fade; on a 120 Hz monitor it should actually be a no-op
>>
>>61541875
Are you sure that's not just your monitor's overdrive or whatever?
>>
>>61542190
The way to rule this out would be to test with interpolation on vs off
>>
>>61541927
Perfect, thanks
>>
>>61540967
>What drivers? Can you be more specific? AMD benchmarks would actually be useful, since currently all our benchmarks are intel and nvidia only because nobody actually has an AMD GPU
Mesa.
I'll run any benchmarks you want me to, just give me a list of the switches you want to test. Currently I have 0.26 and -git.
>>
>>61542541
1. The new EWA kernel compared to the old one (before compute shaders were merged)
2. `--hdr-compute-peak=yes`
3. `--opengl-pbo` on vs off
4. `--vd-lavc-dr` on vs off
5. `--vd-lavc-dr --opengl-pbo-explicit-flush` (requires compiling from branch `haasn/explicit-flush`)

>mesa
I'm not too knowledgeable about AMD stuff, this one uses the “free” AMD driver (amdgpu), right? Can you also test amdgpu-pro?
>>
>>61542582
>this one uses the “free” AMD driver (amdgpu), right?
Yes, I'm using amdgpu and mesa. As for amdgpu-pro, no, but I can do this https://boinc.berkeley.edu/dev/forum_thread.php?id=11417 to get the amdgpu-pro opencl library if you want.
As for the other benchmarks, I am currently making tortilla chips with my waifu (and then nachos), so I'll post them soon.
>>
>>61542626
Whos your waifu, anon?
>>
>>61542696
>Whos your waifu, anon?
My waifu meaning my girlfriend. I'm getting mad though because my family and her keep eating all the chips so I'll run the benchmarks now.
>>
https://github.com/mpv-player/mpv/commit/dbef5b737e2f994f02923c8214cba368b663a655
idiot recommending hwdec btfo
>>
File: 09560575.jpg (36KB, 362x367px) Image search: [Google]
09560575.jpg
36KB, 362x367px
>>61543010
>girlfriend
Ew. Nice blog though.
>>
File: 23044490.jpg (134KB, 600x450px) Image search: [Google]
23044490.jpg
134KB, 600x450px
>>61543030
ABSOLUTELY BTFO
BASED HAASN
>>
>>61539910
Yes.
>>
File: 09666286.png (5KB, 274x242px) Image search: [Google]
09666286.png
5KB, 274x242px
>>61543030
>>
Still cant decide how to watch my 720p animu on my 1080p monitor.
>nnedi3 32 -> mitchell + SSIM
>ewa_lanczossharp
>ewa_lanczos + SSSR
Pls vote for best.
>>
>>61543333
ewa_lanczossharp
>>
>>61543333
triangle. triangles are objectively the best shape.
>>
>>61543333
Only use nnedi3 for low quality sources(HS rips and DVDs).
For 720p BDs use ewa_lanczossharp+ssim
>>
>>61543333
Please don't listen to this guy >>61543497
Don't ever use any kind of memeshaders. It's a pretty common mental illness pretty amongst madshitfags/windowsfags.
>>
>>61543599
t.butthurt Pentium 4
>>
I have a playlistmanager.conf to change settings for playlistmanager.lua but I can't get this setting to work with curly braces. Every other setting in the same conf file works fine.
In the script it looks like
  --slice long filenames, and how many chars to show
slice_longfilenames = {false, 70},

and in the conf file I want to change it to true, 60.
I've tried every variation I can think of but none work.
slice_longfilenames={true, 60}
slice_longfilenames="{true, 60}"
slice_longfilenames=true, 60
slice_longfilenames=60

etc. and without spaces.
>>
>>61543599
>It's a pretty common mental illness pretty amongst madshitfags
I'm an ex madshitfag ;___;
>>61543402
The picture looks too rough with it.
>>61543497
>For 720p BDs use ewa_lanczossharp+ssim
Ive used ewa_lanczos SSSR combo for some time but i start to think that its too sharp... The picture is somewhat exhausting to look at and kinda uneven.
>>
>>61543681
>Ive used ewa_lanczos SSSR combo for some time but i start to think that its too sharp... The picture is somewhat exhausting to look at and kinda uneven.
Try scale=haasnsoft
>>
>>61543681
Reduce SSSR sharpness a bit so.
>>
>>61543599
>Don't ever use any kind of memeshaders.
Including opengl-hq and ewa_lanczos?
>>
>>61542582
Even though you enabled compute shaders for mesa, I'm getting an odd bug which results in mpv only rendering a few pixels when entering fullscreen. Pic related.
>>
>>61543697
This is pretty good actually. Makes lines thicker, looks more natural with anime. Thanks for the idea!
>>61543699
Looks better.
>>
>>61543640
I'm afraid the option parsing code of mpv (https://github.com/mpv-player/mpv/blob/master/player/lua/options.lua) doesn't handle lua tables, you could ask the author to split into two variables (or modify the script yourself).
>>
Is there something like lav-filters-megamix but with mpv for lazy winfags?
>>
>>61543985
You dont need. Everything works out of the box.
>>
>>61543985
Why would you need that?
>>
>>61544022
I would like to create a little shit like that before but I hate coding.
    class MpvPage(QWizardPage):
preset_box = QGroupBox('Preset')
preset_combo = QComboBox()
preset_combo.addItem('Low (Intel HD3000)')
preset_combo.addItem('Medium (Modern iGPUs)')
preset_combo.addItem('High (Nvidia GTX 1050)')
preset_combo.addItem('Insane (Nvidia GTX 1070)')

interpolation_box = QGroupBox('Interpolation')
interpolation_combo = QComboBox()
interpolation_combo.addItem('None')
interpolation_combo.addItem('Oversample (Sharpest/Smooth)')
interpolation_combo.addItem('Linear (Sharper/Smoother)')
interpolation_combo.addItem('Bicubic (Blurry/Smoothest')

youtube_box = QGroupBox('YouTube-Dl')
youtube_combo = QComboBox()
youtube_combo.addItem('Low (<=720p/30fps)')
youtube_combo.addItem('Medium (<=1080p/30fps)')
youtube_combo.addItem('High (<=1080p/60fps)')
youtube_combo.addItem('Insane (>=1080p)')
>>
>>61543635
"no"
>>61543681
not memeshaders
>>
>>61544074
>Insane
What would you put there, lul?
>>
Which version should I install on Ubuntu?
>>
>>61544178
I hate naming things too and coding is a nightmare for people like me.
>>
>>61544074
Use profiles.lua for that
>>
>>61544305
I would like to create a stupid gui where users choose some settings and finally it create the suitable mpv.conf file with profiles and so on based on resolution and framerate.
>>
>>61544212
https://github.com/mpv-player/mpv-build
>>
>>61544628
Should I follow the "Generic Instructions" or do I have to use the Ubuntu/Debian instructions listed on that page since I'm running Ubuntu?
>>
So is there a way to get MadVR level quality using MPV? I've just spent some time playing around with MPV's config on Windows, and the frame smoothing is nice, as well as the performance (if I'm watching something without giving it focus it looks to perform much better), but I simply can't get an imagine quality similar to that of my MPC-HC + madVR config, using their NGU Anti-Alias settings (at medium luma doubling and low quadrupling, supersampling, and NGU high chroma upscaling).
>>
>>61544737
Try with ewa_lanczossharp+ssim
>>
>>61544775
And ewa_lanczos+krigbilateral for chroma
>>
>>61544074
See >>61513977
>>
>>61544806
This assumes you want to include everything in a GUI but I wouldn't even attempt doing that.
mpv --list-options | wc -l
701

Honestly, 100 "important" ones are enough for a GUI. Everything else people can do with their mpv.conf. That's like most front-ends actually do it. Provide a GUI for the important stuff, advanced users can use the config file.
>>
>>61540291
>icc-profile-auto
Don't you need to have an icc-profile configured for that to make sense?

I'm on a TV and don't want to spend money on a calibrator. I read something vague about TV's all being calibrated to the same standard set of color profiles?, is this true and if so how do I find mine out?
>>
>>61544983
>I read something vague about TV's all being calibrated to the same standard set of color profiles?
funny
>>
>>61544791
Thanks for the tip, it's certainly an improvement, and makes the distinction less irritating. MadVR still provides a better image, but only marginally with those settings (and at huge performance cost).
>>
>>61545036
I switched from madvr too. You can get literally same or better quality with various shaders.
>>
>>61545061
What settings are you using? And are you upscaling to 1080p or higher? I'm upscaling to 1440p.
>>
>>61545036
Also try:
linear-scaling
>>
>>61545075
You can try with nnedi3, is pretty heavy tho
>>
>>61545084
I'll give that a go.

>>61545101
I used to use that in MadVR, before NGU was available. I'll give it a shot here, but I'm looking for something lighter weight if possible.
>>
>>61545075
Krig for chroma (videos with native resolution), nnedi3 for low res/DVD, ssimsuperres for 720p, ssimdownscaler for downscaling.
>>
>>61545084
That's default in opengl-hq
>>
File: Yotsuba sad.jpg (39KB, 571x459px) Image search: [Google]
Yotsuba sad.jpg
39KB, 571x459px
>>61545031
>>
File: 232131.png (4KB, 216x152px) Image search: [Google]
232131.png
4KB, 216x152px
>>61545187
Is not, I'm on 0.26.0 btw.
>>
>>61545251
sigmoid implies linear. it says so in the man page as well.
lazy fuck.
>>
>>61545278
Not the same thing tho
>>
Checking for OpenGL without platform-specific code (e.g. for libmpv) : not found any of libmpv-shared, libmpv-static 
Checking for MALI via Linux fbdev : no
Checking for OpenGL video outputs : not found any of egl-x11, gl-win32, plain-gl, gl-wayland, mali-fbdev, gl-cocoa, rpi, gl-x11, egl-drm
No OpenGL video output found or enabled. Aborting. If you really mean to compile without OpenGL video outputs use --disable-gl.


I'm getting this while trying to compile from https://github.com/mpv-player/mpv-build

I've installed all dependencies I'm not sure what else I need since I believe I have opengl install already
>>
>>61545036
fwiw, the reasons for the huge performance cost you had with madvr were 1) supersampling and 2) using ngu high for chroma upscaling. both do very little for image quality while costing a ton of performance.
>>
File: 1460093428567.jpg (28KB, 250x250px) Image search: [Google]
1460093428567.jpg
28KB, 250x250px
>>61545388
Install windows
>>
>>61545893
I do have windows installed on another drive but there has to be some way to do it here.
>>
>>61543883
What GPU and driver?
>>
>>61545388
you need the development libraries i think. they're usually called like ffmpeg-dev or ffmpeg-devel etc
>>
File: screen.png (56KB, 1137x242px) Image search: [Google]
screen.png
56KB, 1137x242px
>>61546242
Pretty sure I have everything installed that I need and it's still not working. Maybe it's because I'm on Xenial and I'm using ffmpeg 2.8?
>>
>>61546112
>What GPU and driver?
Same guy. 280x mesa amdgpu.
>>
>>61546487
Can you try this patch?

diff --git a/video/out/opengl/gl_headers.h b/video/out/opengl/gl_headers.h
index a55749cbb7..ff71386c19 100644
--- a/video/out/opengl/gl_headers.h
+++ b/video/out/opengl/gl_headers.h
@@ -79,6 +79,11 @@
#define GL_DYNAMIC_STORAGE_BIT 0x0100
#define GL_CLIENT_STORAGE_BIT 0x0200

+// --- GL 4.2 or GL_ARB_image_load_store
+
+#define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
+#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
+
// -- GL 4.3 or GL_ARB_compute_shader

#define GL_COMPUTE_SHADER 0x91B9
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index d0efcd067d..011c471886 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -1274,6 +1274,8 @@ static void finish_pass_fbo(struct gl_video *p, struct fbotex *dst_fbo,
dst_fbo->iformat, GL_WRITE_ONLY);
GLSL(imageStore(out_image, ivec2(gl_GlobalInvocationID), color);)
dispatch_compute(p, w, h, p->compute_w, p->compute_h);
+ p->gl->MemoryBarrier(GL_TEXTURE_FETCH_BARRIER_BIT);
+ p->gl->MemoryBarrier(GL_SHADER_IMAGE_ACCESS_BARRIER_BIT);
} else {
finish_pass_direct(p, dst_fbo->fbo, dst_fbo->rw, dst_fbo->rh,
&(struct mp_rect){0, 0, w, h});
>>
>>61546605
Doing it now, will report back with results.
>>
>>61546605
Nope, still the same.
>>
>>61545388
do you have xorg-dev?
>>
If I'm using mpv on windows, is there any way to display stats using the lua script?

I'm using the https://sourceforge.net/projects/mpv-player-windows/files
Installer
>>
>>61547517
Create a folder inside the mpv folder and name it "scripts", paste the .lua file inside the scripts folder, play any video and press shift+i
>>
>>61547517
You need to download stats.lua btw, it isn't included with mpv
>>
>3000us to 2200us with the compute shaders thing
neat
>>
>>61547646
Right I got that and did what you said. Worked fine. Thanks anon
>>
File: 1468730634652.jpg (60KB, 480x480px) Image search: [Google]
1468730634652.jpg
60KB, 480x480px
Why does mpv use such a retarded build system (waf)? The bootstrap script downloads the waf script with an embedded (in the text of the script) bzip2 file.

From the WAF site:
>The executable may be run directly through a Python interpreter such as cPython 2.5 to 3.5, Pypy or Jython >= 2.5. It provides its own library compressed as a binary stream within the file. Upon execution, this library is uncompressed into a hidden folder in the directory of the file (it is re-created when removed). This scheme enables different Waf versions to be executed from the same folders and under various Python interpreter versions

Is there a legitimate reason to use this instead of something like Make?
>>
>>61548735
Dumb dragon poster
>>
>>61546950
What happens when you do this?

diff --git a/video/out/opengl/video_shaders.c b/video/out/opengl/video_shaders.c
index 854c829f1d..576031c521 100644
--- a/video/out/opengl/video_shaders.c
+++ b/video/out/opengl/video_shaders.c
@@ -221,6 +221,7 @@ void pass_compute_polar(struct gl_shader_cache *sc, struct scaler *scaler,
int components, int bw, int bh, float ratiox,
float ratioy)
{
+ components = 1;
int bound = ceil(scaler->kernel->radius_cutoff);
int offset = bound - 1; // padding top/left
int padding = offset + bound; // total padding
>>
>>61548735
>make
no configuration options / feature testing
>>
File: 1438541208488.jpg (10KB, 234x250px) Image search: [Google]
1438541208488.jpg
10KB, 234x250px
>download and install mpv on android, if /g/ likes it it's probably good
>allow storage permission
>crashes
>wipe cache/data of the app
>try to navigate files
>crashes
>reboot phone
>launch app, finally works
>try to launch a mp4
>crashes
>have to download the same episode of GoT in .mkv
>launch
>french accents and subtitles not displayed correcly

Remind me why should I take mpv seriously ? Oh yeah it's open source no botnet... Does'nt even work properly on a Moto Z running on Nougat

I'll gladly return with MX Player
>>
>>61549182
phoneposter BTFO
>>
>>61549182
Works great on my Honor 8 running nougat.
>MX Player
>Can't play AC3 or DTS
>>
>>61549299
I got ac3 working on a Nexus Player using MX Player but I did have to do a little extra tinkering to sideload a codec to get it working
>>
How come it uses hwdec even with hwdec=no or no hwdec in conf for me? I don't have anything special. Or is stats lying?
>>
>>61549531
Post log and stats?
>>
has some update disabled user shaders? all here stopped worked for some reason. i use the shinchiro builds. already tried changing opengl-shaders to opengl-shader.
using auto profile too.
>>
>>61549552
downloading older builds dont seem to help. wtf.
>>
>>61549552
Have you updated the shaders?
>>
>>61549760
i updated both i use 5 days ago, i believe.
>>
>>61549768
Post logs
>>
>>61549788
pardon my ignorance, but how can i do that?
>>
>>61549808
See OP
>>
Getting this repeatedly:
[vo/opengl] Using FBO format 0x805b.
[ 0.689][v][ifo] Opening C:\mpv\shaders\adaptive-sharpen.glsl,C:\mpv\shaders\SSimSuperRes.glsl
[ 0.689][v][ifo_dvdnav] Opening C:\mpv\shaders\adaptive-sharpen.glsl,C:\mpv\shaders\SSimSuperRes.glsl
[ 0.689][v][bdmv/bluray] Opening C:\mpv\shaders\adaptive-sharpen.glsl,C:\mpv\shaders\SSimSuperRes.glsl
[ 0.689][v][file] Opening C:\mpv\shaders\adaptive-sharpen.glsl,C:\mpv\shaders\SSimSuperRes.glsl
[ 0.689][e][file] Cannot open file 'C:\mpv\shaders\adaptive-sharpen.glsl,C:\mpv\shaders\SSimSuperRes.glsl': Invalid argument
[ 0.689][e][stream] Failed to open C:\mpv\shaders\adaptive-sharpen.glsl,C:\mpv\shaders\SSimSuperRes.glsl.
[ 0.689][v][cplayer] Setting option 'profile' = 'opengl-hq' (flags = 68)
[ 0.689][v][cplayer] Setting option 'scale' = 'spline36' (flags = 68)
[ 0.689][v][vo/opengl] Testing FBO format 0x805b
[ 0.689][v][vo/opengl] Create FBO: 16x16 (16x16)
[ 0.690][v][vo/opengl] Using FBO format 0x805b.
[ 0.690][v][ifo] Opening C:\mpv\shaders\adaptive-sharpen.glsl,C:\mpv\shaders\SSimSuperRes.glsl
[ 0.690][v][ifo_dvdnav] Opening C:\mpv\shaders\adaptive-sharpen.glsl,C:\mpv\shaders\SSimSuperRes.glsl
[ 0.690][v][bdmv/bluray] Opening C:\mpv\shaders\adaptive-sharpen.glsl,C:\mpv\shaders\SSimSuperRes.glsl
[ 0.690][v][file] Opening C:\mpv\shaders\adaptive-sharpen.glsl,C:\mpv\shaders\SSimSuperRes.glsl
[ 0.690][e][file] Cannot open file 'C:\mpv\shaders\adaptive-sharpen.glsl,C:\mpv\shaders\SSimSuperRes.glsl': Invalid argument
[ 0.690][e]
>>
>>61549929
"opengl-shaders=" is deprecated, use opengl-shader=, see:
# Resizer
opengl-shader="C:\Program Files\mpv\shaders\KrigBilateral.glsl"
opengl-shader="C:\Program Files\mpv\shaders\SSimSuperRes.glsl"
opengl-shader="C:\Program Files\mpv\shaders\SSimDownscaler.glsl"
>>
>>61549940
ohhhh, so you need to list them separated now...
changed that, and now it works. thanks for the help!
>>
>>61547172
I did not have those installed. I'm installing right now to see if it works.
>>
>>61550226
>>61547172
It finally worked. Anon you're my lord and savior
>>
is youtube-dl not working rn for anyone else?
>>
File: 4234242324.png (1MB, 1921x1041px) Image search: [Google]
4234242324.png
1MB, 1921x1041px
>>61550402
Is working for me with 0.26.0
>>
Any performance or quality improvements on finesharp.glsl since the newest user shaders api?
>>
>>61550559
>newest user shaders api
What?
>>
>>61550598
Newest changes, not new api.
>>
>>61550496
youtube itself gets stuck on Downloading webpage
>>
>>61550640
>youtube is great
>youtube is bought by google (alphabet now)
>youtube is shit
>>
>>61550559
No
>>
>>61550669
Is it possible to increase performance of all the igv's shaders with compute shaders?
>>
>>61550677
Not necessarily, no.
>>
>>61550762
It's useless for nnedi3 and current shaders.
So is it only for ewa and neural based things?
>>
Are there performance differences between mpv and mpc-hc + madvr?
>>
>>61550811
See >>61545036
Almost the same image quality but with much better performance with this settings >>61544791 and >>61544775
>>
Has anyone run into the issue of no audio with mpv?

Running mpv --audio-device=help gives me 'auto' as the only option and even with no specific card listed in my .conf I get no audio
>>
>>61550811
For some people with very old hardware and shitty drivers, madvr could be a little bit faster because it has some nasty hacks and uses d3d9.
>>
>>61550825
Neat. The only feature I'd miss is the volume normalization/DRC feature that mpc-hc has.

Is there a simple setting similar to that in mpv which doesn't require much tweaking?
>>
>>61550885
Mpc-hc one is an ugly shit! Don't use it!
On mpv you can use loudnorm and dynaudnorm algorithms!
>>
>>61550885
Try this:
af-add=loudnorm=I=-25:TP=-1.5:LRA=1

Or this:
af-add=dynaudnorm=f=200:g=5:r=0.1
>>
>>61549975
you need to use ; instead of , dumbass
>>
File: 15494674.jpg (24KB, 393x296px) Image search: [Google]
15494674.jpg
24KB, 393x296px
>>61550496
>GARNiDELiA
>>
>>61550991
"opengl-shaders=" was deprecated in 0.26.0.
See the change log here:
https://github.com/mpv-player/mpv/releases/tag/v0.26.0
Now you need to use "opengl-shader="
>>
>>61551026
stop spreading misinformation. you can use opengl-shader for single shader and opengl-shaders for multiple as usual but separated by ; on Win.
>>
>>61550806
It totally depends on the algorithm it they can help. I don't know all the algorithms used in shaders.
In case the speedup is only very small the author's also might not do it because compute shaders don't run on older hardware.
>>
>>61551041
Deprecated
m_option: deprecate multiple items for -add etc.

player: deprecate "osd" command

--audio-file-paths => --audio-file-path

--sub-paths => --sub-file-path

--opengl-shaders => --opengl-shader

--sub-paths => --sub-file-paths

the following options are deprecated for setting via API:

"script" (use "scripts")
"sub-file" (use "sub-files")
"audio-file" (use "audio-files")
"external-file" (use "external-files")
(the compatibility hacks for this will be removed after this release)
>>
>>61551053
You can literally check it yourself, it still works and is still in the manual.
>>
>>61551053
yure so fucking retarded.
>>
>>61550929
There is acompressor too but it's a shit.
>>
File: 09870788.jpg (261KB, 411x611px) Image search: [Google]
09870788.jpg
261KB, 411x611px
>tfw a shader has recent activity
>check it - no changes to the code
>its just some faggit starred it
>>
RAVU will DESTROY NGU with anime.
>>
File: 77390475.png (25KB, 494x400px) Image search: [Google]
77390475.png
25KB, 494x400px
>I'm working on a solution to automate the creation of optimized custom resolutions right now. Once that's available, I wouldn't expect you to get frame drops/repeats any more often than once every couple of hours. Hopefully even once every couple of days. Maybe I'm being optimistic, but that's the plan.

What do you think? This is what madshi currently works on.
>>
File: Screenshot_20170725-011628.png (167KB, 1440x2560px) Image search: [Google]
Screenshot_20170725-011628.png
167KB, 1440x2560px
Hey, hope this is a decent place to ask. Got mpv on Android, loving it so far. Runs beautifully on my Nexus 6P™!

Only question is do I have to have subs baked in the movie? It doesn't seem like having .srt in the same folder will let me load them.
>>
>>61551499
--sub-auto=<no|exact|fuzzy|all>

Load additional subtitle files matching the video filename. The parameter specifies how external subtitle files are matched. exact is enabled by default.
no: Don't automatically load external subtitle files.
exact: Load the media filename with subtitle file extension (default).
fuzzy: Load all subs containing media filename.
all: Load all subs in the current and --sub-file-path directories.
>>
>igv updated KrigBilateral 4 hours ago
>>
>>61551623
Look >>61551247
>>
>>61550825
"much better performance" depends heavily on the settings. of course you can slow either mpv or madvr down by using stupid settings, as the original user did with stupid madvr supersampling and chroma upscaling settings.
>>
>>61548735
There are no good build systems. mpv uses waf because it seemed like a good idea at the time, but it wasn't. Makefiles are fine, and you can get pretty far with the GNU dialect of make, but if you need complex configuration (like mpv does to find all those OpenGL and X11 headers,) even GNU make can become a huge pain. You can use tools like automake or CMake to generate your Makefiles, but those are bad too.
>>
anyone else having problems w/ youtube-dl for YouTube? it takes a very long time to start downloading
>>
>>61552080
I'm on Windows 10 btw
>>
>>61552080
Its probably youtub shitting itself.
>>
>>61552080
Try "youtube-dl.exe" --update
>>
>>61552263
I've also tried Vimeo and it's still very slow, the only website that I can use normally w/ mpv is Twitch
>>61552285
already downloaded latest Windows youtube-dl build from website
>>
>>61552422
It's fine for me.
>>
File: mpv users vs the world.png (275KB, 1276x1283px) Image search: [Google]
mpv users vs the world.png
275KB, 1276x1283px
VLC is better.
>>
>>61552604
>VLC
>no interpolation
lmfao
>>
>>61552620
>responding to troll
cmon man, dont give him (you)s'!
>>
>>61552604
mpv with default configuration = vlc
mpv with settings in the OP > vlc
There's better scaling and interpolation based smoothing you can use as well.

It's not about distorting the original image, it's about not damaging it the least amount as possible by
>introducing aliasing while downscaling
>introducing jaggies while upscaling
>not introducing uneven playback when the framerate on the file doesn't jive well with the refresh rate on your display

If you have a high quality file then mpv with good settings should leave it more or less "untouched".

Some people here do use extra sharpening shaders and other types of interpolation (eg. SVP) to "improve" (read: distort) the image/playback but that's not the norm.
>>
I like mpv, the video is great but the audio is very low
>>
>>61552681
If only mpv had a volume control.
>>
>>61552720
its not about the volume control the stereo is fine but the 5.1 is low
>>
>>61552080
>>61552285
how do i use this youtube-dl in windows mpv?
>>
Got blue screen when enable ewa_lanczos when playing with dxinterop. ANGLE running it fine.

Is ANGLE support GL_ARB_compute_shader? I dont find it is loaded in logs
>>
Does "uploading frame" include the time it takes to decode it?
>>
>>61552895
>Is ANGLE support GL_ARB_compute_shader?
Probably not. GL_ARB_compute_shader looks like a desktop GL extension. They're part of GLES 3.1 core, which ANGLE doesn't support yet.

https://github.com/google/angle#level-of-opengl-es-support-via-backing-renderers
>>
>>61551375
Yes, it's like reclock but without audio resampling.
This makes me headache...
>>
>>61552080
time to reformat brb
>>
What's a good performant profile? My laptop heats up and drops frames on some video streams, and the screen isn't that good so I don't need that quality anyway
>>
>>61553197
Actually, scratch that. ANGLE seems to support at least part of ES 3.1 and compute shaders, but it doesn't support arrays of arrays (and I can't figure out if that's supposed to be an ES 3.1 or 3.2 feature.)
>>
>>61551375
Sooooooource, please.
>>
>>61553787
the default profile (i.e. none) is as fast as it gets and sacrifices video quality
if your laptop can't handle that, you're out of luck
>>
>>61553813
Is it why some retarded guys say GPUs are powerful but dummy?
>>
>>61553849
>I'm working on a solution to automate the creation of optimized custom resolutions right now
http://lmgtfy.com/?q=%22I%27m+working+on+a+solution+to+automate+the+creation+of+optimized+custom+resolutions+right+now%22
>>
>>61553876
But it's from madshi and it's known since one fucking month. I thought somebody else was working on it. Hopefully we have display-resample but yes it's weird with video songs because the audible audio resample.
>>
>>61551375
Does it mean smoothmotion/interpolation will be fucking useless?
>>
>>61553865
There are a couple of things that might increase performance a slight bit, like hardware decoding. I doubt it would be significant.
>>
>>61553973
>thinking smooth motion fixes frame drops caused by your hardware not being able to keep up

No that does something different, refer to:
>>61539204
># https://github.com/mpv-player/mpv/wiki/Display-synchronization
>>
Should I use dxinterop instead of angle on Windows if it doesn't crash for me and I get slightly better timings? The manual says dxinterop is experemental, but I don't see any difference regarding video quality.
>>
>>61552895
>Got blue screen when enable ewa_lanczos when playing with dxinterop.
Post log
>>
>>61554143
Yes. dxinterop is still marked as experimental because it randomly BSoDs on switchable AMD hardware. If it works at all for you, it will probably continue to work.
>>
>>61554143
Doesn't matter that much, but make sure if you use dxinterop and hwdec you need to use dxva2-copy (not just dxva2) to keep colors right or not use hwdec at all. Angle's d3d11va and d3d11va-copy both keep colors right.
>>
>>61554159
here:
https://pastebin.com/raw/gWv2zzUM
>>
>>61554299
Thanks
>>
>>61554174
Does something like d3d11 interop exist to use d3d11va as hwdec?

I don't know why but angle is getting super slow with my AMD switchable laptop. I can barely use opengl-hq but with cscale/scale=spline16 and deband=no. It was working with opengl-hq four or five months ago.
>>
>>61552895
>>61554299
Can you compile patches? (I'm guessing because it looks like you made that build yourself.)

If so, could you try this: https://0x0.st/DgO.patch
>>
>>61554518
Oh and strangely newest mpc-hc/madVR is twice faster now.
Damn! I can use NGU low now... but not Jinc, I thought NGU was slower.
It's much better than splne16. Stupid brain wants to keep it now.
>>
>>61554564
I hope compute shaders will make my toaster enough for scale=haasnsoft + opengl-shader="~~/shaders/SSimSuperRes.glsl" but it's probably just a dream.
>>
>madshi
>nevcairiel and I are working on improving the situation with native DXVA 4K HEVC decoding, so DXVA copyback might not be necessary in the long run
Isn't it working fucking perfect with mpv and d3d11va on windows?
>>
>>61554564
depends on the scaling factor. ngu can only exactly double (or quadruple) resolution. jinc can do any scaling factor. if you upscale exactly 2x, then ngu low should be faster than jinc. but if you upscale e.g. 10% then jinc will be noticeably faster, because ngu will upscale 2x and then you need to downscale again from 2.0x to 1.1x.
>>
>>61554521
Yeah, that fixes it
>>
>>61554869
Great. Thanks for testing.
>>
>>61553935
>Hopefully we have display-resample but yes it's weird with video songs because the audible audio resample.
Oh lol... Facepalm.jpg
>>
>>61554521
>Can you compile patches?
How exactly do you do this with mpv-build? git apply mpv.patch and then git am mpv.patch, before running ./build?
>>
>>61540404
>-turning direct rendering on makes mpv lag like crazy
On windows (angle), it makes uploading frames more fast
>>
>>61555465
cd mpv
git am mpv.patch
cd ..
./build

Something along those lines.
>>
File: 1500734523594.png (2MB, 1720x860px) Image search: [Google]
1500734523594.png
2MB, 1720x860px
SSSR fanboy btfo
>>
File: ..jpg (54KB, 396x382px) Image search: [Google]
..jpg
54KB, 396x382px
>>61555906
>>
>>61555906
>spedning hours ricing your config to look at pictures of other men

literal faggotry.
>>
>>61555977
Good, so you remember. SSSR fags must be killed.

>>61555991
If there's anything worse than a SSSR fag, it's someone who is too dumb to configure mpv,
>>
>>61555906
fake
>>
>>61556010
>SSSR fags must be killed.
t. poorfag who can't run SSSR
>>
File: 83879580.gif (7KB, 515x430px) Image search: [Google]
83879580.gif
7KB, 515x430px
>>61555977
>>61555991
>>61556015
>replying to troll or a retard
>>
>>61550991
sorry that it worked fine for ages and then changed for no fucking reason . i'll scour the manual next time.
>>
>>61556031
lmfao not only is FineSharp heavier on ressources, it's also better.
>>
>>61550991
actually, go screw yourself. tried it and didnt even work.
>>
>>61556127
No problem man.
>>
>>61556164
How can you fuck up something some simple?
>>
>>61556194
...oh, i figured seeing it was deprecated, i needed to use opengl-shader and add the ";". changed to "opengl-shaders". sorry for lashing out. you're still an asshole tho :)
>>
>>61556255
>you're still an asshole tho :)
It is just that this question about shaders gets asked multiple times every thread. I had to be rough to teach newfags :(
>>
>>61556147
FineSharp is heavier only if SSSR doesn't work at all, retard. SSSR is like 4x heavier than finesharp.
>>
>>61556271
lmfao SSSR fag being mad. FineSharp masterrace.
>>
>any meme shaders
>master race
>>
>>61556269
i get that. but dismissing context doesnt help. i understand how shaders work, and for months "," worked fine.
but, i can i can understand being tired of new users that just want to be given something instead of learning, so i sympathize.
>>
Why am I getting such high frame upload numbers despite that frame drops and mistiming aren't occuring and the video works fine? It only happens with angle backend and video-sync=display-resample. If I set dxinterop or disable video-sync=display-resample timings are fine.
>>
How can I loop over gifs, but not over other video files?
>>
>>61556656
Just use dxinterop if angle gives you problems.
>>
>>61556662
https://mpv.io/manual/master/#auto-profiles
https://mpv.io/manual/master/#options-loop-file
>>
>>61556696
Player starts much slower with dxinterop and there are no difference with the actual playback. Only these numbers are fucked for some reason with angle.
>>
>>61549115
The pixels go from blue to red.
>>
>>61556746
>Player starts much slower
How much slower are were talking?
>there are no difference with the actual playback
Wrong, you just dont notice.
>>
>>61556758
>The pixels go from blue to red.
*However, it makes subtitles actually render.
>>
>>61556765
It starts one second slower. It's not that big, but definitely noticeable. I guess I will stay with dxinterop then.
>>
>>61556718
Thank you, works perfectly.
>>
>>61556758
Screenshot of both?
>>
>>61556746
Try enabling --opengl-pbo or --vd-lavc-dr, any difference?
>>
>>61557197
>--opengl-pbo
Player crashes with it on angle and make timings a little worse on dxinterop
>--vd-lavc-dr
It seems like it's not implemented yet on the latest Windows build, but I'll try it later.
>>
>>61557190
>Screenshot of both?
Blue screenshot: >>61543883
Red pic related.
>>
>>61557190
>Screenshot of both?
On a different note... Check pic related out. Same mpv git (with the components = 1 patch).
>>
File: mpvPerf.png (928KB, 1366x768px) Image search: [Google]
mpvPerf.png
928KB, 1366x768px
Aren't these numbers quite high, especially with interpolation enabled?

I'm using an old crappy nv gpu and the following mpv.conf:

vo=opengl
profile=opengl-hq
hwdec=dxva2-copy
opengl-backend=angle
angle-flip=no
scale=lanczos
cscale=lanczos
sigmoid-upscaling=yes
correct-downscaling=yes
deband=no


video-sync=display-resample
interpolation
is added on the right.
>>
My windows config https://pastebin.com/GmaJVnvh

anything wrong with it? also looking for some better profiles for different video sizes, anyone has it?
>>
>>61543640
I added a new commit that fixes this.

>>61543980
Seems like you can use json as a string and parse it into a lua table, didn't see any problems with some quick testing.
>>
Reminder to use the updated op from >>61540948
>>
>>61557554
Can you try disabling your scale/cscale settings and instead adding --opengl-shader=path/to/Dx2.hook with this shader? https://0x0.st/Dx2.hook
>>
shinchiro update pls
>>
>>61558160
>Can you try disabling your scale/cscale settings and instead adding --opengl-shader=path/to/Dx2.hook with this shader? https://0x0.st/Dx2.hook
The green one was my normal config, the black screen with squares ones were obtained by running
mpv --no-config --scale=ewa_lanczossharp --script=/home/desktop/.config/mpv/scripts/stats.lua video.mkv
.
Will do though. Pic related.
/usr/local/bin/mpv --no-config --script=/home/desktop/.config/mpv/scripts/stats.lua --opengl-shader=/home/desktop/.config/mpv/shaders/Dx2.hook video.mkv
>>
>>61558325
Hmm, so again the blur works, but more complicated shaders fail...
Thread posts: 333
Thread images: 37


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.