Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Transcoded Videos Only Play for a few Seconds #591

Closed
kevincox opened this issue Jul 15, 2024 · 16 comments
Closed

Some Transcoded Videos Only Play for a few Seconds #591

kevincox opened this issue Jul 15, 2024 · 16 comments
Labels
bug Something isn't working

Comments

@kevincox
Copy link

kevincox commented Jul 15, 2024

Describe the bug

When starting some videos that require transcoding the video plays for a few seconds (8?) then stutters for under a second, then after another second or two of playback pauses with a spinner forever. This is consistent by video. However when it stutters you can seek and it will play for a bit again as described before freezing again. So it doesn't seem to be any particular part of the video, just the video itself.

To Reproduce

Cast a video.

Expected behavior

Logs

Here are some example HTTP logs. Notice that the client stops requesting new chunks. There are no failed requests.

HTTP Logs:
2024-07-15T00:35:08+00:00 GET 200 0.002 /Playback/BitrateTest?size=500000
2024-07-15T00:35:08+00:00 GET 200 0.015 /Users/<user id>/Items?ImageTypes=Backdrop&IncludeItemTypes=Movie%2CSeries&Limit=1&MaxOfficialRating=PG-13&Recursive=true&SortBy=Random
2024-07-15T00:35:08+00:00 GET 200 0.001 /Items/f01c91147bad9923d970a626c9debfcd/Images/Backdrop/0?tag=<tag id 1>
2024-07-15T00:35:09+00:00 GET 200 0.080 /Playback/BitrateTest?size=1000000
2024-07-15T00:35:09+00:00 GET 200 0.117 /Playback/BitrateTest?size=2000000
2024-07-15T00:35:09+00:00 GET 200 0.205 /Playback/BitrateTest?size=4000000
2024-07-15T00:35:10+00:00 GET 200 0.479 /Playback/BitrateTest?size=8000000
2024-07-15T00:35:11+00:00 GET 200 1.114 /Playback/BitrateTest?size=10000000
2024-07-15T00:35:11+00:00 OPTIONS 204 0.000 /Sessions/Capabilities/Full
2024-07-15T00:35:11+00:00 POST 204 0.015 /Sessions/Capabilities/Full
2024-07-15T00:35:26+00:00 GET 200 0.007 /Users/<user id>/Items/<item id>
2024-07-15T00:35:26+00:00 GET 200 0.008 /Users/<user id>/Items/<item id>
2024-07-15T00:35:26+00:00 OPTIONS 204 0.000 /Items/<item id>/PlaybackInfo?MaxStreamingBitrate=43956044&StartTimeTicks=0&UserId=<user id>
2024-07-15T00:35:26+00:00 POST 200 0.003 /Items/<item id>/PlaybackInfo?MaxStreamingBitrate=43956044&StartTimeTicks=0&UserId=<user id>
2024-07-15T00:35:27+00:00 GET 200 0.002 /videos/<video id>/master.m3u8?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported
2024-07-15T00:35:27+00:00 GET 200 0.002 /Items/<item id>/Images/Backdrop/0?tag=<tag id 2>
2024-07-15T00:35:27+00:00 GET 200 0.090 /Items/<item id>/Images/Primary?tag=<tag id 3>
2024-07-15T00:35:27+00:00 GET 200 0.007 /videos/<video id>/main.m3u8?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported
2024-07-15T00:35:27+00:00 GET 200 0.002 /videos/<video id>/master.m3u8?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported
2024-07-15T00:35:30+00:00 GET 200 2.779 /videos/<video id>/hls1/main/0.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=0&actualSegmentLengthTicks=30000000
2024-07-15T00:35:32+00:00 GET 200 0.014 /Videos/<video id>/<item id>/Subtitles/2/0/Stream.vtt?api_key=<api key>
2024-07-15T00:35:32+00:00 GET 200 0.024 /Videos/<video id>/<item id>/Subtitles/3/0/Stream.vtt?api_key=<api key>
2024-07-15T00:35:34+00:00 GET 200 2.617 /videos/<video id>/hls1/main/1.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=30000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:34+00:00 OPTIONS 204 0.001 /Sessions/Playing/Progress
2024-07-15T00:35:34+00:00 OPTIONS 204 0.001 /Sessions/Playing/Progress
2024-07-15T00:35:34+00:00 OPTIONS 204 0.001 /Sessions/Playing
2024-07-15T00:35:35+00:00 POST 204 0.003 /Sessions/Playing/Progress
2024-07-15T00:35:35+00:00 POST 204 0.002 /Sessions/Playing/Progress
2024-07-15T00:35:35+00:00 POST 204 0.005 /Sessions/Playing
2024-07-15T00:35:35+00:00 POST 204 0.002 /Sessions/Playing/Progress
2024-07-15T00:35:36+00:00 GET 200 1.831 /videos/<video id>/hls1/main/2.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=60000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:37+00:00 GET 200 0.759 /videos/<video id>/hls1/main/3.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=90000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:39+00:00 GET 200 1.006 /videos/<video id>/hls1/main/4.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=120000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:40+00:00 OPTIONS 204 0.000 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:35:40+00:00 POST 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:35:40+00:00 OPTIONS 204 0.001 /Sessions/Playing/Progress
2024-07-15T00:35:40+00:00 POST 204 0.002 /Sessions/Playing/Progress
2024-07-15T00:35:43+00:00 GET 200 2.804 /videos/<video id>/hls1/main/5.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=150000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:44+00:00 GET 200 0.642 /videos/<video id>/hls1/main/6.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=180000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:45+00:00 OPTIONS 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:35:45+00:00 POST 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:35:45+00:00 GET 200 0.017 /Users/<user id>/Items/Resume?Limit=12&Recursive=true&Fields=PrimaryImageAspectRatio&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&EnableTotalRecordCount=false&MediaTypes=Video
2024-07-15T00:35:45+00:00 OPTIONS 204 0.001 /Sessions/Playing/Progress
2024-07-15T00:35:45+00:00 GET 200 0.029 /Shows/NextUp?Limit=24&Fields=PrimaryImageAspectRatio%2CDateCreated%2CPath%2CMediaSourceCount&UserId=<user id>&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb&EnableTotalRecordCount=false&DisableFirstEpisode=false&NextUpDateCutoff=2023-07-16T00%3A35%3A45.634Z&EnableResumable=false&EnableRewatching=false
2024-07-15T00:35:45+00:00 POST 204 0.039 /Sessions/Playing/Progress
2024-07-15T00:35:46+00:00 GET 200 2.094 /videos/<video id>/hls1/main/7.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=210000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:48+00:00 GET 200 0.847 /videos/<video id>/hls1/main/8.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=240000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:49+00:00 GET 200 0.730 /videos/<video id>/hls1/main/9.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=270000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:50+00:00 OPTIONS 204 0.000 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:35:50+00:00 POST 204 0.002 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:35:51+00:00 GET 200 1.125 /videos/<video id>/hls1/main/10.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=300000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:52+00:00 GET 200 0.983 /videos/<video id>/hls1/main/11.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=330000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:54+00:00 OPTIONS 204 0.001 /Sessions/Playing/Progress
2024-07-15T00:35:54+00:00 OPTIONS 204 0.000 /Sessions/Playing/Progress
2024-07-15T00:35:54+00:00 OPTIONS 204 0.000 /Sessions/Playing
2024-07-15T00:35:54+00:00 POST 204 0.016 /Sessions/Playing/Progress
2024-07-15T00:35:54+00:00 POST 204 0.001 /Sessions/Playing/Progress
2024-07-15T00:35:54+00:00 POST 204 0.021 /Sessions/Playing
2024-07-15T00:35:55+00:00 GET 200 1.652 /videos/<video id>/hls1/main/12.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=360000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:56+00:00 GET 200 0.986 /videos/<video id>/hls1/main/13.ts?DeviceId=<device id>.311:org.jellyfin.mobile-40&MediaSourceId=<item id>&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=43572044&AudioBitrate=384000&MaxFramerate=23.976025&MaxWidth=3840&PlaySessionId=<session id>&api_key=<api key>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=<tag id 4>&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerNotSupported,%20AudioCodecNotSupported&runtimeTicks=390000000&actualSegmentLengthTicks=30000000
2024-07-15T00:35:59+00:00 OPTIONS 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:35:59+00:00 POST 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:04+00:00 POST 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:05+00:00 GET 200 0.020 /Users/<user id>/Items/Resume?Limit=12&Recursive=true&Fields=PrimaryImageAspectRatio&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&EnableTotalRecordCount=false&MediaTypes=Video
2024-07-15T00:36:05+00:00 GET 200 0.028 /Shows/NextUp?Limit=24&Fields=PrimaryImageAspectRatio%2CDateCreated%2CPath%2CMediaSourceCount&UserId=<user id>&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb&EnableTotalRecordCount=false&DisableFirstEpisode=false&NextUpDateCutoff=2023-07-16T00%3A36%3A05.303Z&EnableResumable=false&EnableRewatching=false
2024-07-15T00:36:09+00:00 OPTIONS 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:09+00:00 POST 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:15+00:00 OPTIONS 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:15+00:00 POST 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:20+00:00 POST 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:22+00:00 POST 204 0.026 /Sessions/Playing/Progress
2024-07-15T00:36:25+00:00 OPTIONS 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:25+00:00 POST 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:30+00:00 POST 204 0.001 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:35+00:00 OPTIONS 204 0.000 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:35+00:00 POST 204 0.002 /Sessions/Playing/Ping?playSessionId=<session id>
2024-07-15T00:36:37+00:00 GET 200 0.005 /Users/<user id>/Items/cf35c1c4f2ff5b60c5c9f3eda3650d57
2024-07-15T00:36:37+00:00 GET 200 0.091 /Users/<user id>/Items?Filters=IsNotFolder&MediaTypes=Audio%2CVideo&ParentId=cf35c1c4f2ff5b60c5c9f3eda3650d57&Recursive=true&SortBy=SortName&UserId=<user id>&Limit=100&Fields=MediaSources%2CChapters&ExcludeLocationTypes=Virtual
2024-07-15T00:36:37+00:00 GET 200 0.005 /Users/<user id>/Items/3f7f946ee2e1bd3b9544f8a2d14781c2
2024-07-15T00:36:37+00:00 OPTIONS 204 0.000 /Sessions/Playing/Stopped
2024-07-15T00:36:39+00:00 POST 204 1.812 /Sessions/Playing/Stopped
Server logs:
[00:35:28] [INF] [75] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /nix/store/0dhbk8ylq1im1y87f4j9kdlwp279f5fq-jellyfin-ffmpeg-6.0.1-6-bin/bin/ffmpeg -analyzeduration 200M -probesize 1G -init_hw_device drm=dr:/dev/dri/renderD128 -init_hw_device vaapi=va@dr -init_hw_device vulkan=vk@dr -filter_hw_device vk -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"<video path>" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -rc_mode VBR -b:v 35342288 -maxrate 35342288 -bufsize 70684576 -sei -a53_cc -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12" -codec:a:0 aac -ac 2 -ab 256000 -af "volume=2" -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/<transcode id>%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/var/lib/jellyfin/transcodes/<transcode id>.m3u8"
[00:35:35] [INF] [83] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: Started user data sync
[00:35:35] [INF] [83] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: User Data Sync: User Kevin (8acde645a7ed4ab6936044a27cf5eb7c) posted 2 updates
[00:35:35] [INF] [83] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: Finished user data sync, taking 00:00:00.0865776
[00:35:55] [INF] [83] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: Started user data sync
[00:35:55] [INF] [83] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: User Data Sync: User Kevin (8acde645a7ed4ab6936044a27cf5eb7c) posted 2 updates
[00:35:55] [INF] [83] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: Finished user data sync, taking 00:00:00.1516153
[00:36:37] [INF] [93] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /var/lib/jellyfin/transcodes/<transcode id>.m3u8
[00:36:38] [INF] [93] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[00:36:38] [INF] [93] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /var/lib/jellyfin/transcodes/<transcode id>.m3u8
[00:36:39] [INF] [73] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Chromecast 3.0.0-57172d7c204f4217ef221341a85384a786626c7b playing Joy Ride. Stopped at 21291 ms
Transcode log:
{"Protocol":0,"Id":"8ecc707f0c37612600e57e1610a54da5","Path":"<video path>","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":15077783942,"Name":"<video basename>","IsRemote":false,"ETag":"9cc351d03b263d405d7fc0352727ee29","RunTimeTicks":56882879999,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"hevc","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"4K HEVC SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":21205373,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1592,"Width":3824,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main 10","Type":1,"AspectRatio":"2.40:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":150,"IsAnamorphic":false},{"Codec":"eac3","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"English - Dolby Digital\u002B - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":768000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"SDH","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"SDH - English - Hearing Impaired - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":true,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":21973373,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/nix/store/0dhbk8ylq1im1y87f4j9kdlwp279f5fq-jellyfin-ffmpeg-6.0.1-6-bin/bin/ffmpeg -analyzeduration 200M -probesize 1G -init_hw_device drm=dr:/dev/dri/renderD128 -init_hw_device vaapi=va@dr -init_hw_device vulkan=vk@dr -filter_hw_device vk -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"<video path>" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -rc_mode VBR -b:v 35342288 -maxrate 35342288 -bufsize 70684576 -sei -a53_cc -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12" -codec:a:0 aac -ac 2 -ab 256000 -af "volume=2" -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/<transcode-id>%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/var/lib/jellyfin/transcodes/<transcode-id>.m3u8"


ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.3.0 (GCC)
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-6.0.1-6 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --enable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/426ksp5z3kigbij4w9d6j08sv59p2xdy-jellyfin-ffmpeg-6.0.1-6-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-6.0.1-6-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-6.0.1-6-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-6.0.1-6-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-6.0.1-6-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-6.0.1-6-doc/share/doc/ffmpeg --enable-alsa --enable-libaom --disable-appkit --enable-libass --disable-audiotoolbox --disable-avfoundation --enable-avisynth --enable-libbluray --enable-libbs2b --enable-bzlib --enable-libcaca --enable-libcelt --enable-chromaprint --enable-libcodec2 --disable-coreimage --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-libdav1d --enable-libdc1394 --enable-libdrm --disable-libfdk-aac --enable-ffnvcodec --enable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libfribidi --enable-libgme --enable-gnutls --enable-libgsm --enable-iconv --enable-libjack --enable-libjxl --enable-ladspa --enable-lzma --disable-metal --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-nvdec --enable-nvenc --enable-openal --enable-opencl --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-opengl --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librtmp --enable-libsmbclient --enable-sdl2 --enable-libshaderc --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --disable-videotoolbox --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-xlib --enable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --enable-libzmq --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping --extra-version=Jellyfin --disable-ptx-compression
  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
Failed to create /var/empty/.cache for shader cache (Operation not permitted)---disabling.
Failed to create /var/empty/.cache for shader cache (Operation not permitted)---disabling.
Input #0, matroska,webm, from 'file:<video path>':
  Metadata:
    encoder         : libebml v1.4.4 + libmatroska v1.7.1
  Duration: 01:34:48.29, start: 0.000000, bitrate: 21205 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 143.184000
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 143.184000, end 900.358000
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 900.358000, end 1714.714000
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1714.714000, end 2510.051000
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 2510.051000, end 3361.569000
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 3361.569000, end 3982.399000
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 3982.399000, end 4731.690000
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 4731.690000, end 5285.744000
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 5285.744000, end 5688.288000
      Metadata:
        title           : Chapter 09
  Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt709), 3824x1592 [SAR 1:1 DAR 478:199], 23.98 fps, 23.98 tbr, 1k tbn (default) (original)
    Metadata:
      BPS             : 20434915
      DURATION        : 01:34:48.266000000
      NUMBER_OF_FRAMES: 136382
      NUMBER_OF_BYTES : 14529904474
      _STATISTICS_WRITING_APP: mkvmerge v77.0 ('Elemental') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 768 kb/s (default) (original)
    Metadata:
      BPS             : 768000
      DURATION        : 01:34:48.288000000
      NUMBER_OF_FRAMES: 177759
      NUMBER_OF_BYTES : 546075648
      _STATISTICS_WRITING_APP: mkvmerge v77.0 ('Elemental') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Subtitle: subrip (original)
    Metadata:
      BPS             : 93
      DURATION        : 01:30:24.584000000
      NUMBER_OF_FRAMES: 1954
      NUMBER_OF_BYTES : 63579
      _STATISTICS_WRITING_APP: mkvmerge v77.0 ('Elemental') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(eng): Subtitle: subrip (original) (hearing impaired)
    Metadata:
      title           : SDH
      BPS             : 109
      DURATION        : 01:31:05.922000000
      NUMBER_OF_FRAMES: 2223
      NUMBER_OF_BYTES : 74809
      _STATISTICS_WRITING_APP: mkvmerge v77.0 ('Elemental') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_vaapi))
  Stream #0:1 -> #0:1 (eac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[h264_vaapi @ 0x169d600] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
