/mpv/ - the Sup Forumsreatest media player

Install mpv:
mpv.io/installation/

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

Manual:
mpv.io/manual/master/

User Scripts (including opengl shaders):
github.com/mpv-player/mpv/wiki/User-Scripts

input.conf:
github.com/mpv-player/mpv/blob/master/etc/input.conf

High quality video playback profile:
profile=opengl-hq

Other urls found in this thread:

github.com/mpv-player/mpv/blob/969c25d2f7be931374f061b351f33ebaa429ab2d/player/lua/osc.lua
diff.pics/E8IolkhoQMGv/1
0x0.st/nEH.png
github.com/mfcc64/mpv-scripts/blob/master/visualizer.lua)
github.com/FFmpeg/FFmpeg/commit/3408f46694
youtube.com/watch?v=tO01J-M3g0U
youtube.com/watch?v=1La4QzGeaaQ
mpv.io/manual/master/#options-vd-lavc-dr
cpubenchmark.net/high_end_cpus.html
forum.doom9.org/showthread.php?p=1746017
twitter.com/NSFWRedditImage

What's wrong with your stats?

Looks OK to me!

I tried those settings but it still gives the message error message. I also tried restarting, which also didn't work

>dropped frames 93
I dont think so

screenshot-directory="~~/home/skeleton/Pictures/Pictures/Pictures/ReactionImages/Screenshots"
screenshot-template="%F%P"

script-binding stats/display_stats_toggle
doesn't work anymore for me. What do?

# Screenshot settings
screenshot-template=~~/%08n
screenshot-format=png
screenshot-png-compression=1
screenshot-png-filter=0
screenshot-tag-colorspace=yes
screenshot-high-bit-depth=no
Why bother? why even use that OSC.
I cannot understand why anyone would use anything other than box, my only grip with it is the borders I wish they weren't round and I could change their colors.
change it on the .lua itself

i script-message display-stats
I script-message display-stats-toggle

I put this in the input.conf and worked.

>I cannot understand why anyone would use anything other than box, my only grip with it is the borders I wish they weren't round and I could change their colors.
change it on the .lua itself

Thanks, user.
Yeah but I wanted to set an additional shortcut (mouse wheel click), keeping the usual i/I.

>Yeah but I wanted to set an additional shortcut (mouse wheel click), keeping the usual i/I.
My mistake.
e script-binding stats/display-stats
E script-binding stats/display-stats-toggle
Worked for me, weird that yours works.
.lua? osc.lua?

Neither of these work either. I'd imagine at this point that the issue isn't in the config
I've also reinstalled

>.lua? osc.lua?
Yes. Build it yourself or just put it in the scripts folder with osc=no on the config.

github.com/mpv-player/mpv/blob/969c25d2f7be931374f061b351f33ebaa429ab2d/player/lua/osc.lua

Outdated stats.lua?
Typed the keybind wrong?
Do you mind posting your conf?
Might as well do it today or I'll get lazy again.

Line 873 for the borders.

I dont think ive ever seen that picture before.

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

alternative non-meme conf to OP

profile=opengl-hq
scale=ewa_lanczossharp
video-sync=display-resample
Fixed.

Add to that cscale=ewa_lanczos.

Subtitles question.

When i have an mkv file that already has subs inside of it AND I also have an srt/ass file (same basename as the mkv), why doesn't mpv load also the srt/ass and offer it as one of the subs I can cycle through?

Often, why I grab some japanese movies that comes in mkv format, there are better subs available so it's a pain to use it with mpv.

mpv devs, please make it happen. offer srt/ass track even when the mkv has a sub track.

How do you display that info overlay in mpv(linux)?

You can't.

sub-auto=fuzzy

I need all the MPC-HC bloat like playlists.

Can I pump mpv full of it like you pump a cream pie with cream?

yes, check the links in OP
there's also frontend gooeys

that's a dumb meme that looks worse than spline36

Go check your eyes.

Have you even read what I wrote? Obv not.

diff.pics/E8IolkhoQMGv/1
actually haasnsoft looks better than both

>diff.pics
No, thanks.

