/mpv/ - the Sup Forumsreatest media player

> low performance preset
vo=opengl:deband
hwdec=auto


> medium performance preset
vo=opengl-hq
hwdec=auto


> high performance preset
vo=opengl-hq:interpolation:cscale=ewa_lanczossharp:scale=ewa_lanczossharp
video-sync=display-resample

Other urls found in this thread:

github.com/kevinlekiller/mpv_scripts/tree/master/perfstats
github.com/bacondither/adaptive-sharpen
forum.doom9.org/showthread.php?p=1773830#post1773830
forums.creativecow.net/thread/2/1002198
pastebin.com/nbgPVM3W
a.cocaine.ninja/xehjxm.profile
github.com/mpv-player/mpv/commit/995c47da9afacfcc30d8a17d2f2a2268fbf4fdb9
twitter.com/SFWRedditImages

Hey does anyone try this "alternative" stats script?
github.com/kevinlekiller/mpv_scripts/tree/master/perfstats

Dumb fucking question but do I just copy and paste the lines into ~/.mplayer/config?

A new version of adaptive was released today:
github.com/bacondither/adaptive-sharpen

The author is talking about a glsl port here:
forum.doom9.org/showthread.php?p=1773830#post1773830

~/.config/mpv/mpv.conf

anyone else having problems on the latest bitbucket build? mostly with audio and softvol being enabled even if you have it disabled on conf

make a mpv.conf in a text editor
make a folder named portable_config on the mpv folder and put the file there or edit the file (mpv.conf) and put your "presets" and other configuration lines there
might try it later on today

Why don't you just use the sourceforge builds?

Sharpening shaders are still a meme. Easily noticed aliasing on any sharply defined edge.

how to make mpv show filename when paused?

tried this but i think i missed something
SPACE cycle pause show-text ${filename}
forget existed

Oy Sup Forums. Everyone keeps telling me how awesome watching online videos through MPV is, but Im sick and tired of having to wait for 20 fucking seconds before the application launches.
How do I fix this shit?
>inb4 stop using a potato
If my PC is decent enough for the most hardware intense tasks, it sure as hell should be able to deal with this shitty software.

Probably youtube-dl, mpv opens rather fast for me on the latest sourceforge builds.

SPACE cycle pause; show-text ${filename}

force-window=immediate

Thanks m8s. This made me realize it only takes so long because mpv waits for the video to buffer to a certain degree before it launches the application.

maybe cache settings might make it faster?
can you --force-window-size aka change the default size from 640x480

reading the manual it doesn't seem possible but I am a blind sometimes

>(the key under Escape on US keyboards).
shift isnt doing anything

>maybe cache
Nah, its my internets fault.

>--force-window-size
you can use --window-scale

I'll bite

Anyway I didn't like it over the current stats.lua

Well, the "alternate" only shows one kind of values, stats.lua shows them too (it did so for a few weeks already but it was merged only yesterday).

That's nice!
Does it work with the angle backend?

What's the best display framerate for 23,976fps videos?
- 23
- 24
- 59

Should I install directx runtime to use the ANGLE bakend?

No need

~/.mpv/config master race

Either 23 or 24, doesn't really matter. (Unless by 23 you actually mean 23, in which case 24)

So really, just pick 24

I'm so glad these threads have stopped recommending nneddi3 and suberbxr shit, I used them for so long and had weird issues with high movement action scenes, meanwhile this is easily the best vo line I've ever used:

vo=opengl-hq:interpolation:tscale=oversample:cscale=ewa_lanczossharp:scale=ewa_lanczossharp:blend-subtitles
video-sync=display-resample
hwdec=no
framedrop=vo

I don't think you need anything like that. The only DirectX redistributable you need is D3DCompiler_47.dll, which should have been bundled with mpv. Make sure your OS is up to date though, so on Windows 7 you should have SP1 and the platform update.

>That's nice!
>Does it work with the angle backend?
This doesn't have anything to do with the script, the script just requests these values from mpv. As for if mpv has these values when using angle, I don't know. But I read something in IRC some weeks ago that they were trying to implement this also for angle. It is actually a problem on angle's side because the didn't implement something (if I remember correctly) but I thought this would've been fixed in the latest angle or mpv release? Dunno though.

