Madvr, mpv, mpdn

Spread your configurations, thoughts, comparisons, love, ...

Other urls found in this thread:

imouto.my/download/lav-filters-megamix-x64/
imouto.my/download/lav-filters-megamix-32-bit/
imouto.my/tutorials/madvr/
wp.me/PrgSo-b1
bugs.madshi.net/view.php?id=419
github.com/bjin/mpv-prescalers/tree/master
gist.github.com/igv
github.com/sunnyone/Waifu2xAvisynth
mega.nz/#!k84G3K6B!sRjYyyJLNIFPJiuAwz_Yd5Dy-esOdta1NQL2wmdR4wY
dl.dropboxusercontent.com/u/103470911/ShareX/Comparison images.7z
dropbox.com/help/390
github.com/Argon-/mpv-stats
i.lithi.io/27ja.webm
mpv.io/manual/master/#options-softvol-max
a.pomf.cat/cvbxou.webm
a.pomf.cat/noktka.webm
twitter.com/NSFWRedditImage

Here's my config

# Without shaders
#vo=opengl-hq:backend=dxinterop:blend-subtitles:linear-scaling:interpolation:tscale=oversample:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:dscale=ewa_lanczossharp

# With shaders
vo=opengl-hq:backend=dxinterop:blend-subtitles:linear-scaling:interpolation:tscale=oversample:scale=ewa_lanczossharp:cscale=bilinear:dscale=mitchell:user-shaders="~~/shaders/CrossBilateral.glsl,~~/shaders/SuperChromaRes.glsl"

video-sync=display-resample
framedrop=vo
hwdec=no


# Alternative tscale options
# :tscale=oversample:
# :tscale=bcspline:tscale-param1=0:tscale-param2=0.6283185:tscale-radius=2:interpolation-threshold=0.01:
#
# tscale=bcspline paramaters
# param1 - blur
# param2 - sharpness


# Shader requirements
# SSIMSuperRes: scale=ewa_lanczos
# CrossBilateral + SuperChromaRes: cscale=bilinear

ytdl-format=bestvideo+bestaudio/best

# Audio settings
audio-channels=stereo
audio-normalize-downmix=yes

# OSD settings
script-opts=osc-layout=bottombar,osc-timetotal=yes,osc-minmousemove=0.5
# ,osc-vidscale=no

# Screenshot settings
screenshot-format=png
screenshot-png-compression=0
screenshot-png-filter=0
screenshot-tag-colorspace=yes
screenshot-high-bit-depth=yes
screenshot-template="C:\Users\User\Desktop\%F %#04n"


# Window settings
keep-open=yes

# Miscellaneous settings
priority=high

[extension.webm]
loop-file=inf
[extension.gif]
loop-file=inf
[extension.gifv]
loop-file=inf
#[extension.mp4]
#loop-file=inf
#[extension.mkv]
#loop-file=inf
#[extension.avi]
#loop-file=inf
#[extension.mov]
#loop-file=inf

>Ranpha's installer with gpu based presets:
- imouto.my/download/lav-filters-megamix-x64/
- imouto.my/download/lav-filters-megamix-32-bit/

>Ranpha's advanced guide:
- imouto.my/tutorials/madvr/

>Ranpha's installer homepage:
wp.me/PrgSo-b1

When will they include/port the waifu2x upscaler?
I have three NVIDIA GTX 1080 and they are too quiet.

NNEDI3 from madVR doesn't work with AMD and crimson drivers:
bugs.madshi.net/view.php?id=419

I have no issues with mpv and bjin's nnedi3 from here:
github.com/bjin/mpv-prescalers/tree/master

>madvr
>deprecated meme filters
>native directx and opencl are slower than angle/opengl

Look at and test the igv's shaders/hooks for mpv:
gist.github.com/igv

faggot

retarded

faggot

What is the highest quality config? ex. lanczos scaling, DX vs OGL?

I know op's config is pretty low, probably cus he has a shit pc, but I can't find any good config presets post DX update.

>mpv does not save the position or audio of the video no longer
anyone else having this problem

Is there something like madvr for Linux?

# Write your default config options here!

#${=time-pos}
osd-fractions
msg-level=ffmpeg/audio=no
#vo=vdpau


I do not really know whether I need anything else

vdpau was retarded because scrot no longer captured images because it wrote directly to gpu

I'm not op but my config, from my testing, is the highest quality one I have come across for MPV when I upscale to 3440x1440 with my hardware, I can achieve slightly better results with MadVR, but with higher rendering latency e.g. more stutter

Would you consider sharing?

That's my config at the top

MPV but you need to download shaders yourself like the mpdn extensions.
- gist.github.com/igv
- github.com/bjin/mpv-prescalers/tree/master

