jellyfin / jellyfin-androidtv

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

Playback on Chromecast stuttering with specific titles #3590

Open Atlas780 opened 1 month ago

Atlas780 commented 1 month ago

Describe the bug

I have an issue with playback on my chromecast with some movies. They playback works fine on other devices. On my chromecast Android App the video is stuttering and moving slow. This only happens with some movies. Playback on mobile and in web browser works fine. It only produces issues on chromecast. I used the ExoPlayer, it stutters there. When trying to use the LibVLC Player, it doesn't really even start playing.

It's not the server's performance. I use NVENC encoding and it has enough horse power to run the stream.

Here is a video of the problem: https://youtube.com/shorts/jESQmOUbD-I I posted this in your forum, you can find troubleshooting steps I tried there: https://forum.jellyfin.org/t-chromecast-playback

Logs

[2024-05-02 19:21:12.024 +02:00] [INF] User policy for "atlas". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-05-02 19:21:12.024 +02:00] [INF] StreamBuilder.BuildVideoItem( Profile="AndroidTV-libVLC", Path="/media/media/Filme/Pulp Fiction (1994).mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoLevelNotSupported ) "mediaConfused-facevideos/679720c0-bf9e-9a3d-4b8c-bc52e7c9d547/stream.mkv?MediaSourceId=679720c0bf9e9a3d4b8cbc52e7c9d547&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=2&VideoBitrate=14680000&AudioBitrate=320000&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=&SubtitleMethod=Embed&CopyTimestamps=true&RequireAvc=false&Tag=d6d4950946ba5dc9dc219156198f256e&SubtitleCodec=subrip&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=VideoLevelNotSupported" [2024-05-02 19:21:12.097 +02:00] [INF] User policy for "atlas". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-05-02 19:21:12.097 +02:00] [INF] StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="/media/media/Filme/Pulp Fiction (1994).mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoLevelNotSupported ) "mediaConfused-facevideos/679720c0-bf9e-9a3d-4b8c-bc52e7c9d547/master.m3u8?MediaSourceId=679720c0bf9e9a3d4b8cbc52e7c9d547&VideoCodec=hevc,h264,hevc&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=14680000&AudioBitrate=320000&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=&RequireAvc=false&Tag=d6d4950946ba5dc9dc219156198f256e&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=123&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=VideoLevelNotSupported" [2024-05-02 19:21:12.472 +02:00] [INF] Adding playback tracker : 9b75c7a263d90db7dbe0c903a14b7aca3e486022-fbd08fc7751a4e3988a26c0f447ed089-679720c0bf9e9a3d4b8cbc52e7c9d547 [2024-05-02 19:21:12.472 +02:00] [INF] PlaybackTracker : Adding Start Event : 05/02/2024 19:21:12 [2024-05-02 19:21:12.472 +02:00] [INF] Creating StartPlaybackTimer Task [2024-05-02 19:21:12.472 +02:00] [INF] StartPlaybackTimer : Entered [2024-05-02 19:21:13.082 +02:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device cuda=cu:0 -filter_hw_device cu -autorotate 0 -i file:\"/media/media/Filme/Pulp Fiction (1994).mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -preset p1 -b:v 11269052 -maxrate 11269052 -bufsize 22538104 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,iha)\,min(3840\,1634a))/2)2:trunc(min(max(iw/a\,ih)\,min(3840/a\,1634))/2)2,format=yuv420p\" -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/lib/jellyfin/transcodes/c74cd57fab5ae8baf1a41ac764a2868f%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/c74cd57fab5ae8baf1a41ac764a2868f.m3u8\"" [2024-05-02 19:21:13.322 +02:00] [INF] Processing playback tracker : "9b75c7a263d90db7dbe0c903a14b7aca3e486022-fbd08fc7751a4e3988a26c0f447ed089-679720c0bf9e9a3d4b8cbc52e7c9d547" [2024-05-02 19:21:15.517 +02:00] [WRN] Slow HTTP Response from "http://192.168.178.20:8096/videos/679720c0-bf9e-9a3d-4b8c-bc52e7c9d547/hls1/main/0.ts?DeviceId=9b75c7a263d90db7dbe0c903a14b7aca3e486022&MediaSourceId=679720c0bf9e9a3d4b8cbc52e7c9d547&VideoCodec=hevc,h264,hevc&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=14680000&AudioBitrate=320000&AudioSampleRate=48000&MaxFramerate=23.976025&PlaySessionId=41f692bd3923412cbebc5e51235ea497&api_key=0d7f71b411a2445bbe7a76d4baaef0f2&RequireAvc=false&Tag=d6d4950946ba5dc9dc219156198f256e&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=123&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=VideoLevelNotSupported&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "192.168.178.115" in 0:00:02.4431553 with Status Code 200 [2024-05-02 19:21:15.842 +02:00] [INF] User policy for "atlas". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-05-02 19:21:15.843 +02:00] [INF] StreamBuilder.BuildVideoItem( Profile="AndroidTV-libVLC", Path="/media/media/Filme/Pulp Fiction (1994).mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoLevelNotSupported ) "mediaConfused-facevideos/679720c0-bf9e-9a3d-4b8c-bc52e7c9d547/stream.mkv?MediaSourceId=679720c0bf9e9a3d4b8cbc52e7c9d547&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=2&VideoBitrate=14680000&AudioBitrate=320000&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=&SubtitleMethod=Embed&CopyTimestamps=true&RequireAvc=false&Tag=d6d4950946ba5dc9dc219156198f256e&SubtitleCodec=subrip&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=VideoLevelNotSupported" [2024-05-02 19:21:15.868 +02:00] [INF] Stopping ffmpeg process with q command for "/var/lib/jellyfin/transcodes/c74cd57fab5ae8baf1a41ac764a2868f.m3u8" [2024-05-02 19:21:15.907 +02:00] [INF] User policy for "atlas". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-05-02 19:21:15.908 +02:00] [INF] StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="/media/media/Filme/Pulp Fiction (1994).mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoLevelNotSupported ) "mediaConfused-facevideos/679720c0-bf9e-9a3d-4b8c-bc52e7c9d547/master.m3u8?MediaSourceId=679720c0bf9e9a3d4b8cbc52e7c9d547&VideoCodec=hevc,h264,hevc&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=14680000&AudioBitrate=320000&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=&RequireAvc=false&Tag=d6d4950946ba5dc9dc219156198f256e&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=123&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=VideoLevelNotSupported" [2024-05-02 19:21:16.001 +02:00] [INF] FFmpeg exited with code 0 [2024-05-02 19:21:16.001 +02:00] [INF] Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/c74cd57fab5ae8baf1a41ac764a2868f.m3u8" [2024-05-02 19:21:16.111 +02:00] [INF] Existing tracker found! : 9b75c7a263d90db7dbe0c903a14b7aca3e486022-fbd08fc7751a4e3988a26c0f447ed089-679720c0bf9e9a3d4b8cbc52e7c9d547 [2024-05-02 19:21:16.112 +02:00] [INF] Removing existing tracker : 9b75c7a263d90db7dbe0c903a14b7aca3e486022-fbd08fc7751a4e3988a26c0f447ed089-679720c0bf9e9a3d4b8cbc52e7c9d547 [2024-05-02 19:21:16.112 +02:00] [INF] Adding playback tracker : 9b75c7a263d90db7dbe0c903a14b7aca3e486022-fbd08fc7751a4e3988a26c0f447ed089-679720c0bf9e9a3d4b8cbc52e7c9d547 [2024-05-02 19:21:16.112 +02:00] [INF] PlaybackTracker : Adding Start Event : 05/02/2024 19:21:16 [2024-05-02 19:21:16.112 +02:00] [INF] Creating StartPlaybackTimer Task [2024-05-02 19:21:16.112 +02:00] [INF] StartPlaybackTimer : Entered [2024-05-02 19:21:16.952 +02:00] [INF] Processing playback tracker : "9b75c7a263d90db7dbe0c903a14b7aca3e486022-fbd08fc7751a4e3988a26c0f447ed089-679720c0bf9e9a3d4b8cbc52e7c9d547" [2024-05-02 19:21:17.016 +02:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device cuda=cu:0 -filter_hw_device cu -autorotate 0 -i file:\"/media/media/Filme/Pulp Fiction (1994).mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -preset p1 -b:v 11269052 -maxrate 11269052 -bufsize 22538104 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,iha)\,min(3840\,1634a))/2)2:trunc(min(max(iw/a\,ih)\,min(3840/a\,1634))/2)2,format=yuv420p\" -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/lib/jellyfin/transcodes/639f4b27505925285f8b1642a887c81d%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/639f4b27505925285f8b1642a887c81d.m3u8\"" [2024-05-02 19:21:17.504 +02:00] [INF] Playback stopped reported by app "Android TV" "0.16.10" playing "Pulp Fiction". Stopped at "0" ms [2024-05-02 19:21:17.655 +02:00] [INF] Playback stop tracker found, processing stop : "9b75c7a263d90db7dbe0c903a14b7aca3e486022-fbd08fc7751a4e3988a26c0f447ed089-679720c0bf9e9a3d4b8cbc52e7c9d547" [2024-05-02 19:21:17.656 +02:00] [INF] PlaybackTracker : Adding Stop Event : 05/02/2024 19:21:17 [2024-05-02 19:21:17.656 +02:00] [INF] Playback stop but TrackedPlaybackInfo not found! not storing activity in DB [2024-05-02 19:21:17.656 +02:00] [WRN] Slow HTTP Response from "http://192.168.178.20:8096/Sessions/Playing/Stopped" to "192.168.178.115" in 0:00:01.7916265 with Status Code 204 [2024-05-02 19:21:19.453 +02:00] [WRN] Slow HTTP Response from "http://192.168.178.20:8096/videos/679720c0-bf9e-9a3d-4b8c-bc52e7c9d547/hls1/main/0.ts?DeviceId=9b75c7a263d90db7dbe0c903a14b7aca3e486022&MediaSourceId=679720c0bf9e9a3d4b8cbc52e7c9d547&VideoCodec=hevc,h264,hevc&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=14680000&AudioBitrate=320000&AudioSampleRate=48000&MaxFramerate=23.976025&PlaySessionId=35bd1b421799492497e0c3e62738fc7a&api_key=0d7f71b411a2445bbe7a76d4baaef0f2&RequireAvc=false&Tag=d6d4950946ba5dc9dc219156198f256e&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=123&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=VideoLevelNotSupported&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "192.168.178.115" in 0:00:02.4429228 with Status Code 200 [2024-05-02 19:21:19.669 +02:00] [INF] Stopping ffmpeg process with q command for "/var/lib/jellyfin/transcodes/639f4b27505925285f8b1642a887c81d.m3u8" [2024-05-02 19:21:19.681 +02:00] [INF] User policy for "atlas". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-05-02 19:21:19.683 +02:00] [INF] StreamBuilder.BuildVideoItem( Profile="AndroidTV-libVLC", Path="/media/media/Filme/Pulp Fiction (1994).mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoLevelNotSupported ) "mediaConfused-facevideos/679720c0-bf9e-9a3d-4b8c-bc52e7c9d547/stream.mkv?MediaSourceId=679720c0bf9e9a3d4b8cbc52e7c9d547&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=2&VideoBitrate=14680000&AudioBitrate=320000&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=&SubtitleMethod=Embed&CopyTimestamps=true&RequireAvc=false&Tag=d6d4950946ba5dc9dc219156198f256e&SubtitleCodec=subrip&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=VideoLevelNotSupported" [2024-05-02 19:21:19.747 +02:00] [INF] User policy for "atlas". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-05-02 19:21:19.747 +02:00] [INF] StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="/media/media/Filme/Pulp Fiction (1994).mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoLevelNotSupported ) "mediaConfused-facevideos/679720c0-bf9e-9a3d-4b8c-bc52e7c9d547/master.m3u8?MediaSourceId=679720c0bf9e9a3d4b8cbc52e7c9d547&VideoCodec=hevc,h264,hevc&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=14680000&AudioBitrate=320000&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=&RequireAvc=false&Tag=d6d4950946ba5dc9dc219156198f256e&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=123&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=VideoLevelNotSupported" [2024-05-02 19:21:19.839 +02:00] [INF] FFmpeg exited with code 0 [2024-05-02 19:21:19.839 +02:00] [INF] Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/639f4b27505925285f8b1642a887c81d.m3u8" [2024-05-02 19:21:19.985 +02:00] [INF] Adding playback tracker : 9b75c7a263d90db7dbe0c903a14b7aca3e486022-fbd08fc7751a4e3988a26c0f447ed089-679720c0bf9e9a3d4b8cbc52e7c9d547 [2024-05-02 19:21:19.986 +02:00] [INF] PlaybackTracker : Adding Start Event : 05/02/2024 19:21:19 [2024-05-02 19:21:19.986 +02:00] [INF] Creating StartPlaybackTimer Task [2024-05-02 19:21:19.986 +02:00] [INF] StartPlaybackTimer : Entered [2024-05-02 19:21:20.557 +02:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device cuda=cu:0 -filter_hw_device cu -autorotate 0 -i file:\"/media/media/Filme/Pulp Fiction (1994).mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -preset p1 -b:v 11269052 -maxrate 11269052 -bufsize 22538104 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,iha)\,min(3840\,1634a))/2)2:trunc(min(max(iw/a\,ih)\,min(3840/a\,1634))/2)2,format=yuv420p\" -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/lib/jellyfin/transcodes/4749d6cd777c78db2fa6350af3ae50b0%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/4749d6cd777c78db2fa6350af3ae50b0.m3u8\"" [2024-05-02 19:21:20.810 +02:00] [INF] Processing playback tracker : "9b75c7a263d90db7dbe0c903a14b7aca3e486022-fbd08fc7751a4e3988a26c0f447ed089-679720c0bf9e9a3d4b8cbc52e7c9d547" [2024-05-02 19:21:21.342 +02:00] [INF] Playback stopped reported by app "Android TV" "0.16.10" playing "Pulp Fiction". Stopped at "0" ms [2024-05-02 19:21:21.532 +02:00] [WRN] Slow HTTP Response from "http://192.168.178.20:8096/Sessions/Playing/Stopped" to "192.168.178.115" in 0:00:01.8659859 with Status Code 204 [2024-05-02 19:21:21.533 +02:00] [INF] Playback stop tracker found, processing stop : "9b75c7a263d90db7dbe0c903a14b7aca3e486022-fbd08fc7751a4e3988a26c0f447ed089-679720c0bf9e9a3d4b8cbc52e7c9d547" [2024-05-02 19:21:21.533 +02:00] [INF] PlaybackTracker : Adding Stop Event : 05/02/2024 19:21:21 [2024-05-02 19:21:21.533 +02:00] [INF] Playback stop but TrackedPlaybackInfo not found! not storing activity in DB [2024-05-02 19:21:23.005 +02:00] [WRN] Slow HTTP Response from "http://192.168.178.20:8096/videos/679720c0-bf9e-9a3d-4b8c-bc52e7c9d547/hls1/main/0.ts?DeviceId=9b75c7a263d90db7dbe0c903a14b7aca3e486022&MediaSourceId=679720c0bf9e9a3d4b8cbc52e7c9d547&VideoCodec=hevc,h264,hevc&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=14680000&AudioBitrate=320000&AudioSampleRate=48000&MaxFramerate=23.976025&PlaySessionId=973257b654d74ca0a560373544929f81&api_key=0d7f71b411a2445bbe7a76d4baaef0f2&RequireAvc=false&Tag=d6d4950946ba5dc9dc219156198f256e&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=123&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=VideoLevelNotSupported&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "192.168.178.115" in 0:00:02.45287 with Status Code 200 [2024-05-02 19:21:23.253 +02:00] [INF] Stopping ffmpeg process with q command for "/var/lib/jellyfin/transcodes/4749d6cd777c78db2fa6350af3ae50b0.m3u8" [2024-05-02 19:21:23.404 +02:00] [INF] FFmpeg exited with code 0 [2024-05-02 19:21:23.404 +02:00] [INF] Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/4749d6cd777c78db2fa6350af3ae50b0.m3u8" [2024-05-02 19:21:24.909 +02:00] [INF] Playback stopped reported by app "Android TV" "0.16.10" playing "Pulp Fiction". Stopped at "0" ms [2024-05-02 19:21:25.072 +02:00] [INF] Playback stop did not have a tracker : "9b75c7a263d90db7dbe0c903a14b7aca3e486022-fbd08fc7751a4e3988a26c0f447ed089-679720c0bf9e9a3d4b8cbc52e7c9d547" [2024-05-02 19:21:25.072 +02:00] [WRN] Slow HTTP Response from "http://192.168.178.20:8096/Sessions/Playing/Stopped" to "192.168.178.115" in 0:00:01.8205619 with Status Code 204 [2024-05-02 19:21:32.472 +02:00] [INF] session.RemoteEndPoint : "192.168.178.115" [2024-05-02 19:21:32.472 +02:00] [INF] StartPlaybackTimer : event_playing_id = "679720c0bf9e9a3d4b8cbc52e7c9d547" [2024-05-02 19:21:32.472 +02:00] [INF] StartPlaybackTimer : event_user_id = "fbd08fc7751a4e3988a26c0f447ed089" [2024-05-02 19:21:32.472 +02:00] [INF] StartPlaybackTimer : event_user_id_int = 1 [2024-05-02 19:21:32.473 +02:00] [INF] StartPlaybackTimer : session_playing_id = "" [2024-05-02 19:21:32.473 +02:00] [INF] StartPlaybackTimer : session_user_id = "fbd08fc7751a4e3988a26c0f447ed089" [2024-05-02 19:21:32.473 +02:00] [INF] StartPlaybackTimer : play_method = "na" [2024-05-02 19:21:32.473 +02:00] [INF] StartPlaybackTimer : e.ClientName = "Android TV" [2024-05-02 19:21:32.473 +02:00] [INF] StartPlaybackTimer : e.DeviceName = "Atlascast" [2024-05-02 19:21:32.473 +02:00] [INF] StartPlaybackTimer : ItemName = "Pulp Fiction" [2024-05-02 19:21:32.473 +02:00] [INF] StartPlaybackTimer : ItemId = "679720c0bf9e9a3d4b8cbc52e7c9d547" [2024-05-02 19:21:32.473 +02:00] [INF] StartPlaybackTimer : ItemType = "Movie" [2024-05-02 19:21:32.473 +02:00] [INF] StartPlaybackTimer : Details do not match for play item [2024-05-02 19:21:32.473 +02:00] [INF] StartPlaybackTimer : Exited

FFmpeg logs

No response

Media info of the file

Movie I have issues with: 
General
Unique ID                                : 11247120301462733994988457027001381859 (0x8761DD808C5899F87AE78258A8FF3E3)
Complete name                            : /media/media/Filme/Pulp Fiction (1994).mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 7.30 GiB
Duration                                 : 2 h 34 min
Overall bit rate                         : 6 761 kb/s
Writing application                      : Lavf59.33.100
Writing library                          : Lavf59.33.100
ErrorDetectionType                       : Per level 1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h 34 min
Width                                    : 3 840 pixels
Height                                   : 1 634 pixels
Display aspect ratio                     : 2.35:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 0)
Bit depth                                : 10 bits
Writing library                          : x265 3.5+1-f0c1022b6:[Linux][GCC 7.5.0][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=4 / numa-pools=16 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1634 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / selective-sao=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=abr / bitrate=6000 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=2 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=1 / chromaloc-top=0 / chromaloc-bottom=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Default                                  : Yes
Forced                                   : No
Color range                              : Limited

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 2 h 34 min
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Writing library                          : Lavc59.48.100 libfdk_aac
Default                                  : Yes
Forced                                   : No

Movie that works fine, with much higher Quality:
General
Unique ID                                : 240187219439868135773539257563088265146 (0xB4B2603598FE99EB76430890D5A59FBA)
Complete name                            : /media/media/Filme/Dune Part Two (2024).mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 29.3 GiB
Duration                                 : 2 h 45 min
Overall bit rate                         : 25.3 Mb/s
Writing application                      : mkvmerge v83.0 ('Circle Of Friends') 64-bit
Writing library                          : libebml v1.4.5 + libmatroska v1.7.1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@High
HDR format                               : SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h 45 min
Bit rate                                 : 24.5 Mb/s
Width                                    : 3 840 pixels
Height                                   : 1 606 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.166
Stream size                              : 28.4 GiB (97%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 880 cd/m2
Maximum Frame-Average Light Level        : 475 cd/m2

Audio
ID                                       : 2
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Codec ID                                 : A_EAC3
Duration                                 : 2 h 45 min
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 911 MiB (3%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Complexity index                         : 16
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Application version

jellyfin-androidtv 0.16.10 release

Device information

Chromecast 4k

Android version

12

Jellyfin server version

10.8.13

solidsnake1298 commented 1 month ago

I have this issue as well, but only on 1080P media. All my 480P content plays fine. I also have the CCwGTV 4K.

For 1080P content it will appear to pause for 3-5 seconds and then resume for some period of time (not consistent) before pausing again. This happens with direct plays and transcodes. When I get home I will take a video and post it here.

florent4014 commented 1 month ago

Same problem here, Jellyfin Android TV 0.16.10, Chromecast HD (Chromecast with Google TV) connected to an (old) LG TV without sound system (using the LG integrated stereo speaker).

It seems to happen randomly on any types of medias (all codecs), but more frequently on HEVC and 7.1 audio. But for exemple for some HEVC/4K/7.1 medias i can lower to like 1Mbit using NEVC Transcoding and it's working but for some others even transcoding them they simply not start and black screen then crashing.

It only happens on the chromecast HD, i tried on smartphones, on web browsers and on a TCL Google TV, all of them are working very well. I will be glad to supply more info or logs if needed.

solidsnake1298 commented 1 month ago

Finally got around to trying to record this issue, but I wasn't able to replicate it again. But I did recently upgrade to 10.9.3.

florent4014 commented 1 month ago

Upgraded my server to 10.9.3 version, latest version of android-tv app too. The issue is still there, got the chance to try on a friend's Chromecast HD but i stumbled against this weird behaviour too.

Atlas780 commented 1 month ago

I did witness this behaviour on a friend's chromecast with my server too. So not a faulty CC issue or something.

I also updated my server to version 10.9.4, but the issue persists