/mpv/ - the Jow Forumsreatest media player

Installation:
mpv.io/installation/

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

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

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

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

profile=gpu-hq

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

Input.conf:
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: mpv.srsfckn.biz/
Git: sourceforge.net/projects/mpv-player-windows/files/
Front-end: mpv-net.github.io/mpv.net-web-site/

previous thread:

Attached: 1539914493128.png (640x640, 323K)

Other urls found in this thread:

github.com/xantoz/mpv/tree/wm4-master
github.com/torque/mpv-progressbar
twitter.com/NSFWRedditGif

first

second for cunny

when the total duration is clicked, the remaining time is shown. how can this be toggled in the terminal interface? for example, when playing audio

Madshi, please comes back and kicks those freetards' ass!

What is the name of the default mpv font? I know that it's internally referred to as "sans-serif" but that doesn't tell me what the actual font is. And I don't think it's an OS font since it seems to be consistent across platforms.

Source Sans Pro

Attached: Screenshot_2019-08-03 mpv io.png (672x91, 8K)

I want to set a fixed size for the ui (osc) but I can't seem to find any options to do so. scalewindowed does not go beyond 1, there's seemingly no command for locking the UI at a consistent size that never changes, no matter the size of the player. The UI works great for anything that is 720p or larger, but when you start going under that, especially if we're talking smaller webms the ui becomes worthless.

script-opts=osc-scalewindowed=1

Doesn't scale or change past 1 (at least not on aspect ratios where it matter), so you can only go smaller. Anybody that can help me with this?
Does this work with mpvnet? also I'm not sure how to make this work.

Attached: not even an ant.png (279x388, 181K)

lol what a gay

If something works with mpv, it should work with mpv.net(unless its window elements like pause-when-minimize, in which case mpv.net has it own script for that).

It's been a while since I used AdaptiveSharpen shader and looking at the latest version, it requires 「sigmoid-upscaling=no」 now.
I believe upscaling is on by default, so is it possible to make a single hotkey to toggle upscaling yes/no and disabling/enabling AdSh?
Or does changing sigmoid-upscaling requires a player restart?

For Windows users, if profile=gpu-hq and gpu-api=vulkan is causing dropped frames or freezes, use
hwdec=d3d11va
gpu-context=d3d11
vo=gpu

Baka Mplayer and MPC-QT use a really outdated version of libmpv and have not been updated for years. Use mpv.net.

what's a lighter version of hq=profile?
what are the more resource heavy settings that it uses that you can turn off and maybe just use for when you're watching really low res older material that would actually benefit from it.

My guess would be turning off bebanding and correct downscaling?

Can you guys post your input.conf?

Attached: hank handsome.jpg (353x360, 20K)

No setting change requires a restart

AXIS_UP ignore
AXIS_DOWN ignore
WHEEL_RIGHT add volume -2
WHEEL_LEFT add volume 2

UP add volume 2
DOWN add volume -2

+ add volume 2
- add volume -2

N af toggle lavfi=[dynaudnorm=f=200:g=5:r=0.1] # normalize audio

n add video-zoom -0.01
b add video-zoom 0.01

ctrl+RIGHT add video-pan-x -0.005
ctrl+LEFT add video-pan-x 0.005
ctrl+UP add video-pan-y 0.005
ctrl+DOWN add video-pan-y -0.005

ctrl+r cycle_values video-rotate "90" "180" "270" "0"

RIGHT osd-msg-bar seek +1 keyframes
LEFT osd-msg-bar seek -1 keyframes
shift+RIGHT osd-msg-bar seek +1 relative+exact
shift+LEFT osd-msg-bar seek -1 relative+exact

\ cycle_values border yes no

ctrl+z cycle_values window-scale 0.5 1 1.5 2 2.5 3 3.5 4

alt+h vf toggle hflip

alt+v vf toggle vflip

MBTN_FORWARD quit

MBTN_MID cycle_values ontop no yes

MBTN_BACK script-binding stats/display-stats-toggle

x change-list glsl-shaders toggle "~~/SSimSuperRes.glsl" ; change-list glsl-shaders toggle "~~/FSRCNNX_x2_8-0-4-1.glsl"

z cycle interpolation ; no-osd set tscale "oversample"

