/animu/ - Anime & Otaku Culture

take it easy!

Mode: Reply
Subject
Message

Max message length: 4096

Files

Max file size: 16.00 MB

Max files: 5

E-mail
Password

(used to delete files and postings)

Misc

Remember to follow the rules


if you need to contact me urgently then mail me at loleron@cock.li

(7.76 MB 3840x2160 1461029795246.webm)
MPV and MPC rice thread! Anonymous 01/10/2020 (Fri) 12:47:08 No. 7471
Alright niggers! Post your riced 9000K quality animu configuration for MPV player or MPC. Here's my mpv.conf which I run on potato. No seriously, I watch animay on my amd potato computer.


###########
# General #
###########

vo=gpu
hwdec=vaapi

###General###
gpu-api=opengl
gpu-context=x11egl
#profile=gpu-hq
#gpu-api=vulkan

###Tweaks###
cursor-autohide=100
keep-open=yes

###Priority###
#slang=gem,ger,gmh,eng,enm
#alang=ger,jpn,eng,enm

###Audio###
volume-max=120
audio-file-auto=fuzzy

###Subs###
demuxer-mkv-subtitle-preroll=yes
sub-ass-vsfilter-blur-compat=no
sub-fix-timing=no
sub-auto=fuzzy
sub-gauss=0.2
sub-font=Andika New Basic Bold
sub-font-size=52
sub-blur=0.2
sub-border-color=0.0/0.0/0.0/1.0
sub-border-size=3.0
sub-color=1.0/1.0/1.0/1.0
sub-margin-x=100
sub-margin-y=50
sub-shadow-color=0.0/0.0/0.0/0.25
sub-shadow-offset=0

###Screenshot###
screenshot-format=png
screenshot-high-bit-depth=no
screenshot-png-compression=1
screenshot-jpeg-quality=90
screenshot-directory="C:\Users\eXmendiC\Desktop"
screenshot-template="SPOILER_%f-%wH.%wM.%wS.%wT"

###Dither###
dither-depth=auto
dither=fruit

###Deband###
deband=no
deband-iterations=4
deband-threshold=50
deband-range=16
deband-grain=0

#############################################################
# Upscaling & Processing Based on Source Video's Resolution #
#############################################################

# Chroma subsampling means that chroma information is encoded at lower resolution than luma
# In MPV, chroma is upscaled to luma resolution (video size) and then the converted RGB is upscaled to target resolution (screen size)

fbo-format=rgba16f # use with gpu-api=opengl
#fbo-format=rgba16hf # use with gpu-api=vulkan
glsl-shaders-clr
#glsl-shaders="~/.config/mpv/shaders/noise_static_luma.hook"
#glsl-shaders-append="~/.config/mpv/shaders/noise_static_chroma.hook"
# luma upscaling
#glsl-shaders-append="~/.config/mpv/shaders/FSRCNNX_x2_8-0-4-1.glsl"
# glsl-shaders-append="~/.config/mpv/shaders/FSRCNNX_x2_16-0-4-1.glsl" # 3x slower than 8-0-4-1 & only modest improvement
# luma downscaling
#glsl-shaders-append="~/.config/mpv/shaders/SSimDownscaler.glsl"
#linear-downscaling=yes
# chroma upscaling and downscaling
#glsl-shaders-append="~/.config/mpv/shaders/KrigBilateral.glsl"
#sigmoid-upscaling=yes
###anime4kupscaling
glsl-shaders-append="~/.config/mpv/shaders/Anime4K_Adaptive_v1.0RC2_UltraFast.glsl"
hdr-compute-peak=no

###Resizer###
#scale=ewa_lanczos
scale=bcspline
dscale=ewa_lanczossharp
cscale=sinc
#cscale-window=blackman
#cscale-radius=3

###Interpolation###
blend-subtitles=yes
video-sync=display-resample
interpolation=no
tscale=oversample
tscale-window=sphinx
tscale-radius=1.0
tscale-clamp=0.0

###Profiles###
[AoD]
profile-desc=cond:string.match(p.filename, "%[1080p%+%]")~=nil
deband=no

[WebDL]
profile-desc=cond:string.match(p.filename, "%[Web%-DL%]")~=nil
deband=yes

[HorribleSubs]
profile-desc=cond:string.match(p.filename, "HorribleSubs")~=nil
deband=yes

[EraiRaws]
profile-desc=cond:string.match(p.filename, "Erai%-raws")~=nil
deband=yes

[Legacy1]
profile-desc=cond:string.match(p.filename, "1080p.WebRip")~=nil
deband=yes

[Legacy2]
profile-desc=cond:string.match(p.filename, "1080p.Web%-DL")~=nil
deband=yes

###########################################################

Stolen .glsl script goodies.
https://github.com/bloc97/Anime4K (This is a must a have script for my animu)
https://github.com/classicjazz/mpv-config (optional script that I never use because my compter is way too slow to render)


