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

[Issue]: Transcoding immediatly stops after starting playback #5039

Open
1 task done
Freekers opened this issue Aug 21, 2022 · 21 comments
Open
1 task done

[Issue]: Transcoding immediatly stops after starting playback #5039

Freekers opened this issue Aug 21, 2022 · 21 comments
Labels
bug Something isn't working

Comments

@Freekers
Copy link

Please describe your bug

Transcoding immediately stops after starting playback for some video files, after which error "This client isn't compatible with the media and the server isn't sending a compatible media format" is shown. It looks like 3 attempts are being made to transcode the file, as there are 3 separate transcoding logs. One of them states 'copy' while the other two indicate transcoding.

Possibly related to jellyfin/jellyfin#8233 even though in my case not even a second of video is being shown.

Jellyfin Version

Other

if other:

10.8.4

Environment

- OS: Ubuntu 22.04.1
- Virtualization: Docker
- Clients: Browser
- Browser: Firefox 103.0.2
- FFmpeg Version: 5.1-Jellyfin
- Playback Method: Transcode
- Hardware Acceleration: Intel QSV
- Plugins: none
- Reverse Proxy: nginx
- Base URL: none
- Networking: bridge
- Storage: local (SSD) for transcoding files, SAMBA/CIFS for video files

Jellyfin logs

[2022-08-22 00:25:39.508 +02:00] [INF] [77] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.10.103" request
[2022-08-22 00:27:42.142 +02:00] [INF] [42] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "nas". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-08-22 00:27:42.143 +02:00] [INF] [42] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=AudioCodecNotSupported ) "media:/videos/54a5c79a-4c2d-2c13-4b36-bed465007f2e/master.m3u8?MediaSourceId=54a5c79a4c2d2c134b36bed465007f2e&VideoCodec=h264,h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139360000&AudioBitrate=640000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=8&RequireAvc=false&Tag=ad80cef38c45ef8b323b464f63296b4c&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-rangetype=SDR&h264-deinterlace=true&TranscodeReasons=AudioCodecNotSupported"
[2022-08-22 00:27:42.670 +02:00] [INF] [42] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2022-08-22 00:27:42.671 +02:00] [INF] [42] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -fflags +genpts  -i file:\"/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv\" -map_metadata -1 -map_chapters -1 -threads 6 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -codec:a:0 libfdk_aac -ac 8 -ab 640000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"/config/data/transcodes/4a3f6575d45fd3be6e1f14a8dfa7aec6%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/data/transcodes/4a3f6575d45fd3be6e1f14a8dfa7aec6.m3u8\""
[2022-08-22 00:27:44.025 +02:00] [WRN] [111] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.<REDACTED>/videos/54a5c79a-4c2d-2c13-4b36-bed465007f2e/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTAzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTAzLjB8MTY2MDA4MTk3NzgxNA11&MediaSourceId=54a5c79a4c2d2c134b36bed465007f2e&VideoCodec=h264,h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139360000&AudioBitrate=640000&MaxFramerate=23.976025&PlaySessionId=648bad0ed16e452b838540cdd17d4c33&api_key=19d183cf76d0475d923f549d218dd3bc&SubtitleMethod=Encode&TranscodingMaxAudioChannels=8&RequireAvc=false&Tag=ad80cef38c45ef8b323b464f63296b4c&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-rangetype=SDR&h264-deinterlace=true&TranscodeReasons=AudioCodecNotSupported&runtimeTicks=0&actualSegmentLengthTicks=104270000" to "192.168.10.103" in 0:00:01.3600517 with Status Code 200
[2022-08-22 00:27:44.578 +02:00] [INF] [107] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "nas". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-08-22 00:27:44.579 +02:00] [INF] [107] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv", AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=Transcode, TranscodeReason=AudioCodecNotSupported ) "media:/videos/54a5c79a-4c2d-2c13-4b36-bed465007f2e/master.m3u8?MediaSourceId=54a5c79a4c2d2c134b36bed465007f2e&VideoCodec=h264,h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139360000&AudioBitrate=640000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=8&RequireAvc=false&Tag=ad80cef38c45ef8b323b464f63296b4c&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-rangetype=SDR&h264-deinterlace=true&TranscodeReasons=AudioCodecNotSupported"
[2022-08-22 00:27:44.597 +02:00] [INF] [166] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "/config/data/transcodes/4a3f6575d45fd3be6e1f14a8dfa7aec6.m3u8"
[2022-08-22 00:27:44.747 +02:00] [INF] [166] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-08-22 00:27:44.748 +02:00] [INF] [166] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/config/data/transcodes/4a3f6575d45fd3be6e1f14a8dfa7aec6.m3u8"
[2022-08-22 00:27:44.940 +02:00] [INF] [44] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2022-08-22 00:27:44.950 +02:00] [INF] [44] 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 vaapi -hwaccel_output_format vaapi -autorotate 0 -i file:\"/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv\" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 6 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset veryfast -look_ahead 0 -b:v 17886987 -maxrate 17886987 -bufsize 35773974 -profile:v:0 high -level 41 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12,hwmap=derive_device=qsv,format=qsv\" -codec:a:0 libfdk_aac -ac 8 -ab 640000 -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/a5f066af4937fbf28074606fcaa6e817%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/data/transcodes/a5f066af4937fbf28074606fcaa6e817.m3u8\""
[2022-08-22 00:27:45.664 +02:00] [WRN] [191] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.<REDACTED>/videos/54a5c79a-4c2d-2c13-4b36-bed465007f2e/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTAzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTAzLjB8MTY2MDA4MTk3NzgxNA11&MediaSourceId=54a5c79a4c2d2c134b36bed465007f2e&VideoCodec=h264,h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139360000&AudioBitrate=640000&MaxFramerate=23.976025&PlaySessionId=8993d28bbf87467d877faba95fdba484&api_key=19d183cf76d0475d923f549d218dd3bc&SubtitleMethod=Encode&TranscodingMaxAudioChannels=8&RequireAvc=false&Tag=ad80cef38c45ef8b323b464f63296b4c&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-rangetype=SDR&h264-deinterlace=true&TranscodeReasons=AudioCodecNotSupported&allowVideoStreamCopy=false&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "192.168.10.103" in 0:00:00.7253421 with Status Code 200
[2022-08-22 00:27:45.863 +02:00] [INF] [41] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "nas". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-08-22 00:27:45.863 +02:00] [INF] [41] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv", AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=Transcode, TranscodeReason=AudioCodecNotSupported ) "media:/videos/54a5c79a-4c2d-2c13-4b36-bed465007f2e/master.m3u8?MediaSourceId=54a5c79a4c2d2c134b36bed465007f2e&VideoCodec=h264,h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139360000&AudioBitrate=640000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=8&RequireAvc=false&Tag=ad80cef38c45ef8b323b464f63296b4c&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-rangetype=SDR&h264-deinterlace=true&TranscodeReasons=AudioCodecNotSupported"
[2022-08-22 00:27:45.913 +02:00] [INF] [168] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "/config/data/transcodes/a5f066af4937fbf28074606fcaa6e817.m3u8"
[2022-08-22 00:27:45.954 +02:00] [INF] [168] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-08-22 00:27:45.954 +02:00] [INF] [168] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/config/data/transcodes/a5f066af4937fbf28074606fcaa6e817.m3u8"
[2022-08-22 00:27:46.335 +02:00] [INF] [111] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2022-08-22 00:27:46.336 +02:00] [INF] [111] 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 vaapi -hwaccel_output_format vaapi -autorotate 0 -i file:\"/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv\" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 6 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset veryfast -look_ahead 0 -b:v 17886987 -maxrate 17886987 -bufsize 35773974 -profile:v:0 high -level 41 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12,hwmap=derive_device=qsv,format=qsv\" -codec:a:0 libfdk_aac -ac 8 -ab 640000 -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/177270524f19bfae71ce3203a9d84f7a%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/data/transcodes/177270524f19bfae71ce3203a9d84f7a.m3u8\""
[2022-08-22 00:27:47.088 +02:00] [WRN] [43] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.<REDACTED>/videos/54a5c79a-4c2d-2c13-4b36-bed465007f2e/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTAzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTAzLjB8MTY2MDA4MTk3NzgxNA11&MediaSourceId=54a5c79a4c2d2c134b36bed465007f2e&VideoCodec=h264,h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139360000&AudioBitrate=640000&MaxFramerate=23.976025&PlaySessionId=04ed5fea34b94a5cbf00b1d98db812f4&api_key=19d183cf76d0475d923f549d218dd3bc&SubtitleMethod=Encode&TranscodingMaxAudioChannels=8&RequireAvc=false&Tag=ad80cef38c45ef8b323b464f63296b4c&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-rangetype=SDR&h264-deinterlace=true&TranscodeReasons=AudioCodecNotSupported&allowVideoStreamCopy=false&allowAudioStreamCopy=false&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "192.168.10.103" in 0:00:00.7574725 with Status Code 200
[2022-08-22 00:27:47.335 +02:00] [INF] [25] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "/config/data/transcodes/177270524f19bfae71ce3203a9d84f7a.m3u8"
[2022-08-22 00:27:47.377 +02:00] [INF] [25] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-08-22 00:27:47.377 +02:00] [INF] [25] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/config/data/transcodes/177270524f19bfae71ce3203a9d84f7a.m3u8"
[2022-08-22 00:27:48.890 +02:00] [INF] [42] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.8.4" playing "Space Jam: A New Legacy". Stopped at "0" ms
[2022-08-22 00:27:48.903 +02:00] [WRN] [42] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.<REDACTED>/Sessions/Playing/Stopped" to "192.168.10.103" in 0:00:01.5701834 with Status Code 204
[2022-08-22 00:28:01.027 +02:00] [INF] [25] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.10.103" request
[2022-08-22 00:28:08.802 +02:00] [INF] [41] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.10.103" request