What do you mean by better results?

Different guy, but I've got a question. With your config, do I just make a folder called "shaders" in my mpv folder and drop the shader files in there? I'm on Windows 7 if it makes a difference.

Asking cause I used your no shaders line, but then I got the shaders and switched that in my conf but I'm not really noticing any difference.

I'm making some comparison images right now, I will try to explain the reasons for my choices in that post, the differences are dependent on the individual media files format and how it was encoded, weather the chroma channels are lower resolution or not, reds are very easy to see the differences

"~~/" is the folder where your mpv.exe and mpv.com are, anything after the / is either a folder/file name with the extension, the only thing that goes in the "%appdata%/mpv" folder is mpv.conf and input.conf

Is it possible define default --ytdl-format per site in the config?

I want twitch to use High quality but everything else to use bestvideo+bestaudio.

Tab completion for filepath doesn't work only with mpv, works fine with mplayer and vlc. Anyone know how to fix it?

So do I edit the mpv.conf with the full path to the shaders or just keep it exactly how it is in yours? I've tried both and it doesn't seem to do anything.

It's relative to where your mpv.exe is, so if you put the shaders in the same folder as the mpv.exe it would be
user-shaders="~~/CrossBilateral.glsl,~~/SuperChromaRes.glsl"


but as long as there are no spaces (i think) you could have a different folder structure
user-shaders="~~/shaders/testing/CrossBilateral.glsl,~~/shaders/testing/SuperChromaRes.glsl"


The shaders in my config only work on upscaling the chroma channel, I will include some comparisons later on

could not even get to the first frame. But madvr line thinning+ sharpen edges looks better anyways.
github.com/sunnyone/Waifu2xAvisynth

Line thinning algorithms are cancers...

Alright thanks man it should be working now then. I really like your OSD settings!

anyone know if i can create an autoprofile for a wildcard URI like this?

[*twitch.tv*]
no-resume-playback

right now i'm using an alias to wrap the profile like this


alias twitch='mpv --profile=live'


and i just use that alias to open live streams

Just did a fresh install of windows 7 and kubuntu on my laptop and I'm debating whether to use mpv or MPC-HC for windows

which one Sup Forums?

mpv

obviously mpv

MPC-HC is better on windows than MPV, but is better to just use MPV and synchronize your settings with dropbox or someshit.

you can symlink your mpv config in both windows and kubuntu into your onedrive and have the configs and watch_later files synchronised, it's really handy for picking up where you left off on videos

I use VLC like a normal person.

mega.nz/#!k84G3K6B!sRjYyyJLNIFPJiuAwz_Yd5Dy-esOdta1NQL2wmdR4wY

I have made a 7z file containing some of the comparisons I was talking about along with my personal MPV and MadVR config.

The included readme file has some descriptions of each folder and some other stuff in it.

My examples probably aren't perfect but it should give people some understanding of advantages/disadvantages of various settings for MPV and MadVR and how the quality of the video file also affects scaling.

mpchc with madvr

>"~~/" is the folder where your mpv.exe and mpv.com are
nope, it's a folder where your mpv.conf is

how do you bind a script with MPV and make it toggle-able?

I tried mp.add_forced_key_binding("a", "autoskip", check_chapter) but it's not working cause the script maker didn't make it toggle-able or something.

this is the script in question, what do I add to make it toggle-able?
require 'mp.options'
local opt = {
patterns = {
"^OP$","^[Oo]pening$",
"^ED$","^[Ee]nding$",
"^[Pp]review$",
},
}
read_options(opt)

function check_chapter(_, chapter)
if not chapter then
return
end
for _, p in pairs(opt.patterns) do
if string.match(chapter, p) then
print("Skipping chapter:", chapter)
mp.command("no-osd add chapter 1")
return
end
end
end

mp.observe_property("chapter-metadata/by-key/title", "string", check_chapter)

Normal people use shit.

no Sup Forumsenius can help with this? Looks like all of you Sup Forumsays are all script kiddies eh? Claiming people's script as your own. good god

Could you upload your archive somewhere else? Mega is probably the most blocked website.

Why don't you ask the author of the script or make a proper pull request...?

dl.dropboxusercontent.com/u/103470911/ShareX/Comparison images.7z

Did they change how volume works in the latest build of mpv? Now goes up to 130%. I wouldn't care except I used to default to 50%, which was great, and now 50% is too quiet. 100% seems ~about what 50% was before, and 130% seems about what 100% was before. Very annoying, what the fuck.

>tfw not enough space on my dropbox to use sharex with
I legit wonder how people got 20gb+