23 almost always means 23.976, especially on Windows, where most APIs and GUIs round down fractional refresh rates to integers. Use 23.

Yeah, the timer query extensions were broken in ANGLE until about a month ago. I'm pretty sure they're working in lachs0r's current builds.

adaptive-sharpen doesn't add aliasing

Windows? 23 is usually 23,976 but rounded, in this case use 23. Otherwise 24.

MPC/thread

>framedrop=vo
huh?
That's pretty much what I use
vo=opengl-hq:interpolation:interpolation-threshold=0.01:tscale=oversample:cscale=ewa_lanczossharp:scale=ewa_lanczossharp:backend=angle:
Did the stats.lua get an update?
I think he meant jaggy edges or something like, and to be honest I've noticed them sometimes, but most of the times I did used sharpening filters was when I was sitting from far away, haven't used one in a long time.
>Windows? 23 is usually 23,976 but rounded
I am confused as hell how does that end up being 23 rounded, I think I need to go back to school for a couple of more years...
forums.creativecow.net/thread/2/1002198

>I am confused as hell how does that end up being 23 rounded
To distinguish it from 24

Don't question Microsoft's logic, it's infallible

What's the best way to kill horizontal screen tearing if I'm running off Skylake integrated graphics? Putting video-sync=display-resample kind of helped but I still get a bit of screen tearing.

You can try this:
--ontop
"On Windows, if combined with fullscreen mode, this causes mpv to be treated as exclusive fullscreen window that bypasses the Desktop Window Manager".

My normie dad just bought a $200 laptop (in a supermarket :\) with this cpu:

Intel Cherry Trail Z8300 (Quad-Core 1.44 GHz / 1.84 GHz - Cache 2 Mo)

There is no dedicated gpu, do you know if it's powerful enough for vo=opengl with fullhd television? I already know hevc/x265 decoding will not be possible...

He already opened/destroyed the boxe...

Lol he said he wanted a tablet but his fatty hands are not adapted. So he bought a laptop like that. I like him but damn he is so dumb.

Oh damn! He bought a $2 external mouse and he already broke it.

>do you know if it's powerful enough for vo=opengl with fullhd television?
Probably. vo=opengl without any suboptions should work on all kinds of shitboxes. If it works, you should also try vo=opengl-hq:deband=no. If it doesn't work, you should try the fallback VOs, so vo=direct3d for Windows and vo=xv for Linux.

That sounds pretty bad

I forgot to ask, but why is my laptop not being able to play videos with the angle backend? it gives me a blue screen.
AV: 00:00:00 / 00:01:12 (0%) A-V: 0.012 DS: 2.000/0 Cache: 10s+15MB
[vo/opengl-hq] after creating framebuffer texture: OpenGL error INVALID_OPERATION.
[vo/opengl-hq] after creating framebuffer texture: OpenGL error INVALID_OPERATION.
AV: 00:00:00 / 00:01:12 (0%) A-V: 0.012 DS: 2.000/0 Cache: 10s+15MB
[vo/opengl-hq] after creating framebuffer texture: OpenGL error INVALID_OPERATION.
AV: 00:00:00 / 00:01:12 (0%) A-V: -0.011 DS: 2.000/1 Cache: 10s+15MB
[vo/opengl-hq] after creating framebuffer texture: OpenGL error INVALID_OPERATION.
AV: 00:00:00 / 00:01:12 (0%) A-V: -0.011 DS: 2.000/1 Cache: 9s+15MB
[vo/opengl-hq] after creating framebuffer texture: OpenGL error INVALID_OPERATION.
AV: 00:00:02 / 00:01:12 (3%) A-V: -0.005 DS: 2.000/1 Cache: 10s+14MB
[vo/opengl-hq] shader link log (status=0): Failed to create D3D shaders.
[vo/opengl-hq]

Pastebin a verbose log. Are you using any custom shaders?