FFmpeg logs

/videos/54a5c79a-4c2d-2c13-4b36-bed465007f2e/hls1/main/0.ts

{"Protocol":0,"Id":"54a5c79a4c2d2c134b36bed465007f2e","Path":"/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":15497428992,"Name":"Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS","IsRemote":false,"ETag":"ad80cef38c45ef8b323b464f63296b4c","RunTimeTicks":69312643072,"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":"h264","CodecTag":null,"Language":null,"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":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":17886987,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1036,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"1.85:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":null},{"Codec":"truehd","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":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"English - TRUEHD - 7.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"7.1","BitRate":2647042,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":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":"ac3","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":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"English - Dolby Digital - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":448000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","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":"English SDH","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"English SDH - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"fre","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":"French","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"French - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":4,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"spa","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":"Spanish","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Spanish - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":5,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"por","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":"Portuguese","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Portuguese - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":6,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"fre","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":"French","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"French - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":7,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"spa","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":"Spanish","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Spanish - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":8,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"por","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":"Portuguese","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Portuguese - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":9,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":20982029,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -fflags +genpts  -i file:"/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv" -map_metadata -1 -map_chapters -1 -threads 6 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -codec:a:0 libfdk_aac -ac 8 -ab 640000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/data/transcodes/4a3f6575d45fd3be6e1f14a8dfa7aec6%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcodes/4a3f6575d45fd3be6e1f14a8dfa7aec6.m3u8"


ffmpeg version 5.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[matroska,webm @ 0x55e2d15d55c0] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55e2d15d55c0] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55e2d15d55c0] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55e2d15d55c0] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55e2d15d55c0] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55e2d15d55c0] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55e2d15d55c0] Could not find codec parameters for stream 9 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'file:/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv':
  Metadata:
    encoder         : libebml v1.4.2 + libmatroska v1.6.4
    creation_time   : 2021-10-05T16:41:30.000000Z
  Duration: 01:55:31.26, start: 0.000000, bitrate: 17886 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 537.036000
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 537.036000, end 868.493000
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 868.493000, end 1160.993000
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1160.993000, end 1511.176000
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1511.176000, end 2082.539000
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 2082.539000, end 2530.695000
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 2530.695000, end 3033.864000
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 3033.864000, end 3360.732000
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 3360.732000, end 3837.459000
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 3837.459000, end 4119.824000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 4119.824000, end 4660.865000
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 4660.865000, end 5047.209000
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 5047.209000, end 5518.888000
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 5518.888000, end 5973.050000
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 5973.050000, end 6495.864000
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 6495.864000, end 6931.007000
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 6931.007000, end 6931.264000
      Metadata:
        title           : Chapter 17
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1036, SAR 1:1 DAR 480:259, 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS             : 14668434
      DURATION        : 01:55:31.258000000
      NUMBER_OF_FRAMES: 166184
      NUMBER_OF_BYTES : 12708838164
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      BPS             : 2647042
      DURATION        : 01:55:31.259000000
      NUMBER_OF_FRAMES: 8317510
      NUMBER_OF_BYTES : 2293417180
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      BPS             : 448000
      DURATION        : 01:55:31.264000000
      NUMBER_OF_FRAMES: 216602
      NUMBER_OF_BYTES : 388150784
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : English SDH
      BPS             : 52011
      DURATION        : 01:55:16.285000000
      NUMBER_OF_FRAMES: 4852
      NUMBER_OF_BYTES : 44966097
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(fre): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : French
      BPS             : 31912
      DURATION        : 01:55:04.522000000
      NUMBER_OF_FRAMES: 3554
      NUMBER_OF_BYTES : 27542745
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5(spa): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Spanish
      BPS             : 40423
      DURATION        : 01:55:04.648000000
      NUMBER_OF_FRAMES: 3908
      NUMBER_OF_BYTES : 34889077
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:6(por): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Portuguese
      BPS             : 39590
      DURATION        : 01:55:04.648000000
      NUMBER_OF_FRAMES: 3902
      NUMBER_OF_BYTES : 34170008
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:7(fre): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : French
      BPS             : 2183
      DURATION        : 01:43:39.963000000
      NUMBER_OF_FRAMES: 156
      NUMBER_OF_BYTES : 1697521
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:8(spa): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Spanish
      BPS             : 3300
      DURATION        : 01:45:08.886000000
      NUMBER_OF_FRAMES: 266
      NUMBER_OF_BYTES : 2602568
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:9(por): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Portuguese
      BPS             : 2347
      DURATION        : 01:45:08.886000000
      NUMBER_OF_FRAMES: 214
      NUMBER_OF_BYTES : 1850981
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (truehd (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
Output #0, hls, to '/config/data/transcodes/4a3f6575d45fd3be6e1f14a8dfa7aec6.m3u8':
  Metadata:
    encoder         : Lavf59.27.100
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1036 [SAR 1:1 DAR 480:259], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn (default)
  Stream #0:1: Audio: aac, 48000 Hz, 7.1, s16, 640 kb/s (default)
    Metadata:
      encoder         : Lavc59.37.100 libfdk_aac
frame=    1 fps=0.0 q=-1.0 size=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
frame=  229 fps=0.0 q=-1.0 size=N/A time=00:00:00.15 bitrate=N/A speed=0.305x    
[hls @ 0x55e2d1e8c8c0] Opening '/config/data/transcodes/4a3f6575d45fd3be6e1f14a8dfa7aec60.ts' for writing
frame=  428 fps=428 q=-1.0 size=N/A time=00:00:08.40 bitrate=N/A speed=8.41x    
[hls @ 0x55e2d1e8c8c0] Opening '/config/data/transcodes/4a3f6575d45fd3be6e1f14a8dfa7aec61.ts' for writing
frame=  594 fps=396 q=-1.0 size=N/A time=00:00:15.40 bitrate=N/A speed=10.3x    

[q] command received. Exiting.

[hls @ 0x55e2d1e8c8c0] Opening '/config/data/transcodes/4a3f6575d45fd3be6e1f14a8dfa7aec62.ts' for writing
frame=  686 fps=360 q=-1.0 Lsize=N/A time=00:00:19.16 bitrate=N/A speed=  10x    
video:64263kB audio:2237kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Freekers Freekers added the bug Something isn't working label Aug 21, 2022
@Freekers
Copy link
Author

Second and third FFMpeg log, which were automatically created by Jellyfin during the same playback attempt:

/videos/54a5c79a-4c2d-2c13-4b36-bed465007f2e/hls1/main/0.ts

{"Protocol":0,"Id":"54a5c79a4c2d2c134b36bed465007f2e","Path":"/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":15497428992,"Name":"Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS","IsRemote":false,"ETag":"ad80cef38c45ef8b323b464f63296b4c","RunTimeTicks":69312643072,"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":"h264","CodecTag":null,"Language":null,"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":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":17886987,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1036,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"1.85:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":null},{"Codec":"truehd","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":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"English - TRUEHD - 7.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"7.1","BitRate":2647042,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":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":"ac3","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":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"English - Dolby Digital - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":448000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","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":"English SDH","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"English SDH - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"fre","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":"French","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"French - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":4,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"spa","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":"Spanish","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Spanish - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":5,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"por","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":"Portuguese","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Portuguese - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":6,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"fre","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":"French","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"French - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":7,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"spa","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":"Spanish","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Spanish - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":8,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"por","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":"Portuguese","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Portuguese - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":9,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":20982029,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/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 vaapi -hwaccel_output_format vaapi -autorotate 0 -i file:"/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 6 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset veryfast -look_ahead 0 -b:v 17886987 -maxrate 17886987 -bufsize 35773974 -profile:v:0 high -level 41 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 8 -ab 640000 -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/a5f066af4937fbf28074606fcaa6e817%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcodes/a5f066af4937fbf28074606fcaa6e817.m3u8"


ffmpeg version 5.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[matroska,webm @ 0x55862b5460c0] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55862b5460c0] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55862b5460c0] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55862b5460c0] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55862b5460c0] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55862b5460c0] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55862b5460c0] Could not find codec parameters for stream 9 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'file:/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv':
  Metadata:
    encoder         : libebml v1.4.2 + libmatroska v1.6.4
    creation_time   : 2021-10-05T16:41:30.000000Z
  Duration: 01:55:31.26, start: 0.000000, bitrate: 17886 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 537.036000
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 537.036000, end 868.493000
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 868.493000, end 1160.993000
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1160.993000, end 1511.176000
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1511.176000, end 2082.539000
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 2082.539000, end 2530.695000
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 2530.695000, end 3033.864000
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 3033.864000, end 3360.732000
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 3360.732000, end 3837.459000
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 3837.459000, end 4119.824000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 4119.824000, end 4660.865000
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 4660.865000, end 5047.209000
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 5047.209000, end 5518.888000
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 5518.888000, end 5973.050000
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 5973.050000, end 6495.864000
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 6495.864000, end 6931.007000
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 6931.007000, end 6931.264000
      Metadata:
        title           : Chapter 17
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1036, SAR 1:1 DAR 480:259, 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS             : 14668434
      DURATION        : 01:55:31.258000000
      NUMBER_OF_FRAMES: 166184
      NUMBER_OF_BYTES : 12708838164
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      BPS             : 2647042
      DURATION        : 01:55:31.259000000
      NUMBER_OF_FRAMES: 8317510
      NUMBER_OF_BYTES : 2293417180
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      BPS             : 448000
      DURATION        : 01:55:31.264000000
      NUMBER_OF_FRAMES: 216602
      NUMBER_OF_BYTES : 388150784
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : English SDH
      BPS             : 52011
      DURATION        : 01:55:16.285000000
      NUMBER_OF_FRAMES: 4852
      NUMBER_OF_BYTES : 44966097
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(fre): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : French
      BPS             : 31912
      DURATION        : 01:55:04.522000000
      NUMBER_OF_FRAMES: 3554
      NUMBER_OF_BYTES : 27542745
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5(spa): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Spanish
      BPS             : 40423
      DURATION        : 01:55:04.648000000
      NUMBER_OF_FRAMES: 3908
      NUMBER_OF_BYTES : 34889077
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:6(por): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Portuguese
      BPS             : 39590
      DURATION        : 01:55:04.648000000
      NUMBER_OF_FRAMES: 3902
      NUMBER_OF_BYTES : 34170008
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:7(fre): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : French
      BPS             : 2183
      DURATION        : 01:43:39.963000000
      NUMBER_OF_FRAMES: 156
      NUMBER_OF_BYTES : 1697521
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:8(spa): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Spanish
      BPS             : 3300
      DURATION        : 01:45:08.886000000
      NUMBER_OF_FRAMES: 266
      NUMBER_OF_BYTES : 2602568
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:9(por): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Portuguese
      BPS             : 2347
      DURATION        : 01:45:08.886000000
      NUMBER_OF_FRAMES: 214
      NUMBER_OF_BYTES : 1850981
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (truehd (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
Output #0, hls, to '/config/data/transcodes/a5f066af4937fbf28074606fcaa6e817.m3u8':
  Metadata:
    encoder         : Lavf59.27.100
  Stream #0:0: Video: h264, qsv(bt709, progressive), 1920x1036 [SAR 1:1 DAR 480:259], q=2-31, 17886 kb/s, 23.98 fps, 90k tbn (default)
    Metadata:
      encoder         : Lavc59.37.100 h264_qsv
    Side data:
      cpb: bitrate max/min/avg: 17886987/0/17886987 buffer size: 35773974 vbv_delay: N/A
  Stream #0:1: Audio: aac, 48000 Hz, 7.1, s16, 640 kb/s (default)
    Metadata:
      encoder         : Lavc59.37.100 libfdk_aac
frame=    1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
[hls @ 0x55862b58a480] Opening '/config/data/transcodes/a5f066af4937fbf28074606fcaa6e8170.ts' for writing
frame=  121 fps=0.0 q=12.0 size=N/A time=00:00:05.01 bitrate=N/A speed=9.68x    
[hls @ 0x55862b58a480] Opening '/config/data/transcodes/a5f066af4937fbf28074606fcaa6e8171.ts' for writing


[q] command received. Exiting.

[hls @ 0x55862b58a480] Opening '/config/data/transcodes/a5f066af4937fbf28074606fcaa6e8172.ts' for writing
[hls @ 0x55862b58a480] Opening '/config/data/transcodes/a5f066af4937fbf28074606fcaa6e8173.ts' for writing
frame=  218 fps=0.0 q=16.0 Lsize=N/A time=00:00:09.08 bitrate=N/A speed=9.69x    
video:20846kB audio:736kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
/videos/54a5c79a-4c2d-2c13-4b36-bed465007f2e/hls1/main/0.ts

{"Protocol":0,"Id":"54a5c79a4c2d2c134b36bed465007f2e","Path":"/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":15497428992,"Name":"Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS","IsRemote":false,"ETag":"ad80cef38c45ef8b323b464f63296b4c","RunTimeTicks":69312643072,"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":"h264","CodecTag":null,"Language":null,"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":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":17886987,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1036,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"1.85:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":null},{"Codec":"truehd","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":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"English - TRUEHD - 7.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"7.1","BitRate":2647042,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":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":"ac3","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":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"English - Dolby Digital - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":448000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","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":"English SDH","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"English SDH - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"fre","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":"French","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"French - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":4,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"spa","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":"Spanish","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Spanish - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":5,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"por","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":"Portuguese","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Portuguese - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":6,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"fre","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":"French","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"French - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":7,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"spa","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":"Spanish","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Spanish - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":8,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"por","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":"Portuguese","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Portuguese - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":9,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":20982029,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/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 vaapi -hwaccel_output_format vaapi -autorotate 0 -i file:"/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 6 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset veryfast -look_ahead 0 -b:v 17886987 -maxrate 17886987 -bufsize 35773974 -profile:v:0 high -level 41 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 8 -ab 640000 -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/177270524f19bfae71ce3203a9d84f7a%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcodes/177270524f19bfae71ce3203a9d84f7a.m3u8"


ffmpeg version 5.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[matroska,webm @ 0x56026f6030c0] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x56026f6030c0] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x56026f6030c0] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x56026f6030c0] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x56026f6030c0] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x56026f6030c0] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x56026f6030c0] Could not find codec parameters for stream 9 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'file:/data/movies/Space Jam A New Legacy (2021)/Space.Jam.A.New.Legacy.2021.1080p.BluRay.x264-PiGNUS.mkv':
  Metadata:
    encoder         : libebml v1.4.2 + libmatroska v1.6.4
    creation_time   : 2021-10-05T16:41:30.000000Z
  Duration: 01:55:31.26, start: 0.000000, bitrate: 17886 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 537.036000
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 537.036000, end 868.493000
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 868.493000, end 1160.993000
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1160.993000, end 1511.176000
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1511.176000, end 2082.539000
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 2082.539000, end 2530.695000
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 2530.695000, end 3033.864000
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 3033.864000, end 3360.732000
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 3360.732000, end 3837.459000
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 3837.459000, end 4119.824000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 4119.824000, end 4660.865000
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 4660.865000, end 5047.209000
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 5047.209000, end 5518.888000
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 5518.888000, end 5973.050000
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 5973.050000, end 6495.864000
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 6495.864000, end 6931.007000
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 6931.007000, end 6931.264000
      Metadata:
        title           : Chapter 17
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1036, SAR 1:1 DAR 480:259, 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS             : 14668434
      DURATION        : 01:55:31.258000000
      NUMBER_OF_FRAMES: 166184
      NUMBER_OF_BYTES : 12708838164
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      BPS             : 2647042
      DURATION        : 01:55:31.259000000
      NUMBER_OF_FRAMES: 8317510
      NUMBER_OF_BYTES : 2293417180
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      BPS             : 448000
      DURATION        : 01:55:31.264000000
      NUMBER_OF_FRAMES: 216602
      NUMBER_OF_BYTES : 388150784
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : English SDH
      BPS             : 52011
      DURATION        : 01:55:16.285000000
      NUMBER_OF_FRAMES: 4852
      NUMBER_OF_BYTES : 44966097
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(fre): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : French
      BPS             : 31912
      DURATION        : 01:55:04.522000000
      NUMBER_OF_FRAMES: 3554
      NUMBER_OF_BYTES : 27542745
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5(spa): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Spanish
      BPS             : 40423
      DURATION        : 01:55:04.648000000
      NUMBER_OF_FRAMES: 3908
      NUMBER_OF_BYTES : 34889077
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:6(por): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Portuguese
      BPS             : 39590
      DURATION        : 01:55:04.648000000
      NUMBER_OF_FRAMES: 3902
      NUMBER_OF_BYTES : 34170008
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:7(fre): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : French
      BPS             : 2183
      DURATION        : 01:43:39.963000000
      NUMBER_OF_FRAMES: 156
      NUMBER_OF_BYTES : 1697521
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:8(spa): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Spanish
      BPS             : 3300
      DURATION        : 01:45:08.886000000
      NUMBER_OF_FRAMES: 266
      NUMBER_OF_BYTES : 2602568
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:9(por): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Portuguese
      BPS             : 2347
      DURATION        : 01:45:08.886000000
      NUMBER_OF_FRAMES: 214
      NUMBER_OF_BYTES : 1850981
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-05 16:41:30
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (truehd (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
Output #0, hls, to '/config/data/transcodes/177270524f19bfae71ce3203a9d84f7a.m3u8':
  Metadata:
    encoder         : Lavf59.27.100
  Stream #0:0: Video: h264, qsv(bt709, progressive), 1920x1036 [SAR 1:1 DAR 480:259], q=2-31, 17886 kb/s, 23.98 fps, 90k tbn (default)
    Metadata:
      encoder         : Lavc59.37.100 h264_qsv
    Side data:
      cpb: bitrate max/min/avg: 17886987/0/17886987 buffer size: 35773974 vbv_delay: N/A
  Stream #0:1: Audio: aac, 48000 Hz, 7.1, s16, 640 kb/s (default)
    Metadata:
      encoder         : Lavc59.37.100 libfdk_aac
frame=    1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
[hls @ 0x56026f647480] Opening '/config/data/transcodes/177270524f19bfae71ce3203a9d84f7a0.ts' for writing
frame=  127 fps=0.0 q=15.0 size=N/A time=00:00:05.26 bitrate=N/A speed=10.2x    
[hls @ 0x56026f647480] Opening '/config/data/transcodes/177270524f19bfae71ce3203a9d84f7a1.ts' for writing
[hls @ 0x56026f647480] Opening '/config/data/transcodes/177270524f19bfae71ce3203a9d84f7a2.ts' for writing


[q] command received. Exiting.

[hls @ 0x56026f647480] Opening '/config/data/transcodes/177270524f19bfae71ce3203a9d84f7a3.ts' for writing
frame=  224 fps=0.0 q=16.0 Lsize=N/A time=00:00:09.34 bitrate=N/A speed=  10x    
video:21239kB audio:756kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

@tadgh
Copy link

tadgh commented Aug 22, 2022

Just going to hop onto this bug report since I am suffering the exact same issue: Just going to drop my logs here in case they help. This happened to me only after upgrading to Version: 10.8.4.

today at 9:07:45 PM2022-08-22 00:07:45,092 DEBG 'jellyfin' stdout output:
today at 9:07:45 PM[00:07:45] [INF] [10] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for tadgh11. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
today at 9:07:45 PM
today at 9:07:45 PM2022-08-22 00:07:45,093 DEBG 'jellyfin' stdout output:
today at 9:07:45 PM[00:07:45] [INF] [10] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/media/Movies/MST3K/MST3K DVD 05/MST3K - S01E10 - Robot Holocaust.avi, AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) media:/videos/6acdfb7f-bc72-b139-6e13-190c5591a243/master.m3u8?MediaSourceId=6acdfb7fbc72b1396e13190c5591a243&VideoCodec=h264&AudioCodec=mp3&AudioStreamIndex=1&VideoBitrate=139872000&AudioBitrate=128000&AudioSampleRate=44100&MaxFramerate=29.96973&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=abe46c3c20e12b34b457aa77e86b369d&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&mpeg4-level=5&mpeg4-videobitdepth=8&mpeg4-profile=advancedsimpleprofile&mpeg4-audiochannels=2&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported
today at 9:07:45 PM
today at 9:07:45 PM2022-08-22 00:07:45,458 DEBG 'jellyfin' stdout output:
today at 9:07:45 PM[00:07:45] [INF] [21] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
today at 9:07:45 PM
today at 9:07:45 PM2022-08-22 00:07:45,459 DEBG 'jellyfin' stdout output:
today at 9:07:45 PM[00:07:45] [INF] [21] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/bin/ffmpeg -analyzeduration 200M  -i file:"/media/Movies/MST3K/MST3K DVD 05/MST3K - S01E10 - Robot Holocaust.avi" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_amf -quality speed -rc cbr -qmin 0 -qmax 32 -b:v 4442130 -maxrate 4442130 -bufsize 8884260 -profile:v:0 high -level 51 -g:v:0 90 -keyint_min:v:0 90 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(480\,360*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(480/a\,360))/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 "/config/data/transcodes/dd505aaf5c69805b6908a27c70cf5c7c%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcodes/dd505aaf5c69805b6908a27c70cf5c7c.m3u8"
today at 9:07:45 PM
today at 9:07:45 PM2022-08-22 00:07:45,740 DEBG 'jellyfin' stdout output:
today at 9:07:45 PM[00:07:45] [ERR] [17] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
today at 9:07:45 PM
today at 9:07:45 PM2022-08-22 00:07:45,799 DEBG 'jellyfin' stdout output:
today at 9:07:45 PM[00:07:45] [ERR] [17] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/6acdfb7f-bc72-b139-6e13-190c5591a243/hls1/main/0.ts.
today at 9:07:45 PMMediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
today at 9:07:45 PM   at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Helpers/TranscodingJobHelper.cs:line 645
today at 9:07:45 PM   at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 1562
today at 9:07:45 PM   at Jellyfin.Api.Controllers.DynamicHlsController.GetHlsVideoSegment(Guid itemId, String playlistId, Int32 segmentId, String container, Int64 runtimeTicks, Int64 actualSegmentLengthTicks, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 videoBitRate, Nullable`1 subtitleStreamIndex, Nullable`1 subtitleMethod, Nullable`1 maxRefFrames, Nullable`1 maxVideoBitDepth, Nullable`1 requireAvc, Nullable`1 deInterlace, Nullable`1 requireNonAnamorphic, Nullable`1 transcodingMaxAudioChannels, Nullable`1 cpuCoreLimit, String liveStreamId, Nullable`1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable`1 audioStreamIndex, Nullable`1 videoStreamIndex, Nullable`1 context, Dictionary`2 streamOptions) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 1212
today at 9:07:45 PM   at lambda_method1046(Closure , Object )
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
today at 9:07:45 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
today at 9:07:45 PM   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
today at 9:07:45 PM   at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ServerStartupMessageMiddleware.cs:line 49
today at 9:07:45 PM   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/WebSocketHandlerMiddleware.cs:line 38
today at 9:07:45 PM   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/IpBasedAccessValidationMiddleware.cs:line 48
today at 9:07:45 PM   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LanFilteringMiddleware.cs:line 43
today at 9:07:45 PM   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
today at 9:07:45 PM   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
today at 9:07:45 PM   at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/QueryStringDecodingMiddleware.cs:line 37
today at 9:07:45 PM   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
today at 9:07:45 PM   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
today at 9:07:45 PM   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
today at 9:07:45 PM   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
today at 9:07:45 PM   at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/RobotsRedirectionMiddleware.cs:line 45
today at 9:07:45 PM   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LegacyEmbyRouteRewriteMiddleware.cs:line 52
today at 9:07:45 PM   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
today at 9:07:45 PM   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ResponseTimeMiddleware.cs:line 67
today at 9:07:45 PM   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ExceptionMiddleware.cs:line 101
today at 9:07:45 PM
today at 9:07:45 PM2022-08-22 00:07:45,935 DEBG 'jellyfin' stdout output:
today at 9:07:45 PM[00:07:45] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for tadgh11. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
today at 9:07:45 PM[00:07:45] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/media/Movies/MST3K/MST3K DVD 05/MST3K - S01E10 - Robot Holocaust.avi, AudioStreamIndex=1, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) media:/videos/6acdfb7f-bc72-b139-6e13-190c5591a243/master.m3u8?MediaSourceId=6acdfb7fbc72b1396e13190c5591a243&VideoCodec=h264&AudioCodec=mp3&AudioStreamIndex=1&VideoBitrate=139872000&AudioBitrate=128000&AudioSampleRate=44100&MaxFramerate=29.96973&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=abe46c3c20e12b34b457aa77e86b369d&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&mpeg4-level=5&mpeg4-videobitdepth=8&mpeg4-profile=advancedsimpleprofile&mpeg4-audiochannels=2&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported
today at 9:07:45 PM
today at 9:07:45 PM2022-08-22 00:07:45,952 DEBG 'jellyfin' stdout output:
today at 9:07:45 PM[00:07:45] [INF] [17] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) /config/data/transcodes/dd505aaf5c69805b6908a27c70cf5c7c.m3u8
today at 9:07:45 PM
today at 9:07:46 PM2022-08-22 00:07:46,037 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [INF] [17] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
today at 9:07:46 PM
today at 9:07:46 PM2022-08-22 00:07:46,038 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [INF] [17] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/bin/ffmpeg -analyzeduration 200M  -i file:"/media/Movies/MST3K/MST3K DVD 05/MST3K - S01E10 - Robot Holocaust.avi" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_amf -quality speed -rc cbr -qmin 0 -qmax 32 -b:v 4442130 -maxrate 4442130 -bufsize 8884260 -profile:v:0 high -level 51 -g:v:0 90 -keyint_min:v:0 90 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(480\,360*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(480/a\,360))/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 "/config/data/transcodes/2b3c5d9e78b2a0fe0be6368448e6e547%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcodes/2b3c5d9e78b2a0fe0be6368448e6e547.m3u8"
today at 9:07:46 PM
today at 9:07:46 PM2022-08-22 00:07:46,257 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [ERR] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
today at 9:07:46 PM
today at 9:07:46 PM2022-08-22 00:07:46,275 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [ERR] [26] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/6acdfb7f-bc72-b139-6e13-190c5591a243/hls1/main/0.ts.
today at 9:07:46 PMMediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
today at 9:07:46 PM   at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Helpers/TranscodingJobHelper.cs:line 645
today at 9:07:46 PM   at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 1562
today at 9:07:46 PM   at Jellyfin.Api.Controllers.DynamicHlsController.GetHlsVideoSegment(Guid itemId, String playlistId, Int32 segmentId, String container, Int64 runtimeTicks, Int64 actualSegmentLengthTicks, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 videoBitRate, Nullable`1 subtitleStreamIndex, Nullable`1 subtitleMethod, Nullable`1 maxRefFrames, Nullable`1 maxVideoBitDepth, Nullable`1 requireAvc, Nullable`1 deInterlace, Nullable`1 requireNonAnamorphic, Nullable`1 transcodingMaxAudioChannels, Nullable`1 cpuCoreLimit, String liveStreamId, Nullable`1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable`1 audioStreamIndex, Nullable`1 videoStreamIndex, Nullable`1 context, Dictionary`2 streamOptions) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 1212
today at 9:07:46 PM   at lambda_method1046(Closure , Object )
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
today at 9:07:46 PM   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
today at 9:07:46 PM   at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ServerStartupMessageMiddleware.cs:line 49
today at 9:07:46 PM   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/WebSocketHandlerMiddleware.cs:line 38
today at 9:07:46 PM   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/IpBasedAccessValidationMiddleware.cs:line 48
today at 9:07:46 PM   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LanFilteringMiddleware.cs:line 43
today at 9:07:46 PM   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
today at 9:07:46 PM   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
today at 9:07:46 PM   at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/QueryStringDecodingMiddleware.cs:line 37
today at 9:07:46 PM   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
today at 9:07:46 PM   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
today at 9:07:46 PM   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
today at 9:07:46 PM   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
today at 9:07:46 PM   at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/RobotsRedirectionMiddleware.cs:line 45
today at 9:07:46 PM   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LegacyEmbyRouteRewriteMiddleware.cs:line 52
today at 9:07:46 PM   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
today at 9:07:46 PM   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ResponseTimeMiddleware.cs:line 67
today at 9:07:46 PM   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ExceptionMiddleware.cs:line 101
today at 9:07:46 PM
today at 9:07:46 PM2022-08-22 00:07:46,308 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [INF] [10] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for tadgh11. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
today at 9:07:46 PM
today at 9:07:46 PM2022-08-22 00:07:46,308 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [INF] [10] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/media/Movies/MST3K/MST3K DVD 05/MST3K - S01E10 - Robot Holocaust.avi, AudioStreamIndex=1, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) media:/videos/6acdfb7f-bc72-b139-6e13-190c5591a243/master.m3u8?MediaSourceId=6acdfb7fbc72b1396e13190c5591a243&VideoCodec=h264&AudioCodec=mp3&AudioStreamIndex=1&VideoBitrate=139872000&AudioBitrate=128000&AudioSampleRate=44100&MaxFramerate=29.96973&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=abe46c3c20e12b34b457aa77e86b369d&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&mpeg4-level=5&mpeg4-videobitdepth=8&mpeg4-profile=advancedsimpleprofile&mpeg4-audiochannels=2&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported
today at 9:07:46 PM
today at 9:07:46 PM2022-08-22 00:07:46,331 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) /config/data/transcodes/2b3c5d9e78b2a0fe0be6368448e6e547.m3u8
today at 9:07:46 PM
today at 9:07:46 PM2022-08-22 00:07:46,421 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [INF] [25] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
today at 9:07:46 PM
today at 9:07:46 PM2022-08-22 00:07:46,422 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [INF] [25] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/bin/ffmpeg -analyzeduration 200M  -i file:"/media/Movies/MST3K/MST3K DVD 05/MST3K - S01E10 - Robot Holocaust.avi" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_amf -quality speed -rc cbr -qmin 0 -qmax 32 -b:v 4442130 -maxrate 4442130 -bufsize 8884260 -profile:v:0 high -level 51 -g:v:0 90 -keyint_min:v:0 90 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(480\,360*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(480/a\,360))/2)*2,format=yuv420p" -codec:a:0 libmp3lame -ac 2 -ab 128000 -ar 44100 -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/0b991c7e6574e8e917477a83f4515748%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcodes/0b991c7e6574e8e917477a83f4515748.m3u8"
today at 9:07:46 PM
today at 9:07:46 PM2022-08-22 00:07:46,649 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [ERR] [25] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
today at 9:07:46 PM
today at 9:07:46 PM2022-08-22 00:07:46,657 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [ERR] [25] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/6acdfb7f-bc72-b139-6e13-190c5591a243/hls1/main/0.ts.
today at 9:07:46 PMMediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
today at 9:07:46 PM   at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Helpers/TranscodingJobHelper.cs:line 645
today at 9:07:46 PM   at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 1562
today at 9:07:46 PM   at Jellyfin.Api.Controllers.DynamicHlsController.GetHlsVideoSegment(Guid itemId, String playlistId, Int32 segmentId, String container, Int64 runtimeTicks, Int64 actualSegmentLengthTicks, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 videoBitRate, Nullable`1 subtitleStreamIndex, Nullable`1 subtitleMethod, Nullable`1 maxRefFrames, Nullable`1 maxVideoBitDepth, Nullable`1 requireAvc, Nullable`1 deInterlace, Nullable`1 requireNonAnamorphic, Nullable`1 transcodingMaxAudioChannels, Nullable`1 cpuCoreLimit, String liveStreamId, Nullable`1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable`1 audioStreamIndex, Nullable`1 videoStreamIndex, Nullable`1 context, Dictionary`2 streamOptions) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 1212
today at 9:07:46 PM   at lambda_method1046(Closure , Object )
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
today at 9:07:46 PM   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
today at 9:07:46 PM   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
today at 9:07:46 PM   at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ServerStartupMessageMiddleware.cs:line 49
today at 9:07:46 PM   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/WebSocketHandlerMiddleware.cs:line 38
today at 9:07:46 PM   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/IpBasedAccessValidationMiddleware.cs:line 48
today at 9:07:46 PM   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LanFilteringMiddleware.cs:line 43
today at 9:07:46 PM   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
today at 9:07:46 PM   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
today at 9:07:46 PM   at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/QueryStringDecodingMiddleware.cs:line 37
today at 9:07:46 PM   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
today at 9:07:46 PM   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
today at 9:07:46 PM   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
today at 9:07:46 PM   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
today at 9:07:46 PM   at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/RobotsRedirectionMiddleware.cs:line 45
today at 9:07:46 PM   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LegacyEmbyRouteRewriteMiddleware.cs:line 52
today at 9:07:46 PM   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
today at 9:07:46 PM   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ResponseTimeMiddleware.cs:line 67
today at 9:07:46 PM   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context) in /tmp/makepkg/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ExceptionMiddleware.cs:line 101
today at 9:07:46 PM
today at 9:07:46 PM2022-08-22 00:07:46,758 DEBG 'jellyfin' stdout output:
today at 9:07:46 PM[00:07:46] [INF] [37] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) /config/data/transcodes/0b991c7e6574e8e917477a83f4515748.m3u8
today at 9:07:46 PM
today at 9:07:48 PM2022-08-22 00:07:48,261 DEBG 'jellyfin' stdout output:
today at 9:07:48 PM[00:07:48] [INF] [31] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Web 10.8.3 playing MST3K - S01E10 - Robot Holocaust. Stopped at 0 ms
today at 9:07:48 PM
today at 9:07:48 PM2022-08-22 00:07:48,301 DEBG 'jellyfin' stdout output:
today at 9:07:48 PM[00:07:48] [WRN] [31] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://theurl.org/Sessions/Playing/Stopped to 192.168.1.1 in 0:00:01.5457996 with Status Code 204
today at 9:07:48 PM

