[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/ - opt rework is in progress

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: 39
Thread images: 3

File: default_icon_512x512.png (1MB, 512x512px) Image search: [Google]
default_icon_512x512.png
1MB, 512x512px
Is it real?
>>
>>56391426
What's opt?
>>
>>56391587
Options like --vo, --hwdec or --video-sync.
Mpv inherites from the mplayer messy opt system and mpv devs are making it better. But it's a fucking painful process.
>>
mpv's command line is unintuitive and the manual is structured pretty poorly, lacks easy feature discoverability.
>>
>>56392115
The command line isn't really up for a rework, but how would you better structure the man page?
>>
Just give it a GUI. Then nobody cares what the options are named.
>>
>>56392295
Autists developing mpv won't feel like l33t h4X0rs anymore.
>>
>>56392254
There should be a section listing most commonly used commands. mpv doesn't have a huge userbase so an internet search gives nothing related most of the time.

The sections should have all related commands available in the most instinctive manner. Now if I want to look up how to change audio from cli I would probably look in the "Audio" section. But it's not there, rather it's listed in the "Track selection" section which in my experience was really unintuitive. Generalizing away from the most thought of thing isn't good for discoverability.
>>
>>56392254
>>56392115
Manual should be documentation!
Manual is not the good term.
>>
not a big fan of the default input.conf, anyone up to share theirs?

all I've really done is disabled a bunch of shit I never use.

#MOUSE_BTN0 ignore                      # don't do anything
#MOUSE_BTN0_DBL cycle fullscreen # toggle fullscreen on/off
#MOUSE_BTN2 cycle pause # toggle pause on/off
MOUSE_BTN3 ignore
MOUSE_BTN4 ignore
MOUSE_BTN5 add chapter -1
MOUSE_BTN6 add chapter 1

AXIS_UP add volume 2
AXIS_DOWN add volume -2
AXIS_LEFT ignore
AXIS_RIGHT ignore

1 ignore
2 ignore
3 ignore
4 ignore
5 ignore
6 ignore
7 ignore
8 ignore
9 ignore
0 ignore
* ignore
/ ignore

w ignore
e ignore
A ignore

h ignore
k ignore
>>
we global-opts now!!!
>>
Please share configs for high quality video.
>>
>>56394003
This is what I use

# Muh placebo
profile=opengl-hq
opengl-pbo=yes # helps with performance

# Scaling settings
scale=haasnsoft
scale-radius=3
cscale=ewa_lanczos

# Color management
icc-profile-auto=yes
icc-cache-dir=/tmp/mpv-icc
target-brightness=100

# Interpolation
video-sync=display-resample
interpolation=yes
interpolation-threshold=0.01
tscale=bicubic
blend-subtitles=yes

# Misc video settings
deband-iterations=2
deband-range=12
temporal-dither=yes
hwdec=no # better quality and stability
>>
>>56394098
Awesome! I am in love with cli tools now!
Seriously I was a fucking pro gui fool but mpv learned me it's mostly useless and bloated.
>>
>>56395210
>hwdec=no # better quality and stability
Is there a way to use hwdec only for hevc videos? My fans become ultra noisy reactors when I play this kind of videos.
>>
>>56395278
You could probably try blacklisting the specific codecs you don't want to use for hwdec
>>
>>56395607
How?
>>
>>56395767
wow it's even easier than I thought, search for hwdec-codecs in the manual
>>
>>56395800
My gpu supports hevc hardware decoding.
>>
>>56395875
Did you do what I said?
>>
>>56391426
>finally learn the config options and set it up
>it's being changed now
>>
>>56395949
Is this correct?
hwdec-codecs=hevc
>>
>>56396127
hwdec=auto
hwdec-codecs=hevc,vp9
>>
>>56396160
hwdec=auto-copy
hwdec-codecs=hevc,vp9
>>
>>56396160
Yes
>>
>>56396198
I will try this this evening.
>>
>>56392706
I've only changed
 MOUSE_BTN3 add volume 2
MOUSE_BTN4 add volume -2
ESC set fullscreen no ; set pause yes
>>
>>56395949
The change is simple and for the better. Instead of a long string of VO suboptions they're now just global options (and opengl-hq is now a built-in profile)

vo=opengl-hq:scale=ewa_lanczossharp:deband

becomes
profile=opengl-hq
scale=ewa_lanczossharp
deband=yes
>>
>>56396246
Depends on the hwdec API in question

Some give you the raw planes (same as software decoding) which means that all filters work

Others do RGB conversion or chroma scaling internally, which breaks stuff like debanding or cscale
>>
File: 1467434666370.jpg (74KB, 720x576px) Image search: [Google]
1467434666370.jpg
74KB, 720x576px
how do i into user-shaders= now
>>
>>56396931
vo=opengl:user-shaders=[a,b,c]

becomes
vo=opengl
opengl-shaders=a,b,c
>>
File: 1450948674134.jpg (71KB, 720x576px) Image search: [Google]
1450948674134.jpg
71KB, 720x576px
>>56396971
thanks man
>>
>>56391630
How would a rework look like? The way it's now makes it easy to understand.
>>
>>56396971
There are no new shaders in the igv's gist. :(
https://gist.github.com/igv
>>
>>56396907
While I appreciate this, it's going to break SMPlayer GUI, which I 99% of the time use instead of solo mpv. I hope the SMPlayer guys get it fixed fast
>>
>>56394098
>interpolation=yes
>interpolation-threshold=0.01
>tscale=bicubic
Why did you change the default interpolation settings?
What's wrong with defaults provided by the developers?
>>
>>56397026
Isn't the new syntax mostly backwards compatible? (Apart from like 2 options that got renamed)
>>
>>56397258
tscale is a subjective/aesthetic choice. The defaults are conservative

interpolation-threshold is working around a bug that happens sometimes, IMO it should be the default
>>
>>56397713
>interpolation-threshold
What does it do, though? I don't quite understand what the manual says. I've seen someone post on one of the mpv generals that the default settings should be 0.01 and not 0.001 which is the one right now. What does setting it to 0.1 do? I don't see any difference (using linear tscale)
Thread posts: 39
Thread images: 3


[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.