[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] [Home]
Board
Settings Home
/g/ - Technology


Thread archived.
You cannot reply anymore.



File: mpvdotnet.png (1.91 MB, 2077x1253)
1.91 MB
1.91 MB PNG
mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.

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):

Basic setup

profile=gpu-hq



Advanced setup

profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp



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.

Front-ends:
Windows: https://mpv-net.github.io/mpv.net-web-site/
Mac: https://iina.io/
Linux: https://celluloid-player.github.io/

Evaluating mpv's upscaling algorithms:
https://artoriuz.github.io/mpv_upscaling.html
>>
>comfy patrician thread
>>
first
>>
>>71389455
second
>>
>>71389297
that UI looks like shit. does it have a settings menu yet?
>>
>>71390136
fuck .net
>>
File: ConfEditor.png (212 KB, 2070x1485)
212 KB
212 KB PNG
>>71390136
why yes it does.
>>
>>71390299
It also, lacks many features that mpv has.
>>
>>71390299
nice nice. hopefully they can lower the font size throughout the whole ui, including the control bar. then it will look good. and then an official windows binary with updater.
>>
>>71390350
And also feature parity of regular mpv
>>
>>71390527
mpv.net unironically has more features than regular mpv.
>>
>>71390780
BLOAT
L
O
A
T
>>
i just tried mpv.net and im impressed. the performance is excellent. ui just needs a few small improvements and a few better default options and this thing will be great.
>>
>>71390780
>mpv.net unironically has more bugs than regular mpv.
ftfy
>>
>>71389297
>Advanced setup
>
cscale=ewa_lanczossharp


mpv.net lovers are this retard to copy some random guy config and paste it to the general, jesus christ
>>
>>71391159
>loonix tard is so far gone into the world of braindead config files that he thinks every time you want to change a setting or mess around with settings you should type a bunch of shit out or google a bunch of documentation rather than instantly hit a checkbox
kys idiot
>>
File: MediaSearch.png (125 KB, 1800x900)
125 KB
125 KB PNG
>>71390346
It's actually quite the opposite. mpv does not even have everything integration for media search like dotnet has.
>>
>>71391258
>W10 user

you're even this retard to confuse your own relatives, kys subhuman shill
>>
oh yeah another mpv.net toxic thread
>>
File: Menu.png (1.27 MB, 1764x1417)
1.27 MB
1.27 MB PNG
>>71390837
>context menu is now considered bloat
YIKES!
>>
>>71390780
Needless features perhaps. Read the release notes and you'll see how far it's behind on core functionality.
>>
>>71392270
how about you actually use the player instead of repeating nonsense.
>>
>mpv the same media you used for 30 years with a new icon
>>
>>71391159
>some random guy
You mean the manual?
>ewa_lanczossharp
>A slightly sharpened version of ewa_lanczos, preconfigured to use an ideal radius and parameter. If your hardware can run it, this is probably what you should use by default.
>>
>>71392415
Again, read the release notes.
>drag & drop support for subtitles was added
>command line support for stdin and URLs was added
These basic functions were only added 11 days ago with the last update. What else might be missing?

>how about you actually use the player
Despite what shills constantly try to tell me, I don't have any need for mpv.net. I have mpv set up the way I want it to and the lack of context menus and other distracting graphical elements is one of the reasons why I chose to use mpv.
>>
>>71392754
>drag & drop support for subtitles was added
Before this was added, you could already load external subs through the context menu or by pressing alt + s.

