/mpv/ - the Sup Forums media player

>windows builds:
mpv.srsfckn.biz
bitbucket.org/rorgoroth/mpv-for-windows/downloads
sourceforge.net/projects/mpv-player-windows/files/
videohelp.com/software/SMPlayer

>scripts and shaders:
github.com/mpv-player/mpv/wiki/user-scripts

>picture with jinc/ewa_lanczos scalers
>your intel hd4000 is enough
miku.hatsune.my/mizuha/runningman_312_jinconly.png

>picture with nnedi3, doubling and super-res
>you need an amd fury x or nvida titan
miku.hatsune.my/mizuha/runningman_312_highendpreset.png

Other urls found in this thread:

github.com/mysteryx93/AvsFilterNet/blob/master/MedianUpscaler/MedianUpscaler.cs
github.com/cmdrkotori/mpc-qt
gist.github.com/igv
github.com/bjin/mpv-prescalers/tree/master
snip/file.mkv
github.com/xbmc/xbmc/blob/master/xbmc/cores/VideoPlayer/VideoRenderers/LinuxRendererGL.cpp#L887
mpv.io/manual/master/
pastebin.com/raw/FzCX9QwM
github.com/mpv-player/mpv/wiki/User-Scripts
mpv.io/manual/master/#options-alang
mpv.io/manual/master/#track-selection
github.com/donmaiq/mpvconfigs/blob/06767538427429872ea10789e1721d1b77a1ff26/scripts/subs.lua
mpv.io/manual/master/#configuration-files
twitter.com/NSFWRedditGif

github.com/mysteryx93/AvsFilterNet/blob/master/MedianUpscaler/MedianUpscaler.cs
Is it better than linear upscalers?

Are official/unofficial mpc-qt builds for windows planned?
github.com/cmdrkotori/mpc-qt

Is he dead or something?
gist.github.com/igv

the gui looks shit. no wonder people ignore it

Still better than alternatives!

...

>haasn
>doesn't use superxbr
>github.com/bjin/mpv-prescalers/tree/master
>particularly, major part of superxbr was rewritten by @haasn

For me a gui is more about gui features than general look.

thanks again to the user who made my mpv look like this

Same.

I found that using ffmpeg's lutyuv for gamma correction preserves shadow detail better than mpv's built in gamma correction. I also made it do blackpoint/whitepoint adjustment with little additional CPU cost, which is much more intuitive than brightness/contrast adjustment.

Eg.
YMIN=257; YMAX=3761; BLEVEL=120; WLEVEL=3900; GAMMA=1.3; mpv "--vf=lavfi=[format=yuv420p12,lutyuv=y=pow((clip(val*(($WLEVEL-$BLEVEL)/($YMAX-$YMIN))-((($YMIN*$WLEVEL)-($YMAX*$BLEVEL))/($YMAX-$YMIN))\,$YMIN\,$YMAX)-$YMIN)/($YMAX-$YMIN)\,1/$GAMMA)*($YMAX-$YMIN)+$YMIN]" file.mkv

Pick the right values of YMIN and YMAX for you colorspace, these are correct for yuv420p12. BLEVEL and WLEVEL can be moved according to preference to trade off dynamic range for clipping.

Any way to adjust ffmpeg filter parameters at runtime?

what chess vid is that?

Terrible Games Analyzed from STLChessClub on YouTube. I recommend anything from Mike Kummer on that channel - he's so funny

Okay, I just installed mpv last night to watch a really high quality rip of Fury Road because anytime I tried to watch it in vlc, something would go wrong... Crash, video and audio so very slightly out of sync but just enough to be perceptible and infuriating, etc.

pacman -Syu
pacman -S MPV

Pure fucking bliss straight oob.