>I legit wonder how people got 20gb+
University programs I guess. Have 50GB+ because of that.

Nah they haven't changed it, audio is messed up on MPV builds for now, even save-on-quit doesn't save the audio volume.

annoying as hell
>University programs
student emails I am guessing?
>50GB
you lucky fuck nice

>Nah they haven't changed it, audio is messed up on MPV builds for now, even save-on-quit doesn't save the audio volume.
>
>annoying as hell
So they fucked something up and it'll probably be reverted then? That's good cos it's all weird now, very quiet.

>student emails I am guessing?
Not in my case. There's also stuff like dropbox.com/help/390 and usually the new version of such events is soon after the old one expired.

>it'll probably be reverted then
probably
guess I'll have to wait for one of them

Why is "Upload" always 0? Is this an error or on purpose? Does it matter that I'm using an iGPU?
I've seen other people's screenshots where it was not 0.

>that graph
how

>how
github.com/Argon-/mpv-stats

time to update ty

mpv noob here, haven't done anything customization. i just use it to play videos.

anyone know how you loop a video in mpv?

No graph for me I guess.
[extension.wav]
loop-file=inf

I believe using loop-file=inf on the config itself will apply it to all files? if you want a specific file just type in the extension.

really? the 100% audio volume feel same as before for me. I used today's sourceforge build

>No graph for me I guess.
It's written on the page I linked, you have to toggle it to get graphs.

>anyone know how you loop a video in mpv?
It's probably "l" or something.

i.lithi.io/27ja.webm
Just tried it
Yeah I noticed, however the red color, I don't quite comprehend what he meant by this " Red: your hardware can't render/present/upload enough frames per second for your display's refresh rate. This is only relevant when using display-resample and/or interpolation." but I am guessing they are normal if you have interpolation/display-resample enabled.
#L cycle-values loop "inf" "no" # toggle infinite looping

Oh and also, it does go over 100% even if you don't have volume-max or soft-vol.

But the manual does say it's supposed to do that? (I think?)
mpv.io/manual/master/#options-softvol-max

>Yeah I noticed, however the red color, I don't quite comprehend what he meant by this
The way I understand it: when you use video-sync=display-resemple then mpv renders (or whatever you call this) at display-fps. Assuming your display is 60Hz this means mpv has 1/60sec for each frame, that's 16666usec. If you look at your screenshot, the time it took for one frame (peak) was above the time mpv has for a frame, that's why it's red.
It probably doesn't matter when this happened to the peak value, would be more grave when your last or average value is above 1/60s.

What GPU do you have? Your present time is so fucking low...

>But the manual does say it's supposed to do that? (I think?)
>mpv.io/manual/master/#options-softvol-max
Not sure what you are reading but for me it says exactly that.

3.5GB

I am gonna end up selling it soon for a 1060/480 depending how it goes, leaning more to the 480 because my cousin got it, and want to try AMD.
Still though, I think the problem here is that

volume-max = softvol = softvol used to mess up save position on quit volume = volume is not being saved on quit

truth to be told even I am annoyed by this
>open file
>lower volume
>open new file
>100% again

I don't recall it working this way for me.
a.pomf.cat/cvbxou.webm - new
a.pomf.cat/noktka.webm - old

Also, there is no way to disable volume-max from what it seems? soft-vol=no does not work and neither is putting volume-max=100 (expected not to work but worth a try)

>Also, there is no way to disable volume-max from what it seems? soft-vol=no does not work and neither is putting volume-max=100 (expected not to work but worth a try)
But this should work (the last suggestion). I'm using it to make 200 max.

...

>What GPU do you have? Your present time is so fucking low...
I am gonna go with my " your GPU is really bad " since you didn't reply back.
>But this should work (the last suggestion). I'm using it to make 200 max.
Why would putting volume-max=200 make mpv remember the audio setting?

...

>Why would putting volume-max=200 make mpv remember the audio setting?
Never said that, but setting it to 200 sets it successfully to 200 for me, so should setting it to 100 do for you what would disable all kinds of amplification.
>I am gonna go with my " your GPU is really bad " since you didn't reply back.
Huh, I already said I have an iGPU.

>Never said that, but setting it to 200 sets it successfully to 200 for me, so should setting it to 100 do for you what would disable all kinds of amplification.
I was looking for a way to disable it completely so that new videos you open automatically use the last volume you used.

Look at the videos.

I need a profile for an acer aspire laptop, like with the lowest quality possible, please

You're boring

This is just a d3d vs opengl thread...

I upgraded to NVIDIA cards a few days ago, but before that NNEDI3 in madvr was working just fine for me on 290X.

They just mess their drivers again...

Yes, mpv

