• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Android TV Playback Instantly Crashing

     
    • 0 Vote(s) - 0 Average

    Android TV Playback Instantly Crashing

    When trying to launch one specific series, no episode of any season will play.
    Ray Kochenderfer
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #1
    2024-08-24, 07:09 PM
    I have been having an issue with the Android TV Jellyfin application running on an Nvidia Shield Pro where one specific show series, I cannot get any episodes to play with Android TV. I am able to play other content, including other HEVC content, that are not part of the Pokemon (1997) series.

    When trying to play these, there is also no ffmpeg logs being generated, I click the episode, it opens up the player, it then flashes Fatal error trying to retry pop ups until it gives up and returns to the episode information screen.

    I am able to play these episodes using the web browser, the windows jellfyin client, and the android application. Only the Android TV application is failing.

    Server version: 10.9.9

    Episode information (all are pretty much the same except some are 480p):
    Pokémon - I Choose You! S01E01
    Container: mkv
    Path: /JF_KIDS/series/Pokemon (1997) [tmdbid-60572]/Season 01/Pokémon - I Choose You! S01E01.mkv
    Size: 401 MB

    Video
    Title: Encoded by: ImEverlasting - 1080p - HEVC - SDR
    Codec: HEVC
    AVC: No
    Profile: Main 10
    Level: 120
    Resolution: 1440x1080
    Aspect ratio: 4:3
    Anamorphic: No
    Interlaced: No
    Framerate: 23.976025
    Bitrate: 2464 kbps
    Bit depth: 10 bit
    Video range: SDR
    Video range type: SDR
    Color space: bt709
    Color transfer: bt709
    Color primaries: bt709
    Pixel format: yuv420p10le
    Ref frames: 1

    Audio
    Title: English - AAC - Stereo
    Language: eng
    Codec: AAC
    AVC: No
    Profile: LC
    Layout: stereo
    Channels: 2 ch
    Bitrate: 192 kbps
    Sample rate: 48000 Hz
    Default: No
    Forced: No
    External: No

    Subtitle
    Title: English - PGSSUB
    Language: eng
    Codec: PGSSUB
    AVC: No
    Resolution: 1920x1080
    Default: No
    Forced: No
    External: No


    Attached Files
    .zip   jellyfin-logs.zip (Size: 8.53 KB / Downloads: 81)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-24, 07:27 PM
    In the Jellyfin forAndroid TV app, on the home screen, click the gear in the top right > playback. Go down to "Audio output" and change that to "downmix to stereo". Even though your audio is already stereo, there may or may not be an audio bug in the Android TV app. But a few users were able to use this workaround while we investigate.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    dinosm
    Offline

    Junior Member

    Posts: 16
    Threads: 4
    Joined: 2023 Dec
    Reputation: 0
    Country:United Kingdom
    #3
    2024-08-24, 07:57 PM (This post was last modified: 2024-08-24, 07:58 PM by dinosm. Edited 1 time in total.)
    I have been having a similar issue with more than one show. All the shows that have this issue for me have episodes with two versions (using the merge plugin), 1080p and 2160p.

    The 2160p version is the default one. In the past I could go into any such episode and hit play, and the 2160p version, being selected by default, would play.
    However now I find Jellyfin crashes - unless I go to Version and select the 2160p version (even though it is already selected). Then, it plays fine.

    This doesn't seem to happen with a couple of movies I tried that have versions, but I will run more tests.

    EDIT: I don't want to downmix audio to stereo as I have an Atmos sound system and Jellyfin can direct play Atmos videos just fine. This seems to be a UI bug.
    Ray Kochenderfer
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #4
    2024-08-24, 08:01 PM
    Tried your solution DreadPirate and it didn't work sadly Slightly-frowning-face
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,149
    Threads: 0
    Joined: 2024 Jun
    Reputation: 60
    #5
    2024-08-24, 08:21 PM (This post was last modified: 2024-08-24, 08:29 PM by theguymadmax. Edited 1 time in total.)
    This is the second time I've seen this issue in files by the same group. It appears the problem lies with the MKV file and exoplayer itself rather than the ATV client. I'll try and do some bug testing on the issue. Performing a straight remux of the file should resolve the issue. For workarounds, downmixing to stereo won’t help here, as it won't trigger a transcode since it's already stereo audio. 

    Update to version .17.4, and you should be able to play the file. In .17.4, after two unsuccessful attempts, the player will automatically request a transcoded version from the server, so there's no need to adjust your audio settings.

    If you want to remux the file, here’s a command you can use. Given that you likely have many files, you might consider automating the process with a script in Linux.
    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -i path/to/input.mkv -map 0 -c copy /path/to/output.mkv
    Ray Kochenderfer
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #6
    2024-08-24, 09:26 PM
    (2024-08-24, 08:21 PM)theguymadmax Wrote: This is the second time I've seen this issue in files by the same group. It appears the problem lies with the MKV file and exoplayer itself rather than the ATV client. I'll try and do some bug testing on the issue. Performing a straight remux of the file should resolve the issue. For workarounds, downmixing to stereo won’t help here, as it won't trigger a transcode since it's already stereo audio. 

    Update to version .17.4, and you should be able to play the file. In .17.4, after two unsuccessful attempts, the player will automatically request a transcoded version from the server, so there's no need to adjust your audio settings.

    If you want to remux the file, here’s a command you can use. Given that you likely have many files, you might consider automating the process with a script in Linux.
    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -i path/to/input.mkv -map 0 -c copy /path/to/output.mkv

    I saw the tag on the GitHub page but it looks like it's not yet distributed through the play store so I'll have to wait for .17.4 release to do that. I'll try and give that retranscoding a try.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,149
    Threads: 0
    Joined: 2024 Jun
    Reputation: 60
    #7
    2024-08-24, 09:31 PM (This post was last modified: 2024-08-24, 10:24 PM by theguymadmax. Edited 3 times in total.)
    This is the error I got when I played that file. There's already a bug report on ATV with that same error message. I also can't get that to play on any other version of exoplayer, I went as far back as version 1.2.1.

       

    Here's the code that's causing the issue.

    Code:
        case ID_CONTENT_ENCODING_ORDER:
            // This extractor only supports one ContentEncoding element and hence the order has to be 0.
            if (value != 0) {
              throw ParserException.createForMalformedContainer(
                  "ContentEncodingOrder " + value + " not supported", /* cause= */ null);

    So I ran mkvinfo filename.mkv and it came back
    Code:
    |  + Content encodings
    |  + Content encoding
    |    + Content compression
    |    + Algorithm: 0 (ZLIB)
    |    + Order: 0
    |    + Scope: 1 (1: all frames)
    |    + Type: 0 (compression)

    Order is set to 0, so why the crash?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode