jellyfin / jellycon

Kodi Addon for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
310 stars 29 forks source link

'Playback failed' on RPi4 with OSMC #270

Open tommyalatalo opened 1 year ago

tommyalatalo commented 1 year ago

I've been setting up a RPi4 with OSMC and Jellyfin for Kodi / JellyCon, but have been getting an error with both add-ons saying "Playback failed" when I start playing media on the RPi and selecting subtitles (which I think are getting burned in).

My suspicion here is that there is something going wrong with the transcoding starting on my Jellyfin server since the playback failure happens on both the Jellyfin for Kodi and JellyCon addons with similar parameters, but I'm not sure. The error is somewhat intermittent and it seems that if I keep trying to start the playback it eventually manages to start up properly.

To Reproduce

  1. Install JellyCon
  2. Set max streaming bitrate to 10mbts
  3. Set max audio channels to 2
  4. Start movie via plugin, select subtitles in dialog that pops up
  5. Playback fails intermittently with mentioned error and logs

Expected behavior The video should play without issues every time.

Logs I checked the kodi log when starting playback which can be found here. The error being logged is ERROR : OpenDemuxStream - Error creating demuxer, which doesn't really tell me much, hopefully someone else can interpret this better than me.

System (please complete the following information):

Additional context I have Jellyfin running on a Rocky Linux server with an AMD Ryzen 4750G Pro iGPU for transcoding.

mcarlton00 commented 1 year ago

That error is unfortunately useless. It doesn't tell come from our code and doesn't give us any information why it failed, just that Kodi couldn't open the video file. What's in the server logs when this fails? There's basically no relevant logs to tell what's happening, so it's also not clear why you're trying to transcode instead of just playing the file.