Also, in the meantime, if vo=opengl-hq:backend=dxinterop works for you, you can probably just use it instead.

And looks so bad, just like a cheap toy.
It's a Thomson THBK2-14.32CTWC, I didn't know this brand!
Two fucking minutes to boot win10 and it's an SSD!

>Pastebin a verbose log. Are you using any custom shaders?
Don't have any, I think I am gonna end up disabling interpolation and using only vo=opengl:hq.

However I don't get why angle is not working.

Specs:
4GB Ram
HD 4000
i3-3120M 2.50ghz
Windows 10 64bit

pastebin.com/nbgPVM3W

...

Do you have d3d_compiler*.dll in that mpv folder?

>D3DCompiler_47.dll

I see you used sourceforge build. Rename the d3d_compiler dll from '47' to '43' since its was compiled under mingw+gcc

How come I don't have such a problem on my main computer though?

I am using the sourceforge builds because of the audio bug on the bitbucket ones.

didn't seem to fix it.

Should I just be using latest build for Windows? What about any configs for qualtiy and such? I use mpv mostly on linux but I'd like to start using it on Windows too over MPCHC and such

Why would people use the Sourceforge/Bitbucket builds when mpv.srsfckn.biz has an ANGLE build? The first two can only be 3 days newer than the 2016-07-10 build on the last.
Serious question.

Ah, I see. The problem might be something else then

youtube-dl is in the PATH, yet, there will be times that mpv can detect it, sometimes it does not. i didnt not place it in /usr/bin because i use debian and i need to update youtube-dl every couple months.

i have placed it in ~/bin; what do (.profile relevant below)?

a.cocaine.ninja/xehjxm.profile

You don't even have to add it to the PATH environment, at least not for me.

Also I believe that youtube-dl.exe goes in the same folder as mpv.exe
Yeah I'll check, for a solution later probably a driver or something?
difference?

why the heck would i want to use this over mpc

i just ran them side by side and they looked and sounded identical while mpv used like twice the cpu.

Because mpv.srsfckn.biz only does builds of actual releases, sometimes it can go months without an update because of that whereas the sf/bb builds are mostly daily.

Are you sure the audio "bug" is not because of this: github.com/mpv-player/mpv/commit/995c47da9afacfcc30d8a17d2f2a2268fbf4fdb9 it's been changed on purpose.

