Jellyfin Forum
Android TV 0.17 (to many errors. giving up) - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Android TV 0.17 (to many errors. giving up) (/t-android-tv-0-17-to-many-errors-giving-up)

Pages: 1 2 3


Android TV 0.17 (to many errors. giving up) - NeoCortex - 2024-08-28

When I try to play a Video I get the error message "player error, retrying" after 3(?) trys I get "to many errors, giving up"

Server Version 10.9.10
Web Version 10.9.10
Build Version 10.9.10

Jellyfin is running via the LinuxServer.io Docker Image with hardware acceleration enabled

Code:
version: "2.1"
services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1000 # user 1000
      - PGID=100 # gruppe "users"
      - TZ=Europe/Berlin
      - DOCKER_MODS=ghcr.io/jumoog/intro-skipper
    devices:
      - /dev/dri:/dev/dri # hardware acceleration intel quicksync
(...)

This is the Log: https://pastebin.com/uMaWdkgX
and this is the ffmpeg remux log (whatever that is): https://pastebin.com/8MZMGCE8

As a workaround i downgraded the android tv app back to v0.16.11 and choose libvlc to play this video, but of course I would love it to work with the latest version.


RE: Android TV 0.17 (to many errors. giving up) - TheDreadPirate - 2024-08-28

What kind of Android TV device is it? Is it a Firestick? If so, what model?

And can you provide the media info for the video you are having issues with?


RE: Android TV 0.17 (to many errors. giving up) - NeoCortex - 2024-08-28

Sure thing. It is an Google Chromecast HD with Android TV.

This thing:
   

This is the Media I want to play:
   

That is a DVD I have, that i ripped on my Win10 PC with VLC Mediaplayer into mp4.


RE: Android TV 0.17 (to many errors. giving up) - TheDreadPirate - 2024-08-28

Can you go back to 0.17.4 and then show me some of the playback settings in the Android TV app.

On the home screen of the Jellyfin app, click on the gear in the top right, click on playback. Show me what options are enabled, including in the advanced options.

The CCwGTV HD should be able to play that, no problem. I have the 4K model. The color space for your video is uncommon, but I don't see why the CCwGTV couldn't play it.


RE: Android TV 0.17 (to many errors. giving up) - NeoCortex - 2024-08-28

Here is a Video back on 0.17.4 with the settings you asked for.
https://photos.app.goo.gl/Z1KA4XiNTyLvuDeC7

Thanks for your time and help. Let me know if you need anything else.


RE: Android TV 0.17 (to many errors. giving up) - theguymadmax - 2024-08-28

It seems like that file should be playable. Do you have a sample file that you’ve created and could share?


RE: Android TV 0.17 (to many errors. giving up) - NeoCortex - 2024-08-28

I used LossLessCut (https://github.com/mifi/lossless-cut) to cut off the first minute of the movie that isn't playing. You can find it here:
https://drive.google.com/file/d/1p4VDwi-x9rTuvNHUe2oLG7_Y6XaRz6w1/view?usp=sharing

the password is "jelly"


RE: Android TV 0.17 (to many errors. giving up) - theguymadmax - 2024-08-28

Well, I got good news and I got bad news.

Good news - I was able to reproduce your error. 

Bad news - It's an actual issue with exoplayer/media file. I also got the same error with other players based on exoplayer. A straight remux to mkv should solve this issue. A remux to mp4 had the same problems. If you want to stick mp4 you'll need to re-encode the file. @TheDreadPirate usually has a ffmpeg command to help with that.

Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -i path/to/input.mp4 -map 0 -c copy /path/to/output.mkv

   


RE: Android TV 0.17 (to many errors. giving up) - SethBacon - 2024-08-29

There have been a lot of posts like this, I as well have media that doesn't agree with exoplayer and now wont play on android boxes/firesticks. Ultimately the update to the AndroidTV app seems to have been one step forward two steps back. The common 'solution' offered to remux all your media is pretty ridiculous, especially when that media plays fine on the core app.

Pragmatically, your best option now would be to get a copy of the androidtv client from 10.8, (0.16.10 i believe, still works for me playing media from a 10.9 server), though i know firesticks are harder to load custom apks on these days...


RE: Android TV 0.17 (to many errors. giving up) - TheDreadPirate - 2024-08-29

(2024-08-28, 09:14 PM)theguymadmax Wrote: @TheDreadPirate usually has a ffmpeg command to help with that.

Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "/path/to/video.mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -avoid_negative_ts make_zero -max_interleave_delta 0 newFile.mkv