AXIS_UP add volume 2
AXIS_DOWN add volume -2
MOUSE_BTN7 seek -5
MOUSE_BTN8 seek +5
c cycle secondary-sid
i cycle-values blend-subtitles "yes" "no"
b cycle interpolation
B cycle-values tscale "oversample" "catmull_rom" "mitchell"
F1 change-list glsl-shaders append "~~/shaders/ssimsuperres.glsl"
F2 change-list glsl-shaders append "~~/shaders/FSRCNNX_x2_8-0-4-1.glsl"
F3 change-list glsl-shaders append "~~/shaders/KrigBilateral.glsl"
F4 change-list glsl-shaders append "~~/shaders/adaptive-sharpen.glsl"
F5 set glsl-shaders ""
#N cycle-values opengl-shaders "" "~~/shaders/ssimsuperres.glsl"
#n cycle-values opengl-shaders "" "~~/shaders/adaptive-sharpen.glsl"
a cycle ontop
q ""
Q ""
ctrl+b script-binding Blackbox_Playlist
Ctrl+1 cycle border
y cycle-values video-rotate 270 180 90 0

Have the retarded mpv devs made it so you can position the video window using xy coordinates that start from the middle of the video as opposed to the corner?

maybe stax can fix this

Huh, I thought things like scalers require a restart but it's good to know, thanks.

>he still hasn't figured it out
lel

q quit
Q quit-watch-later
f cycle fullscreen
m cycle mute
o show-progress
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

DEL script-message osc-visibility cycle
i script-binding stats/display-stats
I script-binding stats/display-stats-toggle
w script-binding display-webm-encoder

MOUSE_BTN0 ignore
MOUSE_BTN0_DBL cycle fullscreen
MOUSE_BTN2 cycle pause
MBTN_MID cycle mute
WHEEL_UP add volume +2
WHEEL_DOWN add volume -2

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

MPVNET DEV. PLEASE. LET. ME. DISABLE. HISTORY. FOR. THE. FUCK. OF. LOVE

Attached: 1172707_6499394.jpg (719x960, 88K)

you lack a basic understanding of math

Attached: 1564007680156.jpg (383x384, 24K)

>pressing two keys to increase volume
shiggy diggy

Why would you suddenly change basic window positioning behavior?

n cycle sigmoid-upscaling; change-list glsl-shaders toggle "~~/adaptive-sharpen.glsl"
k cycle interpolation

WHEEL_UP playlist-prev
WHEEL_DOWN playlist-next

# Artsy black and white mode
# Default error-diffusion kernel: sierra-3
b cycle-values saturation "-100" "0"; cycle-values dither "error-diffusion" "fruit"; cycle-values dither-depth "1" "auto"
# Cycle through favourite kernels
Alt+b cycle-values error-diffusion "sierra-3" "atkinson"
# Cycle through all kernels
Alt+e cycle-values error-diffusion "sierra-lite" "sierra-2" "sierra-3" "floyd-steinberg" "stucki" "burkes" "jarvis-judice-ninke" "atkinson"
Alt+q cycle-values !reverse error-diffusion "sierra-lite" "sierra-2" "sierra-3" "floyd-steinberg" "stucki" "burkes" "jarvis-judice-ninke" "atkinson"

if I was an mpv dev, I would move all the button functions of the osc to the top section and just leave the seekbar as one giant seekbar for great precision at the bottom.

Might just be me. Play/Pause Previous/Next Audio/Subtitle would all fit above the seekbar.

He turned himself into a society selling gnu based video hardware...

because this is a media player and videos have various resolutions as do displays.

seems like every other media player has this figured out except mpv devs

>because this is a media player and videos have various resolutions as do displays.
That doesn't change the fact that the position of a window (no matter for what software/purpose) is usually specified via the top left corner.
>seems like every other media player has this figured out except mpv devs
I only have VLC installed besides mpv, but their window positioning also orients itself on the window's top left corner (at least the description says so; it doesn't actually do anything for me, no matter what I enter).

mc-hc will position the video+controls right in the middle of the screen with equal spacing in between the top of screen and top of taskbar (not the bottom of screen, disregarding your taskbar like mpv) . itll also scale to within said space if your video is too big

there is no way to do this on mvp without completely disregarding your taskbar, the math won't work... however if you could do an easy hack if you could position the video using xy coordinates that start from the middle of a video, but that doesn't seem like itll ever happen

I have autofit=100% and mpv respects the taskbar. Not sure what you're talking about.
Using shinchiros latest build.

Reposting with the important questions
Why doesn't wm4 interact with the main branch anymore? What's the story behind all of this?
Quick rundown?

Attached: 1554679516428.png (350x350, 316K)

It's been said a few times. Check the archives.

