[Issue]: Transcoding immediatly stops after starting playback #5039
Open
Description
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 filesJellyfin 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" requestFFmpeg 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: unknownPlease 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
Metadata
Assignees
Labels
Type
Projects
Status
Wrong Repo
Activity