Playback doesn't seem to work at all, including direct play #3320

Closed
opened 2026-02-06 23:08:05 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @delbonis on GitHub (Oct 16, 2021).

Media Info of the file

General
Unique ID                                : 228353142081798195791078385534469476870 (0xABCB3725F69E64932179E90801711206)
Complete name                            : [...snip...]/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x03 - The Gang Tries Desperately to Win an Award.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 1.04 GiB
Duration                                 : 21 min 12 s
Overall bit rate                         : 7 038 kb/s
Encoded date                             : UTC 2013-09-19 02:34:12
Writing application                      : mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 10:28:01
Writing library                          : libebml v1.3.0 + libmatroska v1.4.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 21 min 12 s
Bit rate                                 : 6 514 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.295
Stream size                              : 988 MiB (93%)
Writing library                          : x264 core 138 r2358 9e941d1
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 21 min 12 s
Bit rate mode                            : Constant
Bit rate                                 : 384 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 58.2 MiB (5%)
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No

Logs

I think I grabbed the right chunk

[2021-10-16 00:33:03.509 -04:00] [INF] WS "72.192.27.21" request
[2021-10-16 00:33:10.435 -04:00] [INF] GetPostedPlaybackInfo profile: DeviceProfile { Name: null, Id: null, Identification: null, FriendlyName: null, Manufacturer: null, ManufacturerUrl: null, ModelName: null, ModelDescription: null, ModelNumber: null, ModelUrl: null, SerialNumber: null, EnableAlbumArtInDidl: False, EnableSingleAlbumArtLimit: False, EnableSingleSubtitleLimit: False, SupportedMediaTypes: "Audio,Photo,Video", UserId: null, AlbumArtPn: null, MaxAlbumArtWidth: 0, MaxAlbumArtHeight: 0, MaxIconWidth: null, MaxIconHeight: null, MaxStreamingBitrate: 120000000, MaxStaticBitrate: 100000000, MusicStreamingTranscodingBitrate: 384000, MaxStaticMusicBitrate: null, SonyAggregationFlags: null, ProtocolInfo: null, TimelineOffsetSeconds: 0, RequiresPlainVideoItems: False, RequiresPlainFolders: False, EnableMSMediaReceiverRegistrar: False, IgnoreTranscodeByteRangeRequests: False, XmlRootAttributes: [], DirectPlayProfiles: [DirectPlayProfile { Container: "webm", AudioCodec: "vorbis,opus", VideoCodec: "vp8,vp9,av1", Type: Video }, DirectPlayProfile { Container: "mp4,m4v", AudioCodec: "aac,mp3,opus,flac,vorbis", VideoCodec: "h264,vp8,vp9,av1", Type: Video }, DirectPlayProfile { Container: "opus", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webm", AudioCodec: "opus", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "mp3", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "aac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "m4a", AudioCodec: "aac", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "m4b", AudioCodec: "aac", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "flac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webma", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webm", AudioCodec: "webma", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "wav", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "ogg", AudioCodec: null, VideoCodec: null, Type: Audio }], TranscodingProfiles: [TranscodingProfile { Container: "ts", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "hls", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 1, SegmentLength: 0, BreakOnNonKeyFrames: True }, TranscodingProfile { Container: "aac", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp3", Type: Audio, VideoCodec: null, AudioCodec: "mp3", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "opus", Type: Audio, VideoCodec: null, AudioCodec: "opus", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "wav", Type: Audio, VideoCodec: null, AudioCodec: "wav", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "opus", Type: Audio, VideoCodec: null, AudioCodec: "opus", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp3", Type: Audio, VideoCodec: null, AudioCodec: "mp3", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "aac", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "wav", Type: Audio, VideoCodec: null, AudioCodec: "wav", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "ts", Type: Video, VideoCodec: "h264", AudioCodec: "aac,mp3", Protocol: "hls", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 1, SegmentLength: 0, BreakOnNonKeyFrames: True }, TranscodingProfile { Container: "webm", Type: Video, VideoCodec: "vpx", AudioCodec: "vorbis", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp4", Type: Video, VideoCodec: "h264", AudioCodec: "aac,mp3,opus,flac,vorbis", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }], ContainerProfiles: [], CodecProfiles: [CodecProfile { Type: VideoAudio, Conditions: [ProfileCondition { Condition: Equals, Property: IsSecondaryAudio, Value: "false", IsRequired: False }], ApplyConditions: [], Codec: "aac", Container: null }, CodecProfile { Type: VideoAudio, Conditions: [ProfileCondition { Condition: Equals, Property: IsSecondaryAudio, Value: "false", IsRequired: False }], ApplyConditions: [], Codec: null, Container: null }, CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: NotEquals, Property: IsAnamorphic, Value: "true", IsRequired: False }, ProfileCondition { Condition: EqualsAny, Property: VideoProfile, Value: "high|main|baseline|constrained baseline", IsRequired: False }, ProfileCondition { Condition: LessThanEqual, Property: VideoLevel, Value: "51", IsRequired: False }, ProfileCondition { Condition: NotEquals, Property: IsInterlaced, Value: "true", IsRequired: False }], ApplyConditions: [], Codec: "h264", Container: null }, CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: NotEquals, Property: IsAnamorphic, Value: "true", IsRequired: False }, ProfileCondition { Condition: EqualsAny, Property: VideoProfile, Value: "main", IsRequired: False }, ProfileCondition { Condition: LessThanEqual, Property: VideoLevel, Value: "120", IsRequired: False }, ProfileCondition { Condition: NotEquals, Property: IsInterlaced, Value: "true", IsRequired: False }], ApplyConditions: [], Codec: "hevc", Container: null }], ResponseProfiles: [ResponseProfile { Container: "m4v", AudioCodec: null, VideoCodec: null, Type: Video, OrgPn: null, MimeType: "video/mp4", Conditions: [] }], SubtitleProfiles: [SubtitleProfile { Format: "vtt", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: External, DidlMode: null, Language: null, Container: null }] }
[2021-10-16 00:33:10.437 -04:00] [INF] User policy for "treyzania". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", Path: "[...snip...]/plexdata/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", No video direct play profiles found for "[...snip...]/plexdata/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" with codec "h264"
[2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", Path: "[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", No video direct play profiles found for "[...snip...]/plexdata/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" with codec "h264"
[2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", Path: "[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", No video direct play profiles found for "[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" with codec "h264"
[2021-10-16 00:33:10.868 -04:00] [INF] Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2021-10-16 00:33:10.868 -04:00] [INF] /usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts -f matroska,webm -i file:"[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -vsync -1 -codec:a:0 aac -ac 6 -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 "[...snip...]/transcode/4601010188969a9870db76381375f5d3%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "[...snip...]/transcode/4601010188969a9870db76381375f5d3.m3u8"
[2021-10-16 00:33:11.680 -04:00] [WRN] Slow HTTP Response from "[...snip...]/jellyfin/videos/091bd53b-dab0-d7e8-66c4-b505366528c2/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjkzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvOTMuMHwxNjM0MzU2MzU1MzI5&MediaSourceId=091bd53bdab0d7e866c4b505366528c2&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=97605614&AudioBitrate=640000&PlaySessionId=996a0818940f4910b9662b32603d0fe0&api_key=2e7c074cd295439398b7dbbc81870fb2&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=12b4e7758e2483d82e24cfc95eb58f86&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported" to "72.192.27.21" in 0:00:00.8141874 with Status Code 200
[2021-10-16 00:33:17.300 -04:00] [INF] WS "72.192.27.21" closed
[2021-10-16 00:33:18.075 -04:00] [INF] WS "72.192.27.21" request
[2021-10-16 00:33:28.754 -04:00] [WRN] Slow HTTP Response from "[...snip...]/jellyfin/videos/091bd53b-dab0-d7e8-66c4-b505366528c2/hls1/main/87.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjkzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvOTMuMHwxNjM0MzU2MzU1MzI5&MediaSourceId=091bd53bdab0d7e866c4b505366528c2&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=97605614&AudioBitrate=640000&PlaySessionId=996a0818940f4910b9662b32603d0fe0&api_key=2e7c074cd295439398b7dbbc81870fb2&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=12b4e7758e2483d82e24cfc95eb58f86&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported" to "72.192.27.21" in 0:00:00.7029687 with Status Code 200
[2021-10-16 00:33:35.987 -04:00] [WRN] Slow HTTP Response from "[...snip...]/jellyfin/videos/091bd53b-dab0-d7e8-66c4-b505366528c2/hls1/main/127.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjkzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvOTMuMHwxNjM0MzU2MzU1MzI5&MediaSourceId=091bd53bdab0d7e866c4b505366528c2&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=97605614&AudioBitrate=640000&PlaySessionId=996a0818940f4910b9662b32603d0fe0&api_key=2e7c074cd295439398b7dbbc81870fb2&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=12b4e7758e2483d82e24cfc95eb58f86&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported" to "72.192.27.21" in 0:00:00.5037291 with Status Code 200
[2021-10-16 00:33:48.861 -04:00] [WRN] Slow HTTP Response from "[...snip...]/jellyfin/videos/091bd53b-dab0-d7e8-66c4-b505366528c2/hls1/main/193.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjkzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvOTMuMHwxNjM0MzU2MzU1MzI5&MediaSourceId=091bd53bdab0d7e866c4b505366528c2&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=97605614&AudioBitrate=640000&PlaySessionId=996a0818940f4910b9662b32603d0fe0&api_key=2e7c074cd295439398b7dbbc81870fb2&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=12b4e7758e2483d82e24cfc95eb58f86&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported" to "72.192.27.21" in 0:00:00.7048244 with Status Code 200
[2021-10-16 00:33:51.792 -04:00] [INF] FFmpeg exited with code 0
[2021-10-16 00:33:51.890 -04:00] [INF] Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2021-10-16 00:33:51.890 -04:00] [INF] /usr/lib/jellyfin-ffmpeg/ffmpeg -ss 00:21:06.000 -fflags +genpts -noaccurate_seek -f matroska,webm -i file:"[...snip...]/plexdata/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -vsync -1 -codec:a:0 aac -ac 6 -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 211 -hls_segment_filename "[...snip...]/transcode/4601010188969a9870db76381375f5d3%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "[...snip...]/transcode/4601010188969a9870db76381375f5d3.m3u8"
[2021-10-16 00:33:52.285 -04:00] [INF] FFmpeg exited with code 0
[2021-10-16 00:33:52.341 -04:00] [INF] Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2021-10-16 00:33:52.341 -04:00] [INF] /usr/lib/jellyfin-ffmpeg/ffmpeg -ss 00:21:12.000 -fflags +genpts -noaccurate_seek -f matroska,webm -i file:"[...snip...]/plexdata/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -vsync -1 -codec:a:0 aac -ac 6 -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 212 -hls_segment_filename "[...snip...]/transcode/4601010188969a9870db76381375f5d3%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "[...snip...]/transcode/4601010188969a9870db76381375f5d3.m3u8"
[2021-10-16 00:33:52.709 -04:00] [INF] FFmpeg exited with code 0

FFmpeg Logs

/videos/091bd53b-dab0-d7e8-66c4-b505366528c2/hls1/main/0.ts

{"Protocol":0,"Id":"091bd53bdab0d7e866c4b505366528c2","Path":"[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It\u0027s Always Sunny in Philadelphia - 9x05 - Mac Day.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":989941952,"Name":"It\u0027s Always Sunny in Philadelphia - 9x05 - Mac Day","IsRemote":false,"ETag":"12b4e7758e2483d82e24cfc95eb58f86","RunTimeTicks":12723130368,"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":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"1001/48000","Title":null,"VideoRange":"SDR","localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":"720p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":6224518,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":720,"Width":1276,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"16:9","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":"ac3","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":null,"VideoRange":null,"localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":"English - Dolby Digital - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":384000,"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":1,"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":6608518,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts -f matroska,webm -i file:"/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -vsync -1 -codec:a:0 aac -ac 6 -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 "[...snip...]/transcode/4601010188969a9870db76381375f5d3%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "[...snip...]/transcode/4601010188969a9870db76381375f5d3.m3u8"


ffmpeg version 4.3.2-Jellyfin Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-gpl --enable-version3 --enable-static --enable-libfontconfig --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --arch=amd64 --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-vdpau --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvenc --enable-nvdec --enable-ffnvcodec
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, matroska,webm, from 'file:[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv':
  Metadata:
    encoder         : mkv2rls x264-tv version built on 2011. febr. 17
  Duration: 00:21:12.31, start: 0.000000, bitrate: 6224 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1276x720, SAR 1:1 DAR 319:180, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, hls, to '[...snip...]/transcode/4601010188969a9870db76381375f5d3.m3u8':
  Metadata:
    encoder         : Lavf58.45.100
    Stream #0:0: Video: h264 (High), yuv420p(progressive), 1276x720 [SAR 1:1 DAR 319:180], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc (default)
    Stream #0:1: Audio: aac (LC), 48000 Hz, 5.1, fltp, 640 kb/s (default)
    Metadata:
      encoder         : Lavc58.91.100 aac
[hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d30.ts' for writing
frame=  337 fps=0.0 q=-1.0 size=N/A time=00:00:14.25 bitrate=N/A speed=28.5x    
[hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d31.ts' for writing
[hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d32.ts' for writing
[hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d33.ts' for writing
frame=  742 fps=741 q=-1.0 size=N/A time=00:00:30.89 bitrate=N/A speed=30.9x    
[hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d34.ts' for writing
[hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d35.ts' for writing
[hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d36.ts' for writing
[...snip a bunch of lines that are all the same...]
[hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d3210.ts' for writing
frame=30506 fps=747 q=-1.0 Lsize=N/A time=00:21:12.32 bitrate=N/A speed=31.1x    
video:906829kB audio:99170kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[aac @ 0x55695489d9c0] Qavg: 631.380

What's weird here is that it seems like all the transcoding succeeds properly but then all the files it outputs are 0 bytes, including the .m3u8 playlist. I double checked the permissions and it shouldn't have been permissions in the first places since the files are being created. Similar issues happen regardless of if it's doing direct play or if it's needing to transcode it, the transcode files are all 0 bytes.

I also get a ton of lines like this in the browser console:

HLS Error: Type: mediaError Details: fragParsingError Fatal: false

Stats for Nerds Screenshots

Only get infinite spinner so don't have the stats for nerds.

Server System (please complete the following information):

  • OS: Debian bullseye
  • Jellyfin Version: 10.7.7
  • Hardware settings & device: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz
  • Reverse proxy: nginx
  • Other hardware notes: playing from 7200 RPM spinning rust, doesn't have playback issues in Plex

Client System (please complete the following information):

  • Device: AMD Ryzen 5 1500X Quad-Core Processor, some RX 580
  • OS: Ubuntu hirsute
  • Client: Firefox
  • Client and Browser Version: 93.0

I've also been having issues trying to play on a Chromecast from the Android app, but I don't have logs for that as troubleshooting with that is more of a pain. This seems to have been happening with all files since upgrading to 10.7.7. Surely I'm doing something wrong rather than it actually being Jellyfin broken so badly.

Originally created by @delbonis on GitHub (Oct 16, 2021). **Media Info of the file** ``` General Unique ID : 228353142081798195791078385534469476870 (0xABCB3725F69E64932179E90801711206) Complete name : [...snip...]/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x03 - The Gang Tries Desperately to Win an Award.mkv Format : Matroska Format version : Version 4 File size : 1.04 GiB Duration : 21 min 12 s Overall bit rate : 7 038 kb/s Encoded date : UTC 2013-09-19 02:34:12 Writing application : mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 10:28:01 Writing library : libebml v1.3.0 + libmatroska v1.4.0 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings : CABAC / 5 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 5 frames Codec ID : V_MPEG4/ISO/AVC Duration : 21 min 12 s Bit rate : 6 514 kb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.295 Stream size : 988 MiB (93%) Writing library : x264 core 138 r2358 9e941d1 Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Language : English Default : Yes Forced : No Color range : Limited Matrix coefficients : BT.709 Audio ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Commercial name : Dolby Digital Codec ID : A_AC3 Duration : 21 min 12 s Bit rate mode : Constant Bit rate : 384 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 58.2 MiB (5%) Service kind : Complete Main Default : Yes Forced : No ``` **Logs** I think I grabbed the right chunk ``` [2021-10-16 00:33:03.509 -04:00] [INF] WS "72.192.27.21" request [2021-10-16 00:33:10.435 -04:00] [INF] GetPostedPlaybackInfo profile: DeviceProfile { Name: null, Id: null, Identification: null, FriendlyName: null, Manufacturer: null, ManufacturerUrl: null, ModelName: null, ModelDescription: null, ModelNumber: null, ModelUrl: null, SerialNumber: null, EnableAlbumArtInDidl: False, EnableSingleAlbumArtLimit: False, EnableSingleSubtitleLimit: False, SupportedMediaTypes: "Audio,Photo,Video", UserId: null, AlbumArtPn: null, MaxAlbumArtWidth: 0, MaxAlbumArtHeight: 0, MaxIconWidth: null, MaxIconHeight: null, MaxStreamingBitrate: 120000000, MaxStaticBitrate: 100000000, MusicStreamingTranscodingBitrate: 384000, MaxStaticMusicBitrate: null, SonyAggregationFlags: null, ProtocolInfo: null, TimelineOffsetSeconds: 0, RequiresPlainVideoItems: False, RequiresPlainFolders: False, EnableMSMediaReceiverRegistrar: False, IgnoreTranscodeByteRangeRequests: False, XmlRootAttributes: [], DirectPlayProfiles: [DirectPlayProfile { Container: "webm", AudioCodec: "vorbis,opus", VideoCodec: "vp8,vp9,av1", Type: Video }, DirectPlayProfile { Container: "mp4,m4v", AudioCodec: "aac,mp3,opus,flac,vorbis", VideoCodec: "h264,vp8,vp9,av1", Type: Video }, DirectPlayProfile { Container: "opus", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webm", AudioCodec: "opus", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "mp3", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "aac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "m4a", AudioCodec: "aac", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "m4b", AudioCodec: "aac", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "flac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webma", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webm", AudioCodec: "webma", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "wav", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "ogg", AudioCodec: null, VideoCodec: null, Type: Audio }], TranscodingProfiles: [TranscodingProfile { Container: "ts", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "hls", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 1, SegmentLength: 0, BreakOnNonKeyFrames: True }, TranscodingProfile { Container: "aac", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp3", Type: Audio, VideoCodec: null, AudioCodec: "mp3", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "opus", Type: Audio, VideoCodec: null, AudioCodec: "opus", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "wav", Type: Audio, VideoCodec: null, AudioCodec: "wav", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "opus", Type: Audio, VideoCodec: null, AudioCodec: "opus", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp3", Type: Audio, VideoCodec: null, AudioCodec: "mp3", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "aac", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "wav", Type: Audio, VideoCodec: null, AudioCodec: "wav", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "ts", Type: Video, VideoCodec: "h264", AudioCodec: "aac,mp3", Protocol: "hls", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 1, SegmentLength: 0, BreakOnNonKeyFrames: True }, TranscodingProfile { Container: "webm", Type: Video, VideoCodec: "vpx", AudioCodec: "vorbis", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp4", Type: Video, VideoCodec: "h264", AudioCodec: "aac,mp3,opus,flac,vorbis", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }], ContainerProfiles: [], CodecProfiles: [CodecProfile { Type: VideoAudio, Conditions: [ProfileCondition { Condition: Equals, Property: IsSecondaryAudio, Value: "false", IsRequired: False }], ApplyConditions: [], Codec: "aac", Container: null }, CodecProfile { Type: VideoAudio, Conditions: [ProfileCondition { Condition: Equals, Property: IsSecondaryAudio, Value: "false", IsRequired: False }], ApplyConditions: [], Codec: null, Container: null }, CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: NotEquals, Property: IsAnamorphic, Value: "true", IsRequired: False }, ProfileCondition { Condition: EqualsAny, Property: VideoProfile, Value: "high|main|baseline|constrained baseline", IsRequired: False }, ProfileCondition { Condition: LessThanEqual, Property: VideoLevel, Value: "51", IsRequired: False }, ProfileCondition { Condition: NotEquals, Property: IsInterlaced, Value: "true", IsRequired: False }], ApplyConditions: [], Codec: "h264", Container: null }, CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: NotEquals, Property: IsAnamorphic, Value: "true", IsRequired: False }, ProfileCondition { Condition: EqualsAny, Property: VideoProfile, Value: "main", IsRequired: False }, ProfileCondition { Condition: LessThanEqual, Property: VideoLevel, Value: "120", IsRequired: False }, ProfileCondition { Condition: NotEquals, Property: IsInterlaced, Value: "true", IsRequired: False }], ApplyConditions: [], Codec: "hevc", Container: null }], ResponseProfiles: [ResponseProfile { Container: "m4v", AudioCodec: null, VideoCodec: null, Type: Video, OrgPn: null, MimeType: "video/mp4", Conditions: [] }], SubtitleProfiles: [SubtitleProfile { Format: "vtt", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: External, DidlMode: null, Language: null, Container: null }] } [2021-10-16 00:33:10.437 -04:00] [INF] User policy for "treyzania". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", Path: "[...snip...]/plexdata/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True [2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", No video direct play profiles found for "[...snip...]/plexdata/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" with codec "h264" [2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", Path: "[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True [2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", No video direct play profiles found for "[...snip...]/plexdata/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" with codec "h264" [2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", Path: "[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True [2021-10-16 00:33:10.437 -04:00] [INF] Profile: "Unknown Profile", No video direct play profiles found for "[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" with codec "h264" [2021-10-16 00:33:10.868 -04:00] [INF] Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [2021-10-16 00:33:10.868 -04:00] [INF] /usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts -f matroska,webm -i file:"[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -vsync -1 -codec:a:0 aac -ac 6 -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 "[...snip...]/transcode/4601010188969a9870db76381375f5d3%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "[...snip...]/transcode/4601010188969a9870db76381375f5d3.m3u8" [2021-10-16 00:33:11.680 -04:00] [WRN] Slow HTTP Response from "[...snip...]/jellyfin/videos/091bd53b-dab0-d7e8-66c4-b505366528c2/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjkzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvOTMuMHwxNjM0MzU2MzU1MzI5&MediaSourceId=091bd53bdab0d7e866c4b505366528c2&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=97605614&AudioBitrate=640000&PlaySessionId=996a0818940f4910b9662b32603d0fe0&api_key=2e7c074cd295439398b7dbbc81870fb2&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=12b4e7758e2483d82e24cfc95eb58f86&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported" to "72.192.27.21" in 0:00:00.8141874 with Status Code 200 [2021-10-16 00:33:17.300 -04:00] [INF] WS "72.192.27.21" closed [2021-10-16 00:33:18.075 -04:00] [INF] WS "72.192.27.21" request [2021-10-16 00:33:28.754 -04:00] [WRN] Slow HTTP Response from "[...snip...]/jellyfin/videos/091bd53b-dab0-d7e8-66c4-b505366528c2/hls1/main/87.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjkzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvOTMuMHwxNjM0MzU2MzU1MzI5&MediaSourceId=091bd53bdab0d7e866c4b505366528c2&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=97605614&AudioBitrate=640000&PlaySessionId=996a0818940f4910b9662b32603d0fe0&api_key=2e7c074cd295439398b7dbbc81870fb2&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=12b4e7758e2483d82e24cfc95eb58f86&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported" to "72.192.27.21" in 0:00:00.7029687 with Status Code 200 [2021-10-16 00:33:35.987 -04:00] [WRN] Slow HTTP Response from "[...snip...]/jellyfin/videos/091bd53b-dab0-d7e8-66c4-b505366528c2/hls1/main/127.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjkzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvOTMuMHwxNjM0MzU2MzU1MzI5&MediaSourceId=091bd53bdab0d7e866c4b505366528c2&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=97605614&AudioBitrate=640000&PlaySessionId=996a0818940f4910b9662b32603d0fe0&api_key=2e7c074cd295439398b7dbbc81870fb2&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=12b4e7758e2483d82e24cfc95eb58f86&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported" to "72.192.27.21" in 0:00:00.5037291 with Status Code 200 [2021-10-16 00:33:48.861 -04:00] [WRN] Slow HTTP Response from "[...snip...]/jellyfin/videos/091bd53b-dab0-d7e8-66c4-b505366528c2/hls1/main/193.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjkzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvOTMuMHwxNjM0MzU2MzU1MzI5&MediaSourceId=091bd53bdab0d7e866c4b505366528c2&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=97605614&AudioBitrate=640000&PlaySessionId=996a0818940f4910b9662b32603d0fe0&api_key=2e7c074cd295439398b7dbbc81870fb2&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=12b4e7758e2483d82e24cfc95eb58f86&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported" to "72.192.27.21" in 0:00:00.7048244 with Status Code 200 [2021-10-16 00:33:51.792 -04:00] [INF] FFmpeg exited with code 0 [2021-10-16 00:33:51.890 -04:00] [INF] Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [2021-10-16 00:33:51.890 -04:00] [INF] /usr/lib/jellyfin-ffmpeg/ffmpeg -ss 00:21:06.000 -fflags +genpts -noaccurate_seek -f matroska,webm -i file:"[...snip...]/plexdata/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -vsync -1 -codec:a:0 aac -ac 6 -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 211 -hls_segment_filename "[...snip...]/transcode/4601010188969a9870db76381375f5d3%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "[...snip...]/transcode/4601010188969a9870db76381375f5d3.m3u8" [2021-10-16 00:33:52.285 -04:00] [INF] FFmpeg exited with code 0 [2021-10-16 00:33:52.341 -04:00] [INF] Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [2021-10-16 00:33:52.341 -04:00] [INF] /usr/lib/jellyfin-ffmpeg/ffmpeg -ss 00:21:12.000 -fflags +genpts -noaccurate_seek -f matroska,webm -i file:"[...snip...]/plexdata/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -vsync -1 -codec:a:0 aac -ac 6 -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 212 -hls_segment_filename "[...snip...]/transcode/4601010188969a9870db76381375f5d3%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "[...snip...]/transcode/4601010188969a9870db76381375f5d3.m3u8" [2021-10-16 00:33:52.709 -04:00] [INF] FFmpeg exited with code 0 ``` **FFmpeg Logs** ``` /videos/091bd53b-dab0-d7e8-66c4-b505366528c2/hls1/main/0.ts {"Protocol":0,"Id":"091bd53bdab0d7e866c4b505366528c2","Path":"[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It\u0027s Always Sunny in Philadelphia - 9x05 - Mac Day.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":989941952,"Name":"It\u0027s Always Sunny in Philadelphia - 9x05 - Mac Day","IsRemote":false,"ETag":"12b4e7758e2483d82e24cfc95eb58f86","RunTimeTicks":12723130368,"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":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"1001/48000","Title":null,"VideoRange":"SDR","localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":"720p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":6224518,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":720,"Width":1276,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"16:9","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":"ac3","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":null,"VideoRange":null,"localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":"English - Dolby Digital - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":384000,"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":1,"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":6608518,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null} /usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts -f matroska,webm -i file:"/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -vsync -1 -codec:a:0 aac -ac 6 -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 "[...snip...]/transcode/4601010188969a9870db76381375f5d3%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "[...snip...]/transcode/4601010188969a9870db76381375f5d3.m3u8" ffmpeg version 4.3.2-Jellyfin Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10 (Debian 10.2.1-6) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-gpl --enable-version3 --enable-static --enable-libfontconfig --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --arch=amd64 --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-vdpau --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvenc --enable-nvdec --enable-ffnvcodec libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 Input #0, matroska,webm, from 'file:[...snip...]/TV Shows/Its Always Sunny in Philadelphia/Season 9/It's Always Sunny in Philadelphia - 9x05 - Mac Day.mkv': Metadata: encoder : mkv2rls x264-tv version built on 2011. febr. 17 Duration: 00:21:12.31, start: 0.000000, bitrate: 6224 kb/s Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1276x720, SAR 1:1 DAR 319:180, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (ac3 (native) -> aac (native)) Press [q] to stop, [?] for help Output #0, hls, to '[...snip...]/transcode/4601010188969a9870db76381375f5d3.m3u8': Metadata: encoder : Lavf58.45.100 Stream #0:0: Video: h264 (High), yuv420p(progressive), 1276x720 [SAR 1:1 DAR 319:180], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc (default) Stream #0:1: Audio: aac (LC), 48000 Hz, 5.1, fltp, 640 kb/s (default) Metadata: encoder : Lavc58.91.100 aac [hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d30.ts' for writing frame= 337 fps=0.0 q=-1.0 size=N/A time=00:00:14.25 bitrate=N/A speed=28.5x [hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d31.ts' for writing [hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d32.ts' for writing [hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d33.ts' for writing frame= 742 fps=741 q=-1.0 size=N/A time=00:00:30.89 bitrate=N/A speed=30.9x [hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d34.ts' for writing [hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d35.ts' for writing [hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d36.ts' for writing [...snip a bunch of lines that are all the same...] [hls @ 0x55695489ea00] Opening '[...snip...]/transcode/4601010188969a9870db76381375f5d3210.ts' for writing frame=30506 fps=747 q=-1.0 Lsize=N/A time=00:21:12.32 bitrate=N/A speed=31.1x video:906829kB audio:99170kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [aac @ 0x55695489d9c0] Qavg: 631.380 ``` What's weird here is that it seems like all the transcoding succeeds properly but then all the files it outputs are 0 bytes, including the .m3u8 playlist. I double checked the permissions and it shouldn't have been permissions in the first places since the files *are* being created. Similar issues happen regardless of if it's doing direct play or if it's needing to transcode it, the transcode files are all 0 bytes. I also get a *ton* of lines like this in the browser console: ``` HLS Error: Type: mediaError Details: fragParsingError Fatal: false ``` **Stats for Nerds Screenshots** Only get infinite spinner so don't have the stats for nerds. **Server System (please complete the following information):** - OS: Debian bullseye - Jellyfin Version: 10.7.7 - Hardware settings & device: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz - Reverse proxy: nginx - Other hardware notes: playing from 7200 RPM spinning rust, doesn't have playback issues in Plex **Client System (please complete the following information):** - Device: AMD Ryzen 5 1500X Quad-Core Processor, some RX 580 - OS: Ubuntu hirsute - Client: Firefox - Client and Browser Version: 93.0 I've also been having issues trying to play on a Chromecast from the Android app, but I don't have logs for that as troubleshooting with that is more of a pain. This seems to have been happening with *all* files since upgrading to 10.7.7. *Surely* I'm doing something wrong rather than it actually being Jellyfin broken so badly.
OVERLORD added the stale label 2026-02-06 23:08:05 +03:00
Author
Owner

@delbonis commented on GitHub (Oct 16, 2021):

Upon further investigation, the filesystem we were transcoding onto was full. Not sure how it was able to create the file entries but if it was reusing space allocated to the dir previously it might make some sense.

It would be nice if there was some notification that the filesystem used for transcoding is nearly full since that seems like it would be a common problem.

@delbonis commented on GitHub (Oct 16, 2021): Upon further investigation, the filesystem we were transcoding onto was full. Not sure how it was able to create the file entries but if it was reusing space allocated to the dir previously it might make some sense. It would be nice if there was some notification that the filesystem used for transcoding is nearly full since that seems like it would be a common problem.
Author
Owner

@jellyfin-bot commented on GitHub (Feb 14, 2022):

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 commented on GitHub (Feb 14, 2022): 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](https://docs.jellyfin.org/general/getting-help.html).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#3320