Stremio shell using WebView2/mpv, written in Rust
Find a file
Vladimir Borisov cd99035940 Simplify tests
2024-04-17 09:51:28 +03:00
.github/workflows Correct build script 2022-10-03 15:16:12 +03:00
bin Add stremio-runtime.exe 2024-03-08 10:18:30 +02:00
images Updated dependencies. Fixed errors 2024-03-07 17:38:43 +02:00
setup Performance Improvements. Updater. Signing. 2024-04-17 09:07:34 +03:00
src Simplify tests 2024-04-17 09:51:28 +03:00
.gitignore Add stremio-runtime.exe 2024-03-08 10:18:30 +02:00
build.rs Fix formatting 2024-03-07 17:47:32 +02:00
Cargo.lock Performance Improvements. Updater. Signing. 2024-04-17 09:07:34 +03:00
Cargo.toml Performance Improvements. Updater. Signing. 2024-04-17 09:07:34 +03:00
mpv.dll Updated dependencies. Fixed errors 2024-03-07 17:38:43 +02:00
mpv.lib Revert "32bit build" 2022-09-30 11:06:40 +03:00
README.md Revert "32bit build" 2022-09-30 11:06:40 +03:00
rust-toolchain.toml Revert "32bit build" 2022-09-30 11:06:40 +03:00
server.js Update server.js 2022-09-29 16:16:08 +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.