/mpv/ - a free, open source, and cross-platform media player

Last thread: High quality config:
profile=opengl-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossoft
tscale=oversample
video-sync=display-resample
interpolation
Getting freezes under Windows? Add angle-flip=no to your mpv.conf.
If MOUSE_BTN3 and MOUSE_BTN4 aren't working in your input.conf, try using AXIS_UP and AXIS_DOWN to control scrollwheel.

Site: mpv.io/
GitHub: github.com/mpv-player/mpv
Git master reference manual: mpv.io/manual/master/

Other urls found in this thread:

ghostbin.com/paste/5gma3
6.lithi.io/zVQ0LK2.mp4
github.com/antoniy/mpv-youtube-dl-binding
github.com/bjin
forum.doom9.org/showthread.php?p=1814271#post1814271
github.com/bjin/mpv-prescalers/tree/master
twitter.com/SFWRedditVideos

>scale=ewa_lanczossharp
>cscale=ewa_lanczossoft

Dont do this it causes frame stuttering

Whatever you say, Pentium 2.

cscale=ewa_lanczossoft

mpv vs 4k tv upscale which is better?

mpv is better by a mile, but mpv is demanding to run

vlc vs mpv who wins and why i am using vlc all the time because habits

mpv is much faster at everything
mpv has much better subtitle rendering
mpv has very competent developers

So T.V until mpv is not demanding then?

mpv's performance improves over time, but it's not really mpv's fauit
the best upscalers included with mpv look very good and are therefore quite difficult to run, and there's a limit to how much their performance can be improved

I'd suggest trying
profile=opengl-hq

which is a bit demanding
if you can handle that, add:
profile=opengl-hq
scale=ewa_lanczossharp
tscale=oversample
video-sync=display-resample
interpolation

this is as good as you can get without user shaders

I just wrote an opengl shader to view 360 degree video, but I had to hardcode in the viewing angle. Is there any way to interact with the variables in the shader, especially while mpv is running so I can continually change the viewing angle?

how's my config? ghostbin.com/paste/5gma3

I've only just started and this is my first attempt at a config, I've been stealing snippets from various github pages

Mmmmmmmh does it mean we can't use advanced features on windows with angle like interpolation, ravu prescaler or ICC profile? Does it mean madVR is the only solution now?

pooinzoo

Does it mean that's true?

where did you hear any of this
I know for a fact that interpolation and ICC profiles work, but I'm not sure about ravu
if ravu is just another user shader though, then it'll work fine

if that looks good to you and you like how it works and you know what everything does then why are you asking

I'm just looking for input; I'm getting ready to slim it down

most of your config lines are weird random subjective stuff

>tfw thinking longer config lines give greater quality

patrician taste
profile=opengl-hq
opengl-backend=dxinterop

scale=ewa_lanczossharp
tscale=oversample
video-sync=display-resample
interpolation

osd-font='Roboto'
sub-font='Roboto'

screenshot-format=png
screenshot-high-bit-depth=yes
screenshot-png-compression=9

my entire config

Regarding --opengl-shader-cache-dir=
is there any way to get this loaded directly into memory for even faster cacheing?

I dont know but if you get it to work thats awesome. Mouse controlled 360 would be cool

Make a ramdisk and point to it?

I suppose that could work but I simply do not trust Windows to not shit itself regarding it, I would imagine it would be simpler to have it loaded directly into System memory

new build is out. thanks shinchiro

don't thank the fucker he could easily automate a nightly build

Media keys are working now but they're not working when mpv is minimized which again, makes them pointless

RAVU native or regular? Which is better?

I'm a macfag using a trackpad, so this is a necessity for me.

AXIS_LEFT osd-msg-bar seek -5
AXIS_RIGHT osd-msg-bar seek 5
AXIS_UP add volume -5
AXIS_DOWN add volume 5

tscale=catmull_rom # [sharp] oversample
They are the same thing IIRC.
It makes MPV more comfortable to use
>osd-font='Roboto'
sub-font='Roboto'

screenshot-format=png
screenshot-high-bit-depth=yes
screenshot-png-compression=9
I am puking.
I mean, your config is your config my friend, you do it for yourself, you should know what tickles your belly.
Just test it, you are correct.
Well at least spotify works.
6.lithi.io/zVQ0LK2.mp4

>They are the same thing IIRC.
catmull_rom and oversample? Nah. catmull_rom is much smoother and blurrier.

Multimedia keys seem to work now but only when mpv is in focus. Is there any way to make mpv respond to these buttons (and nothing else) when not in focus? That's how the keys work with other players.

