Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with another version of mpv instead of the builtin mpv? #12

Open
Kabouik opened this issue Aug 18, 2020 · 0 comments
Open

Build with another version of mpv instead of the builtin mpv? #12

Kabouik opened this issue Aug 18, 2020 · 0 comments
Assignees

Comments

@Kabouik
Copy link

Kabouik commented Aug 18, 2020

Describe the bug
Since Stremio 4.0, Stremio comes with its own builtin version of libmpv. This prevents using a custom built version of mpv, for instance to allow extra ffmpeg audio filters or video interpolation with vapoursynth.

This was possible in the past: one could just edit /opt/stremio/server.js to edit the path to the mpv binary, and then write-protect server.js to prevent it from auto-updating. This allowed me to use libmysofa and 60 FPS interpolation with Stremio when opening the streamed file in mpv, which was really awesome.

It does not work anymore with later Stremio versions, probably due to the inclusion of the builtin libmpv. I can no longer enforce Stremio to use a different mpv binary. Even when stremio.js is edited accordingly, whenever I launch Stremio from terminal, I can see that it is using another mpv version built at an "UNKNOWN" date, and it is not /usr/bin/mpv nor /usr/local/bin/mpv.

The inability to use custom mpv version with its own mpv.conf and additional libraries is a major regression, it defeats the point of the whole external player feature. I reported the issue months ago on the Stremio subreddit but didn't get any answer, so I am wondering if you would know if it can be modified when compiling using your scripts?

To Reproduce
Steps to reproduce the behavior:

  1. Start streaming a file
  2. Open it in mpv as external player
  3. Alternatively, alter stremio.js to use the path to another version of mpv (for instance, mpv-git built from the the mpv-git repository)
  4. See Stremio either failing to open mpv or using its builtin version

Expected behavior
Stremio should be able to use a real external player, not a builtin external player that cannot be customized or even configured with mpv.conf.

Please include the following:

  • Solus 4.1
  • Mater branch, but I am not reporting a Stremiio-Install-Scripts bug, rather asking if this can be enhanced to support custom mpv installations
@Kabouik Kabouik changed the title Build with another version of mpv instead lf the builtin mpv? Build with another version of mpv instead of the builtin mpv? Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants