2023-09-23, 05:55 AM
(This post was last modified: 2023-10-10, 04:37 PM by IcyDiamond. Edited 2 times in total.)
Hello. I'm currently stuck on Jellyfin version 10.8.9 because on 10.8.10 some videos are completely unwatchable.
There is some kind of weird issue where the video will repeat like 2 frames for maybe 6 seconds and then skip ahead, repeating this pattern, all the while the audio track runs in the background without issue. This happens on every device I've tried on specific videos.
There is absolutely nothing I can discern wrong from the transcode logs or Jellyfin logs or even the in-player statistics - there are no dropped frames etc.
Player statistics show nothing out of the ordinary
Jellyfin container log:
Here's a transcode log which looks pretty normal to me: https://termbin.lunasqu.ee/bp0i
Comparing this to 10.8.9 now:
Transcode log: https://termbin.lunasqu.ee/hh5x
Comparing the logs I just noticed that 10.8.10 has an extra line
Could this be the culprit?
There is some kind of weird issue where the video will repeat like 2 frames for maybe 6 seconds and then skip ahead, repeating this pattern, all the while the audio track runs in the background without issue. This happens on every device I've tried on specific videos.
There is absolutely nothing I can discern wrong from the transcode logs or Jellyfin logs or even the in-player statistics - there are no dropped frames etc.
- Version: 10.8.10
- Platform: Linux Docker on Arch Linux
- Using the lscr.io/linuxserver/jellyfin image with linuxserver/mods:jellyfin-amd mod (tested with and without, no difference)
- GPU: RX 7900 XTX
- CPU: Ryzen 9 7950X
Player statistics show nothing out of the ordinary
Jellyfin container log:
Code:
jellyfin | [05:36:58] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 20000000, RemoteIp: 127.0.0.1, IsInLocalNetwork: True
jellyfin | [05:36:58] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/media/tv/SHOW.avi, AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerNotSupported, VideoCodecNotSupported, AudioCodecNotSupported ) media:/videos/0cc6aa38-118d-d4d1-01cd-c6c810477e01/master.m3u8?MediaSourceId=0cc6aa38118dd4d101cdc6c810477e01&VideoCodec=h264&AudioCodec=mp3&AudioStreamIndex=1&VideoBitrate=139747784&AudioBitrate=252216&AudioSampleRate=48000&MaxFramerate=29.97003&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=c7f5277472e121725f3755b2fa67dc0a&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&mpeg4-level=3&mpeg4-videobitdepth=8&mpeg4-profile=simpleprofile&mpeg4-audiochannels=2&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported
jellyfin | [05:36:59] [INF] [26] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
jellyfin | [05:36:59] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:/dev/dri/renderD128 -filter_hw_device va -autorotate 0 -i file:"/media/tv/SHOW.avi" -map_metadata -1 -map_chapters -1 -threads 6 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -rc_mode VBR -b:v 5999036 -maxrate 5999036 -bufsize 11998072 -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(720\,480*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(720/a\,480))/2)*2,format=nv12,hwupload=derive_device=vaapi" -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 "/config/data/transcodes/3b431d0cff7487e56bec522ac33acd81%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcodes/3b431d0cff7487e56bec522ac33acd81.m3u8"
jellyfin | [05:37:15] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for /config/data/transcodes/3b431d0cff7487e56bec522ac33acd81.m3u8
jellyfin | [05:37:15] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
Here's a transcode log which looks pretty normal to me: https://termbin.lunasqu.ee/bp0i
Comparing this to 10.8.9 now:
Code:
jellyfin | [05:51:25] [INF] [17] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/media/tv/SHOW.avi, AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerNotSupported, VideoCodecNotSupported, AudioCodecNotSupported ) media:/videos/0cc6aa38-118d-d4d1-01cd-c6c810477e01/master.m3u8?MediaSourceId=0cc6aa38118dd4d101cdc6c810477e01&VideoCodec=h264&AudioCodec=mp3&AudioStreamIndex=1&VideoBitrate=139747784&AudioBitrate=252216&AudioSampleRate=48000&MaxFramerate=29.97003&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=c7f5277472e121725f3755b2fa67dc0a&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&mpeg4-level=3&mpeg4-videobitdepth=8&mpeg4-profile=simpleprofile&mpeg4-audiochannels=2&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported
jellyfin | [05:51:25] [INF] [17] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
jellyfin | [05:51:25] [INF] [17] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:/dev/dri/renderD128 -filter_hw_device va -autorotate 0 -i file:"/media/tv/SHOW.avi" -map_metadata -1 -map_chapters -1 -threads 6 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -rc_mode VBR -b:v 5999036 -maxrate 5999036 -bufsize 11998072 -profile:v:0 high -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(720\,480*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(720/a\,480))/2)*2,format=nv12,hwupload=derive_device=vaapi" -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 "/config/data/transcodes/ba3a532dd8f03c8021074e257a4298f7%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcodes/ba3a532dd8f03c8021074e257a4298f7.m3u8"
Transcode log: https://termbin.lunasqu.ee/hh5x
Comparing the logs I just noticed that 10.8.10 has an extra line
Code:
[h264_vaapi @ 0x5633c95ad740] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).