Output #0, hls, to '/var/lib/jellyfin/transcodes/<transcode-id>.m3u8':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0: Video: h264 (High), vaapi(tv, bt709, progressive), 3824x1592 [SAR 1:1 DAR 478:199], q=2-31, 35342 kb/s, 23.98 fps, 90k tbn (default) (original)
    Metadata:
      encoder         : Lavc60.3.100 h264_vaapi
  Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 256 kb/s (default) (original)
    Metadata:
      encoder         : Lavc60.3.100 aac
frame=    0 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
frame=   36 fps=0.0 q=-0.0 size=N/A time=00:00:01.60 bitrate=N/A speed=2.51x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb0.ts' for writing
frame=   75 fps= 65 q=-0.0 size=N/A time=00:00:03.26 bitrate=N/A speed=2.84x    
frame=  113 fps= 68 q=-0.0 size=N/A time=00:00:04.92 bitrate=N/A speed=2.98x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb1.ts' for writing
frame=  151 fps= 70 q=-0.0 size=N/A time=00:00:06.42 bitrate=N/A speed=2.96x    
frame=  188 fps= 70 q=-0.0 size=N/A time=00:00:07.87 bitrate=N/A speed=2.95x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb2.ts' for writing
frame=  225 fps= 71 q=-0.0 size=N/A time=00:00:09.47 bitrate=N/A speed=2.98x    
frame=  264 fps= 72 q=-0.0 size=N/A time=00:00:11.13 bitrate=N/A speed=3.03x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb3.ts' for writing
frame=  303 fps= 72 q=-0.0 size=N/A time=00:00:12.69 bitrate=N/A speed=3.04x    
frame=  342 fps= 73 q=-0.0 size=N/A time=00:00:14.29 bitrate=N/A speed=3.04x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb4.ts' for writing
frame=  380 fps= 73 q=-0.0 size=N/A time=00:00:15.93 bitrate=N/A speed=3.06x    
frame=  420 fps= 74 q=-0.0 size=N/A time=00:00:17.68 bitrate=N/A speed= 3.1x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb5.ts' for writing
frame=  460 fps= 74 q=-0.0 size=N/A time=00:00:19.22 bitrate=N/A speed= 3.1x    
frame=  501 fps= 75 q=-0.0 size=N/A time=00:00:20.99 bitrate=N/A speed=3.12x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb6.ts' for writing
frame=  535 fps= 74 q=-0.0 size=N/A time=00:00:22.52 bitrate=N/A speed=3.12x    
frame=  571 fps= 74 q=-0.0 size=N/A time=00:00:23.95 bitrate=N/A speed= 3.1x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb7.ts' for writing
frame=  609 fps= 74 q=-0.0 size=N/A time=00:00:25.55 bitrate=N/A speed= 3.1x    
frame=  643 fps= 73 q=-0.0 size=N/A time=00:00:26.90 bitrate=N/A speed=3.07x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb8.ts' for writing
frame=  678 fps= 73 q=-0.0 size=N/A time=00:00:28.30 bitrate=N/A speed=3.06x    
frame=  717 fps= 73 q=-0.0 size=N/A time=00:00:29.97 bitrate=N/A speed=3.07x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb9.ts' for writing
frame=  751 fps= 73 q=-0.0 size=N/A time=00:00:31.50 bitrate=N/A speed=3.06x    
frame=  787 fps= 73 q=-0.0 size=N/A time=00:00:32.91 bitrate=N/A speed=3.05x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb10.ts' for writing
frame=  823 fps= 73 q=-0.0 size=N/A time=00:00:34.36 bitrate=N/A speed=3.04x    
frame=  859 fps= 73 q=-0.0 size=N/A time=00:00:35.86 bitrate=N/A speed=3.03x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb11.ts' for writing
frame=  896 fps= 73 q=-0.0 size=N/A time=00:00:37.44 bitrate=N/A speed=3.04x    
frame=  934 fps= 73 q=-0.0 size=N/A time=00:00:38.97 bitrate=N/A speed=3.04x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb12.ts' for writing
frame=  971 fps= 73 q=-0.0 size=N/A time=00:00:40.53 bitrate=N/A speed=3.04x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb13.ts' for writing
frame= 1008 fps= 73 q=-0.0 size=N/A time=00:00:42.17 bitrate=N/A speed=3.05x    
frame= 1045 fps= 73 q=-0.0 size=N/A time=00:00:43.64 bitrate=N/A speed=3.04x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb14.ts' for writing
frame= 1081 fps= 73 q=-0.0 size=N/A time=00:00:45.20 bitrate=N/A speed=3.04x    
frame= 1118 fps= 73 q=-0.0 size=N/A time=00:00:46.84 bitrate=N/A speed=3.05x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb15.ts' for writing
frame= 1158 fps= 73 q=-0.0 size=N/A time=00:00:48.27 bitrate=N/A speed=3.04x    
frame= 1195 fps= 73 q=-0.0 size=N/A time=00:00:50.00 bitrate=N/A speed=3.05x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb16.ts' for writing
frame= 1233 fps= 73 q=-0.0 size=N/A time=00:00:51.45 bitrate=N/A speed=3.04x    
frame= 1268 fps= 73 q=-0.0 size=N/A time=00:00:52.92 bitrate=N/A speed=3.04x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb17.ts' for writing
frame= 1303 fps= 73 q=-0.0 size=N/A time=00:00:54.42 bitrate=N/A speed=3.03x    
frame= 1339 fps= 73 q=-0.0 size=N/A time=00:00:55.93 bitrate=N/A speed=3.03x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb18.ts' for writing
frame= 1375 fps= 73 q=-0.0 size=N/A time=00:00:57.36 bitrate=N/A speed=3.03x    
frame= 1411 fps= 73 q=-0.0 size=N/A time=00:00:58.96 bitrate=N/A speed=3.03x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb19.ts' for writing
frame= 1446 fps= 72 q=-0.0 size=N/A time=00:01:00.37 bitrate=N/A speed=3.03x    
frame= 1481 fps= 72 q=-0.0 size=N/A time=00:01:01.82 bitrate=N/A speed=3.02x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb20.ts' for writing
frame= 1517 fps= 72 q=-0.0 size=N/A time=00:01:03.44 bitrate=N/A speed=3.02x    
frame= 1553 fps= 72 q=-0.0 size=N/A time=00:01:04.78 bitrate=N/A speed=3.01x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb21.ts' for writing
frame= 1589 fps= 72 q=-0.0 size=N/A time=00:01:06.38 bitrate=N/A speed=3.02x    
frame= 1627 fps= 72 q=-0.0 size=N/A time=00:01:07.90 bitrate=N/A speed=3.02x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb22.ts' for writing
frame= 1663 fps= 72 q=-0.0 size=N/A time=00:01:09.44 bitrate=N/A speed=3.02x    
frame= 1699 fps= 72 q=-0.0 size=N/A time=00:01:10.86 bitrate=N/A speed=3.01x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb23.ts' for writing
frame= 1735 fps= 72 q=-0.0 size=N/A time=00:01:12.40 bitrate=N/A speed=3.01x    
frame= 1771 fps= 72 q=-0.0 size=N/A time=00:01:13.94 bitrate=N/A speed=3.01x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb24.ts' for writing
frame= 1807 fps= 72 q=-0.0 size=N/A time=00:01:15.47 bitrate=N/A speed=3.01x    
frame= 1842 fps= 72 q=-0.0 size=N/A time=00:01:16.86 bitrate=N/A speed=3.01x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb25.ts' for writing
frame= 1878 fps= 72 q=-0.0 size=N/A time=00:01:18.46 bitrate=N/A speed=3.01x    
frame= 1914 fps= 72 q=-0.0 size=N/A time=00:01:19.89 bitrate=N/A speed=3.01x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb26.ts' for writing
frame= 1950 fps= 72 q=-0.0 size=N/A time=00:01:21.36 bitrate=N/A speed=3.01x    
frame= 1987 fps= 72 q=-0.0 size=N/A time=00:01:22.94 bitrate=N/A speed=3.01x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb27.ts' for writing
frame= 2023 fps= 72 q=-0.0 size=N/A time=00:01:24.43 bitrate=N/A speed=3.01x    
frame= 2059 fps= 72 q=-0.0 size=N/A time=00:01:26.01 bitrate=N/A speed=3.01x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb28.ts' for writing
frame= 2095 fps= 72 q=-0.0 size=N/A time=00:01:27.44 bitrate=N/A speed=   3x    
frame= 2131 fps= 72 q=-0.0 size=N/A time=00:01:29.02 bitrate=N/A speed=3.01x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb29.ts' for writing
frame= 2168 fps= 72 q=-0.0 size=N/A time=00:01:30.45 bitrate=N/A speed=   3x    
frame= 2205 fps= 72 q=-0.0 size=N/A time=00:01:32.09 bitrate=N/A speed=3.01x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb30.ts' for writing
frame= 2241 fps= 72 q=-0.0 size=N/A time=00:01:33.58 bitrate=N/A speed=3.01x    
frame= 2277 fps= 72 q=-0.0 size=N/A time=00:01:35.16 bitrate=N/A speed=3.01x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb31.ts' for writing
frame= 2313 fps= 72 q=-0.0 size=N/A time=00:01:36.66 bitrate=N/A speed=3.01x    
frame= 2349 fps= 72 q=-0.0 size=N/A time=00:01:38.11 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb32.ts' for writing
frame= 2385 fps= 72 q=-0.0 size=N/A time=00:01:39.60 bitrate=N/A speed=   3x    
frame= 2421 fps= 72 q=-0.0 size=N/A time=00:01:41.01 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb33.ts' for writing
frame= 2458 fps= 72 q=-0.0 size=N/A time=00:01:42.54 bitrate=N/A speed=   3x    
frame= 2494 fps= 72 q=-0.0 size=N/A time=00:01:44.25 bitrate=N/A speed=3.01x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb34.ts' for writing
frame= 2529 fps= 72 q=-0.0 size=N/A time=00:01:45.53 bitrate=N/A speed=   3x    
frame= 2565 fps= 72 q=-0.0 size=N/A time=00:01:47.20 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb35.ts' for writing
frame= 2601 fps= 72 q=-0.0 size=N/A time=00:01:48.60 bitrate=N/A speed=   3x    
frame= 2637 fps= 72 q=-0.0 size=N/A time=00:01:50.10 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb36.ts' for writing
frame= 2673 fps= 72 q=-0.0 size=N/A time=00:01:51.50 bitrate=N/A speed=   3x    
frame= 2708 fps= 72 q=-0.0 size=N/A time=00:01:53.02 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb37.ts' for writing
frame= 2743 fps= 72 q=-0.0 size=N/A time=00:01:54.51 bitrate=N/A speed=   3x    
frame= 2779 fps= 72 q=-0.0 size=N/A time=00:01:55.98 bitrate=N/A speed=2.99x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb38.ts' for writing
frame= 2817 fps= 72 q=-0.0 size=N/A time=00:01:57.52 bitrate=N/A speed=2.99x    
frame= 2855 fps= 72 q=-0.0 size=N/A time=00:01:59.29 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb39.ts' for writing
frame= 2892 fps= 72 q=-0.0 size=N/A time=00:02:00.72 bitrate=N/A speed=   3x    
frame= 2928 fps= 72 q=-0.0 size=N/A time=00:02:02.17 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb40.ts' for writing
frame= 2964 fps= 72 q=-0.0 size=N/A time=00:02:03.64 bitrate=N/A speed=   3x    
frame= 2999 fps= 72 q=-0.0 size=N/A time=00:02:05.26 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb41.ts' for writing
frame= 3034 fps= 72 q=-0.0 size=N/A time=00:02:06.59 bitrate=N/A speed=2.99x    
frame= 3070 fps= 72 q=-0.0 size=N/A time=00:02:08.12 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb42.ts' for writing
frame= 3107 fps= 72 q=-0.0 size=N/A time=00:02:09.72 bitrate=N/A speed=   3x    
frame= 3143 fps= 72 q=-0.0 size=N/A time=00:02:11.13 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb43.ts' for writing
frame= 3181 fps= 72 q=-0.0 size=N/A time=00:02:12.80 bitrate=N/A speed=   3x    
frame= 3217 fps= 72 q=-0.0 size=N/A time=00:02:14.29 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb44.ts' for writing
frame= 3253 fps= 72 q=-0.0 size=N/A time=00:02:15.80 bitrate=N/A speed=   3x    
frame= 3289 fps= 72 q=-0.0 size=N/A time=00:02:17.21 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb45.ts' for writing
frame= 3327 fps= 72 q=-0.0 size=N/A time=00:02:18.88 bitrate=N/A speed=   3x    
frame= 3366 fps= 72 q=-0.0 size=N/A time=00:02:20.56 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb46.ts' for writing
frame= 3405 fps= 72 q=-0.0 size=N/A time=00:02:22.03 bitrate=N/A speed=   3x    
frame= 3439 fps= 72 q=-0.0 size=N/A time=00:02:23.48 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb47.ts' for writing
frame= 3473 fps= 72 q=-0.0 size=N/A time=00:02:24.89 bitrate=N/A speed=   3x    
frame= 3509 fps= 72 q=-0.0 size=N/A time=00:02:26.56 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb48.ts' for writing
frame= 3545 fps= 72 q=-0.0 size=N/A time=00:02:28.03 bitrate=N/A speed=   3x    
frame= 3578 fps= 72 q=-0.0 size=N/A time=00:02:29.26 bitrate=N/A speed=2.99x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb49.ts' for writing
frame= 3613 fps= 72 q=-0.0 size=N/A time=00:02:30.78 bitrate=N/A speed=2.99x    
frame= 3652 fps= 72 q=-0.0 size=N/A time=00:02:32.44 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb50.ts' for writing
frame= 3691 fps= 72 q=-0.0 size=N/A time=00:02:34.04 bitrate=N/A speed=   3x    
frame= 3727 fps= 72 q=-0.0 size=N/A time=00:02:35.47 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb51.ts' for writing
frame= 3762 fps= 72 q=-0.0 size=N/A time=00:02:36.92 bitrate=N/A speed=   3x    
frame= 3798 fps= 72 q=-0.0 size=N/A time=00:02:38.42 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb52.ts' for writing
frame= 3835 fps= 72 q=-0.0 size=N/A time=00:02:40.14 bitrate=N/A speed=   3x    
frame= 3873 fps= 72 q=-0.0 size=N/A time=00:02:41.66 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb53.ts' for writing
frame= 3909 fps= 72 q=-0.0 size=N/A time=00:02:43.13 bitrate=N/A speed=   3x    
frame= 3943 fps= 72 q=-0.0 size=N/A time=00:02:44.48 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb54.ts' for writing
frame= 3981 fps= 72 q=-0.0 size=N/A time=00:02:46.16 bitrate=N/A speed=   3x    
frame= 4018 fps= 72 q=-0.0 size=N/A time=00:02:47.80 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb55.ts' for writing
frame= 4054 fps= 72 q=-0.0 size=N/A time=00:02:49.21 bitrate=N/A speed=   3x    
frame= 4092 fps= 72 q=-0.0 size=N/A time=00:02:50.70 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb56.ts' for writing
frame= 4127 fps= 72 q=-0.0 size=N/A time=00:02:52.18 bitrate=N/A speed=   3x    
frame= 4163 fps= 72 q=-0.0 size=N/A time=00:02:53.65 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb57.ts' for writing
frame= 4200 fps= 72 q=-0.0 size=N/A time=00:02:55.36 bitrate=N/A speed=   3x    
frame= 4236 fps= 72 q=-0.0 size=N/A time=00:02:56.70 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb58.ts' for writing
frame= 4273 fps= 72 q=-0.0 size=N/A time=00:02:58.26 bitrate=N/A speed=   3x    
frame= 4309 fps= 72 q=-0.0 size=N/A time=00:02:59.92 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb59.ts' for writing
frame= 4346 fps= 72 q=-0.0 size=N/A time=00:03:01.39 bitrate=N/A speed=   3x    
frame= 4380 fps= 72 q=-0.0 size=N/A time=00:03:02.74 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb60.ts' for writing
frame= 4415 fps= 72 q=-0.0 size=N/A time=00:03:04.25 bitrate=N/A speed=   3x    
frame= 4449 fps= 72 q=-0.0 size=N/A time=00:03:05.74 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb61.ts' for writing
frame= 4486 fps= 72 q=-0.0 size=N/A time=00:03:07.22 bitrate=N/A speed=2.99x    
frame= 4525 fps= 72 q=-0.0 size=N/A time=00:03:08.92 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb62.ts' for writing
frame= 4563 fps= 72 q=-0.0 size=N/A time=00:03:10.52 bitrate=N/A speed=   3x    
frame= 4600 fps= 72 q=-0.0 size=N/A time=00:03:12.00 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb63.ts' for writing
frame= 4636 fps= 72 q=-0.0 size=N/A time=00:03:13.42 bitrate=N/A speed=   3x    
frame= 4674 fps= 72 q=-0.0 size=N/A time=00:03:14.96 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb64.ts' for writing
frame= 4708 fps= 72 q=-0.0 size=N/A time=00:03:16.56 bitrate=N/A speed=   3x    
frame= 4745 fps= 72 q=-0.0 size=N/A time=00:03:17.97 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb65.ts' for writing
frame= 4780 fps= 72 q=-0.0 size=N/A time=00:03:19.48 bitrate=N/A speed=   3x    
frame= 4816 fps= 72 q=-0.0 size=N/A time=00:03:20.98 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb66.ts' for writing
frame= 4852 fps= 72 q=-0.0 size=N/A time=00:03:22.49 bitrate=N/A speed=   3x    
frame= 4890 fps= 72 q=-0.0 size=N/A time=00:03:24.16 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb67.ts' for writing
frame= 4929 fps= 72 q=-0.0 size=N/A time=00:03:25.63 bitrate=N/A speed=   3x    
[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb68.ts' for writing
frame= 4967 fps= 72 q=-0.0 size=N/A time=00:03:27.18 bitrate=N/A speed=   3x    

[q] command received. Exiting.

[hls @ 0x169cfc0] Opening '/var/lib/jellyfin/transcodes/97167a6fc1754d01f55551b4d587b4eb69.ts' for writing
frame= 4992 fps= 72 q=-0.0 Lsize=N/A time=00:03:28.29 bitrate=N/A speed=   3x    
video:888753kB audio:6579kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[aac @ 0x1692900] Qavg: 1984.115

System (please complete the following information):

  • OS: NixOS
  • Browser: Chromecast
  • Jellyfin version: 10.9.7
  • Cast Receiver version: Both
  • Cast client: Ultra
@kevincox kevincox added the bug Something isn't working label Jul 15, 2024
@kevincox
Copy link
Author

Here are some more logs from different videos. The result is consistent per source file.

Working

Freezing

@kevincox
Copy link
Author

I do see that the bitrate for all of the good videos are lower than the bitrate for all of the bad videos.

bad-1-ffmpeg.log:  bitrate: 9707 kb/s
bad-2-ffmpeg.log:  bitrate: 34653 kb/s
bad-3-ffmpeg.log:  bitrate: 12685 kb/s
good-2-ffmpeg.log: bitrate: 1355 kb/s
good-3-ffmpeg.log: bitrate: 2230 kb/s
good-1-ffmpeg.log: bitrate: 3437 kb/s

@kevincox
Copy link
Author

It does seem highly correlated to the bitrate. But I don't think it is the full story. I went through my library and it does seem that there is a pivot point. There is only one exception. I have one video with 9707kbps that doesn't play and one with 9846kbps that does play. But other than those two being "flipped" there is a cutoff point where the videos stopped working.

However I noticed that a lot of the videos that were failing used to work. I had watched them in the past. I also noticed that despite having "Allow encoding in HEVC format" enabled all of the videos are being transcoded to h264. Often despite the original being in h265.

I also found https://developers.google.com/cast/docs/media#chromecast_ultra which doesn't have specific bitrate numbers but it does indicate that the Chromecast Ultra supports "H.264 High Profile up to level 4.2 (1080p/60fps)" and "HEVC / H.265 Main and Main10 Profiles up to level 5.1 (4K/60fps)". So it seems like the h265 decoder for that device can handle a lot more data than the h264 one.

So my theory is that something changed that stopped Jellyfin from direct playing h265 and/or stopped it from transcoding to h265. This results in high bitrate videos causing issues on the Chromecast Ultra h264 encoder.

So I guess the questions are:

  1. Why is h265 not playing directly anymore?
  2. Why is the transcode not targeting h265?

Either of these should resolve my issue. But really both should be solved. I also don't know if the problem is in the Jellyfin server or jellyfin-chromecast.

@kevincox
Copy link
Author

Even weirder hardware decoding seems to affect the result. Even doing hardware decoding and software encoding causes it not to play. While software decoding and software encoding works.

@kevincox
Copy link
Author

Ah, the difference may be the colour space!

Hardware acceleration enabled: nv12
No hardware acceleration: yuv420p

Also a slight bitrate change, but I doubt that is the problem:

Hardware accelerated: 35342000
Not accelerated: 31425000

In fact it doesn't even seem like it is ever hardware decoding. Only some scaling is done in hardware.

Hardware accelerated: -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12,hwdownload,format=nv12"
No acceleration: -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,3840)/2)*2:trunc(ow/a/2)*2,format=yuv420p"

