2023-10-07, 11:07 PM
I'm using QuickSync for transcoding with the official Docker image. In the transcoding settings, I have "Throttle Transcodes" enabled. I just played a 1 hour long TV recording but paused it at 5 seconds, and watched it spend 15 minutes to transcode all 100% of the video at once. Isn't this the entire point of the setting?
Also for some other videos, they just don't ever start playing (but they do play fine with hardware transcoding disabled), not sure if that's a related issue.
Jellyfin version 10.8.11
Using official Docker image
Client: Web, using Firefox
CPU (for QSV): i7-7700 (Kaby Lake)
Logs of it continually transcoding (debug is enabled, but there are no debug messages from the issue):
Also for some other videos, they just don't ever start playing (but they do play fine with hardware transcoding disabled), not sure if that's a related issue.
Jellyfin version 10.8.11
Using official Docker image
Client: Web, using Firefox
CPU (for QSV): i7-7700 (Kaby Lake)
Logs of it continually transcoding (debug is enabled, but there are no debug messages from the issue):
Code:
[22:55:46] [INF] [11] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for bbaovanc. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[22:55:46] [INF] [11] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=http://jellyfin:[redacted]@tvheadend-clear.ldb:80/dvrfile/1378345225, AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=Transcode, TranscodeReason=ContainerNotSupported, VideoCodecNotSupported, AudioCodecNotSupported ) media:/videos/cb8289aa-4c6d-accd-55d4-71fe8b31b2e1/master.m3u8?MediaSourceId=cb8289aa4c6daccd55d471fe8b31b2e1&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139616000&AudioBitrate=384000&MaxFramerate=59.94006&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&mpeg2video-level=4&mpeg2video-videobitdepth=8&mpeg2video-profile=main&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported
[22:55:47] [INF] [11] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[22:55:47] [INF] [11] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD,kernel_driver=i915 -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -c:v mpeg2_qsv -autorotate 0 -i "http://jellyfin:[redacted]@tvheadend-clear.ldb:80/dvrfile/1378345225" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset 7 -look_ahead 0 -b:v 7646652 -maxrate 7646652 -bufsize 15293304 -g:v:0 180 -keyint_min:v:0 180 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_qsv=format=nv12" -codec:a:0 libfdk_aac -ac 2 -ab 384000 -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 "/transcode/abb3577df2317bf6a215902b34c6ac6f%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/transcode/abb3577df2317bf6a215902b34c6ac6f.m3u8"
[22:55:48] [WRN] [64] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jellyfin.ldb/videos/cb8289aa-4c6d-accd-55d4-71fe8b31b2e1/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0OyBydjoxMDkuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC8xMTguMHwxNjk2NjM1MTc4ODAy&MediaSourceId=cb8289aa4c6daccd55d471fe8b31b2e1&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139616000&AudioBitrate=384000&MaxFramerate=59.94006&PlaySessionId=d824271ca8ea4c02ba6cc7b577f9ae4c&api_key=71585eb50a5a4df0b6ddf9b4728f4012&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&mpeg2video-level=4&mpeg2video-videobitdepth=8&mpeg2video-profile=main&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported&runtimeTicks=0&actualSegmentLengthTicks=30000000 to 172.31.255.3 in 0:00:00.9306896 with Status Code 200