raspberry pi & arm build
Hi,
is it possible to build for the raspberry pi 5 or is there a release I can install?
I tried building it myself (the Flatpak version in particular), and it doesn't look like you can?
The build succeeded, but the server won't run because of three pre-compiled executables that were compiled with an x86 architecture in mind. Two of them are ffmpeg and ffprobe, and they can be recompiled to suit, but the third one is stremio-runtime. I looked everywhere, and I couldn't find a source or an ARM version of it. This sucks.
UPD: turns out stremio-runtime is just Node, according to #9. So I guess, with some elbow grease, it is possible to build this after all.
Looking deeper into this, you have to replace the files in resources/bin/linux accordingly:
ffmpeg:ffmpegfrom https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4.1-arm64-static.tar.xzffprobe:ffprobefrom https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4.1-arm64-static.tar.xzstremio-runtime:bin/nodefrom https://nodejs.org/dist/v18.12.1/node-v18.12.1-linux-arm64.tar.xz (18.20.8 from Node's site might also work, butstremio-runtimeis 18.12.1 specifically)
Then I think it should compile.
@ArtyIF the issue is that Stremio Service is meant to transcode on-the-fly to make videos playable in the browser, there is no hardware acceleration support for RPI, so you will have a pretty bad experience even if you get it working
@ArtyIF the issue is that Stremio Service is meant to transcode on-the-fly to make videos playable in the browser, there is no hardware acceleration support for RPI, so you will have a pretty bad experience even if you get it working
From what I heard, RPi5 doesn't even have any hardware acceleration for encoding, and the CPU is powerful enough to do that. I did have good enough experience on Stremio OS, even on higher res videos.
transcoding (in most cases) would mean both decoding and encoding, then there is the browser's own decoding of the video, it's just too much for the RPI imho, I tried for a long time to get it to work on RPI4 with transcoding in the browser, and tried to get hardware acceleration to work on RPI4 too, it is a lost cause imho.. a full-blown Stremio client for Raspbian OS is more plausible to build and would have better performance, but it would mean a lot of work and there isn't enough interest in this device for the required workload imho, especially as Stremio OS is already an option