/mpv/ - mpv video player general

Last thread Install mpv:
mpv.io/installation/

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

Manual:
mpv.io/manual/stable/

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

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

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

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

Other urls found in this thread:

pastebin.com/zE7CFWSG
github.com/Tetrachrome/subpixel
pastebin.com/W92K1Pm3
mpv.io/manual/master/#options-chapter-merge-threshold
github.com/mpv-player/mpv/blob/master/video/out/opengl/user_shaders.h#L25
github.com/mpv-player/mpv/blob/master/video/out/opengl/video.c#L48
twitter.com/SFWRedditImages

Daily reminder that madvr is a better option for the Windows users

what does madvr look like when you upscale 720p to 4K?

>no youtube-dl support
no thanks

Post configs, chinese cartoon comparisons, vapoursynth, suggestions for optimal or the ultimate placebo configs, etc.
###Video###
vo=opengl
# upscaling
scale=ewa_lanczossharp
sigmoid-upscaling
sigmoid-slope=10
# chroma
cscale=ewa_lanczossharp
# downscaling
dscale=mitchell
correct-downscaling
# temporal
tscale=oversample
interpolation=yes
video-sync=display-resample

# opengl-shaders="~~/shaders/nnedi3-nns16-win8x4-all.hook"
opengl-shaders="~~/shaders/SSimSuperRes.glsl"
# opengl-shaders="~~/shaders/adaptive-sharpen.glsl"

# Reinhard
tone-mapping-param=0.5

hwdec=no

###Audio###
ao=alsa
audio-channels=5.1
volume=100

###Track Selection###
# Audio settings
alang=ja,jpn,Japanese,en,eng,English

###Subtitles###
slang=jpn,ja,Japanese,eng,en,English
demuxer-mkv-subtitle-preroll=yes

sub-gauss=.4
# Apply Gaussian blur to image subtitles (default: 0). This can help to make
# pixelated DVD/Vobsubs look nicer. A value other than 0 also switches to
# software subtitle scaling. Might be slow.

sub-gray
# Convert image subtitles to grayscale. Can help to make yellow DVD/Vobsubs look
# nicer.

###Screenshot###
screenshot-format=jpg
screenshot-template="~/screenshots/%F_%#04n_%p_[%tY_%tm_%td_%tH]"

###Playback Control###
[extension.gif]
loop-file=inf

[extension.webm]
loop-file=inf

[extension.jpg]
loop-file=inf

[extension.png]
loop-file=inf

###Program Behavior###
save-position-on-quit
ytdl

###Window###
keep-open=yes

Beat this.

scale=haasnsoft
cscale=ewa_lanczos
dscale=mitchell
deband=yes
deband-iterations=2
deband-range=12
interpolation=yes
video-sync=display-resample
tscale=oversample
sigmoid-upscaling=yes

Haasn pls go

So you can't beat it.

K-DEN

bump

You have been hacked by the decentralized mime.
Say "Thank you Gilfoyle", to pay respects..

Good night bump

Why dont you use opengl-hq?

Because he is retarded

Could anyone show me a single evidence that neural upscaling (cnn, ngu, nnedi, ...) can be good?

...

What's the most simplest conf available for windows.

profile=opengl-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp

is this literally all that's needed?

video-sync=display-resample is a must.

>general
>one piece of software
End the shill threads.

WTF MPV WORKS WITH VULKAN NOW!?

If you're not using interpolation, why?

They are separate thing. It syncs audio and video so you dont get dropped frames. It was used before interpolation was added.

