Topic: mpv based video players for Windows

SVP 4 Pro 4.0.0.72 supports mpv 64-bit via Vapoursynth FRC engine.

Quick start

1. install these packages:
- [VPS_64] Core for Vapoursynth 64-bit
- [VPS_64] mpv video player

2. open the video file via SVP Manager


Video players
- mpv
- SMPlayer - a GUI for mpv
- Plex Media Player - replace mpv-1.dll with the one from "[VPS_64] mpv shared library" package
- ...


mpv setup

RTFM

Re: mpv based video players for Windows

Thanks for the heads up Chainik.

Quick question:

What are the advantages and disadvantages in your opinion?

Re: mpv based video players for Windows

What are the advantages and disadvantages in your opinion?


I want to hear this as well.


I think there's a performance advantage with MPV, but you can't use MadVR or ReClock with it atm.

Re: mpv based video players for Windows

Vapoursynth is just a way more efficient and stable than Avisynth when it comes to multi threading and 64-bit support.

Re: mpv based video players for Windows

Blackfyre wrote:

What are the advantages and disadvantages in your opinion?

>64-bit via Vapoursynth FRC engine.

Re: mpv based video players for Windows

Blackfyre wrote:

What are the advantages and disadvantages in your opinion?

No madVR. sad

Re: mpv based video players for Windows

> No madVR

Software scalers: https://mpv.io/manual/master/#software-scaler

Video output drivers: https://mpv.io/manual/master/#video-output-drivers
opengl:  search for "superxbr", "nnedi3" and others

===

mpv can do whatever every other player can (and even more)
but its configuration just "a little bit" complicated big_smile

so SMPlayer is a good option to start with mpv wink

Re: mpv based video players for Windows

What about 32bit, in SVP 4.0.0.72 does it use VapourSynth or AviSynth?

Re: mpv based video players for Windows

there're three different paths on Windows now:

1. ffdshow32 + Avisynth 2.6 + any DS player
2. ffdshow64 + Avisynth+ x64 + any DS player
3. vapoursynth64 + mpv

I know it's confusing...

Re: mpv based video players for Windows

Chainik wrote:

> No madVR

Software scalers: https://mpv.io/manual/master/#software-scaler

Video output drivers: https://mpv.io/manual/master/#video-output-drivers
opengl:  search for "superxbr", "nnedi3" and others

===

mpv can do whatever every other player can (and even more)
but its configuration just "a little bit" complicated big_smile

so SMPlayer is a good option to start with mpv wink

Down the mpv rabbit hole I go smile


Unfortunately, despite following the setup guide, both MPV and SMPlayer do nothing but crash now, and I can't even find crash logs sad.

Re: mpv based video players for Windows

mpv.exe depends on vapoursynth.dll depends on python 3.5 and vc++ 2015 redist

12 (edited by brucethemoose 20-03-2016 00:51:59)

Re: mpv based video players for Windows

Chainik wrote:

mpv.exe depends on vapoursynth.dll depends on python 3.5 and vc++ 2015 redist

I assume the SVP setup program installed vapoursynth, but I installed the other dependencies already. I re-installed Python and VC++ just to be sure.


Interestingly, SVP doesn't seem to detect MPV (the .exe in the SVP's "mpv64" folder) with normal videos, and it just crashes when I try to play a DVD. SMPlayer just crashes either way.

Re: mpv based video players for Windows

Chainik wrote:

there're three different paths on Windows now:

1. ffdshow32 + Avisynth 2.6 + any DS player
2. ffdshow64 + Avisynth+ x64 + any DS player
3. vapoursynth64 + mpv

I know it's confusing...

I've completed all three paths big_smile
but with #1 is ffdshow32 + Avisynth+ x86 + any DS player

The nice thing about third option is, I don't have to install mpv, vapoursynth and python 3.5. Download the zips, extract it, and play it  wink
The VC runtime needed is already available in my case (not sure when I installed it lol )

Re: mpv based video players for Windows

> I assume the SVP setup program installed vapoursynth

It uses the "portable" versions of both Python and Vapoursynth, so mpv.exe should work from the mpv64 folder only.
BUT those "portable" versions lack VC++ 2015 libs - this' why it have to be installed separately. SVP setup should do this automatically - but, well, "shit happens" big_smile

Re: mpv based video players for Windows

Got it working! Instead of copying the file, under "general", I just set the MPV directory to the one in the SVP folder... DVD playback still doesn't work, but whatever roll


Anyway, you're right, there is a huge performance boost with Vapoursynth.

16 (edited by Blackfyre 20-03-2016 18:29:54)

Re: mpv based video players for Windows

So just to be clear I download MPV from the official site here:

https://mpv.srsfckn.biz/

Then download and install smplayer-16.1.0-x64.exe from the official site:

http://www.smplayer.eu/en/downloads