>Despite what shills constantly try to tell me, I don't have any need for mpv.net
If you have used the player then you would know that the old config can be imported and the use of GUI settings/context menu is completely optional.
>>
>>71392877
>If you have used the player then you would know that the old config can be imported and the use of GUI settings/context menu is completely optional.
Not him, but I just tried it. Downloaded the portable version, and copied my mpv.conf, and shaders and scripts folder over. It gave an import error, opened on the wrong screen, had the wrong geometry, and had borders. You're full of shit.
>>
>>71392877
>>71393196
And by just using it once it deleted my default input config, and added some random configs? Fuck's sake, how is this portable?
>>
>>71392877
>Before this was added, you could already load external subs through the context menu or by pressing alt + s.
And? I'm not claiming there was no external subtitle support. It was an example of a basic feature, which was missing from mpv.net until recently, showing how much mpv.net still has to catch up.
>If you have used the player then you would know that the old config can be imported and the use of GUI settings/context menu is completely optional.
Your not the first to tell me. But why should I use it, if I don't care for the beginner-friendly features? What does it offer me over mpv?
>>
File: worksonmymachine.png (29 KB, 200x193)
29 KB
29 KB PNG
>>71393196
Maybe you did something wrong with the config.
>>
>>71393296
mpv.net should detect where your config folder is and when it cannot find a config folder the player should show a dialog asking you where it should create the config folder.
>>
>>71392662
>by default.

For luma scaling, not chroma scaling you retard ringing lover.
>>
now that mpv.net shills have demolish the official general you better expect threads keep dying faster, btw count me out
>>
>>71393491
Well it fucking didn't, and just created an mpv.conf in my roaming folder, even though there's no conf there. Why would the portable version go there anyway?
>>
how do i make it to where there is no window onscreen, and mpv is just showing info in the terminal?
>>
>>71393331
Literally the same config for mpv, it works there. mpv.net can't just import the old config. 100% sure it's loading the correct config now even with the retarded portable version loading from my roaming folder, but still giving the same errors.
>>
File: mpvnet_oogabooga.png (175 KB, 900x557)
175 KB
175 KB PNG
>>71393592
>>
>>71393592
mpv shill good mpv.net shill bad
>>
>>71393955
report the issue to the dev on github then.

>>71393298
>if I don't care for the beginner-friendly features? What does it offer me over mpv?
Fair enough. Just keep using vanilla mpv then.
>>
>>71394566
What, that shit's broken? Fuck that, that's not helpful. And I can't be bothered to make a proper bug report.
It's missing basic features.
>>
>>71394984
>It's missing basic features
mpv.net has all the basic and advanced features it needs to play media.

>I can't be bothered to make a proper bug report.
complaining about something and not doing anything about it is not helpful.
>>
File: mpvnet.png (7 KB, 256x256)
7 KB
7 KB PNG
Based and mpv.net pilled
>>
>>71395180
>mpv.net has all the basic and advanced features it needs to play media.
Sure, so does fucking VLC.

>complaining about something and not doing anything about it is not helpful.
I'm doing something though, I'm telling you to fuck off with your piece of shit software that just introduces bugs and removes features. I'm telling people to just use mpv, since it's better.
>>
>>71393576
They don't actually mention a difference for that, and since cscale is just scale if not defined, they're saying you should use ewa_lanczosssharp for cscale.
To be honest, I just missed the c and thought it said scale.
>>
>>71392064
go back, but thanks for the bump.
>Made in mostly C#
This is the bloat
>>
>>71396113
c# is the best language to develop Windows programs. Bloat would be using electron or another meme framework to make the front-end.
>>
>>71393901
Read the manual
>>
>people at avsforums are compiling excel sheets of hdr movie parameters for madshi to optimize tone mapping