:( not good

Just post a good windows config

It's the same as the good cross-platform config:
profile=opengl-hq
scale=ewa_lanczos
cscale=ewa_lanczos
video-sync=display-resample
interpolation
blend-subtitles

Maybe add
hwdec=auto
if you're on Windows 10, since D3D11VA on ANGLE is mostly sane.

...

left = blurry
right = sharp

True dat but 300% zoom and i couldnt replicate the effect with anime videos. Worked only on that picture.

:( looks weird

Just look at dis. Truly a PS3 shader.

Aliased vs blurry mess, sorry but nothing is good.
I asked for a good reason not silly chimpanzee comparisons.

3 years and you retards still having the same discussion again, again and again.

:(

No, you are wrong! It was 720p to 1080p upscaling, now it's 720p/1080p to 4K/8K upscaling. And yes people are still loving sharp pictures.

is NGU open source?

Nah.

man, wish I knew how to reverse engineer... that'd be the first thing I'd analyze, figure out how it works and then just reimplement it for mpv.

Can you implement FSRCNN? It supposed to be very good with anime.

Isn't it pastebin.com/zE7CFWSG NGU pseudo code?

>SRCNN
It's called waifu2x

...

>It's called waifu2x
waifu2x is based on SRCNN and cant run real time performance. FSRCNN can.

I don't think it's hard to tweak waifu2x to use FSRCNN

fuck, Mugi's eyes and face are so clear and sharp in top pic.

>Isn't it pastebin.com/zE7CFWSG NGU pseudo code?
that's it?? can someone translate this into a shader we can use with mpv?

I think this github.com/Tetrachrome/subpixel would be better.

You need at least trained neural network model for it.

Anti-bloating meme shader from madvr
pastebin.com/W92K1Pm3
Works with ssimsuperres only.

Is this true

I swear I never see MPC-HC shilled anymore, it's always mpv. I finally tried it and honestly I can't tell.

Anti-bloating? WTF is that? :D

It's true if you have a computer capable of running at least NGU AA medium without dropping frames. NGU AA is by far the best available upscaling algorithm at the moment.
mpv has aggressive shills because using an app without a GUI makes them feel smart.

t. poorfag who watches lowres aliased video

Python again and again. I hate it so much now.

For anime, at least, when you use high sharpening levels the lineart gets fatter and darker, a.k.a. it gets bloated. The anti-bloating filter prevents this effect from occurring and it does a good job of it.

Why you shit up these threads with madvr shilling and false flagging every day? Arent you tired yet? Get a job or some decent hobby, dude.

NGU AA is not even good for aliased lowres videos. At least for anime. nnedi3 BTFO's it there.

Oh it's the "line-thinning" part of NGU!
However the name is funny as hell.

I'm having a problem with mpv not playing ordered chapters. The ordered chapters in question are supposed to contain the ending credits which exist as a separate file.

Here is the terminal output for one of the files:
AV: 00:23:07 / 00:25:08 (91%) A-V: 0.000 DS: 2.500/1


Exiting... (End of file)

This is the only file where mpv even detects that the chapter exists, but as you can see, once mpv reaches it, it thinks it's at the end of the file, despite the progress display showing that it clearly isn't.

Before you say there must be something wrong with the files themselves, I tested them in VLC and the ordered chapters work just fine in that. They also show up when checking the files with mediainfo.

Anyone have any idea what could be wrong?

NGU AA is a superior upscaling algorithm for both low and high quality content. It allows for higher sharpening levels with high quality content while maintaining a noise-free image, and it makes poor quality content like badly encoded Pornhub downloads look much better than other algorithms.

Proof? Post shit quality pic, your settings and NGU results.

This is an mpv thread, why is everyone talking about things that have nothing to do with mpv?

>Oh it's the "line-thinning" part of NGU
I do not believe this is correct, as MadVR had the anti-bloating filter long before it had NGU.
>nnedi3 BTFO's it there.
This is extremely incorrect. NNEDI3 is also much slower.

>>nnedi3 BTFO's it there.
>This is extremely incorrect.
t. never compared NGU to anything

Oh, and here's my config file, in case it's relevant:
# Video
vo=opengl
profile=opengl-hq
tscale=oversample
tscale-clamp
temporal-dither
blend-subtitles=yes
interpolation
video-sync=display-resample
hwdec=no

# Audio
audio-channels=stereo
alang=jp,jpn,jap,Japanese,en,eng,English
volume=100

# Subtitles
slang=en,eng,English
sub-auto=fuzzy
sub-ass-force-style=Kerning=yes
demuxer-mkv-subtitle-preroll

# Sub styling
sub-font="Source Sans Pro Semibold"
sub-font-size=48
sub-margin-y=36
sub-color="#ffffffff"
sub-border-color="#ff262626"
sub-border-size=3.2
sub-shadow-offset=1
sub-shadow-color="#33000000"
sub-spacing=0.5

# Screenshot
#screenshot-format=jpg
#screenshot-jpeg-quality=95
screenshot-format=png
screenshot-high-bit-depth=no
screenshot-png-compression=9
screenshot-template="%F_[%P]_[%tY.%tm.%td][%tH:%tM:%tS]"

# OSC
script-opts=osc-layout=bottombar,osc-seekbarstyle=slider,osc-deadzonesize=0

# OSD
osd-bar=no
osd-font="Source Sans Pro"
osd-font-size=36
osd-border-size=1.6
osd-color='#ffffffff'
osd-border-color='#ff262626'
osd-shadow-offset=1
osd-shadow-color="#33000000"
osd-spacing=0.5
osd-status-msg='(${percent-pos}%) ${time-pos} / ${duration}\n${?chapter:Chapter: ${chapter}}'

# Misc.
idle=no
geometry=50%:50%
autofit-larger=100%
no-hidpi-window-scale
ytdl

Oh! There is a separated anti-bloating shader!
I thought that was part of the ngu shader.

Should we use this with all contents or only animes/cartoons?
Can we use it standalone?

This is a poor quality Youtube download. This is NGU AA medium with no other enhancements other than debanding on high.

This is NNEDI3 64 neurons with no other enhancements other than debanding on high. As I expected, it looks practically identical at the cost of being far more demanding.

thoughts?
profile=opengl-hq
hwdec=vdpau-copy
deband=yes
deband-iterations=4
scale=ewa_lanczossharp
cscale=ewa_lanczossoft
dscale=mitchell
tscale=robidouxsharp
scale-antiring=0.7
cscale-antiring=0.7
dither-depth=auto
scaler-resizes-only=yes
sigmoid-upscaling=yes
correct-downscaling=yes
temporal-dither=yes

Okay, I don't think it is my config file. I tried deleting it and the chapters still don't work.

>being far more demanding.
Sure buddy.

what about mpv.io/manual/master/#options-chapter-merge-threshold

This is why madshi wrote he's considering removing NNEDI3 from madvr and considering NGU AA as its replacement: it's essentially the same fucking thing but much faster.

Yeah, NGU is basically improved nnedi3 (faster, sharper and less ringing)

Honestly, what is better for anime, MPC-HC with madVR or MPV ?
Please give me a good config for anime.
The anime is Kimi no Na wa.
I have Linux and Windows.
I have a GTX 660 with i5-3470.
I want to see my anime in the best conditions.

He wants to remove nnedi3 because he wants to sell madvr when it hits 1.0. He cant do it with nnedi because of license issues or something.

What Shiandow is up to lately?

I just tested this upscaling a 720p file to 1080p. NGU AA medium's average rendering time was 14 ms. NNEDI3 32 neurons was 20 ms and NNEDI3 64 neurons was 38 ms. Yes, NGU AA is significantly faster, and there's little reason to go beyond NGU AA medium as I've tried comparing NGU AA medium and NGU AA very high with several sources and could never spot a difference.

Working on mpdn player.

>could never spot a difference.
Maybe because you have shit eyesight? I thought it was obvious after yuru yuru spam challenge. Visit a doctor.

MadVR is slightly superior right now due to NGU AA.
>I want to see my anime in the best conditions.
Then wait for the fucking BD rip of Kimo no Na wa. Dear God, don't watch a movie with that level of visuals in anything but BD rip form.

Please refrain from shitposting. This is NGU AA medium.

step 1: get some fucking taste
step 2: download a bdremux of a better movie and watch it in the media player of your choice

This is NGU very high.

BD rip is impossible to find on internet, I think I will buy the blue ray.

NGU AA medium.

This is NGU AA very high. No difference.
You will be able to find BD rips of Kimi no Na wa on Nyaa Pantsu in July or early August. It's impossible to find right now because its release date is July 26.

>of a better movie
Like Koe no Katachi. Thank you based KyoAni.

>2.09 MB
>2.07 MB
>1.35 MB
>1.35 MB
I see.

Yep. That's how little difference there is in results between medium and very high.

Tried setting it to both 1 and 9999 but neither worked.

Actually, fucking hell, my computer did this bug where it didn't copy the second AzuDaioh image to clipboard properly. Just checked filesizes of the AzuDaioh images in Windows and they're exactly the same.

Let's try this again. Medium.

Very high. Still no visible difference.

Hmm okay thank you for the clarification, I will wait for the blu-ray.

>github.com/mpv-player/mpv/blob/master/video/out/opengl/user_shaders.h#L25
>github.com/mpv-player/mpv/blob/master/video/out/opengl/video.c#L48
So, haasn changed the wrong one? Still getting the error.

You need to use the latest git

Looking forward to the day these threads consist solely of false-flagging retards.

It doesn't work.

Working fine here with g3fb6380aa8

...

It's working, thanks.