can you add ewa_lanczossharp?

Even haasn doesn't use haasnsoft for cscale.

Works on my machine. You're probably doing something wrong.

What's the command osc uses whenever you click on the tittle? I want to bind it on a keybind
I don't understand your question, basically you are asking if subs on /path/video.mkv load subs even if the .mkv has subs?

You can use sub-auto=all for that.
What's wrong with it?

>What's wrong with it?
External link for images on imageboard.

>neo Sup Forums

Heck off neon.

>basically you are asking if subs on /path/video.mkv load subs even if the .mkv has subs?
yes. why doesn't it load extra subs if subs are inside of an mkv already.

I can do it from the command line but that's a pain in the ass.

what the fuck is wrong with you?

> 0x0.st/nEH.png compute shaders work!
> we're _this_ close to working vulkan in mpv
> just fragment shaders left

...

>What's wrong with it?
- requires JAVASHIT
- not as convenient as just clicking on a fucking image posted here

what is it?

Is there a video player that supports full color emoji? This is a killer feature for me.
When you don't speak a language it's hard to understand the emotions conveyed. This is when a cry laugh emoji for example can come in extremely useful. It's like SDH subs for deaf people, but for autistic people.

VULKAN™

How do you get those stats in OP's pic

Next generation graphics API!

Is there anymore big things to come after vulkan finished?

libass only supports monocolor planes. But it would be possible with RBG subs (bitmaps)

I tried using this visualizer script (github.com/mfcc64/mpv-scripts/blob/master/visualizer.lua)
but for some reason mpv exits immediately and I get a lot of jibberish and this
parsing the filter graph failed

What do?
I'm using GNU/Linux.

Here's the message before that
[ffmpeg] Parsed_showcqt_4: Option 'attack' not found
[ffmpeg] AVFilterGraph: Error initializing filter 'showcqt' with args 'fps =30:size =960x360:count =3:csp = bt709:bar_g = 2:sono_g = 4:bar_v = 9:sono_v = 17:axisfile = data\:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAAgCAQAAABZEK0tAA

change showcqt to showwaves

what version of ffmpeg?

That works.
1:3.3.3

Seems like that's too old, you need github.com/FFmpeg/FFmpeg/commit/3408f46694 for the `attack` option to exist; which has not yet made it into a release.

Thanks, I guess I'll install that one.

why don't you just compile ffmpeg or download a nightly build? that's what's recommended for use w/ mpv anyway

That's what I'm gonna do.

...

Whats the story here, is that actually mpv or mpc-hc+madvr? I dont think you're using ngu with mpv.

Anyone who wants it
F2 show_text "[${playlist-pos-1}/${playlist-count}] ${media-title} [${width}x${height}][${video-format}]"

SPACE cycle pause; show-text "[${playlist-pos-1}/${playlist-count}] ${media-title}

Anyone with a Ryzen CPU can do a smoth software decode of this video [YouTube] The World in HDR in 4K (ULTRA HD) (embed) ?
Make sure it's the preset VP9.2@4K 60fps pls
It's to determine if it's just me or Ryzen just can't handle the load without stuttering

you didn't post the video

My bad here is the video:
youtube.com/watch?v=tO01J-M3g0U

Which Ryzen model? 8350 can't decode it without stutter so i doubt ryzen 3 and maybe 4 core ryzen 5 models can do it smooth

...

1700 should able to do it, try with

vd-lavc-dr=yes

, it helps with 4k rendering

>vd-lavc-dr=yes
btw this only works with opengl-backend=dxinterop on windows and not with angle

Will do, my config for reference:
#############
# Video #
#############

--scale=ewa_lanczossharp
--cscale=ewa_lanczossoft
--tscale=mitchell
--temporal-dither
--blend-subtitles
--opengl-pbo
--target-prim=bt.709
--target-trc=bt.1886
--gamma-auto
--icc-profile-auto
--icc-3dlut-size=256x256x256

hwdec=auto-copy
video-sync=display-resample


#############
# Audio #
#############

#ao=wasapi:exclusive
alang=jp,jpn,en,eng