they out obsessed foozoor!
>>
>>71391159
>>71389297
Indeed, why is cscale=ewa_lanczossharp suddenly recommended?
>>
>>71397660
Because one anon recommended it.
https://archive.rebeccablacktech.com/g/thread/71355059/#71361669
>>
>>71397660
Because it is not autistic.
>>
>>71397660
>why is cscale=ewa_lanczossharp suddenly recommended?
Basically, because that retard have no idea of what he's talking about and constantly denying the ringing arguments like a kid.
You want to see for yourself how much ringing creates that shit? Check Krigbilateral comparison, it's a fucking aliased mess.
>>
what would cause cpu usage to go high when watching a 60fps video, but if i show stats by pressing i, cpu usage goes down (and no frame drops either way)?
>>
>https://github.com/mpv-player/mpv/pull/5411
JEEEEEEEEEEEEEEEEEEB
>>
>>71398474
But he merged 2 PRs today. That's a record.
>>
>>71398333
>muh test images
Chroma scaling is pretty unimportant to begin with. Sure, KrigBilateral is the best, but differences between in-built chroma scalers are minuscule. If you can't run KrigBilateral you might as well stick with something fast like lanczos or don't clutter your config by sticking with gpu-hq's default spline36.
>>
Use haasnsoft!
>>
>>71399548
>haasnblur
>>
I notice there's a delay when opening videos. Is it possible to force it to load instantly?
>>
>>71399784
You have three choices.
1. Use less intensive settings.
2. Buy better hardware so everything loads faster.
3. Stop having autism and deal with a fucking 5 ms delay.
>>
>>71399804
I notice the delay only happens on my network drive. However, it doesn't happen with images at all. Maybe it has nothing to do with mpv.

>3. Stop having autism and deal with a fucking 5 ms delay.
It's a 15 second delay
>>
>>71399864
>my network drive
There's your problem. Go fix your network.
>>
File: IMG-20181002-WA0004.jpg (20 KB, 500x459)
20 KB
20 KB JPG
>>71391967
u rn
>>
So I'm using Windows and I keep getting screen tearing. Is there a way to enable VSync?
>>
>>71401290
Turn Aero back on.
>>
>>71400758
True, he should've know that this is an mpv.net shill thread based on the OP filename (or by just recognizing the pic by now).
>>
>>71399548
Only after you post a comparison, which shows a perceivable improvement over other scalers.
>>
File: 1461144210313.png (236 KB, 512x512)
236 KB
236 KB PNG
Bumping with the best image to start an mpv thread.
>>
>>71403342
Thx for bumping the thread dear ;)
>>
>>71401354
>>
>>71395641
kys
>>
>>71399784
For immediate window:

#force-window=immediate


Try using a shader cache to load faster.
>>
>>71405584
Sorry for the hash sign. I copied it from my config, and since I don't use the option, well...
>>
File: mpvnet_openjpg.png (808 KB, 722x766)
808 KB
808 KB PNG
>>71403342
Not anymore...
>>
>>71406869
shall i draw porn of her
>>
>>71407598
pls do anon-kun
>>
mpvnet sucks
>>
Error diffusion when?
>>
>>71407598
?
>>
>>71410656
When madshi starts using mpv.. .net
>>
>>71401379
Already did, a year ago.
>>
>>71412557
Link?
>>
>>71412557
A lot has changed in a year, no?
>>
>>71412639
Not in the built-in scalers.
>>
>>71410656
We have to merge more mac shit first.
>>
>>71413607
JEEEEEEEEEEEEB
>>
D3D12 when?
>>
>>71389297
Help me out here please anons, I want to use mpv to watch 4k HDR vids, Madvr auto enables the HDR handshake for my tv on other media players I use, I'm not sure how to get mpv to do that kind of thing.
How do I get HDR mode on mpv?
>>
>>71389297
How do I even open the terminal in mpv, using windows btw? It sounds a dumb question and I suppose it is, but all documentation just assumes you know how the terminal communicates with mpv and how the hell you open the thing... Do I do it in the folder you unzip?
>>
>>71392064
What version is that m8?
>>
File: Clipboard01.png (200 KB, 1180x1381)
200 KB
200 KB PNG
>>71414997
Navigate to the folder mpv.exe is or make it an environment variable.
>>
>>71415034
Sorry m8, I still have no clue how to do that.
>>
>>71415003
mpv.net 2.9
>>
>>71415121
WOW! Not sure how it's doing this but all my other media players where struggling to play 4k HDR content, really stressing my CPU as I'm trying to play a game while watching a film. Mpv normal lowered it to around 50% but this mpv.net version has reduced it to 5%, I thought maybe it was because it was using GPU rendering by default but no, process hacker says my GPU isn't even being used... Ah it is doing that CPUID monitor is showing it's using the GPU.
This is ideal, that's what I was trying to do and why I ended up in here bugging the locals.
Thanks!

