Stremio shell using WebView2/mpv, written in Rust
Find a file
2021-07-14 18:31:58 +03:00
src Error handling, renamed StremioApp to main window. Player functions 2021-07-14 18:31:58 +03:00
.gitignore initial commit 2021-07-05 19:33:54 +03:00
Cargo.lock File restructure. Working server 2021-07-13 17:34:59 +03:00
Cargo.toml Updated dependencies 2021-07-13 17:35:38 +03:00
mpv.dll initial commit 2021-07-05 19:33:54 +03:00
mpv.lib initial commit 2021-07-05 19:33:54 +03:00
README.md README added 2021-07-05 19:38:08 +03:00
server.js File restructure. Working server 2021-07-13 17:34:59 +03:00

Stremio shell: new gen

A Windows-only shell using WebView2 and MPV

Goals:

  • Performance
  • Reliability
  • Easy to ship

In all three, this architecture excels the Qt-based shell: it is about 2-5x more efficient depending on the use case, as it allows MPV to render directly in the window through it's optimal video output rather than using libmpv to integrate with Qt.

This is due to Qt having a complex rendering pipeline involving ANGLE and multiple levels of composing and drawing to textures, which inhibits full HW acceleration.

Meanwhile in this setup MPV uses whichever pipeline it considers to be optimal (like the mpv desktop app), which is normally d3d11, allowing full HW acceleration.

For web rendering, we use the native WebView2, which is Chromium based but shipped as a part of Windows 10: therefore we do not need to ship our own "distribution" of Chromium.

Finally, this should be a lot more reliable as it uses a much simper and more native overall architecture.