@kevincox
Copy link
Author

I feel like I'm going crazy. Even with the same settings the result can be different. For example these are all with no hardware acceleration at all. It worked three times in a row. Then I togged on "Allow encoding in HEVC format" and it failed. Then I turned it back off and it still failed! Then I played again and it worked again.

I checked the logs and it seems that for some reason different resolution and bitrate is being requested.

  • Working 1: ffmpeg ... -maxrate 7498744 -bufsize 14997488 ... -vf "...,scale=trunc(min(max(iw\,ih*a)\,1920)/2)*2:trunc(ow/a/2)*2,..." ...
  • Broken: ffmpeg ... -maxrate 28187429 -bufsize 56374858 ... -vf "...,scale=trunc(min(max(iw\,ih*a)\,3840)/2)*2:trunc(ow/a/2)*2,..." ...
  • Working 2: ffmpeg ... -maxrate 15684290 -bufsize 31368580 ... -vf "...,scale=trunc(min(max(iw\,ih*a)\,1920)/2)*2:trunc(ow/a/2)*2,..." ...

So sometimes it is deciding to scale to 1080p which works. IDK why this isn't consistent. I also don't know why this isn't using h265.

It seems like the bitrate test is giving varying results. (Despite being a wired connection to the server) so if you get lucky it plays. I can see various different values passed to /Items/<video id>/PlaybackInfo?MaxStreamingBitrate=??? endpoint. This means that it may or may not work depending on if you get lucky or not. It seems that this "bitrate test" is more of a connection speed test.

