MPV

There's usually a general.
What's the best MPV client for windows?

Attached: 1568465607930.png (512x512, 275K)

Other urls found in this thread:

github.com/mpv-player/mpv/issues/6853
github.com/mpv-player/mpv/issues/3064
github.com/stax76/mpv.net
chocolatey.org/packages/mpvnet.install
github.com/lukesampson/scoop-extras/blob/master/bucket/mpv.net.json
github.com/mpv-player/mpv/pull/5411#issuecomment-389510524
github.com/mpv-player/mpv/commit/a9d83eac40c94f44d19fab7b6955331f10efe301
github.com/mpv-player/mpv/commits/master/player/lua/osc.lua.atom
pastebin.com/FR0tkGfY
mpv.io/manual/master/#list-options
github.com/mpv-player/mpv/wiki/User-Scripts
github.com/DavidDeprost/mpv-autosub
github.com/AssrtOSS/mpv-assrt
github.com/vayan/autosub-mpv/blob/master/autosub.lua
github.com/demanuel/dessubdb/blob/master/mpv.lua
github.com/directorscut82/find_subtitles
github.com/wiiaboo/mpv-scripts/blob/master/subit.lua
github.com/zenyd/mpv-scripts
twitter.com/NSFWRedditVideo

MPC-HC with MadVR

anyone else getting
>[vo/gpu/vulkan] Failed acquiring swapchain image: VK_SUBOPTIMAL_KHR
on resize?
mpv freezez up and needs to be killed manually afterwards
latest vulkan headers, built from source

smplayer

oh, looks like it's already known
github.com/mpv-player/mpv/issues/6853

Can someone post settings deband settings for anime and only anime?

..still no proper GUI?

deband=yes
deband-iterations=4
deband-threshold=48
deband-range=16
deband-grain=48

Literally who is this? I can't find any contributions to mpv

Attached: who.png (1113x2034, 221K)

Eh its kovensky, now a girl(male).

why do you niggers always cry about this
why do you need a GUI when on screen controls literally has everything you need that isn't already handled by kb+m shortcuts
I used vlc for years and did the same exact fucking thing, mpc-hc for the later half
are you retards just baiting every thread or is the concept of using a scroll wheel to adjust volume so bizarre that you NEED to click your way through a tiny gui slider and guess the volume percentage your cursor sets it to
fuck off for making me reply to you
here's your shitty fucking (you) I'm genuinely seething congratulations you did this feel proud

I'll never understand why 'thebombzen' is part of the members

uhm is it possible to auto load last video when mpv is starting ? so i dont need to drop anything and just press ONE button to resume watching my stuff ?

