Hi all,
I'm new to LibreElec and Kodi. Managed to install 11.0 into a Raspberry Pi 4 model B and do some experiment with it. Mainly I want to use it as a streaming device opposed to play local media. I have a Jellyfin instance in LAN which would be the media source.
After configuring MiniDLNA and Upnp on LibreElec, I'm able to stream SD content from LAN successfully. Though when it comes to 4k video, it fails to playback properly. Scenarios I've tried so far:
- [fail] I initiate the playback from the Jellyfin web client and select LibreElec as device to stream to. With the default configuration I can see the first few frames, but then playback freezes. After about 30-60 seconds I see a system notification saying "Source Too Slow For Continuous Playback". I checked the CPU usage via top command on both ends, but it was 90% idle all the time.
- [fail] I installed the JellyCon plugin on LibreElec and started the playback from within the plugin. Same as before (when streaming is started from Jellyfin web client).
- [fail] If I set hdmi_enable_4kp60=1 option, I only get a blank screen after pressing play. Furthermore wifi disconnects (First I thought it must be due to low power supply and switched to a 3A USB adapter as recommended, but no improvement).
- [success] I copied the sample mkv file of the same movie to the microsd card. When I play it from there, the playback is smooth as expected (so it's not that the HDMI cable or RPi4 not capable of sending data properly to the TV).
Here is a debug log for scenario 1: http://ix.io/4qg7
Also attached the output of ffprobe showing the exact video/audio codecs involved.
If anyone managed to get a streaming setup like this working, please let me know how you did it.
Or if someone could help me debug this further, that would be great.