Then use SMPlayer.

Anything special I need to do regarding changing directory or something mentioned up top?

Also you should make this thread into a sticky Chainik, but up to you smile

Thank in return.

EDIT: I just ran the maintenance tool for SVP and clicked ADD features and realised everything is there to be ticked as extra downloads. I've done that. I just need to download SMPlayer now. Thanks.

EDIT #2: There is no mpv.exe in the download section of SVP download page on the website.... Where it says I need to download special version of MPV from here.

EDIT 3: Don't worry again haha, I went preferences in SMPlayer, general section, and changed the directory for mpv.exe from the one in SVP 4 folder in program files that got downloaded as one of the addons from edit 1.

Re: mpv based video players for Windows

Finally got working mpv with Kodi. Since kodi uses old as shit python 2.7 mpv needs python 3.5+vaporsynth in same folder (aka portable).

1) Kodi ds player (http://forum.kodi.tv/showthread.php?tid=223175)
2) win+r -> %APPDATA%\mpv\ -> Ok -> create file mpv.conf

save-position-on-quit=yes
input-unix-socket=9911
hwdec=dxva2-copy
vo=opengl-hq
ao=wasapi
priority=abovenormal

3) win+r -> %appdata%\Kodi\userdata\ -> Ok -> create playercorefactory.xml (check PATH)

<playercorefactory>
 <players>
   <player name="MPV" type="ExternalPlayer" audio="false" video="true">
     <filename>C:\Program Files (x86)\SVP 4 Dev\mpv64\mpv.exe</filename>
     <args>"{1}"</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
   </player>
 </players>
 <rules action="prepend">
   <rule filetypes="*" filename="*" player="MPV"/>
 </rules>
</playercorefactory>

Re: mpv based video players for Windows

dlr5668 wrote:

Finally got working mpv with Kodi. Since kodi uses old as shit python 2.7 mpv needs python 3.5+vaporsynth in same folder (aka portable).

Good info

Also, be sure you're using the newest DSPlayer, which isn't the one in the OP:

http://forum.kodi.tv/showthread.php?pid … pid2275141

Re: mpv based video players for Windows

"official" mpv.exe won't work!

...cause it was built w/o Vapoursynth AND doesn't support "input-unix-socket" feature

Re: mpv based video players for Windows

Blackfyre wrote:

So just to be clear I download MPV from the official site here:

https://mpv.srsfckn.biz/

Then download and install smplayer-16.1.0-x64.exe from the official site:

http://www.smplayer.eu/en/downloads

Then use SMPlayer.

Anything special I need to do regarding changing directory or something mentioned up top?

Also you should make this thread into a sticky Chainik, but up to you smile

Thank in return.

EDIT: I just ran the maintenance tool for SVP and clicked ADD features and realised everything is there to be ticked as extra downloads. I've done that. I just need to download SMPlayer now. Thanks.

EDIT #2: There is no mpv.exe in the download section of SVP download page on the website.... Where it says I need to download special version of MPV from here.

EDIT 3: Don't worry again haha, I went preferences in SMPlayer, general section, and changed the directory for mpv.exe from the one in SVP 4 folder in program files that got downloaded as one of the addons from edit 1.


Ya, thats the way to do it. Just moving the .exe didn't work for me.

21 (edited by Blackfyre 20-03-2016 18:54:41)

Re: mpv based video players for Windows

Wow the performance difference is noticeable, and is it me or is there even LESS artifacts using the vapoursynth64 + mpv + SMPlayer option.

I wish I could use madvr to improve picture quality, that's the only option I am missing right now. If the vapoursynth64 method becomes compatible with MPC x64 and madvr (or MPDN) that would be brilliant.

Re: mpv based video players for Windows

> I wish I could use madvr to improve picture quality

https://mpv.io/manual/master/#video-output-drivers

prescale-luma=<filter>
- superxbr
- nnedi3

scale=<filter>
- spline36: Mid quality and speed. This is the default when using opengl-hq.

Re: mpv based video players for Windows

The special mpv is in C:\Program Files (x86)\SVP 4\mpv64

That being said, mpv/vapoursynth performance is poor. Do I need to enable hwaccel?

I've also noticed that the 64-bit SVP engine has improved dramatically since it debuted.

Re: mpv based video players for Windows

> Do I need to enable hwaccel?

hwdec=dxva2-copy
vo=opengl-hq

is a good point to start with

Re: mpv based video players for Windows

Chainik wrote:

> I wish I could use madvr to improve picture quality

https://mpv.io/manual/master/#video-output-drivers

prescale-luma=<filter>
- superxbr
- nnedi3

scale=<filter>
- spline36: Mid quality and speed. This is the default when using opengl-hq.

So just to be clear, this is how I set scaling in SMPlayer right?

http://imgur.com/SCMC8fn