[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.



File: mpv-gui.png (123 KB, 1280x720)
123 KB
123 KB PNG
Installation:
https://mpv.io/installation/

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

Manual:
Stable: https://mpv.io/manual/stable/
Git: https://mpv.io/manual/master/

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

High quality video output profile (goes into mpv.conf):

profile=gpu-hq


Configuration Files:
https://mpv.io/manual/master/#configuration-files
https://mpv.io/manual/master/#files

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

Post your system specs and config if you're asking performance related questions.

Windows Builds:
Stable: https://mpv.srsfckn.biz/
Git: https://sourceforge.net/projects/mpv-player-windows/files/

Front-ends:
Windows: https://github.com/stax76/mpv.net/
Mac: https://iina.io/
Linux: https://celluloid-player.github.io/
>>
>>73085689
Window fag here, How does one use cmd or ps to play files?
>>
>>73085977
Add mpv to path
type mpv "path to video you want to play"
>>
Imagine unironically downloading binaries built by some rando literally named stolendata
>>
>>73086399
Or... Just use mpv.net and the F3 feature, It automatically asks you if you care to play a yt video if it's in your clipboard.
>>
File: 1570562368104.png (136 KB, 500x477)
136 KB
136 KB PNG
>>73085689
windows fag 2 here

how can play dvd utilising mpv

knthxbai
>>
>>73087408
I would assume to open a powershell into the directory where you have the program in, type
./mpv.exe dvd://DRIVELETTER/NAME

Sorry if this doesn't work
>>
srs configs only
>>
>>73085689
how do I setup mpv.net to be good and how do I install extensions?
>>
profile=gpu-hq
hwdec=d3d11va
gpu-api=d3d11
gpu-context=d3d11
sigmoid-upscaling=no
linear-downscaling=no
deband-iterations=4
deband-threshold=48
deband-range=16
deband-grain=48
glsl-shader="~~/Shaders/FSRCNNX_x2_8-0-4-1.glsl"
glsl-shader="~~/Shaders/SSimSuperRes.glsl"
glsl-shader="~~/Shaders/SSimDownscaler.glsl"
video-sync=display-resample

For Interpolation in input.conf
t cycle interpolation ; no-osd set tscale "box" ; no-osd set t-scale-window "sphinx" ; no-osd set tscale-radius "1.0" ; no-osd set tscale-clamp "0.0"

For adaptive sharpen
a change-list glsl-shaders toggle "~~/Shaders/adaptive-sharpen.glsl" ; show-text "Toggle Adaptive Sharpen"  

Profile for deinterlace in mpv.conf
[yadif prerequisites]
glsl-shaders-toggle="~~/Shaders/FSRCNNX_x2_8-0-4-1.glsl"
glsl-shaders-toggle="~~/Shaders/SSimSuperRes.glsl"
glsl-shaders-toggle="~~/Shaders/SSimDownscaler.glsl"
glsl-shaders-clr="~~/Shaders/adaptive-sharpen.glsl"

For deinterlace
d cycle-values hwdec "no" "yes" ; apply-profile "yadif prerequisites" ; change-list vf toggle yadif ; show-text "Toggle Deinterlace"

For youtube-dl
[protocol.https]
demuxer-seekable-cache=yes
demuxer-max-bytes=2048MiB
demuxer-max-back-bytes=2048MiB
title="${media-title}"
loop-playlist=no
keep-open=always
[Crunchyroll]
profile-desc=cond:string.match(p.path, "https://www.crunchyroll.com/")~=nil
ytdl-raw-options=sub-lang=enUS,write-sub=
[YouTube]
profile-desc=cond:string.match(p.path, "https://www.youtu")~=nil
ytdl-raw-options=sub-lang="en,en-US,en-CA,en-GB",write-sub=

Full mpv.conf
https://pastebin.com/FR0tkGfY
>>
i wish i could use adaptive-sharpen without dropping 50% of the frames
it does a really good job at un-blurring some anime
>>
>>73086751
Macfags deserve it
>>
>>73088701
Would you recommend this as a decent general use config?
>>
>>73088698
Configuration guide:
https://iamscum.wordpress.com/guides/videoplayback-guide/mpv-conf/

Thumbnails extension: https://www.majorgeeks.com/files/details/icaros.html

Search extension: https://www.voidtools.com/downloads/
>>
what the shit is this
vo/gpu/vulkan/libplacebo: Exhausted the queued command limit.. forcing a flush now. Consider using pl_gpu_flush after submitting a batch of work? 

i get this every few seconds (along with frame drops) on linux/nvidia with and without hwdec (nvenc) on all videos < 2160p
>>
>>73089358
I tested this on a GTX 1050 Ti.
>>
>>73089471
mpv.net has a search extension based on 'Everything' built in.
>>
# Video output
profile=gpu-hq
scale=ewa_hanning
scale-radius=3.2383154841662362
cscale=ewa_hanning
cscale-radius=3.2383154841662362
deband-grain=0
deband-iterations=2
deband-range=8
deband-threshold=48
video-sync=display-resample

# Audio output
volume=40
volume-max=100

# Playback order
alang=ja,jp,jpn,en,eng
slang=en,eng,ja,jp,jpn

# Subtitles settings
sub-ass-force-style=Kerning=yes
sub-ass-override=force
embeddedfonts=no
sub-font="source han sans jp"
sub-font-size=54
sub-bold=yes
sub-border-color="#CC262626"
sub-border-size=2
sub-color="#ffffffff"

# On-screen display
osc=no
osd-fractions=yes
osd-bar=no
osd-font="source han sans jp"
osd-font-size=40
osd-border-color="#CC000000"
osd-bold=yes
osd-border-size=2
osd-color="#ffffffff"

# Screenshot settings
screenshot-format=png
screenshot-tag-colorspace=yes
screenshot-template="mpv-screenshot%n"
screenshot-png-compression=0
screenshot-png-filter=0

# Program behavior
keep-open=yes
taskbar-progress=no
border=no
geometry=50%:50%
autofit-larger=90%x90%

# Other settings
input-default-bindings=no
msg-color=no
msg-module=yes
>>
>>73090251
q quit
Q quit-watch-later
f cycle fullscreen
m cycle mute
o show-progress
O no-osd cycle osd-level
v cycle video
c cycle audio
b cycle border
d cycle deband
n cycle interpolation ; no-osd set tscale "oversample"
t cycle ontop
l ab-loop
L cycle-values loop-file "inf" "no"
SPACE cycle pause
+ add volume 2
- add volume -2

RIGHT seek 10
LEFT seek -10
UP seek 60
DOWN seek -60
Shift+RIGHT seek 1 exact
Shift+LEFT seek -1 exact
Shift+UP seek 5 exact
Shift+DOWN seek -5 exact
Ctrl+LEFT add chapter -1
Ctrl+RIGHT add chapter +1
Ctrl+UP playlist-next
Ctrl+DOWN playlist-prev
> frame-step
< frame-back-step

s async screenshot
S async screenshot video
Ctrl+s screenshot window
Alt+s cycle-values screenshot-template "mpv-screenshot%n" "%F - [%P]" "vlcsnap-%tY-%tm-%td-%tHh%tMm%tSs%wT"
Alt+S cycle-values screenshot-format "jpg" "png" ; no-osd set screenshot-jpeg-quality 100

a cycle sub
A cycle-values sub-ass-override "force" "no"
Ctrl+a add sub-pos -1
Ctrl+A add sub-pos +1
Alt+a add sub-font-size +2
Alt+A add sub-font-size -2

i script-binding stats/display-stats
I script-binding stats/display-stats-toggle
w script-binding display-webm-encoder
. script-binding progressbar/step-forward
, script-binding progressbar/step-backward
p script-binding progressbar/toggle-inactive-bar
tab script-binding progressbar/request-display

{ add sub-delay +0.10
} add sub-delay -0.10
[ add audio-delay +0.10
] add audio-delay -0.10

MOUSE_BTN0 script-binding progressbar/left-click
MOUSE_BTN0_DBL cycle fullscreen
MOUSE_BTN2 cycle pause
MBTN_MID cycle mute
WHEEL_UP add volume +2
WHEEL_DOWN add volume -2

1 add brightness -1
2 add brightness 1
3 add contrast -1
4 add contrast 1
5 add saturation -1
6 add saturation 1
7 add gamma -1
8 add gamma 1
! add hue -1
@ add hue 1
>>
>>73088737
edit: nvm solved it
seems like my graphics card was running at low clock speeds because of a thing i did
>>
>>73085689
How to get Anime4K working?
https://github.com/bloc97/Anime4K
I tried putting it in the shaders folder but there is no difference.
(can't troubleshoot right now, maybe tommororw)
>>
>>73091138
I just put it in shaders folder and added
glsl-shader="~~/shaders/Anime4K_Adaptive_v1.0RC.glsl"
to my config and worked.
>>
>>73087408
>reddit spacing
>>
>>73090251
>sub-ass-force-style=Kerning=yes
Damn this is autistic
>>
>>73089358
Not him, but there are a few pitfalls.
>hwdec + gpu-*
Windows-only option
>sigmoid-upscaling
Should be toggled with adaptive-sharpen instead.
>deband-iterations=4
Wasted on such a low deband-threshold. Almost no visual improvement, yet much higher resource usage.
>shaders in general
Not suited for older hardware.
>FSRCNNX + SSSR
Might be too much for your hardware, if you use both simultaneously (i.e. scaling factor > 2).
>tscale*
Those settings can be used in the normal mpv.conf, as they don't do anything without interpolation enabled anyway.
>demuxer-*-bytes
Be sure that you can spare 4GB RAM with those settings

I'm too lazy to go through the whole config, but it's pretty specialized. I would definitely not copy it blindly.
>>
>>73091138
>Anime4K
>>
>encounter issue in mpv.net
>was actually a bug
>>
they finally dropped dvd support?

and what it's that shitty algorithm called anime4k?
>>
What cool audio visualization script can you recommend?
>>
>>73094039
>they finally dropped dvd support?
No, but they removed support for dvdread (in addition to dvdnav) and timestamp rewriting. Basically you can still watch DVDs, but there's a chance that even basic seeking fails.
>and what it's that shitty algorithm called anime4k?
Fad of the month. A sharpening algorithm, specifically targeted at anime, which the dev tries to sell as an upscaler that even surpasses neural net solutions like NGU or FSRCNNX. The premise is that nothing (and I mean nothing) matters more for anime than sharp edges without ringing. So he wrote an algorithm, which only produces thick lines without ringing. And he succeeded. You get thicker lines for 4K and as a bonus washed out colors, lost details and aliasing. The last big update made it slightly better (e.g. by adding FXAA to the filter chain), but it still looks horrible. It's also a lie that it enhances normal HD footage. Applied to 1080p it may even thin lines out.
I also saw anons describe it as "shittier warpsharp" a few times.
>>
r8&h8:
# Renderer
gpu-api=d3d11
gpu-context=d3d11
hwdec=no
autofit=1280x720
profile=gpu-hq
video-sync=display-resample
log-file="C:\Program Files\mpv\logs\1.log"
#vf=bwdif:parity=0

# Scaling
scale=ewa_lanczossharp
cscale=haasnsoft
linear-downscaling=no

# Shaders
glsl-shader="C:\Program Files\mpv\shaders\SSimDownscaler.glsl"
glsl-shader="C:\Program Files\mpv\shaders\SSimSuperRes.glsl"

# Color
icc-profile-auto
icc-intent=0
icc-contrast=1390
icc-3dlut-size=128x128x128
blend-subtitles=yes

# Audio
ao=wasapi
audio-exclusive=yes
volume=100
audio-channels=stereo
volume-max=100

# Debanding
deband-iterations=3
deband-range=6
deband-grain=0

# Dithering
dither=error-diffusion
error-diffusion=sierra-lite
dither-depth=8

# Screenshots
screenshot-format=jpg
screenshot-jpeg-quality=95
>>
>>73085689
Hey guys I was wondering, any kind of way to make it work with a GUI interface, sure I am a scrub for not learning all the shortcuts, I know, but I really do enjoy the GUI interface of other video players
>>
>>73094661
Links are in the OP, retard.
>>
>>73089602
Open up a bug report
>>
>>73085689
mpc+svp fag here, I'm tired of that boomer player. anyone got a nice mpv.conf so I can finally switch to the superior mpv+svp?
I need a config file that can archieve the same placebo effect as madvr with NGU upscaling.
>>
>>73095596
>placebo effect as madvr with NGU upscaling.
KrigBilateral for chroma and FSRCNNX_16 for luma.

For dithering:
dither=error-diffusion
error-diffusion=sierra-2
dither-depth=8
>>
File: mpcweak.png (330 KB, 607x608)
330 KB
330 KB PNG
>>73095596
Tutorial: SmoothVideo Project (SVP) for mpv.net

>Download SVP from https://www.svp-team.com/wiki/Download

>Select mpv (64-bit) during installation

>After installation finishes goto C:\Program Files (x86)\SVP 4\mpv64 and delete everything from there

>Download latest version of mpv.net [Make sure you download portable versions for portability]

>Extract mpv.net

>Download vapoursynth portable x64 and extract it in same folder as mpv.net

>Download embedded version of python x64 and extract it to same mpv.net folder

>Download and extract vapoursynth mvtools x64 and paste its content to vapoursynth64\plugins folder which is located inside mpv/mpv.net folder that you just extracted

>Download, extract and copy https://codeload.github.com/rossy/mpv-install/zip/master to mpv/mpv.net folder

>Now copy all extracted contents from mpv.net folder and paste it in C:\Program Files (x86)\SVP 4\mpv64

>Install mpv-install.bat from C:\Program Files (x86)\SVP 4\mpv64 with admin rights

>Copy this basic script necessary for svp and mpv.net to communicate:


# this is required for SVP to "catch" the mpv
input-ipc-server=mpvpipe

# hardware video decoder
hwdec=d3d11va-copy
#hwdec=dxva-copy
hwdec-codecs=all

profile=opengl
# high quality video output, require rather fast video card
#profile=opengl-hq

opengl-backend=angle

# "ReClock" replacement
#video-sync=display-resample
#video-sync-max-video-change=5

# miscellaneous options

# may fix audio desync in come cases
hr-seek-framedrop=no

# this can't be used with SVP cause it also saves vf's states
save-position-on-quit=no

#log-file=mpv.log


>Now save it as mpv.conf and paste it inside C:\Users\User_Name\AppData\Roaming\mpv

>Open SVP without admin rights.

>Thats it. Now you can play videos with mpv/mvp.net with svp
>>
>>73095620
>>73095662
thanks anon. Just finished setting up everything (ended up adding adaptative sharpen too).
Comparing screen to screen with my old madvr setup, it looks nearly identical, but now my GPU stays at 40% instead of 90%.
>>
>>73096670
madshi fixed that in the latest madVR. Your GPU can stay at 0% if you buy madVR Envy. It's only $10k and it runs on Windows so it's pretty stable.
>>
>>73096772
cringe
>>
>>73096772
based
>>
>>73096772
Imagine buying a RTX 2080ti with a 800% markup.
>>
>>73091475
anime4k doesn't do anything beyond distort my lines in a fucked up and destructive way when 1080 to 1080 content.
>>
File: 1.png (1.75 MB, 1920x1080)
1.75 MB
1.75 MB PNG
720->1080
>>
File: 2.png (1.74 MB, 1920x1080)
1.74 MB
1.74 MB PNG
>>73097244
Which one is better?
>>
>>73097244
>>73097258

stop watching chinese cartoons
>>
>>73097258
This one. Look on the left side of left dudes face.
>>
>>73097258
for me, it's adaptive-sharpen
>>
>>73097258
This one. The other version has too much aliasing and removes a bunch of detail (including shortening lines, cutting off shadows, etc.).
>>
>>73097416
It's the madVR version. buy envy now.
>>
>>73097568
Looks more like the non-Anime4K version, madshi.
>>
How, do I
1. Get rid of the oversized osc while playing audio
2. Display the thumbnail as cover while only playing the audio from url.
>>
>>73097568
>buy it now
Where is the fucking URL?
>>
>>73096772
>madVR Envy
>runs on Windows
Are you sure?
>>
>>73098253
For the first one you can use auto-profiles.lua and make conditions for audio files to change the osc options you want
>>
>>73098701
Does madshi even know how to program anything outside of a Windows environment?



Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.