>50GB of botnet
>lucky

I had Crimson 16.6.2, so I guess it must've been broken in 16.7 then.

>how do you bind a script with MPV and make it toggle-able?
In general? I don't think you can

softvol-max got renamed to volume-max. (and the --softvol option no longer exists)

Your config probably has softvol-max=100 in it. Next time read the error messages instead of ignoring them.

>I am gonna end up selling it soon for a 1060/480 depending how it goes, leaning more to the 480 because my cousin got it, and want to try AMD.
Note that mpv is developed on nvidia GPUs (due to driver stability and feature availability), but that doesn't stop it from performing much better on AMD GPUs (performance wise).

>Why is "Upload" always 0?
iGPUs don't have dedicated memory, so there's nothing to upload.

I'm building from git. Maybe their yesterday's build is fucked.

>Your config probably has softvol-max=100 in it. Next time read the error messages instead of ignoring them.
Nope, I didn't even know it existed before.

What is the config for shitty Intel laptop?
I am using this:
vo=opengl:deband:blend-subtitles:backend=angle
hwdec=no

"dscale" is subtitle scaling, right?

I'm currently using this, don't know a whole lot about video playback, should I just throw 'dscale=ewa_lanczossharp' in between 'scale' and the 'blend subtitles'?

vo=opengl-hq:interpolation:tscale=oversample:cscale=ewa_lanczossharp:scale=ewa_lanczossharp:blend-subtitles
video-sync=display-resample
hwdec=no
framedrop=vo

I thought madvr and mpc-hc were dead since a very long time!
Madshi doesn't give up and that's a good thing.
However that's a little bit weird that he is still using directshow.
It's a fucking nightmare and I don't think his premium version will succeed if he continues in this way.

Haasn made a really massive work in the last months and I really appreciate the open mind behind mpv. Angle is fucking disturbing but it's not that bad.

I'm pretty sure the order they are in doesn't matter, it only should for "user-shaders=", but "scale" is main image scaling option, it will be used for all 3 if they are not in the config file.

dscale is for downscaling, cscale is for chroma scaling

blend-subtitles isn't necessarily required but it can help when you are using interpolation because subtitles are technically on a different layer than the video you could say.

Oh, alright, gotcha. I guess that's not super common knowledge since people who use "ewa_lanczossharp" for all three always seem to have them all listed. I'll probably just do the same to be honest.

Thanks for the reply!

After trying out the latest build, there is something really funky going on with the audio.

even anime shows that I used to put at 12%(because they are hella loud) are somehow sounding low as hell at 100%

>but that doesn't stop it from performing much better on AMD GPUs (performance wise).
Source? or exactly how you know this?
>:blend-subtitles
I don't even know why people even use this anymore.

>Source? or exactly how you know this?
My own testing has taught me that vo_opengl performance is almost directly proportional to your texture fill rate (GT/s).

This is a manufacturer-quoted spec. Go look it up for common nvidia and AMD cards.

there's some note about that in srsfckn site
If the volume level with the latest release is lower than usual, reset the volume in the Windows mixer to 100%. This is because --softvol is enabled by default now.

Didn't work for me
I guess I'll take your word for it.

>:blend-subtitles
>I don't even know why people even use this anymore.
Why wouldn't you when watching weeb shit? I don't want my typesetting to bleed all over the place.

Can people post frame timing graphs? I'm curious to see how various GPU perform.
Here is an intel hd 530 at 2560x1440 and opengl-hq:interpolation

GTX 970

vo-defaults=opengl-hq=pbo:scale=haasnsoft:scale-radius=3:cscale=ewa_lanczos:icc-profile-auto:icc-cache-dir=/tmp/mpv-icc:blend-subtitles:tscale=bcspline:tscale-param1=0:tscale-param2=0.6283185:tscale-radius=2:interpolation:interpolation-threshold=0.01:target-brightness=63:deband-iterations=4:deband-range=8


Can't give you a graph at 4K since my 4K display is in repair

>Why wouldn't you when watching weeb shit? I don't want my typesetting to bleed all over the place.
huh? you mean black bars?
sub-use-margins=no #subs on black bars if any


What do the reads even represent I get them majority of the time, but the video is fine?

I tried the Crossbilateral/SuperChromaRes. It looks too similar to default opengl-hq.

When I compare that/default to SSIMSuperRes/FauxHDR/AdaptiveSharpen,

how to update this bitch

Is there an objectively best vo config?

Currently using this:

vo=opengl-hq:backend=dxinterop:interpolation:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:prescale=nnedi3:nnedi3-neurons=64:prescale-downscaling-threshold=1.5
video-sync=display-resample
hwdec=no