I've never understood why anyone would need them for a video player (inb4 you are dumb enough to use it as a music player), most of the time it just messes up your actual music player.

However, I do agree that it feels rather odd since it's the main purpose.

wtf is wrong w/ using mpv as a music player

I usually watch videos on half-screen and use the other half for whatever so it's really convenient to be able to control the video without always clicking on it first.

Is there any way to make github.com/antoniy/mpv-youtube-dl-binding run with a terminal?

I have a input:
set video no; set force-window no
When I open a video and use this command the audio runs in the background but I'd like to have a terminal to control or terminate mpv.

Sorry didn't mean to quote

This doesn't seem right

Asking the wrong fella friend, why not ask on the IRC channel if you don't get no responses here?

try with --no-config

How did you do that?

I use mplayer (actually I use a gui, so smplayer), any reason to use mpv?

Yeah it's definitely a config issue, It's not happening with small files

It's not liking my large movie file

Format : Matroska
Format version : Version 4 / Version 2
File size : 26.2 GiB
Duration : 2 h 2 min
Overall bit rate mode : Variable
Overall bit rate : 30.7 Mb/s
Movie name : Alien: Covenant (2017) - EUR - ZQ
Encoded date : UTC 2017-08-03 11:19:26
Writing application : mkvmerge v13.0.0 ('The Juggler') 64bit

Use tmpfs

You could solve this by configuring mpv to setup an IPC server and configuring those hotkeys globally to trigger the corresponding mpv command via the IPC.

That's how I have it set up for my music player (mpd) too, btw. In my xmonad.hs I just bind the hotkey combinations I wnat to run “MPD.play” or “MPD.pause”.

>github.com/bjin
Bjin is an anime retard too! :O

My cousin is an animefag and looks like this.
I don't understand this! Why are they using this kind of young boys/girls avatars?

RAVU is still slower than NGU and NGU-AA for me and madshi is not dead or on vacation. He is working on a tool I asked here maybe 5 times: an automatic custom resolutions creator (madCustomRes).
forum.doom9.org/showthread.php?p=1814271#post1814271

Is MPV compatible with chromecast?

soda player

Is it based on mpv?

If you're interested it was being caused by cache-default

I had it set to 5GB instead of 500MB by accident

No, it's also closed source.

Sadly the best option.

kek.
Thats why we love him!

How do i check if my icc profile shows "correct" colors in mpv?

Get a colorimeter and known test signal and verify that the resulting color is correct?

Is there easier way without colorimeter? I have an icc profile from tftcentral.

I have this video that disables vsync when you play it from the beginning but works just fine when seeking. How can I force vsync?

Why should i migrate from MPC-HC

I want to avoid this
[cplayer] first video frame after restart shown
[cplayer] starting audio playback
[cplayer] playback restart complete
[cplayer] Change display sync audio drift: -1
[statusline] AV: 00:00:01 / 00:53:29 (0%) A-V: -0.004 DS: 2.615/0
[cplayer] Change display sync audio drift: 1
[statusline] AV: 00:00:02 / 00:53:29 (0%) A-V: 0.019 DS: 1.806/5 Dropped: 17
[cplayer]
[cplayer] Audio/Video desynchronisation detected! Possible reasons include too slow
[cplayer] hardware, temporary CPU spikes, broken drivers, and broken files. Audio
[cplayer] position will not match to the video (see A-V status field).
[cplayer]
[statusline] AV: 00:00:02 / 00:53:29 (0%) A-V: 0.642 DS: 1.810/6 Dropped: 17
[cplayer] Video sync mode disabled.

try

video-sync=display-resample

yes, that what I have. But the first seconds of the video (the HBO logo) disables it and I have to seek manually to get it back.
Video is a 1080p HEVC and hwdec is enabled.

It could be an issue with the file, who's the release group?

Back up your current config and make a fresh one, just dump video-sync=display-resample
in there and see what happens

file is YourSerie.COM_Game.of.Thrones.S02E02.1080p.BluRay.x265-YST

Dropped:0 VO:46 Delayed 0

Is it working with any other files?

didn't have a problem with season 1 from the same group. But analyzing the files with Mediainfo they were encoded with same mkv tools.

Try and find something from a different group, if you're only using public sites you mught have a bit of trouble

RAVU doesn't work on my windows machine and without any blue screen like nnedi3. Is it normal?

You need to update both mpv and RAVU.

I will. But I was asking if there is some option to force vsync=always or skip the first x frames in order to solve this.

I've been having similar issues with github.com/bjin/mpv-prescalers/tree/master