@kace
Copy link

kace commented Sep 1, 2022

I had a similar transcoding error after upgrading to a 10.8.4 docker image. Everything works when I revert to 10.7.7.

Here are my FFmpeg transcoding logs.

/videos/cf5ad9fe-4a92-12c9-db0a-d984426c8e78/hls1/main/42.ts

{"Protocol":0,"Id":"cf5ad9fe4a9212c9db0ad984426c8e78","Path":"/media/shows/The Office (US)/Season 3/The Office (US) (2005) - S03E15 - Phyllis\u0027 Wedding (1080p BluRay x265 Silence).mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":676928640,"Name":"The Office (US) (2005) - S03E15 - Phyllis\u0027 Wedding (1080p BluRay x265 Silence)","IsRemote":false,"ETag":"5c2b8d7778a469ab172581af5922718b","RunTimeTicks":12788889600,"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":null,"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":"1001/24000","Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p HEVC SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":4234479,"BitDepth":null,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main 10","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":120,"IsAnamorphic":null},{"Codec":"aac","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":"1/48000","Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Eng - AAC - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":417867,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","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":"PGSSUB","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":"0/1","Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Eng - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":4652346,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -ss 00:02:06.000 -init_hw_device vaapi=va:,driver=i965 -filter_hw_device va -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -canvas_size 1920x1080 -i file:"/media/shows/The Office (US)/Season 3/The Office (US) (2005) - S03E15 - Phyllis' Wedding (1080p BluRay x265 Silence).mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 h264_vaapi -rc_mode CBR -b:v 7057465 -maxrate 7057465 -bufsize 14114930 -force_key_frames:0 "expr:gte(t,126+n_forced*3)" -filter_complex "[0:2]scale=s=1920x1080:flags=fast_bilinear[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12,hwdownload,format=nv12[main];[main][sub]overlay=eof_action=pass:shortest=1:repeatlast=0,hwupload_vaapi" -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 42 -hls_segment_filename "/config/transcodes/1a5a4815fa00cfc14fd806a5fb5a3c3c%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/1a5a4815fa00cfc14fd806a5fb5a3c3c.m3u8"


ffmpeg version 5.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, matroska,webm, from 'file:/media/shows/The Office (US)/Season 3/The Office (US) (2005) - S03E15 - Phyllis' Wedding (1080p BluRay x265 Silence).mkv':
  Metadata:
    encoder         : libebml v1.3.5 + libmatroska v1.4.8
    creation_time   : 2020-11-26T06:49:43.000000Z
    Writing frontend: StaxRip v1.7.0.6
  Duration: 00:21:18.89, start: 0.000000, bitrate: 4234 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 101.851750
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 101.851750, end 472.013208
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 472.013208, end 925.299375
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 925.299375, end 1240.113875
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1240.113875, end 1278.860917
      Metadata:
        title           : Chapter 05
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS             : 3799010
      BPS-eng         : 3799010
      DURATION        : 00:21:18.861000000
      DURATION-eng    : 00:21:18.861000000
      NUMBER_OF_FRAMES: 30662
      NUMBER_OF_FRAMES-eng: 30662
      NUMBER_OF_BYTES : 607300772
      NUMBER_OF_BYTES-eng: 607300772
      _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-26 06:49:43
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-26 06:49:43
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default)
    Metadata:
      BPS             : 417867
      BPS-eng         : 417867
      DURATION        : 00:21:18.869000000
      DURATION-eng    : 00:21:18.869000000
      NUMBER_OF_FRAMES: 59947
      NUMBER_OF_FRAMES-eng: 59947
      NUMBER_OF_BYTES : 66799691
      NUMBER_OF_BYTES-eng: 66799691
      _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-26 06:49:43
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-26 06:49:43
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080
    Metadata:
      BPS             : 49092
      BPS-eng         : 49092
      DURATION        : 00:20:32.564000000
      DURATION-eng    : 00:20:32.564000000
      NUMBER_OF_FRAMES: 726
      NUMBER_OF_FRAMES-eng: 726
      NUMBER_OF_BYTES : 7563656
      NUMBER_OF_BYTES-eng: 7563656
      _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-26 06:49:43
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-26 06:49:43
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 (hevc) -> setparams:default
  Stream #0:2 (pgssub) -> scale:default
  hwupload_vaapi:default -> Stream #0:0 (h264_vaapi)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[hevc @ 0x561fb238eb00] No support for codec hevc profile 2.
[hevc @ 0x561fb238eb00] Failed setup for format vaapi: hwaccel initialisation returned error.
[matroska,webm @ 0x561fb235fb00] sub2video: using 1920x1080 canvas
Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0
Conversion failed!

@jellyfin-bot

This comment has been minimized.

@jellyfin-bot jellyfin-bot added the stale No activity for an extended length of time label Jan 20, 2023
@Freekers
Copy link
Author

I'm still affected by this issue. Currently running version 10.8.8

@jellyfin-bot jellyfin-bot removed the stale No activity for an extended length of time label Jan 20, 2023
@Ember-ruby
Copy link

having this issue on 10.8.8, appeared after doing a system upgrade, not touching docker or jellyfin

@Ember-ruby
Copy link

oh yeah, really strange thing, this is only an issue on web jellyfin, accessing it through the android app works perfectly

@NCLI
Copy link

NCLI commented Apr 17, 2023

I'm having this exact same problem, using the Jellyfin docker image on Ubuntu 22.04.

@Carve
Copy link

Carve commented Jun 15, 2023

I also am having this issue on Ubuntu Server 22.04 LTS + Docker image (linuxserver)

@TheRealKamisama
Copy link

Same problem on Ubuntu 22.04.2 LTS + Docker(nyanmisaka/jellyfin)

@whoamiUNIX
Copy link

Same problem. Running with podman on rockyLinux.

@dnlmlr
Copy link

dnlmlr commented Sep 13, 2023

I have exactly the same error as the original poster for some video files. This occurs with and without hardware acceleration enabled. The jellyfin log shows a Slow HTTP Response and then the Stopping ffmpeg process with q command. The ffmpeg log reflects this by starting to successfully transcode the first few frames and then being intentionally stopped by the q command without any errors.

In my case I noticed that all video files I found with this error all had AAC 7.1 Audio in common and were using HEVC 10 SDR video. I have other HEVC 10 SDR files which do transcode, so for my samples this leaves just the audio codec.

Also important to note is that this just happens when transcoding. When ffmpeg is just serving the video (to a native client for example) it works fine.

EDIT: Without diving into the code or anything like that, this seems to me like it might be a frontend issue. The frontend sends a DELETE [...]/ActiveEncodings request to manually stop the transcode process. If I block this request, the transcode continues without issues on the server side.

EDIT2: My setup is running Jellyfin in a Podman Container using the linuxserver.io image (version 10.8.10) on a debian 12 host.

EDIT3 (sorry lol): I just confirmed that this seems to be a frontend issue with AAC 7.1 (possibly 7.1 in general, but I can't check that). I found a video where I have an AAC 7.1 audio track and also an AAC 5.1 track. The 5.1 track plays without issues and the 7.1 track produces the issue mentioned above.

@dpchamps
Copy link

any updates on this? Is the answer to downgrade?

@dnlmlr
Copy link

dnlmlr commented Sep 26, 2023

I figured out how to prevent the issue when AAC 7.1 is indeed the problem.
In the client settings in Jellyfin, there is a Maximum Allowed Audio Channels setting which defaulted to auto for me. Setting this manually to 5.1 Channels cause the video files in question to be transcoded and fixed the playback issue for me.

For some reason the auto setting seems to think 7.1 Channels is fine, when in reality it is not supported in the browser (at least in my case).

@fanonwue
Copy link

fanonwue commented Oct 19, 2023

The workaround proposed by @dnlmlr fixed the problem on my end as well. It always worked via the Chromecast App (Android TV I guess?), but didn't when using a browser. I've since set it to 5.1 Channels, which works (in Firefox at least). Can confirm that it isn't limited to AAC, as I encounter this problem with EAC3 7.1 and DTS-HD MA 7.1 as well.

I'd assume the auto setting in the jellyfin-web app reports a wrong value to the server when it comes to the amount of audio channels the client actually supports?

@matthewwms
Copy link

matthewwms commented Nov 30, 2023

I had the same issue and the workaround from @dnlmlr also worked for me.

For the server I am using the Windows build 10.8.13 and the issues only happened in the web client of a Windows 10 machine. It happened with Chrome, Firefox, and Edge, so I don't think it was related to the browser. Auto and 7.1 failed whether the selected device was the Realtek S1220 A audio chipset (which supports 8 channels) with the newest drivers, or a pair of Logitech 733s, which also support 7.1 surround.

Hopefully this can get a proper fix in the next build.

@thornbill thornbill transferred this issue from jellyfin/jellyfin Dec 1, 2023
@mkozikowsk
Copy link

I also have the same problem with 7.1 audio.

@ipsi
Copy link

ipsi commented Feb 25, 2024

Same problem, same fix. I'm not sure the error lies within Jellyfin, though… I'm running Firefox on Windows 11 with SteelSeries Sonar, which tells Windows that it supports 7.1 surround sound, and Firefox will confirm that it supports 8 audio channels if you ask it (e.g., via the AudioContext API). Indeed, if you play a WAV file with 7.1 channels, it works fine (see an example at the bottom of this page), but the MP4 example on the same page does not work for me in Firefox (or even VLC, but Audacity confirms that the raw audio in the file is fine).

Given this is happening across multiple browsers, it feels like this is a Windows bug — the workaround would be a hard limit of 6 channels for Windows clients, which feels a bit icky. I'd prefer that over having to set a maximum for my user, though — if I ever get around to having a 7.1 setup, I'll almost certainly forget I've done this and waste a lot of time trying to figure out why it isn't working. 😕

@yesrod
Copy link

yesrod commented Mar 20, 2024

Another case of this bug here.

Jellyfin 10.8.13 via Docker.
Server is Debian 11 "Bullseye" (OpenMediaVault).
Client is Windows 10. Tested with Firefox and Chrome, both had the same issue.

The workaround established earlier (click the person icon in the top right of the web interface, click Playback, set Maximum Allowed Audio Channels to 5.1) did solve the issue for the client in question.

Interestingly, my machine is running Ubuntu 23.10 and Firefox, and I don't have this issue, even when Maximum Allowed Audio Channels is still set to Auto.

(Y'all have no idea how happy I am right now that my Linux machine is the one without the bug for once :-D )

@jellyfin-bot
Copy link
Collaborator

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@jellyfin-bot jellyfin-bot added the stale No activity for an extended length of time label Jul 19, 2024
@adezxc
Copy link

adezxc commented Aug 5, 2024

@dnlmlr solution pointed me in the right track, had the same on an Android tv, fixed it by going to the playback settings, there was an audio channel setting regarding Downmix to Stereo, after I set it to Direct everything worked just fine :)

@jellyfin-bot jellyfin-bot removed the stale No activity for an extended length of time label Aug 6, 2024
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
Archived in project
Development

No branches or pull requests