[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
MPV Config Thread How's this? # VIDEO # vo=opengl-hq:smoothmotion:smoothmot
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 29
File: mpv.png (186 KB, 604x270) Image search: [Google]
mpv.png
186 KB, 604x270
MPV Config Thread

How's this?

# VIDEO #
vo=opengl-hq:smoothmotion:smoothmotion-threshold=0.0
icc-profile-auto
hwdec=dxva2-copy
scale=spline64
cscale=spline36
dscale=spline16
tscale=oversample
geometry=50%:50%
priority=high
osd-fractions
demuxer-readahead-secs=5.0
cache=auto
cache-default=2048576
cache-file=TMP
cache-seek-min=1024

# AUDIO #
ao=wasapi
audio-channels=downmix
alang=en,eng,English

# SUBTITLE #
no-sub
slang=en,eng,English
ass-force-style=Kerning=yes
demuxer-mkv-subtitle-preroll

# MISC #
screenshot-format=png
screenshot-template=mpvsnap-%tY.%tm.%td-%tHh%tMm%tSs%00n
osd-msg2="${vo-drop-frame-count}"
loop=inf
>>
MPC-HC > meme player v
>>
How does this look?

vo=opengl-hq:scaler-resizes-only:scale=spline36:cscale=oversample:interpolation:temporal-dither:gamma=0.9:blend-subtitles=yes:smoothmotion:smoothmotion-threshold=0.0
>>
>>51222998
anime/10
>>51222909
Spline32 is superior to spline64
Why not just use mitchell for downscaling?
icc-profile-auto doesn't work on Windows, you have to specify the path manually, ie. use icc-profile=profilepath
Wasn't smoothmotion deprecated and now implemented as interpolation?
>>
Why isn't haasn making all these settings a default for opengl-hq or some other preset? Feels odd that I would need to adjust my configuration every week.

I know some better settings went to opengl-hq few months ago at least, but that's not satisfying enough.
>>
I still use mpvhq because I don't feel like changing the opengl-vhq preset.
>>
>>51223175
>Feels odd that I would need to adjust my configuration every week.
That's what you get for building from git sources.
>>
vo=opengl-hq:interpolation:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:tscale=oversample:scaler-resizes-only:dither-depth=8:temporal-dither:pbo:target-prim=bt.709:target-trc=bt.1886:deband


any suggestions?
>>
>use smoothmotion
>its still not smooth and judders

what the fuck
>>
>>51223621
Get a profile for your monitor
Some af filters are pretty useful, like hrtf if you use headphones
>>51223642
Sounds like you have Windows problems, interpolation sometimes doesn't work on it
Try playing with
>https://mpv.io/manual/master/#video-output-drivers-dwmflush
And with display-sync
>>
serious question: why do you use MPV as opposed to VLC?

why bother with these configs?
>>
>>51223674
>serious question: why do you use MPV as opposed to VLC?
Just werks, with decent subs for muh chink cartoons
>why bother with these configs?
Because I like muh high quality and thinkering with stuff
>>
>>51223674
Why use VLC instead of MPV?
>>
>>51223674
Yes. VLC has issues with the menu in fullscreen when using it's OpenGL output for me.
>>
>>51222937
>calling mpc-hc the biggest meme player is better than mpv
>>
screenshot-template="~/Desktop/shot%n"
screenshot-format=jpg
screenshot-jpeg-quality=100


plays chinese cartoons pretty well desu senpai
>>
how to get similar settings to mpc-hc +kcp with mpv?
>>
>>51223877
>jpeg-quality=100
Why, 95 is almost as good and much smaller
>>
best config for anime?
post it
>>
>>51223891
i need it pixel perfect but png is too slow
>>
>>51223923
Something like >>51223621
But add
blend-subtitles=yes

ie.
vo=opengl-hq:interpolation:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:tscale=oversample:scaler-resizes-only:dither-depth=8:temporal-dither:pbo:target-prim=bt.709:target-trc=bt.1886:deband:blend-subtitles=yes
>>
>>51223691

I can't figure out how to make playlists with MPV. Da fuk why can't there be an optional toggleable GUI to complement the minimalistic interface.
>>
>>51223660
>Get a profile for your monitor
my monitor is really fucking old, like a 2005/2006 CRT, I doubt it will make a difference
>>
>>51223967
It will, actually, CRT's were great for video
I'm using a 2003 Dell M992 (Trinitron rebrand), 98% sRGB coverage and pretty much perfect BT.1886 gamma
Though you're right, if your CRT phosphors haven't drifted bad like mine (mine has this massive green tint without correction) it probably is pretty close to sRGB, so
>target-prim=bt.709:target-trc=bt.1886
Should be good enough, if not perfect
>>
>>51222909
Looks nice dude, the spline64/36/16 combo works well

only error I see is in the audio config, use this

>ao=wasapi
>ad-lavc-downmix=yes
>audio-channels=2
>>
>>51224005
Nothing you can do about a shitty CRT, my Philips had green tinted blacks out of the box but my Sony was black as the night
>>
OP here

Is this better?

# VIDEO #
vo=opengl-hq:temporal-dither:gamma=0.9:blend-subtitles=yes
scale=spline64
cscale=spline36
dscale=spline16
interpolation
tscale=oversample
hwdec=dxva2-copy
geometry=50%:50%
priority=high
osd-fractions
demuxer-readahead-secs=5.0
cache=auto
cache-default=2048576
cache-file=TMP
cache-seek-min=1024

# AUDIO #
ao=wasapi
ad-lavc-downmix=yes
audio-channels=2
af-defaults=volume=replaygain-track:replaygain-clip=yes:detach
af-add=rubberband,volume
alang=en,eng,English

# SUBTITLE #
no-sub
slang=en,eng,English
ass-force-style=Kerning=yes
demuxer-mkv-subtitle-preroll

# MISC #
screenshot-format=png
screenshot-template=mpvsnap-%tY.%tm.%td-%tHh%tMm%tSs%00n
osd-msg2="${vo-drop-frame-count}"
loop=inf
>>
>>51224348
dont touch gamma
>>
>>51224348
Yes that is better, why are you messing with gamma?

go and enjoy your movies now and stop messing about
>>
what's wasapi, and how does it compare to alsa?
>>
>>51224005
where do you get your profiles from
>>
>>51224537
WASAPI is the Windows audio API and ALSA is the Linux one.
>>
>>51224540
I did the one for my current monitors myself, ended up buying a colorimeter, since I have quite a few TV's and there's no way to rent one in my country
But you can get profiles from the OpenSuSe profile taxi
>http://icc.opensuse.org/
or from review sites like notebookcheck or random forums, iirc overclockers.net has a forum dedicated to monitor profiling
A decent profile does wonders for some screens, like the screens on the T420/30
>>
?
vo=opengl-hq:interpolation:tscale=oversample:scaler-resizes-only:dither-depth=8:temporal-dither:pbo:target-prim=bt.709:target-trc=bt.1886:deband:blend-subtitles=yes:scale=spline64:cscale=spline36:dscale:spline16:hwdec=dxva2-copy
>>
iGPU laptop config.

vo=opengl-hq:backend=x11:icc-profile-auto:temporal-dither:scaler-resizes-only:blend-subtitles
hwdec=vaapi
audio-channels=stereo
demuxer-mkv-subtitle-preroll
ass-force-style=Kerning=yes
no-stop-screensaver
alang=jpn,eng
slang=eng

osd-fractions
osd-font="Source Sans Pro Semibold"
script-opts=osc-layout=slimbox,osc-vidscale=no,osc-scalewindowed=2,osc-scalefullscreen=2

screenshot-format=png
screenshot-template=mpvsnap-%tY.%tm.%td-%tHh%tMm%tSs%00n

[pseudo-gui]
keep-open=yes
>>
File: mpv.png (237 KB, 512x512) Image search: [Google]
mpv.png
237 KB, 512x512
Recently in mpv news:
- Plex employs wm4, so consequently he is working on home theatre stuff like 7.1 passthrough.
- Display sync and interpolation in mpv-git should work better on Windows, though the changes are not in a release yet.
- Debanding is now built-in and used by default in opengl-hq.
- New NNEDI3 and Super-xBR scalers are in git.
- libass gets CoreText and DirectWrite support, so mpv on Windows and OS X can now use system fonts.
- ffmpeg-git gets DASH support for streaming 1080p YouTube videos.
- The dcadec guy isn't dead.
>>
File: 1497420276703.jpg (3 MB, 3264x2448) Image search: [Google]
1497420276703.jpg
3 MB, 3264x2448
>>51222998
>>51223621
>>51224348
>>51224599
>>51224860

Why are some configs written on the vo= line and others are split 50/50 and others are all broken into new lines?
>>
>>51225619
4chan breaks long lines and the vo= line can get pretty long. When you copy it into your config, you should remove the extraneous line breaks.

As for this guys config >>51224348, I'm pretty sure it's wrong and scale=, cscale=, dscale=, etc. are still opengl suboptions.
>>
How can I play at 1.5x without getting chipmink sound? VLC does it fine. What should I do to acheive the same in mpv
>>
>>51225697
--audio-pitch-correction

It's enabled by default, so you probably have a really old version of mpv. I think you have to use something like
--af=scaletempo
if your mpv is super old.
>>
>>51225723
How do I update? I am on ubuntu by the way
>>
>>51225743
There's a PPA for Ubuntu here: https://launchpad.net/~mc3man/+archive/ubuntu/mpv-tests
>>
>>51225765
Thanks
>>
>>51225619
Who is this semen demon?
>>
File: 1355474934876.jpg (47 KB, 703x780) Image search: [Google]
1355474934876.jpg
47 KB, 703x780
# Video Settings
vo=opengl:scale=ewa_lanczossharp:cscale=ewa_lanczossharp:dscale=mitchell:tscale=oversample:scaler-resizes-only:dither-depth=auto:temporal-dither:swapinterval=1:fancy-downscaling=no:sigmoid-upscaling:pbo:deband:interpolation
video-sync=display-resample
hwdec=no
framedrop=no
cache=262144
stop-screensaver=yes

# Audio Settings
audio-channels=2
alang=jp,jpn,Japanese,en,eng,English

# Subtitle Rice
sub-text-font="Source Sans Pro Semibold"
sub-text-font-size=54
sub-text-margin-y=36
sub-text-color="#ffffffff"
sub-text-border-color="#ff262626"
sub-text-border-size=3.2
sub-text-shadow-offset=1
sub-text-shadow-color="#33000000"
sub-text-spacing=0.5
sub-auto=fuzzy
demuxer-mkv-subtitle-preroll
ass-force-style=Kerning=yes
slang=eng,en,English

# Screenshot Settings
screenshot-format=png
screenshot-png-compression=9
screenshot-template="~/%F[%P]_[%td.%tm.%tY][%tH:%tM:%tS]"
screenshot-high-bit-depth=no

# OSC
script-opts=osc-layout=bottombar

# OSD Rice
osd-bar=no
osd-font='Helvetica Neue:style=Light'
osd-font-size=45
osd-border-size=1
osd-color='#fdfdfd'
osd-border-color='#6b6b70'

# Player Position
geometry=50%:50%
>>
# VIDEO
vo=opengl-hq:scale=haasnsoft:cscale=ewa_lanczos:tscale=oversample:tscale-clamp:scaler-resizes-only:temporal-dither:blend-subtitles:target-prim=bt.709:target-trc=bt.1886:icc-profile=~~/P2715Q.icm:3dlut-size=256x256x256
hwdec=no
vd-lavc-threads=4
framedrop=vo


Sup
>>
>>51223674
- VLC doesn't have the same quality opengl rendering and upscaling.

- Seeking through video with VLC is much slower

- mpv has youtube-dl support, arguably making it the best player for watching online videos/streams there is.

- The codebase is much smaller, in general cleaner and more correct code

- Not bloated like VLC

- No ugly GUI or graphical toolkit dependencies

- Very active development

- Many command line options and almost all functionality can be provided through the command line.

- Configuration is done by putting command-line options in a text file, which is very easy, simple, and portable.

- VLC has a worse implementation of ASS, I've seen it fuck up subs before.

There is reasons to use VLC though:

- DVD menu support
>>
>>51226117
Meant to ask: How is this? Is there any room for improvement?

I basically pieced my config together by looking at other peoples' configs, checking what the options did on https://mpv.io/manual/master/ and then setting them if they sounded good.
>>
>>51225059
libass is improved greatly by the last changes, i had a animu sub that was only properly working in windows xy-VSFilter, now finally smooth in linux
>>
>>51226406
There's people "/g/ - technology" who read the online manual instead of opening a terminal and running
man mpv
.
>>
>>51226460
Yep. The cascade gaussian blur algorithm in libass 0.13.0 is pretty great. It improves a ton of subs that used to only work well with xy-VSFilter.
>>
>>51226490
Is that a problem? Proportional fonts are easier to read than monospaced fonts.
>>
I have an album that I downloaded as on whole file. My plan is to break the file up into individual files and add the appropriate metadata so that mpv will display the desired info when playing the files.

Is it possible to keep the album as 1 file and still have the individual song metadata displayed as the album is played?

I experimented attempted to solve this issue a year ago with a different music player, Audacious. I was able to make it work by creating a 'cue' file containing the metadata in a particular format. And instead of opening the music file with Audacious I opened the cue file.

If I open the same cue file with mpv the music plays. But no metadata is displayed. Can mpv mimic the functionality of Audacious (without too much trouble)?

My preferred method of solving this issue would be to use vorbis/ogg for the music and use chapters for the individual song data. I can add the metadata to the ogg container. MPV will display all the metadata EXCEPT the chapter data.

Example, what I enter in FFMPEG:
TITLE=Le meilleur de l'Afreubo
DATE=2000
ARTIST=Afreubo
ALBUM=Le meilleur de l'Afreubo
GENRE=Philharmonique

CHAPTER001=00:00:00.000
CHAPTER001NAME=track 01 - Y.M.C.A.

CHAPTER002=00:00:05.000
CHAPTER002NAME=track 02 - Mission impossible

CHAPTER003=00:00:10.000
CHAPTER003NAME=track 03 - test@10sec

CHAPTER004=00:00:15.000
CHAPTER004NAME=track 04 - test@15sec


All the tags are shown (actually Genre and date aren't set to be displayed atm) except the chapter data. The chapter data is shown when I seek through the chapters as the file is playing.

Can I force the chapter data to display and update as MPV plays the file?

Thanks.
>>
>>51226490
Easier to search/scroll through and more aesthetically pleasing. I have my browser open any time I'm using my PC anyway.
>>
##################
# video settings #
##################

# force starting with centered window
geometry=50%:50%

# don't allow a new window to have a size larger than 90% of the screen size
autofit-larger=90%x90%
loop-file=inf
pause
mute

##################
# other settings #
##################
# Window title
title="${path}"

#ytdl=yes
#save-position-on-quit
keep-open

#video-unscaled
#video-zoom=<value>

#############
# Subtitles #
#############

sub-text-font="Source Sans Pro Semibold"
sub-text-font-size=50
sub-text-margin-y=30
sub-text-color="#FFFFFFFF"
sub-text-border-color="#FF262626"
sub-text-border-size=3.2
sub-text-shadow-offset=1
sub-text-shadow-color="#33000000"
sub-text-spacing=0.5

#############
# OSD Rice #
#############

#script-opts=osc-layout=bottombar,osc-seekbarstyle=bar

#osd-playing-msg='${filename}'
#osd-duration=2000
#osd-font="Source Sans Pro Semibold"
#osd-font-size=35
#osd-color="#ffffffff"
#osd-border-color="#ff262626"
#osd-border-size=2
#osd-shadow-offset=1
#osd-shadow-color="#33000000"
#osd-scale-by-window=yes

# Webm
[extension.webm]
loop-file=inf

# GIF
[extension.gif]
loop-file=inf
>>
File: 1367546952.jpg (56 KB, 720x480) Image search: [Google]
1367546952.jpg
56 KB, 720x480
What's best settings for thinkpad T420 with Intel graphic card?
I was struggling to play 1080p video with
framdrops=no
had to changed it to
framdrops=decoder+VO
to get something decent.
VO=opengl-hq
vf=gradefun

This is all in my config file.
Please help.
>>
File: 1431457797232.jpg (597 KB, 1536x2048) Image search: [Google]
1431457797232.jpg
597 KB, 1536x2048
What's better audio output?
Alsa or pulseaudio?
I'm on manjaro, and it uses the alsa mixer to handle it, but mpv is set to use pulseaudio, does this effect the system in any way?
>>
>>51226705
oss
>>
>>51226682
opengl-hq already has debanding if you're using a recent version so remove
vf=gradefun
. Are you getting framedrops with
vo=opengl
?
>>
>>51226682
>I was struggling to play 1080p video with
framdrops=no
had to changed it to
framdrops=decoder+VO

Just keep the default
framedrops=vo
>>
>>51226705
Pulseaudio is better.

Pulsaudio eventually uses ALSA. Pulseaudio is just a layer on top of ALSA, which is actually a very useful and necessary one, don't let retards on /g/ tell you otherwise.
>>
>>51223674
>why do you use MPV as opposed to VLC?

Way better playback and customization.
>>
/g/, I have a very weak computer that can't handle 1080p videos

Will I be able to play them, provided I have a sufficient config?
>>
vo=opengl-hq

script-opts=osc-layout=slimbox,osc-seekbarstyle=slider

osd-scale-by-window=no
osd-scale=0.4

screenshot-format=png

geometry=85%:85%
>>
>>51223674
vlc has a shittastic command line syntax. The actual use of it is horribly documented, lacks real examples.
Just kill it.
>>
>the opengl driver doesn't support opengl 3.0

help me, guys
>>
Tips for dealing with horizontal tearing? Shitty laptop and Nvidia card
>>
>>51226986
You can probably drop some decoding features though the rendered image may not look good. I know ffmpeg can do it, so there should be a way to do this too in mpv.
>>
>>51227101
Did you update drivers? Are you sure it's using the nvidia card and not an integrated Intel one?
>>
>>51227101
Have you tried: https://github.com/mpv-player/mpv/wiki/FAQ#tearing ?
>>
>>51227115

Yes and yes

Mind you, it's a rather old card (310m)

>>51227134

Hah, I actually had seen that page but then forgot about it and couldn't find it again. Thanks, will try what it says.
>>
>>51227115
Welp never mind, MPV was using the integrated one. Silly me.
>>
>>51227101
I was having this problem. Adding the following line under
Section "Screen"

to my xorg.conf fixed it for me:
    Option         "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"

I think the "metamodules" part was already there. It was just the "nvidia-auto-select" bit that I added, IIRC.
>>
>>51226986
It's possible. If you're not using hardware decoding, you can trade performance for quality with
--vd-lavc-skiploopfilter=all --vd-lavc-fast
. Also try the fallback VOs,
--vo=xv
for Linux and
--vo=direct3d
for Windows.
>>
File: 1446880469870.webm (3 MB, 1000x562) Image search: [Google]
1446880469870.webm
3 MB, 1000x562
>>51222909

how do you configure it?
>>
>>51227300
nano ~/.config/mpv/mpv.conf
>>
>>51227300
nano ~/.mpv/config
>>
>>51227323
~/.mpv/ is outdated.
>>
>>51227262
>I think the "metamodules" part was already there
Actually, I take that back, I'm pretty sure it wasn't.
>>
mpv for Android when?
>>
>>51227780
Pick one of:
>never
>when Plex pays wm4 to make the port
>when all/most Android phones get decent standards-compliant GLES3 support
>>
>>51223947
What's the point in blend-subtitles? All it does is give me these black after images of subs and it looks shitty.
>>
When I encode a video using mpv is the output video upscaled using the scalers in my config?
>>
>>51227973
mpv can encode videos?
>>
>>51227930
blend-subtitles is useful for a few reasons mainly related to weeb subtitles. Fansubbers like to match subtitle changes to scene transitions so they don't bleed into the next scene, so blend-subtitles can prevent a 'half-frame' of bleed. Fansubbers also like to animate signs with the video, so with interpolation and without blend-subtitles, the subtitles will judder out of sync with the video. Fansubbers also like to block out the jap text under the sign with a rectangle that's the same colour as the background, but they tend to target non-colour managed video players. blend-subtitles burns the subtitles onto the frame before colour-management, so it makes those kind of signs look better when you are using colour management.
>>
>>51227993
Yep. It has a VO that writes the video back out again with FFmpeg. You can use it with --o. It's slightly easier than the FFmpeg command line for some things like burning in subtitles and precise cutting, but due to the design it can't do some other things like stream copy.

>>51227973
Depends. It won't use the ones in --vo, but it will use --sws-scaler.
>>
>>51223955
There is autoload.lua, if you want to make playlists from the same folder...
>>
>>51227993
https://gist.github.com/Zehkul/25ea7ae77b30af959be0
>>
>>51228085
Is there a guide anywhere explaining how to do it in detail? Or does it use all the same commands as ffmpeg?

>>51228104
Thanks.
>>
>>51228127
There isn't really a detailed guide, but as usual, you can look at the manual: https://mpv.io/manual/master/#encoding

>Or does it use all the same commands as ffmpeg?
Kind of, but you have to put them in --ovcopts.

Or just use that script >>51228104
>>
>>51227078
upgrade toaster
>>
File: mpv-shot0003.jpg (78 KB, 1280x720) Image search: [Google]
mpv-shot0003.jpg
78 KB, 1280x720
How can I make the subtitles go ON the video instead on the letterboxes when in fullscreen?


I'm using a 4:3 monitor and it looks really weird.
>>
File: 1422230934641.png (53 KB, 566x361) Image search: [Google]
1422230934641.png
53 KB, 566x361
NNEDI3 disables itself because i apparently don't have opengl 3.1, despite the fact that my hardware and drivers support 3.3, what's going on here?
>>
Does MPV freeze for a few seconds(white screen) before loading a video for anyone else? I don't remember it being this bad before.

Is there any possible way to make it load videos near instantly?
>>
>>51228189
Yeah, it takes 3 seconds to launch the video for me, too.

it used to launch instantly before
>>
>>51228189
>>51228197
Windows?
>>
>>51228204
yes

2015-10-29 : 64-bit
>>
>>51228213
It could be a libass bug. The next build should be fixed.
https://github.com/libass/libass/commit/d056631
>>
>>51228213
Yeah, I'm running on XP, even.
>>
>>51228223
5 second load time vs 1 sec. load time is really noticeable.
>>
>>51228224
If you're running XP, it's not the DirectWrite bug, but it could still be fontselect/fontconfig related. Please don't use XP. mpv/libass devs don't really care about it, use it or test on it.
>>
>>51228189
I don't have this with >>51228213 on Win10.
>>
>>51228248
it's not like I have a choice....
>>
>>51228277
That's unfortunate. mpv will likely continue to support it while it's popular, but not forever.

<wm4> well I continue to pray that XP will die soon
>>
>>51228177
>what's going on here?
not much to say without a debug log
>>
>>51228170
--no-sub-use-margins
>>
>>51228177
>>51228368
Also check if you have ARB_uniform_buffer_object in your opengl extensions.
>>
>>51228259
>>>51228189
>I don't have this with >>51228213 on Win10.
same
>>
File: mpv-shot0006.jpg (111 KB, 1280x720) Image search: [Google]
mpv-shot0006.jpg
111 KB, 1280x720
>>51228378
THANK YOU.

It was really bothering me.
>>
>>51228104
Results are pretty fuggin awful compared to ffmpeg.

Here's ffmpeg.
>>
>>51228580
i know how you feel, you'd think you'd learn to appreciate the text not covering part of the video, but i could also not get used to it
>>
>>51228691
And here's mpv.
>>
Is anybody else getting a build error with the AUR git script? I'm too lazy to try manually, but it always fails when trying to link libmpv.
>>
>>51228967
Why would you use the AUR version when it's in the official repos?
>>
Does anyone here use MPV in Kali Linux?
>>
As someone with a toaster that only has OpenGL 2.1, does anyone know of a way I can enable the fancy features of opengl-hq? (I doubt it's possible, but I thought I'd ask). What am I missing out on? Upgrading the hardware isn't really an option.
>>
what's a good way to override faggy subtitles with a non-shit font and in yellow (objectively the best subtitle color) but still retain other ass stuff, like the positioning?
>>
Everybody using interpolation: stop until you've checked your display really can't sync to 48Hz/50Hz/72Hz. Syncing to 50Hz is very common, and unless you have absolute pitch perception you won't notice the difference speeding up from 24fps to 25fps with
--speed=1.0427083 --audio-pitch-correction=no
(for DVDs and other NTSC framerate things) or
--speed=1.0416667
(for true 24fps).

Then you can use display-resample, which is far superior to interpolation.
>>
>>51229691
Is there any reason not to use interpolation if you can?
>>
>>51229718
It's more blurry than using integer multiple refresh rate + display-resample.
>>
>>51229489
Try pressing u after configuring your sub settings
>>
>>51225059
>Debanding is now built-in and used by default in opengl-hq.
And it has ugly noise by default. Fixable with
deband-grain=0
.
>>
>>51229718
yes, if your monitor can do a refresh rate that is a multiple of the video frame rate

interpolation is a means of making rate differences more tolerable, it's not ideal compared to using matching rates

i for one have some custom modelines covering most video rates
Section "Monitor"
Identifier "HDMI-0"
Modeline "1920x1080" 106.82 1920 1928 1952 1960 1080 1083 1087 1090 -HSync +VSync # 50Hz
Modeline "1920x1080" 132.48 1920 1928 2016 2024 1080 1083 1089 1092 -Hsync +Vsync # 60/1.001Hz
Modeline "1920x1080" 130.80 1920 1928 1992 2000 1080 1083 1086 1090 -Hsync +Vsync # 60Hz
Modeline "1920x1080" 164.16 1920 1928 1968 1976 1080 1083 1152 1155 -HSync +VSync # 72/1.001Hz
Modeline "1920x1080" 156.96 1920 1928 1992 2000 1080 1083 1087 1090 -HSync +VSync # 72Hz
Option "PreferredMode" "1920x1080"
EndSection
>>
>>51229751
what?
u isn't even bound to anything
>>
>>51229691
i thought display-sync was a replacement for fpsadjust.lua, not interpolation. you're going to get more judder on panning shots with interpolation off.
>>
>>51229760
also note that my monitor normally only advertises "60Hz" at 1920x1080, despite being capable of those i listed
>>
>>51229769
>u
>Switch between applying no style overrides to SSA/ASS subtitles, and overriding them almost completely with the normal subtitle style. See --ass-style-override for more info
>>
File: 1433344757948.png (52 KB, 566x361) Image search: [Google]
1433344757948.png
52 KB, 566x361
>>51228368
>>51228412
I have the extension.
Debug log here: http://pastebin.com/eAbipxXg
It looks like mpv is incorrectly identifying my card or driver as opengl 3.0 as can be seen in the log.
How could i fix that?
>>
>>51229788
must have been newly added
and I can control that option in the config anyway, I don't need a key for it
>>
>>51229691
>stop until you've checked your display really can't sync to 48Hz/50Hz/72Hz
How do you check this?

When I go into my monitor's settings, there's a tab called "INFORMATION" which lists my refresh rate as 60Hz, but it doesn't say what other rates (if any) it's capable of.
>>
>>51229776
display-sync gives you perfect 1:n source:output frame ratio. Set your refresh rate to an integer multiple (or close enough) of the video frame rate and you get zero judder (judder meaning uneven frame timing. It doesn't compensate for 24fps being shit, but then again neither does interpolation).
>>
>>51229829
Just try them with cvt to generate modelines for xrandr (switch to 60Hz first so you have something in your shell input history you can go back to if the monitor doesn't sync). Lots of monitors can sync to rates they don't have in their EDID.
>>
>>51229849
>>Just try them with cvt to generate modelines for xrandr (switch to 60Hz first so you have something in your shell input history you can go back to if the monitor doesn't sync).
I have no idea what this means.
>>
>>51229902
$ cvt 1920 1080 50
# 1920x1080 49.93 Hz (CVT 2.07M9) hsync: 55.62 kHz; pclk: 141.50 MHz
Modeline "1920x1080_50.00" 141.50 1920 2032 2232 2544 1080 1083 1088 1114 -hsync +vsync
$ # You can also try cvt -r for reduced blanking modes, maybe those will work
$ sudo xrandr --newmode "1920x1080_50.00" 141.50 1920 2032 2232 2544 1080 1083 1088 1114 -hsync +vsync
$ # Replace DVI-0 with your output port name (check xrandr with no arguments)
$ sudo xrandr --addmode DVI-0 1920x1080_50.00
$ # Default mode emergency backup!
$ xrandr --output DVI-0 --mode 1920x1080
$ # Test 50Hz mode
$ xrandr --output DVI-0 --mode 1920x1080_50.00
$ # If it didn't sync, press up to recovery emergency backup mode from history
$ # You do this blind, so pay attention
>>
>>51229012
muh bleeding edge
>>
Here's the config I use for mpv on OS X.

http://pastebin.com/56Vc9iLN
>>
would a web form to generate these config files be useful?
>>
If the movie is in 23fps how do I force mpv to change my monitor refresh rate to match the movie?

windows by the way
>>
>>51233035
1. install gentoo
2. get the xrandr mpv lua script
>>
>>51226781
Can you expand on that? I don't have it on my arch install because I've found that everything just werks with alsa. What does pulseaudio bring?
And if I have it, how do I know / ensure that every audio output goes through it?
>>
>>51232727
That sounds pretty nice, especially for people who don't quite know what everything does and want to learn. Could also have nice features like in what situation you'd want to use each option and shit like comparison screenshots.
>>
>>51222909
[   0.008][w][cplayer] Warning: option smoothmotion was replaced with interpolation and might be removed in the future.
[ 0.008][w][cplayer] Warning: option smoothmotion-threshold was replaced with tscale-param1 and might be removed in the future.
>>
Anyone able to change the subtitle font settings on Windows? Mine just seems to stay default no matter what.

I copied someone's config (ignore the shit choice of font, that's just to see if it works):

sub-text-font="Georgia"
sub-text-font-size=12
sub-text-margin-y=30
sub-text-color="#FFFFFFFF"
sub-text-border-color="#FF262626"
sub-text-border-size=3.2
sub-text-shadow-offset=1
sub-text-shadow-color="#33000000"
sub-text-spacing=0.5
>>
File: 1446903990203.jpg (367 KB, 2000x3000) Image search: [Google]
1446903990203.jpg
367 KB, 2000x3000
>>51227262
>>51227658
>ForceFullCompositionPipeline = On
Thank you so much for posting this.
>>
>>51230022
I tried this with refresh rates higher than 60 (below report out of range), it works (as in it displays the an image) but everything looks extremely interlaced.
Is there a way to fix that?
>>
what's a good animu config for a computer with 2gb of ram and a weak dual-core intel with an integrated gpu?
>>
>>51236373
You could try the reduced blanking timings if you didn't already. If that doesn't work your only options are interpolation or a new monitor.
>>
File: 1429667569847.png (183 KB, 370x359) Image search: [Google]
1429667569847.png
183 KB, 370x359
Why is it such a pain in the ass to compile MPV in Windows?

You have to download and cross compile all this shit together just to make it work.
>>
File: cringe.gif (369 KB, 400x330) Image search: [Google]
cringe.gif
369 KB, 400x330
>>51222937
>MPC-HC

Why do people subject themselves to this shit instead of MPC-BE?
>>
>>51236719
because windows
>>
>>51226682
I can do 1080p on my T420 with opengl-hq, and I'm on Windows
You're doing something quite wrong senpai
>>
>>51229392
You could run some of the fancy stuff using software video filters
Or use MPC-HC+madVR, there are few options around when using mpv and old hardware
>>
hey families, what's the best way to watch my 40 gb collection of porn webms and gifs?

vlc doesn't have plugins and mpv a shit
>>
>>51236427
opengl-hq
>>
>>51236948
MPV is ideal for porn, it even has A-B loop mode which is obviously designed for porn.
>>
>>51236739
Why not Potplayer?
>>
>>51236948
mpv
>>
does mpv support hardware decoding on nvidia in windows?
>>
>>51237159
Yes, it supports hardware decoding for anything that supports DXVA
>>
>>51237183
what's the difference between vaapi and vaapi-copy?
>>
>>51237321
vaapi-copy copies back the decoded video in the system memory. It basically defeats the main reason of using hw decoding, but it makes possible to use video filters with it.
>>
>>51237429
so then dxva-copy defeates the purpose as well? I don't see a regular dxva option
>>
>>51237576
Basically. I mean, it's always hw decoding, but if you want it supposedly you want to save system's resources, and readback isn't really much better in doing it than using plain software decoding.
Then again in this time and age hw decoding is basically useless.

IIRC "regular" DXVA is still absent because of a problem with gl-direct3d interop or something like that.
>>
>>51236719
But it's not. Thanks to MSYS2, it's no harder to compile mpv in Windows than it is in Linux. There is no need for cross-compilation and only thing you have to compile is mpv itself.

https://github.com/mpv-player/mpv/blob/master/DOCS/compile-windows.md#native-compilation-with-msys2
>>
>>51236446
>
ERROR: Multiple of 60Hz refresh rate required for reduced blanking.

Well that's useless.
>>
>>51236719
Dumb frogposter.
>>
>>51237576
>>51237669
dxva-copy is still faster than software decoding on pretty much everything. It sounds like it would be a big deal to copy the decoded image out of the GPU and back in, but in practice it still takes load off the CPU and it's almost as fast as real DXVA in LAV/MPC-HC.

I haven't tried vaapi-copy yet, but the performance should be similar.
>>
>>51237758
try the modes i made >>51229760

i didn't use cvt for those, as cvt generates huge blanking periods, which push the pixel clock over my monitors' maximum (165MHz, notice the 72/1.001Hz mode is already right on the edge at 164.16MHz)
>>
>>51226705
Besides breaking audio output in certain programs (notably Wine), I have no idea what PulseAudio even does.
>>
>>51240281
it's an audio mixer/router

it runs on top of alsa (and others, but typically alsa on linux) and provides additional functionality, like;
- mixing, alsa alone can only play/record from one program at a time
- per-sink/source volume control
- resampling and channel up/down mixing
- plugins
- network transparency (can connect to pulse through a network to play sounds from one machine to another)
- ability to move connections between sinks/sources, for example, you could have a video playing, and you can 'move' its audio between different outputs without interrupting playback (such as for example, moving from an internal soundcard to an hdmi-connected television)
>>
>>51229792
It can be an egl backend issue. try with backend=x11. consider opening a bug report in github
>>
>>51240411
>- mixing, alsa alone can only play/record from one program at a time
That's already wrong. I only have ALSA installed but I just checked and I can get audio output from multiple programs all at once (though I have no idea why anyone would even want that functionality).
>>
>>51240450
you're probably using dmix, a basic mixer for alsa
>>
>>51240516
I never installed it, so unless it comes stock on Arch I'm not.
>>
>>51240533
maybe alsa has an integrated mixer nowadays
>>
is it possible to get svp(mpc hc) on mpv? tried it with vapour synth and i can't play some anime and when i do manage to play some it's worse than turning it off.

I feel like I'm too dumb to configure it on my own but i do wan to learn how to.
>>
>>51240450
>(though I have no idea why anyone would even want that functionality).
the problem isn't so much about playing multiple things, but about programs locking the sound card

that is, you open firefox, then open mpv
oops, mpv can't get the soundcard, because firefox already has opened it, even if it's not playing anything
>>
>>51240570
i gave up trying to learn how to vapoursynth

they seem to expect users to already know how to python
>>
Is there a way to play youtube/other videos with mpv from firefox automatically?
>>
File: a.png (184 KB, 706x387) Image search: [Google]
a.png
184 KB, 706x387
>>51240681
i use "open with" for that
>>
Anyone know the best way to stop minor tearing using Intel?

I have compton as my compositor, messing with the config of it get's rid of extreme tearing sometimes. However i still get minor tearing when the camera speed increases. It didn't bother me at first, but now it's getting annoying.

Anyone who had tearing on lintel, mind sharing your Compton or mpv configs that work well with Intel?
>>
>>51240949
>open with
It'll have to do
>>
>>51239762
That works.
Is there a reason why i shouldn't keep my display at 72Hz at all times? higher is better.

>>51240435
backend=x11 doesn't solve the program.
I guess i will file a bug report later, i don't think i'll even be bothered to do that.
>>
>>51241329
I don't use Intel so this is just guessing, but try adding
backend=x11:waitvsync
to your video options.
>>
>>51241448
>Is there a reason why i shouldn't keep my display at 72Hz at all times? higher is better.
not really, unless playing things that fit better in 50/60Hz

mpv will switch modes automatically if they're available
>>
>>51241495
>mpv will switch modes automatically if they're available
Doesn't this needs xrandr.lua?
>>
>>51241556
i think it used to, but i don't have anything setup for it, and it does it anyway, so i guess it was integrated at some point
>>
is there a way to get mpv to load CC from youtube?
>>
>>51241750
no
>>
File: subtitles.png (1 MB, 1592x1029) Image search: [Google]
subtitles.png
1 MB, 1592x1029
>>51241750
They should just werk.
>>
>>51241329
I use Intel and I upgraded to a git version of the xorg driver to get rid of tearing. Intel's DRI3/Present support has been in the driver for a while, but not in a stable release.
>>
Can MPV use Wayland?

>>51242109
I love Numix terminal so much :3
>>
>>51242158
I'm using base16 eighties actually, but the background colour happened to match up so I decided to keep it.

mpv is supposed to work on Wayland. I have no idea how good it is because it didn't work for me when I tried it. It doesn't support CSDs, so I think that means you won't get window borders in Weston and Gnome.
>>
>>51240570
>>51240589
What is vapoursynth? Is it worth figuring out how to use it? Or is it just an autistic placebo?
>>
>>51242200
It's like AviSynth but with Python scripting, so it's essentially a way to specify video filters with Python. The filters aren't normally designed to work in realtime, so you need a powerful computer to use it, and it's often not worth it. mpv has debanding and NNEDI3 built in.
>>
>>51242244
>It's like AviSynth but with Python scripting, so it's essentially a way to specify video filters with Python.
What do you mean by filters? Scalers like lanczos? If so, can't you just specify them in your mpv.conf? Or does "filters" include other things too?
>>
File: froglmao.png (58 KB, 229x221) Image search: [Google]
froglmao.png
58 KB, 229x221
>editing config files manually
absolute autism
>>
>>51242260
Yeah, there is also mvtools, which does motion interpolation like SVP.
>>
>>51242285
your mom was quite autistic to me last night m8.
>>
The shiny new amdgpu driver is amazing, mpv no longer loses its mind on my a4 laptop.
>>
Hey guys I am getting this error on every video:

[osd/libass] fontconfig: cannot find font 'sans-serif', falling back to 'DejaVu Sans'



Here are some fonts I have installed


$ dnf list installed | grep -i serif
dejavu-serif-fonts.noarch 2.35-2.fc23 @koji-override-0
gnu-free-serif-fonts.noarch 20120503-11.fc23 @koji-override-0
liberation-serif-fonts.noarch 1:1.07.4-6.fc23 @koji-override-0
mathjax-sansserif-fonts.noarch 2.4.0-2.fc23 @fedora

>>
>>51242910
"Sans-serif" is an MS font. You'll have to get it off a Windows installation media if you want it.
>>
What's the highest quality config I can use on both Windows and Linux?
>>
File: 1446433226343.jpg (91 KB, 1232x1080) Image search: [Google]
1446433226343.jpg
91 KB, 1232x1080
>>51243360
>"Sans-serif" is an MS font
>>
File: 1435948455004.jpg (414 KB, 1000x750) Image search: [Google]
1435948455004.jpg
414 KB, 1000x750
>>51243467
>act smug
>offer no rebuttal
>>
if i want the best quality with the best hardware, what config do use
>>
File: PotPlayer_thumbnail.png (288 KB, 730x381) Image search: [Google]
PotPlayer_thumbnail.png
288 KB, 730x381
I would use MPV if it had seekbar thumbnail previews.
>>
>>51243507
Depends. Read the manual and see what options suit your needs.
>>
>>51243512
Bomi has them. But it's pretty much dead.
>>
>>51243492
"sans-serif" is a common font alias referring to the system's default sans-serif font. You're probably thinking of "MS Sans Serif," an ancient Helvetica clone that nobody wants or needs any more.
>>
>>51243512
Thumbnail previews provide no value. YouTube has them because it takes time to seek, so you need to make sure you're clicking in the right place, but with local video, you can just scrub to the point you want. You don't need a preview because seeking is instantaneous.
>>
>>51243553
Oh, I thought the MS font was simply called "sans-serif".

If that's the case, maybe >>51242910 's problem is that he doesn't have a default sans-serif font set? I can't think of anything else since he clearly does have sans-serif fonts installed (mpv itself even falls back on one).
>>
>>51243573
Who are you to decide what has value or not for anon?
>>
>>51243625
I just don't see how it provides value to anyone. You don't need to preview your seek if seeks are instantaneous. You can just seek there. I mean, if someone can explain to me why seekbar thumbnails provide any value, I'm willing to listen.
>>
>>51243649

Seekbar thumbnails give you pinpoint accuracy and you don't lose your current place. Its convenient local or youtube. The guessing game of scrubbing isn't very intuitive.
>>
>>51243742
But why would you want to keep your current place if your intention is to seek? You're either seeking or you're not, unless you use the seekbar to peek at what's ahead, which is a weird use case and not at all related to seeking.

>The guessing game of scrubbing isn't very intuitive.
But that's the thing. It's not a guessing game if it's instantaneous. You just drag your mouse until the picture on the screen is the place you want to be at. If you went to the wrong place, keep the button down and drag around a bit more until you are at the right place. The only difference between using a thumbnail seekbar and seeking normally is that the mouse button is down instead of up and the "preview" takes up the whole screen.
>>
Might as well post here instead of a new thread. Any of these capable of playing WebM's?
>>
Didn't visit this kind of thread for month

Did they change back interpolation to smoothmotion?

What else did i miss?
>>
>>51246509
>Did they change back interpolation to smoothmotion?
No.
>>
The mpv's nnedi3 is fucking slow compared to madvr one. Recently madshi added some amazing sharpening algorithms that really enhance picture quality not like ewa_lanczos or adaptive sharpen.

The only good thing on mpv is display-sync but it's fucking slow.

Since mpv becomes more and more user friendly I think it needs better sharpening algorithms and they should be integrated just like deband.
>>
>>51249043

Yes adaptive sharpen and sharpencomplex2 should replace the old sharpen option.
>>
>>51226705
Why is she sitting in dirty water? That's a bit unsanitary...
>>
how do i keep my mpv up to date?
>>
Is there a good barebones mpv.conf that I should start with, kinda like the basic 20 line vimrc that some people recommend

Also what's the option to get the long search bar on the bottom again?
>>
what ytdl-format settings do I need to set so that twitch streams run at source quality by default?
>>
>>51251276
hm I get this from youtube-dl:

Source mp4 1280x720 3438k (best)

Will using ytdl-format=bestvideo+bestaudio/best select this stream?
>>
>>51226705
ALSA most definitely is the better one.
>>
>>51240411
>- mixing, alsa alone can only play/record from one program at a time
>hur what is dmix
>>
>>51251123
git clone https://github.com/mpv-player/mpv --depth=1
cd mpv
./bootstrap.py
./waf configure --enable-zsh-comp --enable-drm
./waf build -j5
sudo ./waf install
>>
>>51251518
Any clue on how to get bs2b to work with mpv? lavfi doesn't include that option.
>>
mpv is the hipster version of mplayer
>>
>>51252971
You have to compile ffmpeg with libbs2b enabled.
>>
>>51253072
That sounds fun but its good start, I would assume the same thing if I want to make use of the noise function inside the older versions of mpv right?
>>
>>51253113
It's possible. Most filters are being expunged from mpv because they are included in libavfilter, but in some cases they need to be explicitly enabled when building ffmpeg.
>>
>>51251374
>Will using ytdl-format=bestvideo+bestaudio/best select this stream?
If there's a 1080p/4K stream it will select that one
Best tops out at 720p Bestvideo will get the highest one
>>
>>51226379
I have a great example of mpv fucking up ASS, that VLC handles great. That is when using a list behind the text in the subtitles, mpv will fuck up the list borders.
>>
>>51229776
>>51229691
>>51229837
>>51229829
>>51229760
>>51229718

Vapoursynth is so much easier and gives better performance. There's a reason why MPV pushes it in their manual.
>>
>>51255546
Vapoursynth does an entirely different thing you fucking retard.
>>
>>51255773
It accomplishes the same thing: removing judder.
>>
>>51255798
And corrupt the image to hell in the process.
>>
How do I use a config file in windows?
Make the config file or do I have to compile from source?
What?
...
>>
>>51256706
You have to make a .txt, fill your config, and then rename it to mpv.conf
>>
>>51251484
>hurr what is "alone"
>>
>>51255798
let's see;
- remove judder by blending frames together, causing one of various deformities
- remove judder by simply using a suitable refresh rate, allowing every frame to remain unmolested

there's good reasons to use vapoursynth, but removing judder when using a proper refresh rate is possible is just silly
only use it if your monitor simply can't be switched to a better refresh rate (it's better than nothing, but it's not ideal)
>>
>>51256897
Software can't be lonely.
>>
>>51243789
>It's not a guessing game if it's instantaneous
Which it never is even with a fast SSD and fast CPU. The thumbnails could be rendered (and optionally cached) as motion JPEG and then it really would be instantaneous.
>>
>>51249096
I found 3 sharpening shaders:
6T.glsl from an old MPV thread: https://0x0.st/6T.glsl
adaptive sharpen from MPV wiki: https://gist.github.com/bjin/e22e96861669e897cf65
sharpen complex also from MPV wiki:
https://gist.github.com/zxx1/862dcfb171ddc3fa8832

I use 6T.glsl as post-shaders. Sharpen complex looks very similar. Adaptive sharpen pass 2 fails to compile with Debian stable and Free-software AMD drivers (r600_shader_from_tgsi - GPR limit exceeded - shader requires 128 registers).

And way to get this working with Free drivers, and is it worth the effort?
>>
>>51251144
>Is there a good barebones mpv.conf that I should start with, kinda like the basic 20 line vimrc that some people recommend
That's what
vo=opengl-hq

is supposed to be, but it's missing a lot of stuff.

>Also what's the option to get the long search bar on the bottom again?
script-opts=osc-layout=bottombar
>>
File: 1376280561143.jpg (43 KB, 625x626) Image search: [Google]
1376280561143.jpg
43 KB, 625x626
>>51253036
>>
>>51253368
>>I have a great example
Why don't you post it?
>>
Can I force hide cursor? It's visible even on fullscreen playback (using Xorg).
>>
>>51222909
Anyone here using an NVidia optimus laptop on Windows?

I can't get the preferred GPU to stay on the NVidia card, it keeps reverting to integrated graphics even after pressing Apply on NVidia control panel.
>>
What does smoothmotion actually do? Is it like those gimmicky TVs that turn 24fps into fake 48fps?
>>
>>51262383

MPV switched to interpolation. It doesn't improve the framerate but does remove judder which has been a long time problem without matching the framerate exactly with the refresh rate.

>Is it like those gimmicky TVs that turn 24fps into fake 48fps?

If you want that, use Vapoursynth for MPV, or MVtools/SVP for MPC-HC on windows.
>>
>>51262512

Thanks for the clarification.
>>
>>51262383
No, it blend frames to kill the jitter due to the difference between e.g. 24 fps sources and 60Hz monitors.
Thread replies: 255
Thread images: 29

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.