Done, I should get a blue screen since I am on Angle but no!

Speaking of ravu, I'm trying to load it but it's refusing to load

opengl-shaders="~~/shaders/ravu-r4.hook"
This should be correct right?

no "blue screen", but just "doesn't work"? how? they just don't appear on stats timing page?

Update mpv to the latest commit.

>does it mean we can't use advanced features on windows with angle like interpolation, ravu prescaler or ICC profile?
No. Interpolation and colour management definitely work on Windows with ANGLE. I don't know about RAVU because I don't use it. Compute shaders don't work because ANGLE only supports GLES 3.0.

>Does it mean madVR is the only solution now?
Of course not. You don't have to use ANGLE. You can still use --opengl-backend=dxinterop or --opengl-backend=win, which give you full desktop OpenGL support, same as on Linux.

Is it nvidia drivers, ffmpeg or mpv fault that GPU clock is always at the highest speed when using cuda hwdec? Can anyone verify if it's the same with NVIDIA CUVID in LAVFilters?

Yeah, basic support for media keys was added, but there is no support for global hotkeys yet. That's the next step. It's not hard to add support for global media keys, but there are several different ways of doing it, each with its own tradeoffs, so I have to decide on a solution. For example, some methods don't support all keys and some will steal key input from the foreground application, even if it's another media player.

Yeah, "messing up your actual music player" is a legit concern, so I'm not sure I want to steal all input from media keys, just input that's unhandled by the foreground app, eg. if the app that has keyboard focus supports media keys, they're delivered to it, but if it doesn't, they're delivered to mpv instead.

It's not totally useless to have local media key support though, because if you support media keys, you also support MCE remotes, so now I can play a video in mpv, sit back in my chair and control it with a remote.

Without the benefits of advanced filters, I prefer Videostream plugin for chrome browser. It's free and chromecast compatible.

Best config for upscaling 480p cartoons?

inb4 don't watch 480p cartoons

RAVU smoothtest1.

scale=ewa_lanczossharp

shinchiro latest build fixed blue screen on:
"Planet Earth II S01E01 HEVC 2160p UHD BluRay HDR DTSHD5.1-DDR.mkv"
without needing
opengl-backend=dxinterop
in config

Is SSimSupeRes only good for anime?

Is not very good for anime in my opinion. Better looks on movies.

Are you watching that in 1080p?

yes, using dscale=mitchell
ctrl+s screenshot

>think my PC is good
>use stats.lua
>Fresh frame timings are always red even with 0 meme shaders

How will you know if it's correct or not unless you either know what the correct color looks like or have a device capable of measuring it?

>dxinterop (experimental):
>Win32, using WGL for rendering and Direct3D 9Ex for presentation. Works on Nvidia and AMD. Newer Intel chips with the latest drivers may also work.
when it says Intel chips does it mean CPUs or integrated GPUs

Can I use direct rendering with a nVidia GT710 on Windows 10?

Post specs, OS and config.

Rate my set up

ontop
load-scripts=yes

--screen=1

--priority=high

opengl-shaders="~~/shaders/SSimSuperRes.glsl;~~/shaders/KrigBilateral.glsl"


profile=opengl-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
dscale=mitchell
video-sync=display-resample
interpolation
tscale=oversample


#log-file=log.txt
volume=80
volume-max=150
audio-pitch-correction=yes


--no-border
--cursor-autohide-fs-only
cursor-autohide=1000
--snap-window
--keep-open=yes
autofit-larger=90%x90%
autofit-smaller=500x500
geometry=50%:50%


screenshot-format=png
screenshot-high-bit-depth=no
screenshot-png-compression=0
screenshot-directory=~/Desktop/
screenshot-template=~/Desktop/%F - %p


[extension.gif]
loop-file=inf

[extension.webm]
loop-file=inf

>cscale=ewa_lanczossharp
idk if people can agree on cscale but ewa_lanczossharp definitely isn't best option
>dscale=mitchell
already default in opengl-hq, remove it
>audio-pitch-correction=yes
also already default, remove

>idk if people can agree on cscale but ewa_lanczossharp definitely isn't best option

Can you explain why?

>specs
R9 380X + i5 4430
>OS
Windows 10 fresh install
>config
profile=opengl-hq
opengl-backend=dxinterop

scale=ewa_lanczossharp
tscale=oversample
video-sync=display-resample
interpolation

screenshot-format=png
screenshot-high-bit-depth=yes
screenshot-png-compression=9

removing opengl-backend=dxinterop doesn't help or worsen them