So my question is this: are there any settings or tweaks you guys recommend on a 16:9 display (I mean 1600*900 ... Doesn't get more 16:9 than that) for high def video enjoyment? Most of my files are 1080p because I watch them on my TV, but I'm wondering if there's any cool settings that the average normies would never know about that will knock my socks off?

yes, pacman -Rcs mpv

uninstall linux, for starters

Hurrrr

That's really clever. Excellent way to get more people to use mpv and drag it out of obscurity.

guys how do i seek frame by frame on mpv?

The most important MPV feature, which no other player has, is video-sync=display-resample. For best results set your monitor's refresh rate to an integer multiple of the video frame rate. Don't give up if your monitor doesn't report such a rate in the EDID, it still might sync with a custom modeline! And if it really doesn't, and you can't afford a different monitor, in that case and that case only, it is acceptable to turn on interpolation in an attempt to hide the problem as much as possible.

You're an idiot who doesn't know how his fucking package manager works.
Why do you think anyone should pander to your stupid ass?

For what purpose? What would any other OS offer in the way of benefits that Linux does not, that would actually matter to me?

Not into vidya, I don't use Photoshop, all I do is premed coursework and watch Netflix and movies I download. For those tasks, my laptop and kindle fire with Linux and Android, respectively, are more than sufficient

, and .

>which no other player has
>what is madvr

thank you my man

I know how pacman works just fine. If you don't update your sources and your currently installed packages before installing new packages, that's how shit breaks and the retarded "hurrr arch breaks X" meme happens.

Thank you, for both offering some useful advice and *not* acting like an idiot child.

Only has static rate control.

Do you niggers know how I can pipe data from wget to mpv?

Right now I'm doing
wget snip/file.mkv --user=user --password=password

mpv file.mkv

Is there a way I can use a command like

wget snip/file.mkv --user=user --password=password | mpv

So I can play the file directly into mpv without needing to store the data on my local disk?

mpv --ytdl-raw-options=username=user,password=pass snip/file.mkv maybe

Try curl instead of wget, curl will output to stdout if you don't specify a file name. And mpv will read stdin with - for filename.

what config?

>which no other player has
Bullshit.

So name one other which has it. No half-assed static rate control, the real thing (PTS correction, dynamic audio resampling).

reclock
kodi
ffplay

post configs

##################
# video settings #
##################

# Specify default video driver (see --vo=help for a list).
vo=opengl-hq:backend=x11:icc-profile-auto:temporal-dither:scaler-resizes-only:blend-subtitles
hwdec=vaapi
video-sync=display-resample

audio-channels=stereo

# force starting with centered window
geometry=50%:50%

# don't allow a new window to have a size larger than 90% of the screen size
autofit-larger=90%x90%
loop-file=inf
pause
mute

##################
# audio settings #
##################

softvol=yes
softvol-max=200

audio-channels=2

##################
# other settings #
##################
# Window title
title="${path}"

#ytdl=yes
#save-position-on-quit
keep-open

#video-unscaled
#video-zoom=

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

sub-text-font="Source Sans Pro Semibold"
sub-text-font-size=50
sub-text-margin-y=30
sub-text-color="#FFFFFFFF"
sub-text-border-color="#FF262626"
sub-text-border-size=3.2
sub-text-shadow-offset=1
sub-text-shadow-color="#33000000"
sub-text-spacing=0.5

#############
# OSD Rice #
#############

#script-opts=osc-layout=bottombar,osc-seekbarstyle=bar

#osd-playing-msg='${filename}'
#osd-duration=2000
#osd-font="Source Sans Pro Semibold"
#osd-font-size=35
#osd-color="#ffffffff"
#osd-border-color="#ff262626"
#osd-border-size=2
#osd-shadow-offset=1
#osd-shadow-color="#33000000"
#osd-scale-by-window=yes

# Webm
[extension.webm]
loop-file=inf

# GIF
[extension.gif]
loop-file=inf

Those are just static rate control. MPV had that with Lua scripts long before display-resample. It's like Higan vs. RetroArch.

>highendpreset.png
Why waste all that GPU power on enhancing the artifacts?

>wasting GPU on video rendering at all
shit is pointless on a high end monitor.

>shit is pointless on a high end monitor.
What are you talking about? mpv does almost everything on GPU.

Im saying having ridiculously high end filters just to see some barely noticeable improvement(needlessly taxing the GPU) is pointless

Still gives me a 401 error
thank you my dude shit is working now

Is mpv supposed to run on a raspberry pi?

Tried installing it on mine to use as an htpc but mpv shits itself every time I try to play an h.264 mkv file it shits itself and plays at 1 frame every 2 seconds

This is the console output of opening a fileWarning: mpv was compiled against a different version of libav than the shared |
library it is linked against. This can expose subtle ABI compatibility issues |
and can lead to misbehavior and crashes. |
Playing: Atomic Bomb - wide shot-qT4mSoZsbzM.mp4 |
[stream] Video (+) --vid=1 (*) (h264) |
[stream] Audio (+) --aid=1 --alang=und (*) (aac) |
File tags: |
major_brand: mp42 |
minor_version: 0 |
compatible_brands: isommp42 |
creation_time: 2016-08-13 00:59:49 |
[vo/opengl] Missing OpenGL features: [NO_SW] |
[vo/opengl] Rejecting suspected software OpenGL renderer. |
[vo/opengl] OpenGL context creation failed! |
[vo/vdpau] Error when calling vdp_device_create_x11: 1 |
[vo/xv] No Xvideo support found. |
[vo/sdl] Using opengl |
AO: [alsa] 44100Hz stereo 2ch float |
VO: [sdl] 1280x720 => 1280x720 yuv420p

Prove you don't need expensive gpu and nnedi3 like shits!

Just tried compiling ffmpeg and mpv from source, but now this is all I get and no video shows:
Playing: /home/pi/Atomic Bomb - wide shot-qT4mSoZsbzM.mp4
(+) Video --vid=1 (*) (h264)
(+) Audio --aid=1 --alang=und (*) (aac)
AO: [alsa] 44100Hz stereo 2ch float
Using hardware decoding (rpi).
VO: [rpi] 1280x720 mmal
[vo/rpi] Could not create EGL surface!
[vo/rpi] EGL/GLES initialization for OSD renderer failed.
Could not initialize video chain.
Video: no video
A: 00:00:01 / 00:00:53 (2%)

Is there an easy way of removing the < > [Title] bar from the bottombar layout?
I don't see anything in the manual and it just gives me useless info that takes up space

Come back when you can speak English.

Can't find any good translator on internet!

Oh my god! No Jinc inside Kodi! Why?
Is it correct now?

They are too lazy to do it!
github.com/xbmc/xbmc/blob/master/xbmc/cores/VideoPlayer/VideoRenderers/LinuxRendererGL.cpp#L887

mpv newfag here, what do I need to get started?

read the manual. if you don't understand something, ask here.

Why the hell does anyone use MPV over VLC?

mpv.io/manual/master/

Why the hell does anyone use VLC over MPV?

I think I finally understoof the falseflagger motherfucker, holy fuck are you a fucking shill?

# Video settings

vo=opengl-hq:interpolation:tscale=oversample:backend=dxinterop

#Additional Video Settings
video-sync=display-resample
ytdl-format=bestvideo+bestaudio/best
hwdec=auto-copy

# Audio settings
volume=60
#audio-channels=stereo
#audio-normalize-downmix=yes
volume-max=150
alang=Japan,jpn,jp,en,eng,English

# OSC settings
script-opts=osc-layout=box,osc-timetotal=no,osc-minmousemove=0,osc-seekbarstyle=bar,osc-hidetimeout=200,osc-fadeduration=175,osc-deadzonesize=1,osc-vidscale=no,osc-scalefullscreen=1.6,osc-scalewindowed=0.8,osc-boxalpha=50,osc-valign=0.9,osc-seekbarstyle=slide

# OSD settings
osd-font="Geogrotesque Medium"
osd-font-size=40
osd-border-size=2
osd-spacing=1
no-osd-bar
#osd-scale-by-window=no #Make the OSD-FONT scale by window

# Subtitles
sub-text-font-size=55
sub-text-font="DINPro-Medium"
#sub-text-margin-y=40
sub-text-shadow-offset=1
sub-text-border-size=2.5
sub-text-color="#ffffffff"
sub-text-shadow-color="#82000000"
sub-text-border-color="#dc161616"
sub-auto=all # Load all additional subtitle files that contain the media filename
sub-paths=ass;srt;sub;subs;subtitles; # search for external subs in the listed subdirectories
sub-use-margins=no #subs on black bars
slang=English,eng,en,enUS,US

# Window settings
keep-open=yes
autofit=45%
geometry=-12-28

# Miscellaneous settings
save-position-on-quit
ontop
#log-file=log.txt
no-border

# Playback
[protocol.http]
#youtube-dl settings
no-resume-playback
#loop-file=inf

[protocol.https]
profile=protocol.http

[extension.gif]
loop-file=inf

[extension.webm]
loop-file=inf

[extension.wav]
loop-file=inf

>softvol=yes
softvol-max=200

audio-channels=2
Are you using an old version of MPV?

Are there any other alternatives to subliminal for mpv?

Disclaimer: I have no idea what the fuck I am doing but it works on my machine. I just dicked around changing numbers until it looked how I wanted.
pastebin.com/raw/FzCX9QwM

Save as osc.lua in scripts folder and add no-osc to mpv.conf and make sure you have it on bottombar layour.

Also I copied some shit off Sup Forums that makes it change color based on filepath/url. If you go on youtube it's red. You can add your own sites, or change it so if you play something that has anime in the filepath it's pink. The color is in BGR format (i don't know why). If you want to turn it off just ctrl+f youtube then delete the whole paragraph.

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

Nice, thanks m8

is there a hotkey that lets you minimize the window?

anyone had any success with a subtitle downloading script

oh wow asked just some posts above now that im reading the thread

have you tried this on windows? cant get it to work and i really fucking need to. i got autosub.lua working, but it crashes when i use it under kodi.

theres another one that also uses sublime but its not made for windows either

Okay, So, I've got my head against the wall here.

How the fuck do i get mpv to prefer the English audio channel? Pressing # To switch on my double track FLAC releases is annoying as hell.

I'm also confused as to how i can do this for Subs.

I've looked at the documentation and found nothing.

Am i retarded?

mpv.io/manual/master/#options-alang

>Am i retarded?
Probably
mpv.io/manual/master/#track-selection

Thank you.

maybe i need to make my post more hate filled.

How the FUCK can I easily minimize my mpv window? This is ESSENTIAL if I'm in borderless mode. Am I retarded? because there's absolutely no mention of it in the manual, nor does there seem to be any lua script that can accomplished this. how the fuck does it not have something so simple implemented? piece of shit mpv

it's your OS/window managers job
pretty much every OS has a keybind to minimize the window

You can't minimize mpv on borderless mode on windows.

Try this. It might need some tinkering with python path and whatnot but it used to work when i was on windows. Theres slice and peerflix too but they are rather hacky

github.com/donmaiq/mpvconfigs/blob/06767538427429872ea10789e1721d1b77a1ff26/scripts/subs.lua

Is this the ultimate media player?

yes

Android port when?

I'm tired of using VLC on my phone.

It's just a media player with a spline36 shader for chroma and luma upscaling and debanding by default! So nothing special. Now it's open-source and I think this is why people are so excited.

Is there a workaround for dxinterop and intel drivers?

Uhh guise,
where do i have to put the mpv.conf file?
Putting it to ~/.config/mpv/ doesn't seem to do anything for me?

that should be the right location

mpv.io/manual/master/#configuration-files

Are your drivers up to date? The drivers were supposed to have been fixed a while ago.

Maybe they're only fixed for Windows 10. I'm not sure.

Are there any builds that work on OSX Lion (10.7.5)? This machine is too old for an OS upgrade and using VLC is literal hell

It's weird because I have an hybrid amd/intel laptop and when I use dxinterop it crashes and reboots my laptop. I will retry today. I currently have the drivers provided by win10 updater.

Oh, you should have mentioned that. dxinterop is fucked on hybrid graphics (both Nvidia and AMD.) I don't expect it to work. I guess if you want to take drastic measures, you could try removing the AMD drivers, so only the Intel ones are present.

Watch anime ->MPC-HC>Shit>vomit>VLC>MPV

Can't you just compile it with brew install mpv?

Nope, I don't have the admin password for this machine.

Am I blind or there's no difference between these pics?

Wow you sure made me upset with that post.

>
>Nope, I don't have the admin password for this machine.
Are you sure you want to be messing with somebody else's machine?

Yes.

Then you can compile it from source and place the app in Applications rather than doing it from homebrew and symlinking.

I imagine you have already tried the prebuilds linked on mpv.io?

No you're not blind, there are almost no differences. The purpose of this comparison is to prove nnedi3/superres/doubling is fucking useless.

How do I use user scripts with windows mpv?

I can't find the instructions

Put them into a "scripts" folder!

No he just finished his ports!

Will there be a release on Android?

oh cool, I remember doing a windows build for this last time
lmao!

That is %appdata%/mpv/scripts

I have autoload.lua in this directory:
C:\Users\WIN\AppData\mpv\scripts

It doesn't seem to work
I feel like I'm missing something basic here