- remove --softvol=no capability:
- deprecate --softvol, it now does nothing
- --volume, --mute, and the corrsponding properties now always control
softvol, and behave as expected without surprises (e.g. you can set
them normally while no audio is initialized)
- rename --softvol-max to --volume-max (deprecated alias is added)
- the --volume-restore-data option and property are removed without
replacement. They were _always_ internal, and used for watch-later
resume/restore. Now --volume/--mute are saved directly instead.
- the previous point means resuming files with older watch-later configs
will print an error about missing --volume-restore-data (which you can
ignore), and will not restore the previous value
- as a consequence, volume controls will no longer control PulseAudio
per-application value, or use the system mixer's per-application
volume processing
- system or per-application volume can still be controlled with the
ao-volume and ao-mute properties (there are no command line options.

i said mpc which hasn't been updated in like a year

i have never run across something it couldnt play and it looks and sounds just as good as mpv. is this for watching encypted deep web child porn or some shit?

Considering that I un-commented both lines from my conf and it was still going past 100%

I'll just remove it completely I guess

>why the heck would i want to use this over mpc
I dunno man. It doesn't seem like you want to use it. No one's forcing you to use it.

>i just ran them side by side and they looked and sounded identical
Most video players are going to look and sound pretty similar, especially if you leave them on the default settings. Even when they're all riced out, the differences are subtle. mpv's video renderer has some features that can slightly increase sharpness and reduce aliasing when resizing the video and some that can slightly reduce the appearance of judder, but they are not switched on by default.

>while mpv used like twice the cpu.
Not supposed to happen. mpv and MPC-HC use the same codecs, so there shouldn't be much difference in CPU usage at all. Maybe MPC-HC is using hardware accelerated decoding? By default, mpv uses software decoding.

There is a reason why /usr/local/bin exists, and this is a point where you should use it

uh i'd be down for a new video player, the windows 95 aesthetic of mpc isn't really cute anymore, but i'm not seeing many reasons to switch to this super minimal one.

and i was using the high performance preset which could explain why it was using 5% cpu and mpc was using 2%? i only tested with some low quality video.

>didn't seem to fix it.
Weird. It seems a lot like a missing D3DCompiler_43.dll. Those VO options work in ANGLE on my machine, so I don't think the GLSL shader compilation itself is a problem. It's a shame ANGLE doesn't write any error messages more useful than "Failed to create D3D shaders."

Why bother
>updating fixed everything on the laptop
Magic wins again

However, the volume is exceeding over 100% by 30%
>i was using the high performance preset which could explain why it was using 5% cpu and mpc was using 2%
That's pretty low, neither of them are at that low for me, though I haven't used mpc in ages, and was never a fan of it, mostly used kmplayer/potplayer+theshittonoffilters.

>but i'm not seeing many reasons to switch to this super minimal one.
mpv mainly appeals to users of command-line and keyboard-driven software, that is, it has the same audience as its predecessors, MPlayer and mplayer2. It's scriptable, has fully customizable key bindings and a rich command-line interface.

It also brings high-quality video rendering to Linux and macOS. Windows has madVR, but there is no video renderer in the same league as mpv on macOS and Linux.

>and i was using the high performance preset which could explain why it was using 5% cpu and mpc was using 2%?
Yeah, probably. video-sync=display-resample will make mpv render one frame for every display refersh rather than every video frame, so that will probably make it use more CPU. Also, that hwdec=auto line is what makes it use hardware decoding, so if you want a more fair comparison, you'll probably want to use that.

>You don't even have to add it to the PATH environment, at least not for me.
>Also I believe that youtube-dl.exe goes in the same folder as mpv.exe
This is a difference between Windows and Linux. Windows' CreateProcess looks in the same folder as the calling .exe before searching the %PATH%. Linux exec() just searches the $PATH.

Also on Linux, mpv searches its config directory for the youtube-dl script, so you could put it (or a symlink to it) there as well.

i just tried it again with some high quality video and that high performance filtering is pretty nasty.

reminds me of when i used to mess with ffdshow denoise and sharpening for hours before realizing that it's a waste and getting a nicer display is the only thing that will improve the IQ of a video file.

>cli, kb driven
Nope
click/double click media file in fm.
mpv opens and plays it.
No ugly horrible ui
Plays everything with no hassle.

>pretty nasty
So you make baseless claims, which would prevent people from helping you if you're indeed incorrect about, instead of asking for help with new software you know nothing about.
Your shit is misconfigured

>No ugly horrible ui
IIRC there is minimal mode on MPC-HC
kind of like no-border mpv
Sorry, though you were having trouble on windows.

>mpv searches its config directory for the youtube-dl script
tossed youtube-dl in ~/.config/mpv, it keeps trying quvi, also

>Setting commandline option --ytdl=yes failed.

Playing with a 2core/4thread 2.5GHz skylake laptop recently, it has HEVC 10bit hybrid hw decoding, but that can barely handle 1080p 60fps and 4k 30fps in low bitrates around 10-15 Mbps with dxva2, I suppose its better than nothing

What config should I use for Intel HD 3000 GPU?
When running 1080p BD chinese cartoon, temps reach 80C.
Current config
# Video Options
vo=opengl-hq:no-deband

# Audio Options
alang=ja,jpn,Japanese

# Subtitle Options
slang=en,eng,English
demuxer-mkv-subtitle-preroll

# Miscellaneous
screenshot-format=png
screenshot-png-compression=5
script-opts=osc-vidscale=yes
title='${media-title}'
autofit-larger=40%
geometry= 5%:85%

[protocol.http]
cache=yes
cache-default=200000
cache-backbuffer=10000
pause

[protocol.https]
cache=yes
cache-default=200000
cache-backbuffer=10000
pause

Let me guess: you have a low-voltage CPU? No wonder that shit doesn't work.