Topic: Emby theatre support

Hello guys!

First of all, thanks for this wonderful product that svp is. I love smooth playback ;-)

You support a lot of video players and Plex is included. I don't use Plex but Emby (https://emby.media), a serious competitor.

Would like to know if its planned to support there video player (Emby Theatre) which is based on MPV in it and if yes when we'll have a tutorial like Plex to enable SVP in it.

Re: Emby theatre support

Missed this one...

0. Set the very same PATH/PYTHONPATH env variables as for Plex --> run "SVP -> Utilities -> Set environment variables for VLC and libmpv"
1. Replace mpv.exe in %appdata%\Emby-Theater\system\x64\mpv
2. Add emby-pipe into SVP's main.setup.mpv_pipe list, restart SVP
3. Run Emby Theater, open Settings, goto Video section, set Hardware acceleration mode to Auto (copy back)

Post's attachments

emby-pipe.png, 31.62 kb, 719 x 421
emby-pipe.png 31.62 kb, 571 downloads since 2017-06-03 

Re: Emby theatre support

Thx a lot it works! It's very appreciated!

4 (edited by jscoys 18-11-2017 22:33:13)

Re: Emby theatre support

Nvm it’s working well ;-)

Re: Emby theatre support

Hi coming back,

Recently SVP failed to handle the 60 fps acceleration. It's saying it's playing in the tray icon but not mark appears at the bottom left of the screen when starting the playback and visually we see well it's not doing anything...

Can you help please?

Re: Emby theatre support

probably you updated Emby and it now uses "default" mpv w/o vaporsynth support

Re: Emby theatre support

Ok si concretely what I should change in the config IYO?

Re: Emby theatre support

> 1. Replace mpv.exe in %appdata%\Emby-Theater\system\x64\mpv

Re: Emby theatre support

I am unable to get this to work. I've followed all the instructions and have (I think) the same Emby settings as jscoys, but for me it doesn't work.

Re: Emby theatre support

I confirm the issue. We will look why it stop to work.

Re: Emby theatre support

Set Settings -> Video -> Hardware acceleration mode = Auto (copy back)

Re: Emby theatre support

Oops! Sorry, I miss this setting. I did it.
Now SVP works to me in Emby theater!

Re: Emby theatre support

How do I open or get to the system properties to change the enviroment variables?

Re: Emby theatre support

intelatominside wrote:

How do I open or get to the system properties to change the enviroment variables?

On Windows 7: Start, RC on Computer, Properties, then Find Advanced Properties on the left шт туц opened window. Then Variables button in the bottom right corner.

Re: Emby theatre support

... or just run "SVP -> Utilities -> Set environment variables for VLC and libmpv"

16 (edited by fyutins 16-08-2020 08:56:00)

Re: Emby theatre support

Hi, I'm trying to configure Emby Theater on Linux to work with SVP. I have also started a topic on Emby Community to get some help (https://emby.media/community/index.php? … -on-linux/)

So, I built mpv following these instructions (https://www.svp-team.com/wiki/SVP:Linux … om_sources)
and then I replaced /usr/lib/emby-theater/libmpv.so.1 with the one I built.
When I start a video from Emby Theater, the video starts well but the logs from MPV and SVP says that it "Could not initialize VapourSynth scripting."
It seems like Vapoursynth support is not available, but at the start of MPV logs, vapoursynth is in the list of enabled features.

Do you have any idea why it's not working ?

PS : If i'm using MPV directly without Emby theater, it works flawlessly !

Post's attachments

mpv-svp.log 49.22 kb, 99 downloads since 2020-08-16 

Re: Emby theatre support

> "Could not initialize VapourSynth scripting."

it means some problems with Python and/or Vapoursynth's python module, not with mpv itself
for example if Python is unable to find vapoursynth.so

Re: Emby theatre support

So when I'm using MPV directly it works. So to be sure which file it doesn't find, I removed /usr/lib/python3.8/site-packages/vapoursynth.so and rerun MPV. And by doing so, I get the exact same issue as with emby theater. It can't initialize vapoursynth scripting.

That means while I'm using emby theater, Python doesn't find /usr/lib/python3.8/site-packages/vapoursynth.so
That's strange because /usr/lib/python3.8/site-packages is in my sys.path

I'm thinking, maybe while using mpv via emby theater it does run another python version (I also have python 2.7 installed)

Do you know if there is something I can do to make the mpv logs more verbose ?

And by the way, thanks for your help wink

Re: Emby theatre support

Emby may set $PYTHONPATH to something else.

Re: Emby theatre support

So, I've uninstalled Python 2.7 and now Emby doesn't start the video so the issue is that Emby is using Python 2.7 and as far as I'm aware Vapoursynth needs Python 3.7.

I will ask on Emby forums if there is a possibility to change the Python version when running MPV