he deleted his fork too

I did, but still don't understand it.
He was burnt out from being the maintainer and just left for no other reason, but still made huge changes in his personal fork? Also he didn't like libplacebo, but stopped commiting way before that change got made?

github.com/xantoz/mpv/tree/wm4-master

...

nm.. seems like mpv windows version finally acknowledges the taskbar .. no more hacks needed, yay

Yeah, this was merged in November of last year.

>85 open pull requests
How long until we breach the 100 mark?

>almost a most since last shinchiro build update
Is mpv finally dead?

Open a PR.

id be fine with a new build every 2-3 months

luckily the superior .net version gets huge updates every other day

github.com/torque/mpv-progressbar

Attached: 1551697661051.jpg (962x520, 58K)

Updates to what? GUI?
All I care about are updates to the actual player component.

This is so fucking bad that this is what mpv and mpvnet comes with out of the box. This is not a functional ui in any sense.
How is this not changing? like permanently changing? Imagine thinking this is okay in any way shape or form.

Thought this player was supposed to be function over form. Why is it that this is literally the worst ui you could find on a modern player. I'd be better off using Chrome's built in player than mpv for files with this resolution.

For a ui that touts itself as being utilitarian without any unnecessary bullshit, this sure is raw dogshit.

How do you normalize audio without resorting to 3rd party plugins?

Attached: 1549634999396.png (633x611, 115K)

It's literally been posted ITT
>ctrl+f
>normalize

The OSC scales with the size of the window. Why would you watch a video at less than 279x388 like your pic? Make the window bigger!

Have mpv go fullscreen when started, then the osc will be rendered at your native resolution

script-opts-osc-vidscale=no

only works when you scale the player up, not down.

>2019
>still not using the LavFiltersMegamix

scalewindowed=0

N af toggle lavfi=[dynaudnorm=f=200:g=5:r=0.1]

Enabling/disabling it a few times and mpv just hard freezes.

This shit annoys me to and I have no idea how to fix it.

Why would you keep enabling and disabling it? And I just tried it like 20 times in a row and it didn't freeze here. Using shinchiro.

stop watching videos at 200x200 res or use keybinds when you do.

Dunno, I just pressed it a few times and that's it.
Maybe there would be times in the video file where I'd want it on and off.
Also shinchiro here, but I just tried doing it again and no freezes this time. Weird.

They need to make it like mpc-hc where it's under the video, not on top of it. An OSC reminds me of having those massive phone NOTCHES that cover up parts of a video you're watching.

Attached: i.png (668x537, 506K)

all of these things are really subjective. good thing about mpv is that it has a strong, small community that make user-scripts according to personal preferences.

Attached: mpvnet-osc.png (982x552, 1.19M)

please no

slimbox is the best and everything else is wrong

literally disables the ui

do you use a media player to watch videos or the ui, user?

I don't need it to be like MPC, but what I can say is that the OSC as it stands now is actually terrible and in need of more than "user-scripts" to save it.
This is a bad ui that doesn't even work when the resolution gets too low. So it needs fixing, it needs to actually change, it needs to come out of the box with a functional ui that you can actually use.

>make a fucking 200x200 window
>surprised that you can't see the UI
What the hell do you want mpv to do? You can make the osd-bar higher but it's still a fucking 200x200 window

This
I feel like we're being trolled. Who makes the window that small and then complains everything is too small? wtf

And nothing is wrong with the OSC

>make 200x200 window in any other player on the market
>wow the fucking UI works and is visible still

It still works and is visible in mpv. But you have to realize how dumb you look complaining about it being too small when you shrink it to unwatchable sizes. I can't imagine you're being serious right now.

I don't shrink it? I play the files at their native resolution, how is that dumb? why am I wrong for not upscaling everything to shit? Yeah, I don't download movies at that fucking tiny resolution, of course not. But I have webms saved, and it'd be nice to have a functional ui when playing those.

I mean, I figure you'd be pretty frustrated if you had to go full screen for half the webms you played here on Jow Forums just to be able to fucking see the seekbar.

and you're the people questioning whether I'm trolling? Fucking christ, how is wanting a functional ui trolling?

Even if you're not trolling I can see and use the OSC just fine at stupid small res. You make no sense not wanting to even upscale a little. You're making an issue out of nothing.

Attached: smol.png (517x301, 172K)

If I shrink a video super small in VLC, the UI breaks and parts of the menus are literally not visible so actually mpv handles it better.