Any one know how to increase the font in the UI in that GUI version of mpv? It's quite small at 4k resolution.
>>
>>71415248
You're retarded or a .net shill. Performance would not vary between mpv and mpv.net when using the same settings.
>>
>>71389297
Does it have a web interface and an app?
>>
>>71415086
Good one.
>>
File: 784512.jpg (16 KB, 320x284)
16 KB
16 KB JPG
>>71415330
I wanted to stick a game on earlier and watch some of the 4k HDR vids I downloaded to delete them for room etc
Used my potplayer/madvr setup and the games framerate was fluctuating, it's only a pixel game too (Crosscode)
Then tried my mpc-be and it was similar 70-90 percent on an i5-4690k, not a top end new CPU but quite powerful for these two tasks.
So I went from playing the game to trying to get my players using the GPU instead of CPU, TO no avail, I didn't have patience considering I just want to get on with the game etc.
Came in here because I wanted to ask about HDR functionality on mpv, went off to find how to enable GPU in the config file. I'm a total newbie to mpv but that isn't a crime.
I noticed the GUI images in here and thought that could save some time until I set about learning mpv properly which I've been meaning to do.
It defaults to GPU and took the load off my CPU which was fine and HDR seems fine.
I have no idea about the past memes in here and what you anons get up to.
>>
I'm a new fag what are the best settings for playing anime, why use lanczossharp?
>>
How do I force ass subtitle font change based on filename?
>>
>>71415965
https://github.com/wiiaboo/mpv-scripts/blob/master/auto-profiles.lua
>>
>>71415844
ideal config for 1080p chads
profile=gpu-hq
scale=ewa_lanczossharp
tscale=oversample
video-sync=display-resample
interpolation
hr-seek=yes
linear-downscaling=no

gamma-factor=1 # Pitch black or dimly lit room (default)
# gamma-factor=1.1 # Moderately lit room, home
# gamma-factor=1.2 # Brightly illuminated room, office

[profile1]
profile-desc=cond: (p.width <= (1920/1.4) or p.height <= (1080/1.4)) and (p.fullscreen == false)
glsl-shaders-clr
glsl-shader="~~/KrigBilateral.glsl"

[profile2]
profile-desc=cond: (p.width <= (1920/1.4) or p.height <= (1080/1.4)) and (p.fullscreen == true)
glsl-shaders-clr
glsl-shader="~~/FSRCNNX_x2_16-0-4-1.glsl"
glsl-shader="~~/KrigBilateral_LUMA.glsl"
glsl-shader="~~/SSimDownscaler.glsl"

[profile3]
profile-desc=cond: (p.width > (1920/1.4) or p.height > (1080/1.4)) and (p.width < 3840 and p.height < 2160)
glsl-shaders-clr
glsl-shader="~~/SSimSuperRes.glsl"
glsl-shader="~~/KrigBilateral.glsl"
glsl-shader="~~/SSimDownscaler.glsl"
fbo-format=rgba32f

[profile4]
profile-desc=cond: p.width >= 3840 or p.height >= 2160
glsl-shaders-clr
cscale=bilinear
glsl-shader="~~/SSimDownscaler.glsl"
>>
Does mpv support a b looping using keybinds?
>>
just use .net unless you’re on the spectrum. jfc
>>
>>71416849
This would make my laptop explode im pretty sure. Thanks anyway though.
>>
>>71416849
a dumb winfag here where and how do i save these files?
>>
>>71416881
https://mpv.io/manual/master/#options-ab-loop-a
https://mpv.io/manual/master/#keyboard-control
scroll down to l
>>
>>71416900
Thank you man, this is so cool.
>>
>>71416897
https://gist.github.com/igv
to get the shaders

profile=gpu-hq
scale=ewa_lanczossharp
tscale=oversample
video-sync=display-resample
interpolation
hr-seek=yes
linear-downscaling=no

gamma-factor=1 # Pitch black or dimly lit room (default)
# gamma-factor=1.1 # Moderately lit room, home
# gamma-factor=1.2 # Brightly illuminated room, office

