jellyfin / jellyfin-androidtv

Android TV Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.86k stars 489 forks source link

ATV 0.17+ exoplayer no HDR10 fallback hybrid files DV #3888

Closed jennso closed 3 months ago

jennso commented 3 months ago

Describe the bug

Since libvlc was removed I'm not able to play hybrid files anymore, files that have DV and HDR10 color profiles, jellyfin ATV (exoplayer) seems to only see the DV layer and when I try to play I get a black screen which is probably normal since my TV doesn't support DV, It should fallback to HDR10 an play, just like plex does.

Logs

[2024-08-12 18:54:39.995 -04:00] [INF] [184] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets. [2024-08-12 18:57:58.494 -04:00] [INF] [55] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.157" request [2024-08-12 18:58:03.996 -04:00] [INF] [182] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets. [2024-08-12 18:58:23.087 -04:00] [INF] [27] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0 [2024-08-12 18:59:06.759 -04:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "jpaetau". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-08-12 18:59:21.413 -04:00] [INF] [73] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.157" closed [2024-08-12 18:59:21.723 -04:00] [INF] [120] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.157" request [2024-08-12 18:59:59.612 -04:00] [INF] [73] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.157" closed [2024-08-12 18:59:59.806 -04:00] [INF] [9] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.157" request [2024-08-12 19:00:34.529 -04:00] [INF] [55] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.17.1" playing "Spider-Man: Across the Spider-Verse". Stopped at "86843" ms [2024-08-12 19:00:51.995 -04:00] [INF] [182] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets. [2024-08-12 19:02:51.996 -04:00] [INF] [182] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets. [2024-08-12 19:05:39.995 -04:00] [INF] [84] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 2 inactive WebSockets.

FFmpeg logs

they don't get generated for direct play of this file

Media info of the file

root@c088366e9def:/usr/lib/jellyfin-ffmpeg# ./ffprobe /library/4K/Spider-Man\ Across\ the\ Spider-Verse\ \(2023\).mkv
ffprobe version 6.0.1-Jellyfin Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[matroska,webm @ 0x561a5f24bfc0] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x561a5f24bfc0] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from '/library/4K/Spider-Man Across the Spider-Verse (2023).mkv':
  Metadata:
    encoder         : libebml v1.4.4 + libmatroska v1.7.1
    creation_time   : 2023-09-16T23:26:59.000000Z
  Duration: 02:20:06.40, start: 0.000000, bitrate: 73157 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 464.505708
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 464.505708, end 1015.723042
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 1015.723042, end 1628.543583
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1628.543583, end 2091.047292
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 2091.047292, end 2675.923250
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 2675.923250, end 3153.817333
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 3153.817333, end 3513.051208
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 3513.051208, end 3837.875708
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 3837.875708, end 4343.297292
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 4343.297292, end 4905.275375
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 4905.275375, end 5469.922792
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 5469.922792, end 5894.305083
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 5894.305083, end 6481.892083
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 6481.892083, end 6930.214958
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 6930.214958, end 7527.311458
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 7527.311458, end 8406.398000
      Metadata:
        title           : Chapter 16
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn
    Metadata:
      BPS             : 69204533
      DURATION        : 02:20:06.398000000
      NUMBER_OF_FRAMES: 201552
      NUMBER_OF_BYTES : 72720106867
      _STATISTICS_WRITING_APP: mkvmerge v76.0 ('Celebration') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-09-16 23:26:59
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Side data:
      DOVI configuration record: version: 1.0, profile: 7, level: 6, rpu flag: 1, el flag: 1, bl flag: 1, compatibility id: 6
  Stream #0:1(eng): Audio: truehd (Dolby TrueHD + Dolby Atmos), 48000 Hz, 7.1, s32 (24 bit) (default) (original)
    Metadata:
      BPS             : 3807981
      DURATION        : 02:20:06.399000000
      NUMBER_OF_FRAMES: 10087678
      NUMBER_OF_BYTES : 4001426476
      _STATISTICS_WRITING_APP: mkvmerge v76.0 ('Celebration') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-09-16 23:26:59
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 43601
      DURATION        : 02:11:59.829000000
      NUMBER_OF_FRAMES: 3908
      NUMBER_OF_BYTES : 43164866
      _STATISTICS_WRITING_APP: mkvmerge v76.0 ('Celebration') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-09-16 23:26:59
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(spa): Subtitle: subrip
    Metadata:
      BPS             : 61
      DURATION        : 02:18:44.825000000
      NUMBER_OF_FRAMES: 2107
      NUMBER_OF_BYTES : 64183
      _STATISTICS_WRITING_APP: mkvmerge v76.0 ('Celebration') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-09-16 23:26:59
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(fre): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 34204
      DURATION        : 02:19:54.845000000
      NUMBER_OF_FRAMES: 4006
      NUMBER_OF_BYTES : 35892989
      _STATISTICS_WRITING_APP: mkvmerge v76.0 ('Celebration') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-09-16 23:26:59
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Application version

0.17.1

Device information

Nvidia Shiled 2019

Android version

Android 11

Jellyfin server version

10.9.8

KakarottoCake commented 3 months ago

I'd like to add on to this. Basically impossible to play most of my media now on my Android TV. Exoplayer really is a PoS. Temporary solution is to use an external player but then you lose out on refresh rate switching. Things like this do make me want to use Plex instead

nielsvanvelzen commented 3 months ago

Duplicate #2700

jennso commented 3 months ago

when you say closed as not planned do you mean not planned to fix the biug, It's not necessarly a feature request but more of a bugfix, the default behaviour should be to use HDR if the layer is there and the hardware suports it, specially if exoplayer suport it and is implemented in plex, I'll keep using plex for the moment.

thornbill commented 3 months ago

This is closed as "not planned" because this is a duplicate of an existing issue. That is why there is a comment stating it is a duplicate of another issue.

jennso commented 3 months ago

Makes sense, I'm curious about this issue I'll pull hte project a give it a try at finding the issue.