mpv should have an OPTIONAL feature to add borders to the video if necessary to keep osc usable in this scenario.
Unless it already has this option and I'm just not seeing the obvious.

Attached: 1536577146938.png (707x388, 167K)

my player at a similar size to yours (maybe even a bit bigger)
mine is way smaller

Attached: Untitled412412.png (1021x347, 483K)

>borders
That's on your window manager.

mpvnet just added this, but it isn't really much of a "solution" because the ui is still inherently flawed and scales poorly to aspect ratios that aren't 16.9

I don't use mpv.net. I use shinchiro.
I use script-opts=osc-title=${filename},osc-layout=bottombar,osc-seekbarstyle=bar,osc-deadzonesize=0,osc-minmousemove=2,osc-hidetimeout=1000,osc-vidscale=no but vidscale=no may be the only relevant setting.
Seriously though how can you watch or view anything that small? Upscaling a little won't make it look worse. mpv has good upscalers.

in all cases it isn't even about the resolution being small, may just be a vertical video and that leaves a lot to be desired in the ui.
a 360x640 video isn't really small enough to warrant upscaling, yet it leaves you with a ui too small to read the name of the file, not to mention scalewindowed won't do shit for it since the aspect ratio isn't correct and that for some reason means it doesn't scale properly.
Scalewindowed=2 for example will give you a tiny bit of leeway, see for basically a comparison between scalewindowed=1 and 2 (tested it)
but that won't impact vertical videos

Not to mention that scalewindowed=2 comes with its own problems, you're given a much less precise seekbar for larger resolution files, because the thing gets huge. It scales fucking massively when you go up in resolution, but a great deal of diminishing returns when the resolutions get lower.

Why? Just seems like an oversight, something that should be looked into and fixed. Why wouldn't you want a more functional ui for smaller formats?

Attached: scalewindowed2bottom.jpg (1927x237, 76K)

360x640 is small lol. Use autofit-larger or autofit-smaller ffs. Why are you scared to upscale? Or use a different OSC. There are many.

There is no way for mpv devs to set perfect defaults to please your autism and get perfect dynamic UI scaling based on the video size. Just fucking make profiles for it based on the video resolution in your config (if it's smaller than 640, then make it scaledwindow=2 or whatever).

I just wanted a player that was as competent and good as mpc-hc was.
Call me a retard autist, but having a functional seekbar and player buttons at any resolution in mpc was pretty nice.

Fucking lua scripting and whatever it is you guys do with this thing to make it more customization just isn't for me. I'll just swallow my pride and start upscaling everything to shit, and add black bars cause why not? it's 2019 and I want my fucking ui to be visible so I better bring out the black bars and start upscaling anything that is below 720p resolution.

>upscale to shit
You don't know what you're talking about upscaling it a little will not make any difference except give you a better viewing experience. It's not like you're upscaling to fullscreen on a 4k display. Stop being a drama queen.

I think vidscale is broken. I haven't used the default OSC in ages and I just tested it and I can't seem to get it to work any more.

make autofit-smaller=1280x720 the default. problem solved.

>using memes
shiggy diggy

Literally how?
All it does is makes initial window after you open a file bigger.
If you make mpv window smaller osc goes to ant size.

>If you make mpv window smaller
The point of autofit-smaller is to automatically make small res files open in a larger res (upscaled). This should have been obvious.

So it's useless in this particular scenario, just as I said.

>useless
Aren't you tired of shitposting yet? Watching videos at 200x200 is not ideal.

How is this shitposting if has retarded osc scaling and it's something they should fix?
>Watching videos at 200x200 is not ideal.
I'm not telling you how you should watch your videos so let's not, alright?

Even at your retarded low res I can still use the OSC. What's your problem?

Good luck, friend

I am trying to play a 4k uhd bluray file (60gb) using this config and mpv struggles (lags) to play it
gpu-api=d3d11
gpu-context=d3d11
hwdec=d3d11va
profile=gpu-hq
video-sync=display-resample
glsl-shader="glsl/FSRCNNX_x2_8-0-4-1.glsl"
glsl-shader="glsl/SSimSuperRes.glsl"
tscale=oversample
interpolation
log-file="log.txt"
screenshot-jpeg-quality=100
my computer specs:
i7-8850H
GTX 1050 TI with Max-Q
32GB RAM

Do you have your dedicated graphic card enabled with mpv or are you using your igpu? Have you tried without some of those resource heavy settings?

Attached: 1539546280943.png (1051x643, 51K)