mpv: ../stream/stream.c:405: stream_peek: Assertion `buf_valid + chunk

>anime pilled
Based

>mpv still can not record clips properly-if they are too short [mpv still can not record directly to file format that the clip was taken from, mp4 or webm they both are saved as .ts that has to be rerendered with ffmpeg adding to the insult in first point
>mpv still can not play files to the end with --keep-open=yes

>mpv still can not record clips properly-if they are too short [mpv still can not record directly to file format that the clip was taken from, mp4 or webm they both are saved as .ts that has to be rerendered with ffmpeg adding to the insult in first point
i've tried webm and mp4 and both worked
>mpv still can not play files to the end with --keep-open=yes
fix was merged a week ago

>fix was merged a week ago
oh great, it took only few years to fix
>what are keyframes
you tell me, vlc records clips without a hitch
>i've tried webm and mp4 and both worked
care to share how you do it? I use a entry in input.conf to cycle-values n builtin "experimental" record function

>oh great, it took only few years to fix
I fixed it the same day I saw someone point out the problem here. I don't think anyone ever opened an issue for it before, so I don't know how you'd expect someone to fix an issue they don't even know existed.

Open an issue on github.

github.com/mpv-player/mpv/issues/3064

Well damn. I could reproduce the issue on both alsa and pulse though. I guess that threw everyone off.

Here a few of my debanding profiles. The following settings apply to them all
deband=yes
deband-grain=0


>normal debanding (mpv default without grain)
deband-iterations=1
deband-threshold=64
deband-range=16

>strong debanding
deband-iterations=1
deband-threshold=128
deband-range=12

>very strong debanding (beyond this point you might as well look for a better source, if there's one)
deband-iterations=2
deband-threshold=256
deband-range=8

>extreme debanding
deband-iterations=4
deband-threshold=512
deband-range=5

Why mpv.net of course.
github.com/stax76/mpv.net

Attached: sketch-1567727375479.png (1280x720, 674K)

Chocolatey: chocolatey.org/packages/mpvnet.install

Scoop: github.com/lukesampson/scoop-extras/blob/master/bucket/mpv.net.json

okay I compiled, which is not my favorite thing to do, newest git snapshot and beyond missing vulkan headers there were no problems and it took merely 26 seconds, which I can not believe buy okay
it actaully now plays vids till the end, congratulations
can I just butcher my distro package management and mv ./builds/mpv /bin/mpv ?

>can I just butcher my distro package management and mv ./builds/mpv /bin/mpv ?
Not recommended. Just put it `~/bin/` and add that to your PATH for a simple solution

i-it works r-right?
if there are two files in different driectories in PATH which one would be called?
the one in dir closer to PATH string beginning am I right?

>are you retards just baiting every thread
what do you think?
that said, mpv.net is a thing so i'm not entirely sure myself.

>if there are two files in different driectories in PATH which one would be called?
Whichever is found first when iterating over the directories in PATH, so you want to add it at the beginning like so
PATH=$HOME/bin:$PATH

Some subtitles aren't adhering to my subtitle settings even tho I have 'sub-ass-override=strip'

Are they just .ssa or also mp4 subtitles that have problems? Or does some other setting need to be enabled too?

Plasma 5.16.5 / KF 5.61 / Qt 5.13.1

vo=gpu
gpu-context=waylandvk
gpu-api=vulkan
spirv-compiler=shaderc


And it's unfuckingbelievably smooth HOLY FUCK.
BUT...
Anything dealing with window sizes or fullscreen toggle is fucked up. Does anyone knows when Plasma wayland is getting the necessary things? I know they implemented but in what release? Ty

Attached: w.jpg (860x372, 19K)

>wayland
I've realized recently that mpv's current wayland implementation is actually kind of hacky. Hopefully its feasible to refactor the renderloop code for every vo because that's what it would take to fix it properly.

So it's smooth because of other recent updates or shaderc, but not wayland? Not that I care I'm just happy it's running way better on this older pc.

Well it's probable that KDE's compositor got a lot better. Strictly speaking, frame timings are better in xorg since mpv's wayland doesn't use presentation feedback (which it really should hopefully someday soon) but xorg has presentation feedback implementation. In practice though, the display sync timings are still good as long as you don't screw around with the window too much.

>tfw mere presence of wm4 makes other devs active as well

Attached: Enlist_Today.jpg (1927x1370, 1.06M)

why do the (embeded) subs get layered like this? how do I fix it?

Attached: 1561452072445.jpg (1920x1080, 716K)

profile=gpu-hq
gpu-api=d3d11
hwdec=d3d11va
gpu-context=d3d11
linear-downscaling=no
sigmoid-upscaling=no
video-sync=display-resample
glsl-shader="~~/shaders/FSRCNNX_x2_16-0-4-1.glsl"
glsl-shader="~~/shaders/KrigBilateral.glsl"
glsl-shader="~~/shaders/SSimSuperRes.glsl"
glsl-shader="~~/shaders/adaptive-sharpen.glsl"
deband=yes
deband-iterations=4
deband-threshold=48
deband-range=16
deband-grain=48

Is this enough for Anime being upscaled on my 4K TV? Don't need downscaling at all
Should I tweak/add anything?

##Video##
gpu-api=d3d11
gpu-context=d3d11
hwdec=d3d11va
profile=gpu-hq
scale=ewa_lanczossharp
video-sync=display-resample
glsl-shader="~~/SSimSuperRes.glsl"

##Audio##
alang=eng,en
volume-max=200

##Subtitle##
slang=eng,en
sub-auto=fuzzy
sub-ass-force-margins=yes
embeddedfonts=no
sub-font="Clear Sans"
sub-ass-force-style=FontName=Clear Sans
sub-color="#ffffffff"
sub-border-color="#101010"
sub-gray=yes
sub-gauss=.75

##Screenshot##
screenshot-tag-colorspace=yes
screenshot-template=C:\Users\user\Pictures\%F_%p_%n

##Misc##
ontop
msg-module
no-osd-bar
keep-open=yes
loop-file=inf
priority=high
autofit=100%
cursor-autohide=200
prefetch-playlist=yes
force-window=immediate
save-position-on-quit
watch-later-directory=C:\Users\user\Videos\mpv\watch_later

##OSC##
script-opts=osc-title=${filename},osc-timetotal=yes,osc-layout=bottombar,osc-seekbarstyle=bar,osc-deadzonesize=1,osc-minmousemove=2,osc-hidetimeout=1000,osc-vidscale=no

##Stream##
[protocol.https]
glsl-shader-clr
scale=spline36
ytdl-format=bestvideo[height

# Video output
profile=gpu-hq
video-sync=display-resample

# Audio output
volume=40
volume-max=100

# Playback order
alang=ja,jp,jpn,en,eng
slang=en,eng,ja,jp,jpn

# Subtitles settings
sub-ass-force-style=Kerning=yes
sub-ass-override=force
sub-font="source han sans jp"
sub-font-size=54
sub-bold=yes
sub-border-color="#CC262626"
sub-border-size=2
sub-color="#ffffffff"

# On-screen display
osc=no
osd-bar=no
osd-font="source han sans jp"
osd-font-size=40
osd-border-color="#CC000000"
osd-bold=yes
osd-border-size=2
osd-color="#ffffffff"

# Screenshot settings
screenshot-format=png
screenshot-tag-colorspace=yes
screenshot-template="mpv-screenshot%n"
screenshot-png-compression=0
screenshot-png-filter=0

# Program behavior
keep-open=yes
taskbar-progress=no
border=no
geometry=50%:50%
autofit-larger=90%x90%

# Other settings
load-stats-overlay=no
input-default-bindings=no
msg-color=no
msg-module=yes

The Win 10 video app. Only issue is that DTS audio doesn’t work over HDMI for me. Besides that PotPlayer. Comes pre-installed with madvr so it’s easy as fuck even if you’re a turbonerd

>wm4 comes back
>commits start rolling at the speed of light

I fucking hate compiling shaderc, takes forever /blog

mpv.net

Wait what's wrong with VLC? I thought that was the best player in general.

Attached: 5b43bc40e99939b4572e32b7[1].png (500x500, 38K)

It's definitely not the best. But use what you want.

>more likely to produce corrupted playback than other media players
>seeking is sluggish for higher resolutions (i.e. when fast forwarding the shown frame won't update with every jump) or produces corruption
>fast forwarding may allow you to seek beyond the video's duration (which produces corrupted playback)
>many scaling algorithms/filters are only available via ffmpeg and therefore mutually exclusive with hardware decoding
>there's no keybind for going a single frame backwards
>the advanced menu is a confusing mess, even with its search function
>the snapshot function always decodes the video as BT601 (frame extraction via ffmpeg?)

kek

>when you merge the pull request

Attached: wm4.png (351x350, 240K)

bump

Is there any way to stop the osc seek box's shape from being changed to look like the diamond or knob?
Diamond IMO is completely unusable. Knob isn't terrible, but I would prefer if the box was just square like usual. The person who made the pull request force pushed so I can't see what he changed when he made the modification to his pull request below.

github.com/mpv-player/mpv/pull/5411#issuecomment-389510524
> I also went and made the surrounding box and seekranges visually mimic the shape of the diamond or knob. This includes the shape of slimbox layout and the seekbar border in box layout, I just didn't make a screenshot for that.

Figured it out myself.
# diff osc.lua{.old,}
470c470
< ass_draw_rr_h_cw(static_ass, 0, 0, elem_geo.w, elem_geo.h, r1, slider_lo.stype == "diamond")
---
> ass_draw_rr_h_cw(static_ass, 0, 0, elem_geo.w, elem_geo.h, 0, false)
475c475
< r2, slider_lo.stype == "diamond")
---
> 0, false)

Also set seekbarhandlesize to 1 to imitate the previous behavior.

github.com/mpv-player/mpv/commit/a9d83eac40c94f44d19fab7b6955331f10efe301
>Only basic seeking is supported. It is very much possible that seeking completely fails on some discs (on some parts of the timeline), because timestamp rewriting was removed.
>Note that I don't give a shit about optical media. If you want to watch them, rip them. Keeping some bare support for DVD/BD is the most I'm going to do to appease the type of lazy, obnoxious users who will care. There are other players which are better at optical discs.
T-thanks, wm4.

Also, for anyone else who's been bitten by osc changes, here's a nice feed to subscribe to. I love github sometimes.
github.com/mpv-player/mpv/commits/master/player/lua/osc.lua.atom

>the best
it's shit. it sucks at so many things. plebs use it because it has a UI and they don't need codecs like so many other Winshit players do.
and VLC has had so many security issues, it's sad actually. anyway, this guy nailed it.

Attached: 1552363064684.webm (1280x720, 2.94M)

why was stream cache dropped and what is it supposed to mean? how to tell mpv that I want my 3h podcast cached ?

mpv had two levels of cache, the stream cache, which is basically just downloaded bytes, and the demuxer cache, which stores streams after demuxing and before decoding. The problem with the stream cache is you don't know how much of the video is cached in terms of minutes and seconds. Removing the stream cache doesn't mean mpv no longer caches, it just exclusively uses the demuxer cache. The problem with removing the stream cache (apparently) is that the demuxer can seek, and some badly interleaved files can cause the demuxer to seek by large amounts. Those seeks would have been served by the stream cache, but now it's gone they will cause additional network requests instead.

I love wm4 because he can say stuff like this. He's right on all counts. If you own Blu-rays, the best way to watch them IS to rip them. Hard drive space is cheap. The people who bugged him about this in the issue tracker before have been obnoxious. VLC is better than mpv at optical discs, and there's no shame in using it if you need to watch a Blu-ray before ripping it for whatever reason. I'd like to see mpv get no-compromise Blu-ray support at some point, but Blu-ray isn't worth keeping shit code in the codebase, especially if that shit code is intrusive and slows down the pace of development.

>The problem with the stream cache is you don't know how much of the video is cached in terms of minutes and seconds.
wait, it used to show Cache: Xm Ys in osd, is that it?
so my questions remains, how to increase demuxer cache so it can hold 3-4h long podcasts, and will it mean that when playing local files it will use the same amount of cache for those?

If you set --cache-secs, it won't affect local files.

can someone help with settings to get png screenshots and make them like 3mb. I can never get it to work properly

Attached: 1554920329782.jpg (867x715, 134K)

profile=gpu-hq
hwdec=d3d11va
gpu-api=d3d11
gpu-context=d3d11
sigmoid-upscaling=no
linear-downscaling=no
deband-iterations=4
deband-threshold=48
deband-range=16
deband-grain=48
glsl-shader="~~/Shaders/FSRCNNX_x2_8-0-4-1.glsl"
glsl-shader="~~/Shaders/SSimSuperRes.glsl"
glsl-shader="~~/Shaders/SSimDownscaler.glsl"
video-sync=display-resample
For Interpolation in input.conf
t cycle interpolation ; no-osd set tscale "box" ; no-osd set t-scale-window "sphinx" ; no-osd set tscale-radius "1.0" ; no-osd set tscale-clamp "0.0"
For adaptive sharpen
a change-list glsl-shaders toggle "~~/Shaders/adaptive-sharpen.glsl" ; show-text "Toggle Adaptive Sharpen"
Profile for deinterlace in mpv.conf
[yadif prerequisites]
glsl-shaders-toggle="~~/Shaders/FSRCNNX_x2_8-0-4-1.glsl"
glsl-shaders-toggle="~~/Shaders/SSimSuperRes.glsl"
glsl-shaders-toggle="~~/Shaders/SSimDownscaler.glsl"
glsl-shaders-clr="~~/Shaders/adaptive-sharpen.glsl"
For deinterlace
d cycle-values hwdec "no" "yes" ; apply-profile "yadif prerequisites" ; change-list vf toggle yadif ; show-text "Toggle Deinterlace"
Full mpv.conf
pastebin.com/FR0tkGfY

He's right but sometimes I'm too lazy to rip discs.

When I seek to a new timestamp mpv only shows the new timestamps. Is there any way to show the equivalent of show-progress,i.e., timestamps and percentage complete after seeking.

What was I supposed to edit in osc.lua again, so that it wont show the playlist when I play a new file. Is it possible with script-opts/osc.conf ?

>there's no keybind for going a single frame backwards
As in there's no default keybind that does this or you can't bind it yourself regardless?

demuxer-seekable-cache=yes
demuxer-max-bytes=2048MiB
demuxer-max-back-bytes=1024MiB

it was JEEEEEEEEEEB's fault all along

ffmpeg filters are not mutually exclusive from hardware, you just have to use a -copy version of the hardware decoder

Where can I find a windows binary of mpv-project?

the future is non binary sweetie

I tried it once but I couldn't figure out how to stream youtube using it so I went back to regular mpv.

Is this the IINA of windows?

no, it is even better.

Attached: mpvnet.png (256x256, 8K)

...

That would be Baka Mplayer/Mochi Player.
Sadly its dead. Although, u8sand said that he will eventually come back and restart Mochi Player development.

How can I make profile-specific shaders? Looking for something like this:
# global
glsl-shaders-apppend="shader.glsl"

[profile1]
glsl-shaders-append="shader1.glsl"
glsl-shaders-remove="shader2.glsl"

[profile2]
glsl-shaders-remove="shader1.glsl"
glsl-shaders-append="shader2.glsl"

You remove line 1694 and 1709 from the latest osc.lua.
Man the latest osc.lua completely disables the osc in mpv.net.
I hope stax fixes this.

glsl-shader="~~/Shaders/SSimSuperRes.glsl"
[shaderprofile]
glsl-shader="~~/Shaders/FSRCNNX_x2_8-0-4-1.glsl"
glsl-shaders-clr="~~/Shaders/SSimDownscaler.glsl"

You need to make a lua script where instead of showing timestamps, it will execute show-progress after seeking.

Nevermind, latest libmpv fixed that

The latter.

Awesome. How can I prevent glsl-shader from being appended multiple times? I have an apply-profile keybind, and after pressing it multiple times I get more and more passes of the same shader.

what's the best way to find subtitles?
currently using mpv.net and I doesn't have a built in subtitle finder like vlc

You could use glsl-shaders-toggle

Try something like this in input.conf
a change-list glsl-shaders toggle "~~/Shaders/adaptive-sharpen.glsl"

Hope wm4 and haasn will come back and be friends again. :(

It's still WIP (in fact, I have started just a few minutes ago and I'm trying different options and values as we speak), but here's what I'm trying to do:
[no-anime]
deband-grain=48
deband-iterations=1
deband-range=16
deband-threshold=64
glsl-shaders-clr="~~/shaders/adaptive-sharpen.glsl"

[anime]
deband-grain=0
deband-iterations=1
deband-range=12
deband-threshold=128
glsl-shader="~~/shaders/adaptive-sharpen.glsl"

a apply-profile no-anime; show-text "Profile: Default"
A apply-profile anime; show-test "Profile: Anime"

I *could* just go with
a change-list glsl toggle ...; cycle-values deband-grain 48 0; cycle-values ...

But that'd be unreadable and unmaintainable.

glsl-shaders-clr will clear the entire list and won't just remove a single shader. del is used to remove specific list items.
See mpv.io/manual/master/#list-options

What would be a good profile for something like a 1050 Ti?

I know this is true for mpv, but how to choose it with VLC?

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

github.com/DavidDeprost/mpv-autosub
github.com/AssrtOSS/mpv-assrt
github.com/vayan/autosub-mpv/blob/master/autosub.lua
github.com/demanuel/dessubdb/blob/master/mpv.lua
github.com/directorscut82/find_subtitles
github.com/wiiaboo/mpv-scripts/blob/master/subit.lua
github.com/zenyd/mpv-scripts

Why use MPV?

VLC is all you need.

Attached: 1559676135068.jpg (700x426, 74K)

bump

Any good guides for ffmpeg's postprocessing filters?

Full vulkan based when?

They are all shits, use shaders!

I know, but I don't know any postprocessing shaders.

>a clean 47,000 commits
nice

Attached: 1539356029722.jpg (1447x2047, 880K)

new meme

Attached: 1563125827288.jpg (300x300, 28K)