Instruction on how to use .glsl script
https://github.com/bloc97/Anime4K/blob/master/GLSL_Instructions.md
(92.49 KB 755x506 it just werks.jpg)
Heres my mpv.conf:
(1.07 MB 1600x900 2020-01-11-0944.png)
I'm not using much, my thinkpad is an overheating toaster and the screen is so shitty I can't see any difference anyways.

mpv.conf

screenshot-directory=~/Pictures/screenshots
screenshot-template='%F-%P'
screenshot-format=png
screenshot-high-bit-depth=no
screenshot-png-compression=9
screenshot-jpeg-quality=90

geometry=48%
autofit-larger=66%x66%
keep-open=yes
cursor-autohide=100

alang=ja,jp,jpn,en,eng,fr
# Subtitle language
slang=en,eng,fr

sub-fix-timing=yes
sub-font=Rounded-L M+ 1c
sub-shadow-offset=1
sub-shadow-color="#000000"
sub-border-size=4
sub-ass-override=yes
sub-ass-force-style=Kerning=yes,FontName="Rounded-L M+ 1c"
sub-bold=yes
sub-border-size=2
sub-shadow-offset=0
sub-ass-hinting=none
sub-font-size=40
sub-gauss=.8
sub-gray=yes

osc=no

osd-font=MS PGothic
osd-font-size=20
osd-blur=0.2
osd-bar-h=1
osd-level=1
osd-bold=no
osd-bar-align-y=-0.66
osd-border-size=1

osc.conf

layout=topbar
seekbarstyle=bar
boxalpha=100
scalefullscreen=0.60
fadeduration=400


I'm using these scripts too
https://github.com/TheAMM/mpv_thumbnail_script
https://github.com/ekisu/mpv-webm

code tags are broken it seems
>>7490
OH WOW! webm maker on mpv
that's impressive!

Have you tried using thermald, tlp and cpupower and set it as powersave govorner setting? That helps me alot on bringing the cpu tempature low.
>>7490
try add vo=vaapi and hwdec=auto
that's the minimum optimization randerer you can have if you're using a toaster
Here's a much more refined setup. Anime4k script seems to be abit bloated on my pc. So decided to go without it on mpv.

###General###
vo=gpu
hwdec=vdpau
gpu-api=opengl
opengl-early-flush=yes
gpu-context=x11egl

###Tweaks###
cursor-autohide=100
keep-open=yes

###Audio###
volume-max=120
audio-file-auto=fuzzy

###Subs###
demuxer-mkv-subtitle-preroll=yes
sub-ass-vsfilter-blur-compat=no
sub-fix-timing=no
sub-auto=fuzzy
sub-gauss=0.2
sub-font=Andika New Basic Bold
sub-font-size=52
sub-blur=0.2
sub-border-color=0.0/0.0/0.0/1.0
sub-border-size=3.0
sub-color=1.0/1.0/1.0/1.0
sub-margin-x=100
sub-margin-y=50
sub-shadow-color=0.0/0.0/0.0/0.25
sub-shadow-offset=0

###Screenshot###
screenshot-format=png
screenshot-high-bit-depth=no
screenshot-png-compression=1
screenshot-jpeg-quality=90
screenshot-directory="/home/Luna/Desktop"
screenshot-template="%f-%wH.%wM.%wS.%wT"

###Dither###
dither-depth=auto
dither=fruit

###Upscaling###
sws-scaler=fast-bilinear
sws-fast=yes
sigmoid-upscaling=yes
linear-upscaling=yes
hdr-compute-peak=no
tone-mapping=clip
tone-mapping-param=0.5

###Resizer###
scale=bcspline
dscale=ewa_lanczossharp
cscale=sinc
cscale-window=blackman
cscale-radius=3

###Interpolation###
blend-subtitles=yes
video-sync=display-resample
interpolation=no
tscale=oversample
tscale-window=sphinx
tscale-radius=1.1
tscale-clamp=0.0
>>7491
>webm maker on mpv
it's the most straightforward I've tried, it's really retard proof you don't need to set up a socket or anything.

I haven't tried all these tools, I'm just using thinkfan. I'll look into it, thx. probably won't save me from having to clean it and replace the thermal paste though

>>7492
I tried adding hwdec=auto, it seems to play fine; I need to run more tests. I don't know about vaapi though because they say it sucks in the manpage.
I remember that there was mpv userscript for cytube. Does anyone have it? So far I tried looking for it on few search engines and some github repositories, but to no avail.
>>7471
I can tell you have no idea what the fuck you're doing.
Read the manual.
>>7590
You do realize that the mpv manual is not perfect right (Please don't let me explain why mpv man page is not perfect). Yes, most of these lines are copy pasted from someone else on the internet and did only minor change from original config so that it's compatible for it to played on. As long it runs fast and the filter looks good, then it should be alright.

Delete
Report

no cookies?