[profile1]
profile-desc=cond: (p.width <= (1920/1.4) or p.height <= (1080/1.4)) and (p.fullscreen == false)
glsl-shaders-clr
glsl-shader="~~/KrigBilateral.glsl"

[profile2]
profile-desc=cond: (p.width <= (1920/1.4) or p.height <= (1080/1.4)) and (p.fullscreen == true)
glsl-shaders-clr
glsl-shader="~~/FSRCNNX_x2_16-0-4-1.glsl"
glsl-shader="~~/KrigBilateral.glsl"
glsl-shader="~~/SSimDownscaler.glsl"

[profile3]
profile-desc=cond: (p.width > (1920/1.4) or p.height > (1080/1.4)) and (p.width < 3840 and p.height < 2160)
glsl-shaders-clr
glsl-shader="~~/SSimSuperRes.glsl"
glsl-shader="~~/KrigBilateral.glsl"
glsl-shader="~~/SSimDownscaler.glsl"
fbo-format=rgba32f

[profile4]
profile-desc=cond: p.width >= 3840 or p.height >= 2160
glsl-shaders-clr
cscale=bilinear
glsl-shader="~~/SSimDownscaler.glsl"

ignore my old post, you don't need a separate KrigBilateral to get the correct offset, now it's done automatically I guess ( https://gist.github.com/igv/a015fc885d5c22e6891820ad89555637/revisions#diff-2f5d5fadc1b93d64872c6af9ae07e413 )
>>
>>71416900
Is there a way to make that 3 separate keys do you reckon?
Like a, b and c to clear for example, because sometimes you may need to adjust start point or whatever.
>>
>>71416986
https://mpv.io/manual/master/#options-ab-loop-a
so default binding for l is
#l ab-loop # Set/clear A-B loop points

so change your input.conf to like
a ab-loop-a={playback-time}
b ab-loop-b={playback-time}
c ab-loop-a=no,ab-loop-b=no
>>
>>71417054
Thanks man, that's useful info
I tried pasting that into the input.conf in appdata>roaming
In the area that the original ab-loop part was and saved it.
It won't set points, do I have to add dialogue to display or something? because I noticed all other commands had a hashtag prefix after the key bind
For example like this: #menu: View > On Top > Enable
>>
>>71417198
try adding a hash before everything and see if it werks
>>
>>71415844
EWA LanczosSharp strikes a good balance between sharpness and produced ringing.

>>71416849
>>71416972
Why all those profiles? The shaders already include checks when to activate.
>>
my mpv config suddenly doesn't work anymore
all I did was update
did something change?
>>
>>71417216
Nah m8 gave that a go, no joy. Wonder if there is a conflict with already bound keys or something.
>>
>>71417502
profiles used to be the only way to guarantee correct behavior, now bjin pushed commit that gives user shaders access to offset
>>
Ok, I learnt that this works for setting keys for a, b and end loop, you can change the ctrl+y etc part to whatever letter you want to assign.

ctrl+y set ab-loop-a ${time-pos} # set A
ctrl+x set ab-loop-b ${time-pos} # set B
ctrl+c set ab-loop-a no # clear (mostly)

But when you set the end point you have to wait for the whole file to loop around to find play up to that segment, click the timeline area with your mouse to start the loop or seek with arrows to go in the area you set. it doesn't go to 'a' when you set point 'b' (odd)

Found it by trailing through github, this guy wanted the same thing
https://github.com/mpv-player/mpv/commit/4bd6c91d9b4c4d35d0d71793933947861e45daad?diff=split
>>
>>71418037
No, they weren't. Loading the two different KrigBilateral versions in the right order worked as well.
Also that only concerned KrigBilateral. FSRCNNX, SSSR and SSimDownscaler only get used when needed.
>upscaling <40% -> SSSR
>upscaling >40% and <200% -> FSRCNNX + SSimDownscaler
>upscaling 200% -> FSRCNNX
>upscaling >200% -> FSRCNNX + SSSR
>downscaling -> SSimDownscaler
No need for profiles. If you want FSRCNNX to kick in sooner or later, you can change the threshold in the shader file directly.
>>
>>71418157
linear-downscaling=no

glsl-shader="~~/FSRCNNX_x2_16-0-4-1.glsl"
glsl-shader="~~/KrigBilateral.glsl"
glsl-shader="~~/SSimDownscaler.glsl"
glsl-shader="~~/SSimSuperRes.glsl"

[profile1]
profile-desc=cond: p.width <= (1920/1.4) or p.height <= (1080/1.4)
fbo-format=auto

[profile2]
profile-desc=cond: (p.width > (1920/1.4) or p.height > (1080/1.4)) and (p.width < 3840 and p.height < 2160)
fbo-format=rgba32f

[4k]
profile-desc=cond: p.width >= 3840 or p.height >= 2160
glsl-shaders-clr
glsl-shader="~~/SSimDownscaler.glsl"
fbo-format=auto
cscale=bilinear

ty based bjin now my config much easier to read
>>
>spirv-compiler=shaderc
>gpu-api=vulkan
>FSRCNNX 16 + SSimDownscaler
GPU usage went from 68% -> 5%
fucking insane
>>
>>71415410
There is an android app.
>>
I just updated my system last night, and now I just realised that I can't play some of the videos I have with default settings. I have to put vo=vdpau in the mpv.conf in order for it to work properly. If I put vo=gpu it returns
bus error (core dumped)

Does that mean I can't use hardware decoding no more? I mean, I know my gpu is really old. But it worked just fine before the update.
>>
>>71418525
Cool, what GPU? Can a 1060 benefit from that?
>>
>>71416102
Thanks. Got it to work along with other changes.
>>
>>71416891
best way to watch chinese cartoons
>>
>>71417590
Kinda not a lot of information here mate, look at the errors.
>>
>>71418525
>went from 68% -> 5%
Wouldn't that mean you're using CPU (software decoder) instead?
>>
>>71418114
press l
>>
ARTORIUUUUUZ
>>
>>71418525
shaderc is the default I think. Vulkan certainly can have large performance improvements though.
>>
>>71389297
Why the fuck does this shitware need constant threads? Why do you fags feel the need to talk about how great your video player is, something that the average person gives so little a shit about it doesn't even register in their minds, when you have to type in an essay of random codes just to get it to work at all? Just download VLC and double click your video file and be done with it, jesus fucking christ.
>>
>>71424320
These threads are often about the tech behind media playback (scalers, shaders, sometimes decoders).
Recently it's mostly mpv.net shilling though.
>Just download VLC and double click your video file and be done with it, jesus fucking christ.
>implying it's not the same for mpv
>>
>>71424320
>something that the average person gives so little a shit about it doesn't even register in their minds
It's a good thing we're on a tech enthusiast board and not fucking Reddit then, retard.
>>
>>71421639
it ended up working on a restart, but i didn't know there was an error log
how do i check it?
>>
use vulkan async compute
>>
>>71425389
I tried this, but it just made everything slower.
>>
is there an auto-profile for stdin? like the protocol/extension profiles.
>>
File: 1544662968346.gif (38 KB, 650x705)
38 KB
38 KB GIF
>>71416849
>>
>>71424962
There isn't one, but you can run mpv with -v argument to see the details and what's loaded.
>>
A superfluous question: how to cycle forwards and backwards in a playlist of folder pictures. For video it's just:
> playlist-next

< playlist-prev


but it doesn't work for pics.
>>
>>71426873
>pictures
Just use image viewer program like a normal person.
>>
>>71426873
works on my machine (tm)

>>71427011
mpv is an excellent image viewer though.
>>
File: Capture.png (68 KB, 1177x298)
68 KB
68 KB PNG
>>71425389
>>
>>71426873
But that does work. Maybe just add
image-display-duration=inf
>>
>>71426687
I don't think so. If you're using the auto-profiles script you can do
[stdin]
profile-desc=cond:get("filename", "")=="-"
>>
>>71427091
indeed. >>71406869



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.