It also seems that this wouldn't be an issue if h265 was used.

@kevincox
Copy link
Author

So the root of the problem seems to be that HLS is now preferred, and HLS is hardcoded to be h264 only.

export function getSupportedHLSVideoCodecs(): Array<string> {
// Currently the server does not support fmp4 which is required
// by the HLS spec for streaming H.265 video.
return ['h264'];
}

This results in a high bitrate h264 file that the Chromecast Ultra can't play and somehow locks up.

So possible fixes may be:

  1. Allow HLS with h265.
  2. Properly set the max bitrate to transcode to a low enough bitrate that h264 works.

@rj45jack
Copy link

rj45jack commented Sep 3, 2024

I just wanted to say that I've been having this issue for months and this is the first mention of my exact issue. Frustrating since I recorded all my media to 265 and then this happens 🤷

@3flex
Copy link
Contributor

3flex commented Sep 27, 2024

Allow HLS with h265

The comment on the linked code snippet is not correct now as fMP4-HLS is supported by the server. However, it's behind a flag and I understand is disabled by default.

In theory Chromecast could declare support for HEVC (and AV1) on HLS and server would support direct stream/play to Chromecast if "Prefer fMP4-HLS Media Container" is enabled in Playback settings and the hardware supports it, falling back to h264 transcode if not.

