/mpv/ - the Sup Forums media player

> windows builds:
- bitbucket.org/rorgoroth/mpv-for-windows/downloads
- mpv.srsfckn.biz

> user shaders:
- gist.github.com/igv
- gist.github.com/voltmtr

> low preset:
vo=opengl:deband:blend-subtitles
hwdec=auto-copy
ytdl-format=bestvideo[height

Other urls found in this thread:

github.com/mpv-player/mpv/blob/master/TOOLS/lua/autocrop.lua
i.imgur.com/LFuZzQV.png
nightlies.plex.tv/public-test/plexmediaplayer/public-testing/latest/
trac.mpc-hc.org/ticket/5856
addons.mozilla.org/firefox/addon/watch-with-mpv/
gist.github.com/Zehkul/25ea7ae77b30af959be0
gist.github.com/Shudouken/3796ec60ebd6d42f5d00
twitter.com/AnonBabble

How to detect and remove black bars automatically on windows with mpv?

I don't know why latest release crashes on my windows.
This is the same with latest kodi krypton release. :(

Anyway to limit the scale of upscale?

For example, I want 480p video to only upscale 2-3x to 1080, not 4k.

I want 720 to only upscale to 1080 or 1440p not 8K


How do I limit upscale? This is mainly an issue when I watch a shitty low quality 360p video and it upscale it all the way up to 1440 or higher. This takes up so much gpu/computation as a result and starts framedropping

What do I need to add to the mpv.conf to stop it automatically from closing after a video playback has ended?

keep-open

cropdetect.lua

Which is the best?
vo=opengl-hq
or
vo=opengl-hq:scale=ewa_lanczossharp:linear-scaling=no:sigmoid-upscaling=no

>This is mainly an issue when I watch a shitty low quality 360p video and it upscale it all the way up to 1440 or higher. This takes up so much gpu/computation as a result and starts framedropping
Upscaling 360p to 1440 is significantly easier than upscaling 1080p to 1440p

>Anyway to limit the scale of upscale?
Making your window smaller would be the easiest way

Subjective but I think I would prefer the latter. Stupid comparison though

Can't find it. :(
That is autocrop.lua script but it doesn't work. :(

I need to remove black bars entirely.

>Upscaling 360p to 1440 is significantly easier than upscaling 1080p to 1440p

I upscale my anime (or a regular movie) from 720p 600MB source mkv to 1440p and there's no frane drops and plays smoothly.

I try doing the same with 20 mb 360p shit quality youtube video with the same shader/setting and frame drops everywhere and laggy shit.

So you're wrong on that one. Note, I use SuperRes/AdaptiveSharpen and that seems to be the biggest drain on resource when upscaling a 360p to 1440p. Disabling those work out fine, but having to change back and forth makes it annoying.

I could do windowed mode, but thats simply a workaround not a proper solution. I want to see a a scale limit option if its possible.

>That is autocrop.lua script but it doesn't work. :(
Works fine for me

>I try doing the same with 20 mb 360p shit quality youtube video with the same shader/setting and frame drops everywhere and laggy shit.
PEBCAK

whatever you like more

It really removes all the black bars on your computer?
Do you increase default options?

>It really removes all the black bars on your computer?
yes

>Do you increase default options?
no

Give me your video and .lua file
and I'll check if it works for me

I am guessing you have to enable the lua file on the conf as well did you do that?

...

>Give me your video
I don't have any specific examples on me

>and .lua file
github.com/mpv-player/mpv/blob/master/TOOLS/lua/autocrop.lua

>I am guessing you have to enable the lua file on the conf as well did you do that?
No, scripts are loaded automatically if they're in the right directory

>So you're wrong on that one.
just measured it, 22% GPU usage playing 480p. 30% GPU usage playing 1080p

You mean to make a video that's 4:3 not have black bars?

cus I just tried it and it also gave me black bars

It sounds like you're confused. Maybe you should read the description of what autocrop.lua is and how to use it

Damn, I need something that remove black bars and zoom the picture.

If I buy the new RX 480 would it bring a much smoother h264 and h265 video playback?

that depends on what you currently have

If you play the window in windowed mode (not fullscreen), does it still have black bars?

underdefined question

I am guessing, it crops your videos?
if so it is working for me, just use shift + c or c

Reference 7950. Its getting loud with its fans curving up. Without the fan speed turned up, it gets hot as fuck.

So I'd assume the playback would be quite good with RX480

No.

Then the video does not have black bars and so autocrop.lua will do nothing

OK but is there something like madvr's zoom control.

Playback will be no different, your 7950 can already play H.264 video perfectly smooth.

What memes have you been inhaling?

I honestly want to help the guy with the crop thing, but at this point unless he posts a video of what the fuck he is talking about I won't understand what he wants.

>example
i'm pretty sure they mean a video like this?

he wants to cut off top and bottom parts of his monitor/tv, his display is wider than his video

...

Is there a lua script that sets appropriated panscan value to "remove" black bars?

>>I need to remove black bars entirely

The black bars are inherent to the movie you fucking retard because you're not using a 21:9 display.

Yes I know I lost contents but I have a too small tv and black bars are cancers.

It works fine on my script. I'm using autocrop lua.

Just had to shift+C to crop it manually. I'm sure there are other ways to crop it automatically.

I get this shit without even using the lua script?

i.imgur.com/LFuZzQV.png


I am 100% certain he is trolling now.

60% CPU USAGE
i5 3570k at 4.2ghz

Only happens when fullscreen on windows

vo=opengl-hq:interpolation:tscale=oversample:cscale=ewa_lanczossharp:scale=ewa_lanczossharp:user-shaders="~~/shaders/AdaptiveSharpen.glsl":

Why such high cpu usage?

probably hevc or vp9 video

it's a .mkv

^^'

So how do I enter settings or is this some kind linux faggotry were you have to type everything in cmd commands?

mkv is a container, hevc/vp9 are video codecs

yeah either that or write the commands you want in a .conf file

>.conf file

?

I dont see it

make one in a notepad and save it as mpv.conf

> /mpv/ - the Sup Forums media player
Don't insult mpv.

>disable scaling if image size changes by only
scaler-resizes-only
>move subtitles
sub-use-margins / ass-force-margins
>automatically detect hard coded black bars
autocrop.lua
>if black bars change ...
meaningless since autocrop is bound to a keybinding
>notify media player
meaningless, mpv is the media player
>always shift the image
video-align-x/y
>keep bars visible if they contain subtitles
meaningless for autocrop
>cleanup image borders
>if there are big black bars
see cropdetect docs
>zoom small black bars away
I don't understand this one
>crop black bars
I don't understand this one. what else would it do?

>Native Resolution: 1920 x 800
looks fine to me

...

Looks like the bitbucket build.
The full package are the ones with long dates, the "latest" archives are for the updater script and dont come with a mpv/input conf for obv reason (not to overwrite what is there).

/mpv/ - the Sup Forumsentoo media player

Can I bind a key to minimize the player? If yes, what's the command?

I tried this windows plex build:
nightlies.plex.tv/public-test/plexmediaplayer/public-testing/latest/

The player (based on mpv) works without crash.
So why does the latest rorgoroth's build crash?

do you need to have plex pass for this?

Also, I think it's different version or whatever, more stable.

What kind crash?

If I'm using backend=dxinterop and video-sync=display-resample my mpv freezes upon pressing alt+shift. I'm in need to change input languages from time to time, so this is pain in the ass.

Alt+Shift ignore
Shift+Alt ignore
Alt ignore
Shift ignore

is not helping at all. Is this some dxinterop bug?

>MPC-HC with WASAPI Exclusive
>Popping noise

>mpv with WASAPI Exclusive
>No popping noise


What the fuck?

MPC-HC in charge of using Windows APIs correctly

Since you're asking, I assume you're on windows - so try windows+m (for minimize)?

trac.mpc-hc.org/ticket/5856
>When using the Internal Audio Renderer in WASAPI Exclusive mode, I've noticed that MPC-HC does not bypass the Windows mixer, but rather obeys it.


mpv is a better windows video player than mpc-hc. top fucking kek.

>mpv devs answer bug tickets on GitHub within a day
>MPC-HC devs never answer

HMMMMMM..........................

No plex pass, but you need to install plex server first.

I see there's a new bitbucket build. Unfortunately, there is no changelog.
Do someone know what have been changed in the new build ?

Does move automatically down mix 5.1/6 channels to 2 or do I have to use the down mix command in the config? When I use the command it makes the volume lower and I'm not sure if it even sounds differently.

mpv --version

Look at the git commit hash, go to mpv github and look for it and see what's new lately.

Will there ever be MPV on Android? It would probably dominate as best video player

New SSSR version with oversharpen option!
Did anybody try it already?

Ouch SSSR doesn't look well with animes. ;)

mpv (stable): very good except no user-shaders
mpv (rorgoroth): direct crash* when fullscreen
mpv (sourceforge): green screen + crash* when fullscreen

*popup say me something went wrong and ask me to kill mpv

streamstudio + mpv + youtube-dl = amazing

kodi + quasar + mpv + vapoursynth = awesome

I it possible to bake mpv into firefox so i can watch stuff on youtube with it?

addons.mozilla.org/firefox/addon/watch-with-mpv/

What the differences between jinc, ewa_lanczos and madvr's jinc?

That just opens the player in another window.

Yes it's awesome!

Win+R, %appdata%, press enter, make a new folder called "mpv" and put "mpv.conf" and input.conf" in there.

Also you don't need the ca-bundle.crt file at all

Why doesn't memepv support alpha-transparency on gifs? It's a nice program for my webm and gifs.

????

mpv+mozplugger

Since user-shaders, there are only doom9's ports...
Why are you not creating new stuffs? Where is the SuperHaasn algo?

I have "mpv application has stopped working" error when I press the "f" key.
This is with the latest sourceforge and rorgoroth's builds.
Why are there 2 more dll files in these releases?

run mpv in console to capture what is failing:
mpv -v input.mkv > log.txt

This is good to know!

figured you mpv fellers might know...

running lubuntu 16.04 + chromium 51/firefox 46

how do i disable autoplay on xhamster and for/on other porn sites so i can play videos in/with mpv instead?

>tfw installed KCP for the first time on my shitty 5 year old laptop on lowest tier settings and playback is much smoother than mpv
Guess shitty hardware goes better with MPC, I'll still use mpv for streaming though.

>Why are there 2 more dll files
the sourceforge one doesnt need the extra dlls since its ANGLE libs statically linked with mpv

Bump

>jinc
a mathematical function

At its simplest, jinc(x) = j1(x)/x where j1 is a bessel function

>ewa_lanczos
an image filter that uses 2D interpolation with the polar jinc function to interpolate a discrete signal

>madVR's jinc
same as above

>Since user-shaders, there are only doom9's ports...
I'm not making any of these ports, random people are. And I created user shaders simply so these random people would just port their stupid shaders instead of bothering me

>Why are you not creating new stuffs?
I want to focus more on HDR support, tonemapping, embedded ICC profiles etc. since that is an area where I see improvement.

>Where is the SuperHaasn algo?
What would it do? ewa_lanczos is already essentially perfect. Apart from tweaking the windowing function, radius and blur factor of the kernel there's not a whole lot of improvement to be had.

With regarding to both of those conversion scripts.
Is there any fundamental different between them?

gist.github.com/Zehkul/25ea7ae77b30af959be0

gist.github.com/Shudouken/3796ec60ebd6d42f5d00

Also do they support converting files that are hosted over HTTP?

So /mpv/ I am looking to buy a 4k 27" monitor with AMD Freesync for tearing free movie watching as well as office work.

I have been looking at the LG 27UD68P-B and wanted to hear your opinion on that particular monitor. It is IPS, 60Hz 4K with 8+2 bits color depth.

To relate this to mpv: Can I use the Freesync capabilities with the autospeed.lua script to eliminate the need for interpolation?

mpv has zero support currently for freesync/gsync. None of the devs have a monitor to test it with