You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start playback of a relevant video file (it seems to happen with video files using the yuv420p10le pixel format) on an AndroidTV device (0.18.3) from the Jellyfin server (10.10.3).
Stop playback
Despite running the latest version of the client (0.18.3), HEVC video playback does not work for 10-bit encoded files. These file work well with the Jellyfin Media Player (desktop) client, as well as the web client (of course on different devices, not running Android).
This triggers a transcode every time (as shown in the log below).
Edit: I truly hope I do not make a mistake about the hardware capabilities regarding the video codecs supported by the SoC (Mediatek MT5893, fitted with an ARM Mali-G71 MP2) ; I cannot find a datasheet clearing this, the best I found was H.264/H.265 without more details.
It was an educated guess but I think I might be wrong as the server transcoding could also be because of ass subtitles which android tv does not support
If the device supports HEVC 10 bit and it transcodes, as @Dnkhatri said it could be the ASS subtitles when active or something to do with the level. Eg: level 150.
Describe the bug
yuv420p10le
pixel format) on an AndroidTV device (0.18.3) from the Jellyfin server (10.10.3).Despite running the latest version of the client (0.18.3), HEVC video playback does not work for 10-bit encoded files. These file work well with the Jellyfin Media Player (desktop) client, as well as the web client (of course on different devices, not running Android).
This triggers a transcode every time (as shown in the log below).
Edit: I truly hope I do not make a mistake about the hardware capabilities regarding the video codecs supported by the SoC (Mediatek MT5893, fitted with an ARM Mali-G71 MP2) ; I cannot find a datasheet clearing this, the best I found was H.264/H.265 without more details.
Logs
[2025-01-03 02:28:48.023 +01:00] [INF] [31] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "USERNAME". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2025-01-03 02:28:48.309 +01:00] [INF] [31] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "ffmpeg" "-analyzeduration 200M -probesize 1G -i file:"/path/to/video/file.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx264 -preset veryfast -crf 23 -maxrate 9665360 -bufsize 19330720 -profile:v:0 high -x264opts:0 subme=0:me_range=16:rc_lookahead=10:me=hex:open_gop=0 -force_key_frames:0 "expr:gte(t,n_forced3)" -sc_threshold:v:0 0 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw,iha),min(4096,2304*a))/2)*2:trunc(min(max(iw/a,ih),min(4096/a,2304))/2)*2,format=yuv420p,subtitles=f='/var/db/jellyfin/data/subtitles/0/0b3acad4-8078-ba5a-0df4-ec8d44e1b950.ass':fontsdir='/var/cache/jellyfin/attachments/3fa644510da34d2cf2c573ed53dd5600'" -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/var/db/jellyfin/transcodes/d45e441498ae65b0edf998d5b1664fd1%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/var/db/jellyfin/transcodes/d45e441498ae65b0edf998d5b1664fd1.m3u8""
[2025-01-03 02:28:52.069 +01:00] [ERR] [14] Jellyfin.Drawing.Skia.SkiaEncoder: Unable to determine image dimensions for "/var/db/jellyfin/metadata/library/1e/1e3fea7e4f62d8d2519278ca7d8d4602/poster.jpg": InternalError
[2025-01-03 02:28:55.473 +01:00] [INF] [33] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for "/var/db/jellyfin/transcodes/d45e441498ae65b0edf998d5b1664fd1.m3u8"
[2025-01-03 02:28:55.858 +01:00] [INF] [33] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[2025-01-03 02:28:55.859 +01:00] [INF] [33] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/var/db/jellyfin/transcodes/d45e441498ae65b0edf998d5b1664fd1.m3u8"
[2025-01-03 02:28:57.360 +01:00] [INF] [35] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.18.3" playing "Commencement". Stopped at "2438" ms
FFmpeg logs
Media info of the file
Application version
0.18.3
Device information
Sony KD-55XH8096
Android version
Android 9
Jellyfin server version
10.10.3
The text was updated successfully, but these errors were encountered: