• 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 AndroidTV Exoplayer Unable to transcode certain files

     
    • 0 Vote(s) - 0 Average

    AndroidTV Exoplayer Unable to transcode certain files

    Why won't Exoplayer/AndroidTV Client transcode these?
    tomstephens89
    Offline

    Junior Member

    Posts: 23
    Threads: 10
    Joined: 2023 Aug
    Reputation: 0
    Country:United Kingdom
    #1
    2023-08-20, 07:59 AM (This post was last modified: 2023-08-20, 08:38 AM by tomstephens89. Edited 2 times in total.)
    Using AndroidTV Jellyfin client 0.15.11 on a Firestick 4K Max or Nvidia Shield TV Pro with Exoplayer selected, I am able to play certain files back direct stream just fine, however if I reduce the quality setting to force transcoding then I will get a player error. There are no client logs, and the server logs don't appear to show anything obvious.

    I have attached a transcode and server log. You'll see theres no errors which leads me to believe this is a problem with Exoplayer in the AndroidTV client.

    The logs show me starting playback in full direct stream of the movie Bad Boys II in 4K HVEC, HDR10 with DTS-MA audio, and then me hitting the quality button at 10Mbit/s to force a transcode.

    If I change to LibVLC I am able to transcode these files just fine, however theres audio sync issues, the quality perhaps isn't as good and I am not sure on the future of libVLC as a supported backend?

    Server Log

    FFmpeg Transcode Log

    Mediainfo of files which WON'T transcode in Exo:

    Quote:Bad Boys II_2003_4K
    Container: mkv
    Path: /mnt/bigstor/Tom Dropbox/Media/Movies/B/Bad Boys Collection/Bad Boys II_2003_4K.mkv
    Size: 26009 MB

    Video
    Title: 4K HEVC HDR
    Codec: HEVC
    Profile: Main 10
    Level: 150
    Resolution: 3840x1606
    Aspect ratio: 2.40:1
    Interlaced: No
    Framerate: 23.976025
    Bitrate: 24777 kbps
    Bit depth: 10 bit
    Video range: HDR
    Video range type: HDR10
    Colour space: bt2020nc
    Colour transfer: smpte2084
    Colour primaries: bt2020
    Pixel format: yuv420p10le
    Ref frames: 1

    Audio
    Title: English - DTS-HD MA - 7.1 - Default
    Language: eng
    Codec: DTS
    Profile: DTS-HD MA
    Layout: 7.1
    Channels: 8 ch
    Sample rate: 48000 Hz
    Bit depth: 24 bit
    Default: Yes
    Forced: No
    External: No

    Subtitle
    Title: English - PGSSUB
    Language: eng
    Codec: PGSSUB
    Default: No
    Forced: No
    External: No

    -------------------

    American Gangster_2007_4K
    Container: mkv
    Path: /mnt/bigstor/Tom Dropbox/Media/Movies/A/American Gangster_2007_4K.mkv
    Size: 17923 MB

    Video
    Title: 4K HEVC HDR
    Codec: HEVC
    Profile: Main 10
    Level: 153
    Resolution: 3840x2076
    Aspect ratio: 1.85:1
    Interlaced: No
    Framerate: 23.976025
    Bitrate: 14254 kbps
    Bit depth: 10 bit
    Video range: HDR
    Video range type: HDR10
    Colour space: bt2020nc
    Colour transfer: smpte2084
    Colour primaries: bt2020
    Pixel format: yuv420p10le
    Ref frames: 1

    Audio
    Title: English DTS-X 7.1 - DTS-HD MA - Default
    Language: eng
    Codec: DTS
    Profile: DTS-HD MA
    Layout: 7.1
    Channels: 8 ch
    Sample rate: 48000 Hz
    Bit depth: 24 bit
    Default: Yes
    Forced: No
    External: No

    Subtitle
    Title: English SRT - Default - SUBRIP
    Language: eng
    Codec: SUBRIP
    Default: Yes
    Forced: No
    External: No

    Audio
    Title: English DD 5.1 - Dolby Digital
    Language: eng
    Codec: AC3
    Layout: 5.1
    Channels: 6 ch
    Bitrate: 384 kbps
    Sample rate: 48000 Hz
    Default: No
    Forced: No
    External: No

    Subtitle
    Title: English SDH SRT - SUBRIP
    Language: eng
    Codec: SUBRIP
    Default: No
    Forced: No
    External: No

    Image
    Codec: MJPEG
    Profile: Baseline
    Resolution: 550x825
    Bit depth: 8 bit
    Colour space: bt470bg
    Pixel format: yuvj420p
    Ref frames: 1

    These not the only files this happens to, but it doesn't happen on everything. I am wondering if someone can help? Again, this only happens when using Exoplayer in the AndroidTV client, switching to LibVLC works fine!

    Thanks
    Tom
    Nihalvm
    Offline

    Junior Member

    Posts: 16
    Threads: 3
    Joined: 2023 Aug
    Reputation: 0
    Country:Australia
    #2
    2023-08-20, 09:48 AM
    I am having the exact same issue. See my thread just below yours.
    The same files play fine on the Web browser while transcoding, but not on Android tv. It seems like in m case its either the Audio or Subtitles that causes issues. I don't really understand all the logs.

    Certain files don't play usng libVLC either. However if i select external player and MX Player, then i can get most files to play with workaround. I don't want to use Kodi as i really like the Jellyfin user interface and don't know how to replicate that in Kodi.

    Let me know if you figure out a solution.
    tomstephens89
    Offline

    Junior Member

    Posts: 23
    Threads: 10
    Joined: 2023 Aug
    Reputation: 0
    Country:United Kingdom
    #3
    2023-08-20, 06:23 PM
    (2023-08-20, 09:48 AM)Nihalvm Wrote: I am having the exact same issue. See my thread just below yours.
    The same files play fine on the Web browser while transcoding, but not on Android tv. It seems like in m case its either the Audio or Subtitles that causes issues. I don't really understand all the logs.

    Certain files don't play usng libVLC either. However if i select external player and MX Player, then i can get most files to play with workaround. I don't want to use Kodi as i really like the Jellyfin user interface and don't know how to replicate that in Kodi.

    Let me know if you figure out a solution.

    What's your thread called? I havn't come across anything that libVLC won't play but Exo on AndroidTV just fails to transcode so much stuff and I have no idea why.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-08-20, 07:48 PM
    First tip. Select 120Mbps for the max bit rate. The auto setting doesn't work properly in 0.15.11. A lot of your transcoding is due to "ContainerBitrateExceedsLimit". Lots of unnecessary transcoding.

    Also, just select auto for the player. It should cycle through to figure out which one is best for the codecs delivered.
    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]
    tomstephens89
    Offline

    Junior Member

    Posts: 23
    Threads: 10
    Joined: 2023 Aug
    Reputation: 0
    Country:United Kingdom
    #5
    2023-08-20, 08:04 PM
    TheDreadPirate dateline='[url=tel:1692560922' Wrote: 1692560922[/url]']
    First tip.  Select 120Mbps for the max bit rate.  The auto setting doesn't work properly in 0.15.11.  A lot of your transcoding is due to "ContainerBitrateExceedsLimit".  Lots of unnecessary transcoding.

    Also, just select auto for the player.  It should cycle through to figure out which one is best for the codecs delivered.

    Thanks for the tip but I know the reason for the transcoding… I am purposefully trying TO transcode and have posted this thread to report that Exoplayer is failing to do so.

    The auto select will not switch to libVLC if I change the target bitrate after starting playback. It will try in the already open player and fail if it’s Exo. 

    So question still stands. Why is Exoplayer failing to playback when media is being transcoded.
    Nihalvm
    Offline

    Junior Member

    Posts: 16
    Threads: 3
    Joined: 2023 Aug
    Reputation: 0
    Country:Australia
    #6
    2023-08-21, 06:04 AM
    (2023-08-20, 06:23 PM)tomstephens89 Wrote: What's your thread called? I havn't come across anything that libVLC won't play but Exo on AndroidTV just fails to transcode so much stuff and I have no idea why.

    It's https://forum.jellyfin.org/t-hardware-tr...-amd-5700g

    As mentioned in the other thread it's a subtitles issue maybe. libVLC doesn't work either for some videos. I will post logs later using libVLC.

    and as TheDreadPirate mentioned will also try Auto. 
    Default installation of the Android TV client selects Exoplayer by default.
    tomstephens89
    Offline

    Junior Member

    Posts: 23
    Threads: 10
    Joined: 2023 Aug
    Reputation: 0
    Country:United Kingdom
    #7
    2023-08-21, 06:38 AM
    (2023-08-21, 06:04 AM)Nihalvm Wrote:
    (2023-08-20, 06:23 PM)tomstephens89 Wrote: What's your thread called? I havn't come across anything that libVLC won't play but Exo on AndroidTV just fails to transcode so much stuff and I have no idea why.

    It's https://forum.jellyfin.org/t-hardware-tr...-amd-5700g

    As mentioned in the other thread it's a subtitles issue maybe. libVLC doesn't work either for some videos. I will post logs later using libVLC.

    and as TheDreadPirate mentioned will also try Auto. 
    Default installation of the Android TV client selects Exoplayer by default.

    Last night I came across an SD x264 video in my collection that I had problems playing with libVLC. Exo played it but was slow to start.

    I am finding setting Exo as the player with 120Mbps to be most reliable BUT it doesn't explain my transcoding problems.

    Are there any developer/debug options on AndroidTV so I can see why Exo fails playback?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2023-08-21, 05:00 PM
    In the Android TV app there is both a developer options setting and a setting to send logs (errors only?) to the server. The client logs will land in the same directory as the server logs.
    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]
    tomstephens89
    Offline

    Junior Member

    Posts: 23
    Threads: 10
    Joined: 2023 Aug
    Reputation: 0
    Country:United Kingdom
    #9
    2023-08-21, 07:13 PM
    (2023-08-21, 05:00 PM)TheDreadPirate Wrote: In the Android TV app there is both a developer options setting and a setting to send logs (errors only?) to the server.  The client logs will land in the same directory as the server logs.

    No logs.
    « 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