#############
# Cache #
#############

#cache=auto
cache-default=102400
#cache-file="F://Temporaire//MPV/cache"

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

slang=fr,en,eng
demuxer-mkv-subtitle-preroll # try to correctly show embedded subs when seeking
sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
embeddedfonts=yes # use embedded fonts for SSA/ASS subs
--sub-ass-force-style=Kerning=yes # allows you to override style parameters of ASS scripts

# the following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT)
sub-font="Source Sans Pro Semibold"
sub-font-size=52
sub-color="#FFFFFFFF"
sub-border-color="#FF262626"
sub-border-size=3.2
sub-shadow-offset=1
sub-shadow-color="#33000000"
sub-spacing=0.5

#############
# OSD #
#############

script-opts=osc-vidscale=no,osc-scalefullscreen=1.5,osc-scalewindowed=1.2,osc-layout=bottombar,osc-seekbarstyle=bar
no-border
ontop
osd-duration=5000


#############
# Misc #
#############
save-position-on-quit

# [SCREENSHOTS]
screenshot-format=png
screenshot-png-filter=0
screenshot-png-compression=4
screenshot-template="F://Temporaire//mpv_screenshot%n"


[extension.webm]
loop-file=yes

my CPU shits itself (i5-4430)

remove "--"s they are command line switches, not supposed to be put in config files

Dude thanks, this was successful, couldn't playback youtube.com/watch?v=1La4QzGeaaQ at 8k@fps smoothly tho, I guess it's R7 limits

What exactly does this options does? Could find it in the manual.

I get like 10% CPU usage on that clip. VP9 is stupidly fast to decode

I can decode 4K and 6K but 8K is too much

haasn implemented it to help stuttering like you are experiencing with 4k+ video, it renders video directly to vram eliminating overhead from going back and forth from system ram
mpv.io/manual/master/#options-vd-lavc-dr

8k is threadripper territory i think, or you can get gtx 1050/1050ti they can hw decode vp9.2

Are you sure you are decoding the VP9.2 10-bit HDR version?

What CPU do you have?

Pic related
E5 2670

>E5 2670
no wonder that's plenty powerful

>it renders video directly to vram eliminating overhead from going back and forth from system ram
no, it still decodes to RAM (at least on any sane platform).

According to this page: cpubenchmark.net/high_end_cpus.html it's about as powerful as a Ryzen 5 1060

>1060
1600*

Shut up Poettering

Let's talk GPU's what are the best currently to play HEVC?
>script-opts=osc-vidscale=no,osc-scalefullscreen=1.5,osc-scalewindowed=1.2,osc-layout=bottombar,osc-seekbarstyle=bar
>osd
>all that waste of lines decorating

CUDA, I think?

...

...

The fuck is wrong with your RAM?

so what? profile=vulkan-hq next weekend? :)

>Let's talk GPU's what are the best currently to play HEVC?
forum.doom9.org/showthread.php?p=1746017

I'm so disappointed that AMD still doesn't have fixed function hw VP9 decoding on any GPU tho.

>2015

First post isn't updated but the discussion is good.

I dunno, I have 1 BLS16G4D240FSC stick.

>function hw VP9 decoding

Why though? Unless you need more than 30fps @8K you can sw decode on any decent CPU.

power efficiency
multiple stream decode

Both valid points. Unfortunately the VP9 ABI isn't stable (libvpx 1.6 broke back compatibility) so I wouldn't expect that any time soon.

how do I convert a 60 FPS video to 30 FPS w/ ffmpeg without re-encoding

What config is the best for a low end old laptop?

Right now all I'm using is:
profile=opengl-hq

It has an Intel Core i5-2450M @ 4x 3.1GHz, a GeForce 410M and 6GB of rams.

if your laptop can handle that, add scale=ewa_lanczossharp

I was watching sagebu last night and there seems to be a problem with mpv (tried smplayer-mpv if it matters, im not installing vlc cuz shits got lots of deps)

>video plays well
>next chapter
>subs disappear
>close mpv
>reopen
>skip 1 or more chapters to make subs appear properly
what is the wrong?