Closed sang-ook closed 2 years ago
I have the same issue with 10.7.5. Downgraded docker image to 10.7.1 and it works now.
Jumping on this one too. I had everything working on 10.6.4 and after upgrading to 10.7.1/5 i keep getting this error. Downgrading back to 10.6 seems to put everything back in place.
I do not have transcoding enabled, however
FWIW, this is the relevant log i get from jellyfin-mpv-shim
2021-05-31 20:05:52,607 [ DEBUG] media: Using direct url.
2021-05-31 20:05:52,632 [ ERROR] mpv: mkv: Invalid EBML length at position 139
2021-05-31 20:05:52,632 [ ERROR] mpv: mkv: Invalid EBML length at position 141
2021-05-31 20:05:52,633 [ WARNING] mpv: mkv: Unexpected end of file (no clusters found)
2021-05-31 20:05:52,633 [ WARNING] mpv: mkv: mkv metadata beyond end of file - incomplete file?
2021-05-31 20:05:52,633 [ ERROR] mpv: cplayer: No video or audio streams selected.
2021-05-31 20:05:52,633 [ INFO] mpv: cplayer:
2021-05-31 20:06:22,608 [ ERROR] player: Timeout when waiting for media duration. Stopping playback!
Edit:
Maybe it is transcoding...
jellyfin | [00:05:45] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for MyJellyfinUser. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
jellyfin | [00:05:45] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: Not eligible for DirectPlay due to unsupported subtitles
jellyfin | [00:05:45] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: Not eligible for DirectStream due to unsupported subtitles
jellyfin | [00:05:45] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: Unknown Profile, Path: /media/movie.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
jellyfin | [00:05:45] [WRN] [41] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://jellyfin.kraft.lan/Sessions/Playing/Progress to fd9b:3f17:1e9::849 in 0:00:00.6261689 with Status Code 204
jellyfin | [00:05:45] [INF] [57] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
jellyfin | [00:05:45] [INF] [57] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i file:"/media/movie.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 h264_vaapi -b:v 94707410 -maxrate 94707410 -bufsize 189414820 -profile:v:0 high -level 41 -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -filter_complex "[0:4]scale=3840x2160[sub];[0:0]format=nv12|vaapi,hwupload,scale_vaapi=format=nv12,hwdownload[base];[base][sub]overlay,format=nv12,hwupload" -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 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/d5f1441544dd10002cddebf572c997b0%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/d5f1441544dd10002cddebf572c997b0.m3u8"
jellyfin | [00:05:45] [ERR] [41] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
jellyfin | [00:05:46] [WRN] [41] Jellyfin.Api.Controllers.DynamicHlsController: cannot serve /config/transcodes/d5f1441544dd10002cddebf572c997b00.ts as transcoding quit before we got there
jellyfin | [00:05:46] [ERR] [41] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: Could not find file '/config/transcodes/d5f1441544dd10002cddebf572c997b00.ts'. URL GET /videos/19e6191f-4070-0d71-cdbf-12be1f7f6faa/hls1/main/0.ts.
bump
Unless the ticket is going to be closed due to inactivity there is absolutely no reason to comment "bump". That provides no value whatsoever to resolving the issue. If you wish to be notified of any updates use the features built into GitHub to subscribe.
@sang-ook This doesn't look to actually be a Jellyfin error. ffmpeg
itself is failing with this message:
Error while opening decoder for input stream #0:0 : Unknown error occurred
So looks like invalid hardware decoding/transcoding configuration. Try with software-only transcoding and see if it works.
@TwistTheNeil Looks like yours is similar - I see VAAPI in there, but we'd need to see the ffmpeg logs themselves to know for sure.
jellyfin | [00:05:45] [ERR] [41] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
Generally speaking that message means something has gone wrong with ffmpeg
encoding/decoding/transcoding.
I am seeing the same error msg which has nothing to do with transcoding. It happens when I try to play episodes from multiple series in shuttle in a Collection.
Same issue, jelly 10.7.6, windows as a service via a caddy proxy, works on other clients. No ffmpeg exit code error here.
whats even weirder is the movie starts to play before dying.
EDIT: turning off subtitles makes it work??? maybe related to https://github.com/jellyfin/jellyfin/issues/3488 but it happens on both nvenc and x264
[2021-08-09 18:14:05.527 -04:00] [INF] [196] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2021-08-09 18:14:05.528 -04:00] [INF] [196] Jellyfin.Api.Helpers.TranscodingJobHelper: C:\Program Files\Jellyfin\Server\ffmpeg.exe -i file:"D:\Movies\[Kaleido-SCY] Fate Stay Night Heaven's Feel (BD 1080p Hi10 FLAC) [Dual-Audio]\[Kaleido-SCY] Fate Stay Night Heaven's Feel III. - Spring Song (BD 1080p Hi10 FLAC)].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -pix_fmt yuv420p -preset default -b:v 9360000 -maxrate 9360000 -bufsize 18720000 -profile:v:0 high -g:v:0 72 -keyint_min:v:0 72 -sc_threshold:v:0 0 -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -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 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "F:\transcodes\df068655004c434f38d4b046bda5b215%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "F:\transcodes\df068655004c434f38d4b046bda5b215.m3u8"
[2021-08-09 18:14:06.330 -04:00] [WRN] [11] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.robbinsa.me/videos/90fd118d-cc94-9b49-118f-57e1014a49a6/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzkyLjAuNDUxNS4xMzEgU2FmYXJpLzUzNy4zNiBFZGcvOTIuMC45MDIuNjd8MTYyODUyMDI2NjM4NQ11&MediaSourceId=90fd118dcc949b49118f57e1014a49a6&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=9360000&AudioBitrate=640000&PlaySessionId=bd3a848485214441838492499e21ffa6&api_key=5b8992706894466fb43cdd11e12f8d2f&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=96b802f313846f468c3e10aad5298c09&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&h264-deinterlace=true&TranscodeReasons=ContainerBitrateExceedsLimit&allowVideoStreamCopy=false" to "127.0.0.1" in 0:00:00.8037543 with Status Code 200
[2021-08-09 18:14:08.560 -04:00] [INF] [165] Jellyfin.Api.Controllers.MediaInfoController: 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,ac3,eac3,opus,flac,vorbis", VideoCodec: "h264,hevc,vp8,vp9,av1", Type: Video }, DirectPlayProfile { Container: "mkv", AudioCodec: "aac,mp3,ac3,eac3,opus,flac,vorbis", VideoCodec: "h264,hevc,vp8,vp9,av1", Type: Video }, DirectPlayProfile { Container: "mov", AudioCodec: "aac,mp3,ac3,eac3,opus,flac,vorbis", VideoCodec: "h264", 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: "mkv", Type: Video, VideoCodec: "h264,hevc,vp8,vp9,av1", AudioCodec: "aac,mp3,ac3,eac3,opus,flac,vorbis", Protocol: null, EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: True, 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,ac3,eac3,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|high 10", 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|main 10", IsRequired: False }, ProfileCondition { Condition: LessThanEqual, Property: VideoLevel, Value: "183", 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-08-09 18:14:08.680 -04:00] [INF] [165] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Andrew". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2021-08-09 18:14:08.681 -04:00] [INF] [165] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 1000000000, RemoteIp: "127.0.0.1", IsInLocalNetwork: True
[2021-08-09 18:14:08.682 -04:00] [INF] [165] Jellyfin.Api.Helpers.MediaInfoHelper: Bitrate exceeds DirectStream limit: media bitrate: 15209949, max bitrate: 10000000
[2021-08-09 18:14:08.683 -04:00] [INF] [165] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "Unknown Profile", Path: "D:\Movies\[Kaleido-SCY] Fate Stay Night Heaven's Feel (BD 1080p Hi10 FLAC) [Dual-Audio]\[Kaleido-SCY] Fate Stay Night Heaven's Feel III. - Spring Song (BD 1080p Hi10 FLAC)].mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: False
[2021-08-09 18:14:08.763 -04:00] [INF] [165] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "F:\transcodes\df068655004c434f38d4b046bda5b215.m3u8"
[2021-08-09 18:14:08.874 -04:00] [WRN] [174] Jellyfin.Api.Controllers.DynamicHlsController: cannot serve "F:\transcodes\df068655004c434f38d4b046bda5b2158.ts" as it doesn't exist and no transcode is running
[2021-08-09 18:14:08.896 -04:00] [INF] [165] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2021-08-09 18:14:08.897 -04:00] [INF] [165] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "F:\transcodes\df068655004c434f38d4b046bda5b215.m3u8"
[2021-08-09 18:14:09.639 -04:00] [INF] [11] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2021-08-09 18:14:09.640 -04:00] [INF] [11] Jellyfin.Api.Helpers.TranscodingJobHelper: C:\Program Files\Jellyfin\Server\ffmpeg.exe -i file:"D:\Movies\[Kaleido-SCY] Fate Stay Night Heaven's Feel (BD 1080p Hi10 FLAC) [Dual-Audio]\[Kaleido-SCY] Fate Stay Night Heaven's Feel III. - Spring Song (BD 1080p Hi10 FLAC)].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -pix_fmt yuv420p -preset default -b:v 9360000 -maxrate 9360000 -bufsize 18720000 -profile:v:0 high -g:v:0 72 -keyint_min:v:0 72 -sc_threshold:v:0 0 -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -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 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c0%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c0.m3u8"
[2021-08-09 18:14:10.433 -04:00] [WRN] [11] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.robbinsa.me/videos/90fd118d-cc94-9b49-118f-57e1014a49a6/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzkyLjAuNDUxNS4xMzEgU2FmYXJpLzUzNy4zNiBFZGcvOTIuMC45MDIuNjd8MTYyODUyMDI2NjM4NQ11&MediaSourceId=90fd118dcc949b49118f57e1014a49a6&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=9360000&AudioBitrate=640000&PlaySessionId=35e3c655b50e478987a21a644a4008b1&api_key=5b8992706894466fb43cdd11e12f8d2f&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=96b802f313846f468c3e10aad5298c09&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&h264-deinterlace=true&TranscodeReasons=ContainerBitrateExceedsLimit&allowVideoStreamCopy=false&allowAudioStreamCopy=false&allowAudioStreamCopy=false" to "127.0.0.1" in 0:00:00.7948885 with Status Code 200
[2021-08-09 18:14:11.942 -04:00] [INF] [165] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c0.m3u8"
[2021-08-09 18:14:12.101 -04:00] [INF] [165] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2021-08-09 18:14:12.102 -04:00] [INF] [165] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c0.m3u8"
[2021-08-09 18:14:13.628 -04:00] [INF] [165] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.7.6" playing "Fate/stay night: Heaven's Feel III. Spring Song". Stopped at "3781" ms
[2021-08-09 18:14:13.644 -04:00] [WRN] [165] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.robbinsa.me/Sessions/Playing/Stopped" to "127.0.0.1" in 0:00:01.7073279 with Status Code 204[2021-08-09 18:14:14.139 -04:00] [INF] [11] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: Starting User Changes Sync...
[2021-08-09 18:14:14.141 -04:00] [INF] [11] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: "USERSYNC" User "1ee3e33a03854a4baa1ee18513d51a02"("Andrew") posted 2 Updates: "90fd118dcc949b49118f57e1014a49a6,05987168b692595db907d656ee288907"
[2021-08-09 18:14:14.142 -04:00] [INF] [11] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: User Changes Sync Finished Taking "00:00:00.0018819"
[2021-08-09 18:15:11.958 -04:00] [INF] [165] Jellyfin.Api.Helpers.TranscodingJobHelper: Transcoding kill timer stopped for JobId "4b8cd09b82e54db3a37e30fc12bd7254" PlaySessionId "35e3c655b50e478987a21a644a4008b1". Killing transcoding
[2021-08-09 18:15:11.959 -04:00] [INF] [165] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c0.m3u8"
/videos/90fd118d-cc94-9b49-118f-57e1014a49a6/hls1/main/0.ts
{"Protocol":0,"Id":"90fd118dcc949b49118f57e1014a49a6","Path":"D:\\Movies\\[Kaleido-SCY] Fate Stay Night Heaven\u0027s Feel (BD 1080p Hi10 FLAC) [Dual-Audio]\\[Kaleido-SCY] Fate Stay Night Heaven\u0027s Feel III. - Spring Song (BD 1080p Hi10 FLAC)].mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":10430600192,"Name":"[Kaleido-SCY] Fate Stay Night Heaven\u0027s Feel III. - Spring Song (BD 1080p Hi10 FLAC)]","IsRemote":false,"ETag":"96b802f313846f468c3e10aad5298c09","RunTimeTicks":73253543936,"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":"jpn","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"1001/48000","Title":"BD 1080p 10bit [Kaleido-SCY]","VideoRange":"SDR","localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":"BD 1080p 10bit [Kaleido-SCY] - H264 - SDR","NalLengthSize":"0","IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":11391231,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":true,"Height":1080,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High 10","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":51,"IsAnamorphic":null},{"Codec":"flac","CodecTag":null,"Language":"jpn","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Japanese 5.1 FLAC","VideoRange":null,"localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":"Japanese 5.1 FLAC - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":3434718,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":true,"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,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"English 5.1 AC-3","VideoRange":null,"localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":"English 5.1 AC-3 - Dolby Digital","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":384000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"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":"ass","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Full Subtitles [Kaleido-SCY]","VideoRange":null,"localizedUndefined":"Undefined","localizedDefault":"Default","localizedForced":"Forced","DisplayTitle":"Full Subtitles [Kaleido-SCY] - English - Default - Forced","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":true,"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":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"ass","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Signs \u0026 Songs","VideoRange":null,"localizedUndefined":"Undefined","localizedDefault":"Default","localizedForced":"Forced","DisplayTitle":"Signs \u0026 Songs - English","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":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[{"Codec":"otf","CodecTag":"[0][0][0][0]","Comment":null,"Index":5,"FileName":"GANDHISANS-BOLD.OTF","MimeType":"application/vnd.ms-opentype","DeliveryUrl":null},{"Codec":"otf","CodecTag":"[0][0][0][0]","Comment":null,"Index":6,"FileName":"GANDHISANS-BOLDITALIC.OTF","MimeType":"application/vnd.ms-opentype","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":7,"FileName":"GandhiSansExtraGlyphs-Bold.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":8,"FileName":"GandhiSansExtraGlyphs-BoldItalic.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":9,"FileName":"seguisym.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":10,"FileName":"arial.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":11,"FileName":"AvalonType.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":12,"FileName":"BERNIESHAND-PLAIN.TTF","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":13,"FileName":"CCYuletideLog.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":14,"FileName":"FOT Rodin Pro EB.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null}],"Formats":[],"Bitrate":15209949,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}
C:\Program Files\Jellyfin\Server\ffmpeg.exe -i file:"D:\Movies\[Kaleido-SCY] Fate Stay Night Heaven's Feel (BD 1080p Hi10 FLAC) [Dual-Audio]\[Kaleido-SCY] Fate Stay Night Heaven's Feel III. - Spring Song (BD 1080p Hi10 FLAC)].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -pix_fmt yuv420p -preset default -b:v 9360000 -maxrate 9360000 -bufsize 18720000 -profile:v:0 high -g:v:0 72 -keyint_min:v:0 72 -sc_threshold:v:0 0 -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -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 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c0%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c0.m3u8"
ffmpeg version n4.3.2-Jellyfin Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10.2.0 (Rev9, Built by MSYS2 project)
configuration: --disable-static --enable-shared --cc='ccache gcc' --cxx='ccache g++' --extra-version=Jellyfin --disable-ffplay --disable-debug --enable-lto --enable-gpl --enable-version3 --enable-bzlib --enable-iconv --enable-lzma --enable-zlib --enable-sdl2 --enable-fontconfig --enable-gmp --enable-libass --enable-libzimg --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-opencl --enable-dxva2 --enable-d3d11va --enable-amf --enable-libmfx --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvenc --enable-nvdec --enable-ffnvcodec --enable-gnutls
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:D:\Movies\[Kaleido-SCY] Fate Stay Night Heaven's Feel (BD 1080p Hi10 FLAC) [Dual-Audio]\[Kaleido-SCY] Fate Stay Night Heaven's Feel III. - Spring Song (BD 1080p Hi10 FLAC)].mkv':
Metadata:
title : [Kaleido-SCY] Fate Stay Night Heaven's Feel III. - Spring Song (BD 1080p Hi10 FLAC) [Dual-Audio]
encoder : libebml v1.4.2 + libmatroska v1.6.4
creation_time : 2021-05-28T18:46:19.000000Z
Duration: 02:02:05.35, start: 0.000000, bitrate: 11391 kb/s
Chapter #0:0: start 0.000000, end 669.711000
Metadata:
title : Prologue
Chapter #0:1: start 669.711000, end 789.038000
Metadata:
title : Part A
Chapter #0:2: start 789.038000, end 1153.194000
Metadata:
title : Part B
Chapter #0:3: start 1153.194000, end 1453.618000
Metadata:
title : Part C
Chapter #0:4: start 1453.618000, end 1642.390000
Metadata:
title : Part D
Chapter #0:5: start 1642.390000, end 1961.709000
Metadata:
title : Part E
Chapter #0:6: start 1961.709000, end 2355.310000
Metadata:
title : Part F
Chapter #0:7: start 2355.310000, end 2551.298000
Metadata:
title : Part G
Chapter #0:8: start 2551.298000, end 2970.675000
Metadata:
title : Part H
Chapter #0:9: start 2970.675000, end 3100.930000
Metadata:
title : Part I
Chapter #0:10: start 3100.930000, end 3308.429000
Metadata:
title : Part J
Chapter #0:11: start 3308.429000, end 3575.613000
Metadata:
title : Part K
Chapter #0:12: start 3575.613000, end 3820.524000
Metadata:
title : Part L
Chapter #0:13: start 3820.524000, end 3995.949000
Metadata:
title : Part M
Chapter #0:14: start 3995.949000, end 4176.672000
Metadata:
title : Part N
Chapter #0:15: start 4176.672000, end 4359.521000
Metadata:
title : Part O
Chapter #0:16: start 4359.521000, end 4816.102000
Metadata:
title : Part P
Chapter #0:17: start 4816.102000, end 5113.482000
Metadata:
title : Part Q
Chapter #0:18: start 5113.482000, end 5394.054000
Metadata:
title : Part R
Chapter #0:19: start 5394.054000, end 5880.499000
Metadata:
title : Part S
Chapter #0:20: start 5880.499000, end 6417.952000
Metadata:
title : Part T
Chapter #0:21: start 6417.952000, end 6726.177000
Metadata:
title : Part U
Chapter #0:22: start 6726.177000, end 7041.242000
Metadata:
title : Part V
Chapter #0:23: start 7041.242000, end 7325.354000
Metadata:
title : Ending
Stream #0:0(jpn): Video: h264 (High 10), yuv420p10le(progressive), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) (forced)
Metadata:
title : BD 1080p 10bit [Kaleido-SCY]
BPS : 7456280
DURATION : 02:02:05.317000000
NUMBER_OF_FRAMES: 175632
NUMBER_OF_BYTES : 6827452440
_STATISTICS_WRITING_APP: mkvmerge v57.0.0 ('Till The End') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2021-05-28 18:46:19
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(jpn): Audio: flac, 48000 Hz, 5.1(side), s32 (24 bit) (default) (forced)
Metadata:
title : Japanese 5.1 FLAC
BPS : 3434718
DURATION : 02:02:05.354000000
NUMBER_OF_FRAMES: 85844
NUMBER_OF_BYTES : 3145066295
_STATISTICS_WRITING_APP: mkvmerge v57.0.0 ('Till The End') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2021-05-28 18:46:19
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Metadata:
title : English 5.1 AC-3
BPS : 384000
DURATION : 02:02:05.248000000
NUMBER_OF_FRAMES: 228914
NUMBER_OF_BYTES : 351611904
_STATISTICS_WRITING_APP: mkvmerge v57.0.0 ('Till The End') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2021-05-28 18:46:19
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3(eng): Subtitle: ass (default) (forced)
Metadata:
title : Full Subtitles [Kaleido-SCY]
BPS : 53417
DURATION : 02:01:50.700000000
NUMBER_OF_FRAMES: 21840
NUMBER_OF_BYTES : 48815066
_STATISTICS_WRITING_APP: mkvmerge v57.0.0 ('Till The End') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2021-05-28 18:46:19
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:4(eng): Subtitle: ass
Metadata:
title : Signs & Songs
BPS : 51309
DURATION : 02:01:50.700000000
NUMBER_OF_FRAMES: 6610
NUMBER_OF_BYTES : 46888717
_STATISTICS_WRITING_APP: mkvmerge v57.0.0 ('Till The End') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2021-05-28 18:46:19
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:5: Attachment: otf
Metadata:
filename : GANDHISANS-BOLD.OTF
mimetype : application/vnd.ms-opentype
Stream #0:6: Attachment: otf
Metadata:
filename : GANDHISANS-BOLDITALIC.OTF
mimetype : application/vnd.ms-opentype
Stream #0:7: Attachment: ttf
Metadata:
filename : GandhiSansExtraGlyphs-Bold.ttf
mimetype : application/x-truetype-font
Stream #0:8: Attachment: ttf
Metadata:
filename : GandhiSansExtraGlyphs-BoldItalic.ttf
mimetype : application/x-truetype-font
Stream #0:9: Attachment: ttf
Metadata:
filename : seguisym.ttf
mimetype : application/x-truetype-font
Stream #0:10: Attachment: ttf
Metadata:
filename : arial.ttf
mimetype : application/x-truetype-font
Stream #0:11: Attachment: ttf
Metadata:
filename : AvalonType.ttf
mimetype : application/x-truetype-font
Stream #0:12: Attachment: ttf
Metadata:
filename : BERNIESHAND-PLAIN.TTF
mimetype : application/x-truetype-font
Stream #0:13: Attachment: ttf
Metadata:
filename : CCYuletideLog.ttf
mimetype : application/x-truetype-font
Stream #0:14: Attachment: ttf
Metadata:
filename : FOT Rodin Pro EB.ttf
mimetype : application/x-truetype-font
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc))
Stream #0:1 -> #0:1 (flac (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, hls, to 'F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c0.m3u8':
Metadata:
encoder : Lavf58.45.100
Stream #0:0: Video: h264 (h264_nvenc) (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 9360 kb/s, 23.98 fps, 90k tbn, 23.98 tbc (default) (forced)
Metadata:
encoder : Lavc58.91.100 h264_nvenc
Side data:
cpb: bitrate max/min/avg: 9360000/0/9360000 buffer size: 18720000 vbv_delay: N/A
Stream #0:1: Audio: aac (LC), 48000 Hz, 5.1, fltp (24 bit), 640 kb/s (default) (forced)
Metadata:
encoder : Lavc58.91.100 aac
[hls @ 0000029b17278380] Opening 'F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c00.ts' for writing
frame= 101 fps=0.0 q=11.0 size=N/A time=00:00:04.65 bitrate=N/A speed=9.29x
[hls @ 0000029b17278380] Opening 'F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c01.ts' for writing
[hls @ 0000029b17278380] Opening 'F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c02.ts' for writing
frame= 255 fps=255 q=11.0 size=N/A time=00:00:10.79 bitrate=N/A speed=10.8x
[hls @ 0000029b17278380] Opening 'F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c03.ts' for writing
[hls @ 0000029b17278380] Opening 'F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c04.ts' for writing
frame= 408 fps=271 q=11.0 size=N/A time=00:00:17.10 bitrate=N/A speed=11.4x
[hls @ 0000029b17278380] Opening 'F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c05.ts' for writing
[hls @ 0000029b17278380] Opening 'F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c06.ts' for writing
frame= 548 fps=273 q=9.0 size=N/A time=00:00:22.73 bitrate=N/A speed=11.3x
[hls @ 0000029b17278380] Opening 'F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c07.ts' for writing
[hls @ 0000029b17278380] Opening 'F:\transcodes\22459aa1bc8ad810cb2a94f98f0db0c08.ts' for writing
frame= 582 fps=253 q=10.0 Lsize=N/A time=00:00:24.40 bitrate=N/A speed=10.6x
video:2815kB audio:147kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[aac @ 0000029b18fe4280] Qavg: 65536.000
I got the same issue with 10.7.7 (from focal PPA) on Linux in an LXC-Container, but i think I nailed it down:
i forwarded the device-files of my nvidia p400 to the lxc-container, which is running on proxmox7, nvidia-smi runs on the host as well as on the container, so basic access to the gpu is possible, but jellyfin throws me the error noted in the title of this issue on playback attempts. It seems, that the cuda-cores did not get activated automatically. Also the /dev/nvidia-uvm
does not exist on boot (inside the lxc instance).
However, if i run something, which activates the cuda cores, like clinfo
or /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device cuda
, cuda gets initialized, everything runs fine, and transcoding works without restarting jellyfin. I think jellyfin should by itself initialize cuda if available, maybe this is the quirk. Took me quite some time to figure this out...
Unfortunately this has to be done on every reboot for now in order to get nvenc to work.
Apparently this issue can also crop up if jellyfin doesn't have access permissions to the log dir. Yes, my server sometimes locks out jellyfin from its own logs...it's a long story.
I got this message on one album of FLAC files, and it worked fine on a copy converted to FLAC again through foobar2000, weird.
same issue here at ver. 10.7.7
I get the same error on all my FLAC, MP3, etc., files when playing through any of the official clients (which afaik are all based on the web client), including the browser (tested both Firefox and Chromium). However, I only get the error when accessing my media over https with my domain (using a Caddy reverse proxy) and not when directly connecting via LAN address and port (i.e. http://192.x.x.x:xxxx
, everything works). The errors when I access my jellyfin over https occur when I'm both on the same network or an external network.
When using 3rd party clients such as Finamp or Gelli or Mopidy, I can connect over https/domain and play the same file successfully from any network. Only the official jellyfin clients are effected.
I run jellyfin from Docker, using the latest stable official image.
My log files don't contain any errors, there is no transcoding going on either (there shouldn't need to be with FLAC anyways). Relevant logs that occur when the error is displayed are below. Let me know if full logs are necessary.
Would anyone having similar issues mind testing if they go away when connecting over LAN IP?
Note in the below, the song (Particle Arts) is stopped (not by me, this is when the error displays) after 0 ms, before the logs even report on the fact that I was listening to the song. There are no more logs after the below.
[2022-01-04 15:41:20.993 +00:00] [INF] [72] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.1" request
[2022-01-04 15:41:24.964 +00:00] [INF] [72] Jellyfin.Api.Controllers.UniversalAudioController: 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: 8000000, MaxStaticBitrate: 8000000, MusicStreamingTranscodingBitrate: 128000, MaxStaticMusicBitrate: null, SonyAggregationFlags: null, ProtocolInfo: null, TimelineOffsetSeconds: 0, RequiresPlainVideoItems: False, RequiresPlainFolders: False, EnableMSMediaReceiverRegistrar: False, IgnoreTranscodeByteRangeRequests: False, XmlRootAttributes: [], DirectPlayProfiles: [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: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }], ContainerProfiles: [], CodecProfiles: [], ResponseProfiles: [], SubtitleProfiles: [] }
[2022-01-04 15:41:24.967 +00:00] [INF] [72] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "salad". EnableAudioPlaybackTranscoding: True
[2022-01-04 15:41:25.028 +00:00] [INF] [75] Jellyfin.Plugin.Listenbrainz.ServerEntryPoint: Getting Recording ID for Track ID: 10e2297f-678d-4fdf-8d0a-970c7942b2ea (Particle Arts)
[2022-01-04 15:41:25.106 +00:00] [INF] [59] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.7.6" playing "Particle Arts". Stopped at "0" ms
[2022-01-04 15:41:26.969 +00:00] [INF] [85] Jellyfin.Plugin.Listenbrainz.ServerEntryPoint: salad (saladuh) is now listening to 'Particle Arts' from album 'Virtual Self' by 'Virtual Self'
I was getting the same error. In my case, the issue was because Jellyfin couldn't see the drives attached. The drive was plugged into the computer, but it got unmounted (maybe because of a power failure). Once I remounted it, I could play everything fine.
I hope this could be useful for someone else that faces this issue in the future.
Also, @thornbill, can we have the error message updated for the case when Jellyfin can't find the drives? The current message I got is not really helpful for this.
I'm having a similar issue to theAeon, web playback with transcoding doesn't work on certain files until you disable the integrated subtitles. If subs are disabled transcoding and web playback work just fine. Also, I've tried disabling Nvenc Hardware Acceleration and still had the same result. This is on Arch Linux, with jellyfin-git installed from the AUR. The current version of all three packages is 10.8.0.alpha5.r27.g07e9568de8-1 Here are some logs, it tries transcoding three times and then gives me the "This client isn't compatible... etc" message. log_20220116.log FFmpeg.Transcode-2022-01-16_08-44-14_76c1c182f23d1e297e3e8fc59bffdfa4_5a371af9.log FFmpeg.Transcode-2022-01-16_08-44-19_76c1c182f23d1e297e3e8fc59bffdfa4_0ca639f2.log FFmpeg.Transcode-2022-01-16_08-44-23_76c1c182f23d1e297e3e8fc59bffdfa4_f1bc5628.log [Edit] Interestingly, my friend's Jellyfin Server 10.7.7 running on Ubuntu Server 21.10 has no problems playing the same file. I'll keep digging around in the configs and see if I find anything
I'm having a similar issue to theAeon, web playback with transcoding doesn't work on certain files until you disable the integrated subtitles. If subs are disabled transcoding and web playback work just fine. Also, I've tried disabling Nvenc Hardware Acceleration and still had the same result.
Thanks for this, now I know I can at least disable subtitles to playback media.
Issue is the same for me. When subtitles are disabled playback works fine.
Otherwise it seems random. It even happens on H264 videos through web browser, which don't usually need to be transcoded.
v10.7.7 in UnRaid docker (Linuxserver).
@WTechNinja
[2022-01-16 08:44:25.691 -07:00] [ERR] [26] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/Videos/76c1c182-f23d-1e29-7e3e-8fc59bffdfa4/76c1c182f23d1e297e3e8fc59bffdfa4/Attachments/3".
ffmpeg seems to fail on extraction of attachment (font probably). But it could also be an image that breaks JavascriptSubtitleOctopus (SSA/ASS subtitles renderer). This is fixed in #3302, but not yet released (not even in alpha).
Could you see if the file has MJPEG or another image (Cover)?
Also, I see that some fonts from https://github.com/jellyfin/jellyfin-web/issues/2580#issuecomment-895588803 won't load because of the mentioned PR (MIME types).
I think it does. I ran ffmpeg -i on the file and looked at the streams, and stream 0:3 implies I have a cover.
``` Stream #0:0: Video: hevc (Main), yuv420p(tv, bt709), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: title : Presented By EMBER BPS : 2042604 DURATION : 00:23:40.002000000 NUMBER_OF_FRAMES: 34046 NUMBER_OF_BYTES : 362562779 _STATISTICS_WRITING_APP: mkvmerge v57.0.0 ('Till The End') 64-bit _STATISTICS_WRITING_DATE_UTC: 2021-07-07 18:29:26 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(jpn): Audio: aac (LC), 44100 Hz, stereo, fltp (default) Metadata: BPS : 128000 DURATION : 00:23:40.062000000 NUMBER_OF_FRAMES: 61157 NUMBER_OF_BYTES : 22721005 _STATISTICS_WRITING_APP: mkvmerge v57.0.0 ('Till The End') 64-bit _STATISTICS_WRITING_DATE_UTC: 2021-07-07 18:29:26 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: ass (default) Metadata: BPS : 127 DURATION : 00:23:38.700000000 NUMBER_OF_FRAMES: 374 NUMBER_OF_BYTES : 22619 _STATISTICS_WRITING_APP: mkvmerge v57.0.0 ('Till The End') 64-bit _STATISTICS_WRITING_DATE_UTC: 2021-07-07 18:29:26 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3: Video: mjpeg (Progressive), yuvj420p(pc, bt470bg/unknown/unknown), 400x564 [SAR 96:96 DAR 100:141], 90k tbr, 90k tbn, 90k tbc (attached pic) Metadata: filename : cover.jpg mimetype : image/jpeg ``` (After these three streams, there are a bunch of ttf fonts)
Also, I'm running the git build, so I could update and check if that fixed it on mine.
I updated from 10.8.0.alpha5.r27.g07e9568de8-1 to 10.8.0.alpha5.r63.gcd4587b43f-1, and it seems to be fixed on mine now. Unrelated, is there any way to keep the extracted subtitles from transcoding? My server isn't very beefy and when I play one of the subbed videos that previously didn't work, it has long stutters and no subs for a minute while it is getting the subs from it, and then it plays fine, but if I exit and watch the video again it has the stutters while it extracts the subs from it again.
Unrelated, is there any way to keep the extracted subtitles from transcoding? My server isn't very beefy and when I play one of the subbed videos that previously didn't work, it has long stutters and no subs for a minute while it is getting the subs from it, and then it plays fine, but if I exit and watch the video again it has the stutters while it extracts the subs from it again.
afaik, attachments and subtitles are extracted once (on first playback) and stored in data/attachments
and data/subtitles
.
It is known that highly stylized SSA subs take a long time to start. I got ~2min on TV with some subtitles (on each playback, iirc).
Is it related to parsing by JSO or is the onehot-renderer (our mode) stuck? Need to investigate.
I didn't know that, thanks for the info. If you need any more logs of anything let me know
Same problem here on jf 10.7.7 and 10.8.0 (jellyfin:20220207.12-unstable) this is the last part of the FFmpeg log. I can't play back a single title from my library, however when I disable hardware acceleration playback works.
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_nvenc))
Stream #0:1 -> #0:1 (truehd (native) -> aac (native))
Press [q] to stop, [?] for help
[hevc @ 0x5572c67e3c80] Cannot load libnvcuvid.so.1
[hevc @ 0x5572c67e3c80] Failed loading nvcuvid.
[hevc @ 0x5572c67e3c80] Failed setup for format cuda: hwaccel initialisation returned error.
Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0
[aac @ 0x5572c5b1a700] Qavg: 63128.457
[aac @ 0x5572c5b1a700] 2 frames left in the queue on closing
Conversion failed!
Today I've tried to debug this again. First a little bit about my setup:
When I enable
I'm running the latest stable release of jellyfin (10.7.7) in a kubernetes cluster. I have an nvidia quadro T600, which the pod can access.
I'm using the nvidias container runtime and the official device plugin.
When I run nvidia-smi
inside the container I get:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.103.01 Driver Version: 470.103.01 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA T600 On | 00000000:01:00.0 Off | N/A |
| 38% 34C P8 N/A / 41W | 1MiB / 3909MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Looks good to me!
lshw
(needs to be installed) also shows the card correctly.
But clinfo
(needs to be installed too) reports: Number of Platforms 0
.
Maybe missing opencl libraries...
Apt says differently: ocl-icd-libopencl1 is already the newest version (2.2.12-2).
Then I added that to /etc/OpenCL/vendors/nvidia.idc:
echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd
And finally clinfo
reports the same as it does on the host machine.
Though at the bottom it prints this warning:
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.12
ICD loader Profile OpenCL 2.2
NOTE: your OpenCL library only supports OpenCL 2.2,
but some installed platforms support OpenCL 3.0.
Programs using 3.0 features may crash
or behave unexpectedly
Could this be a problem?
Anyway, transcoding still doesn't work and I'm quite lost on this I've gone through the docs a bunch of times and made sure I followed all the requirements, but it just doesn't wanna work.
This is the interesting part of the jellyfin log:
[2022-02-08 18:01:02.217 +00:00] [INF] [5] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "me". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-02-08 18:01:02.217 +00:00] [INF] [5] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "Unknown Profile", Path: "/media/Movies/movie (2014)/movie (2014).mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2022-02-08 18:01:02.217 +00:00] [INF] [5] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "Unknown Profile", No video direct play profiles found for "/media/Movies/movie (2014)/movie (2014).mkv" with codec "hevc"
[2022-02-08 18:01:02.313 +00:00] [INF] [9] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2022-02-08 18:01:02.423 +00:00] [INF] [9] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -hwaccel cuda -hwaccel_output_format cuda -extra_hw_frames 3 -autorotate 0 -i file:"/media/Movies/movie (2014)/movie (2014).mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -preset default -b:v 31986752 -maxrate 31986752 -bufsize 63973504 -profile:v:0 high -g:v:0 72 -keyint_min:v:0 72 -sc_threshold:v:0 0 -vf "scale_cuda=format=nv12" -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 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/08280bad6cf8651f530e540829bf0bdc%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/08280bad6cf8651f530e540829bf0bdc.m3u8"
[2022-02-08 18:01:02.713 +00:00] [ERR] [28] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
[2022-02-08 18:01:02.737 +00:00] [WRN] [18] Jellyfin.Api.Controllers.DynamicHlsController: cannot serve "/config/transcodes/08280bad6cf8651f530e540829bf0bdc0.ts" as transcoding quit before we got there
[2022-02-08 18:01:02.738 +00:00] [ERR] [18] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "Could not find file '/config/transcodes/08280bad6cf8651f530e540829bf0bdc0.ts'". URL "GET" "/videos/a07dc06a-e1b8-fde7-f24d-b35586fda527/hls1/main/0.ts".
[2022-02-08 18:01:02.770 +00:00] [INF] [29] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.7.6"
It's also not a permissions problem. The problem is coming from ffmpeg (I posted the error log in my previous comment)
Describe The Bug
I have enabled transcoding on Jellyfin. Running Jellyfin via Portainer on RPi4. Movie can't be even played after enabling transcoding, if I disable transcoding then movie is playing, however RPi4 cannot keep up with that bitrate. Trancoding issue happens with every movie.
Steps To Reproduce
Expected Behavior
Movie should transcode.
Logs
Screenshots
System (please complete the following information):
Additional Context