@BeleziaKhanid
Copy link

Is there any update or idea for a workaround regarding this issue? Ever since I upgraded to the latest jellyfin version a few months ago I'm experiencing the same issue. Everything with a low bitrate works fine on chromcast, high bitrates get the spinning wheel of eternity. All other devices work fine, regardless of bitrate.

@3flex
Copy link
Contributor

3flex commented Dec 9, 2024

Has anyone tested recently using the unstable Chromecast client?

There have been a few changes here which hopefully improve reliability (changing the video player used by the client, and also forcing the use of MP4 containers).

I use a Chromecast gen 2 which doesn't support HEVC or AV1 natively. I had a bad experience with the stable client but the changes I've submitted that are available on the unstable client have improved things a lot.

@kevincox
Copy link
Author

kevincox commented Dec 9, 2024

I'll try to do some tests later today. Would you mind linking some changes that you think may be relevant? It would be helpful for debugging and just for reference.

@3flex
Copy link
Contributor

3flex commented Dec 9, 2024

@kevincox
Copy link
Author

kevincox commented Dec 9, 2024

I removed my bitrate limit and played a bunch of random videos and didn't hit any issues. Unfortunately I no longer have the only video that I remember for sure from the original test set. But give the wide sampling it seems that this issue is no longer present on the beta channel.

@3flex
Copy link
Contributor

3flex commented Dec 10, 2024

Great news! Would you consider closing this issue then?

I would push for promotion of the unstable client to stable, but there are some subtitle issues that I'd like to look into first.

@kevincox
Copy link
Author

No harm in closing. If the other commenters are still seeing issues we can reopen or they can file issues with more details about their setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants