Hi I'm getting a fatal error when trying to play back hardware decoded MPEG2 files. H264 are fine. ChatGPT thinks it's something to do with interlaced vs progressive. The problematic MPEG2s are all DVD rips made with MakeMKV with no transcoding, so straight off the commercial disc.
Very grateful for any advice! I'm no expert in this stuff!
best,
SC
Environment
- Jellyfin 10.10.4 on docker on Ubuntu 22.04
- GPU is your common-or-garden Intel HD Graphics 530
- GPU mapped through to container as
- VAAPI transcoding selected in Jellyfin
- /dev/dri/renderD128 selected
- vainfo on the host returns this:
- Codecs selected in jellyfin include both H264 and MPEG2
- YADIF deinterlacing (default settings)
- full logs are at the bottom of this post, but I'm guessing the key line is:
- This plays fine:
Video Title: 480p H264 SDR Codec: H264 Codec tag: avc1 AVC: Yes Profile: High Level: 31 Resolution: 768x450 Aspect ratio: 128:75 Anamorphic: No Interlaced: No Framerate: 25 Bitrate: 1250 kbps Bit depth: 8 bit Video range: SDR Video range type: SDR Colour space: bt709 Colour transfer: bt709 Colour primaries: bt709 Pixel format: yuv420p Ref frames: 1 NAL: 4
- This errors:
Video Title: 576i MPEG2VIDEO SDR Codec: MPEG2VIDEO AVC: No Profile: Main Level: 8 Resolution: 720x576 Aspect ratio: 16:9 Anamorphic: No Interlaced: Yes Framerate: 25 Bitrate: 5863 kbps Bit depth: 8 bit Video range: SDR Video range type: SDR Pixel format: yuv420p Ref frames: 1
- ETA: The same files succeed and fail on both web client (Brave brwser / Linux) and Android; I don't think this is a client side problem?
- ETA: All these videso play fine on software acceleration, and at least some of them play fine with hardware acceleration, so I don't think this is a permissions issue?
- ETA: the MEG2 files are the vast majority of my library! I'd rather not have to transcode them all permanently; I've had them for years and they play fine in other environments (eg VLC etc).
---------------
Logs
at lambda_method1313(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
at lambda_method1313(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
at lambda_method1313(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
Very grateful for any advice! I'm no expert in this stuff!
best,
SC
Environment
- Jellyfin 10.10.4 on docker on Ubuntu 22.04
- GPU is your common-or-garden Intel HD Graphics 530
- GPU mapped through to container as
- /dev/dri
dev/dri
- VAAPI transcoding selected in Jellyfin
- /dev/dri/renderD128 selected
- vainfo on the host returns this:
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel® Gen Graphics - 22.3.1 ()
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
- Codecs selected in jellyfin include both H264 and MPEG2
- YADIF deinterlacing (default settings)
- full logs are at the bottom of this post, but I'm guessing the key line is:
[10:21:03] [ERR] [36] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 187
also: -hwaccel vaapi -hwaccel_output_format vaapi
- This plays fine:
Video Title: 480p H264 SDR Codec: H264 Codec tag: avc1 AVC: Yes Profile: High Level: 31 Resolution: 768x450 Aspect ratio: 128:75 Anamorphic: No Interlaced: No Framerate: 25 Bitrate: 1250 kbps Bit depth: 8 bit Video range: SDR Video range type: SDR Colour space: bt709 Colour transfer: bt709 Colour primaries: bt709 Pixel format: yuv420p Ref frames: 1 NAL: 4
- This errors:
Video Title: 576i MPEG2VIDEO SDR Codec: MPEG2VIDEO AVC: No Profile: Main Level: 8 Resolution: 720x576 Aspect ratio: 16:9 Anamorphic: No Interlaced: Yes Framerate: 25 Bitrate: 5863 kbps Bit depth: 8 bit Video range: SDR Video range type: SDR Pixel format: yuv420p Ref frames: 1
- ETA: The same files succeed and fail on both web client (Brave brwser / Linux) and Android; I don't think this is a client side problem?
- ETA: All these videso play fine on software acceleration, and at least some of them play fine with hardware acceleration, so I don't think this is a permissions issue?
- ETA: the MEG2 files are the vast majority of my library! I'd rather not have to transcode them all permanently; I've had them for years and they play fine in other environments (eg VLC etc).
---------------
Logs
[10:21:00] [INF] [37] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for myuser. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[10:21:01] [INF] [37] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[10:21:01] [INF] [37] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/short/videos/emby_hl_lib/tvseries/Pride and Prejudice (1995)/PrPr.S01E01.mpg" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:1 -map 0:2 -map -0:s -codec:v:0 h264_vaapi -rc_mode VBR -b:v 5863061 -maxrate 5863061 -bufsize 11726122 -profile:v:0 high -sei -a53_cc -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,deinterlace_vaapi=rate=frame,scale_vaapi=format=nv12:extra_hw_frames=24" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "675e428663b843dcda8b86f93d4726bc-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/675e428663b843dcda8b86f93d4726bc%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/675e428663b843dcda8b86f93d4726bc.m3u8"
[10:21:01] [ERR] [36] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 187
[10:21:01] [ERR] [36] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/5b29f7c6-0779-b993-0387-bfaf4fb68af3/hls1/main/-1.mp4.
MediaBrowser.Common.FfmpegException: FFmpeg exited with code 187
at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId)
at Jellyfin.Api.Controllers.DynamicHlsController.GetHlsVideoSegment(Guid itemId, String playlistId, Int32 segmentId, String container, Int64 runtimeTicks, Int64 actualSegmentLengthTicks, Nullable
1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable1 segmentLength, Nullable
1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable1 enableAutoStreamCopy, Nullable
1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, Nullable
1 breakOnNonKeyFrames, Nullable1 audioSampleRate, Nullable
1 maxAudioBitDepth, Nullable1 audioBitRate, Nullable
1 audioChannels, Nullable1 maxAudioChannels, String profile, String level, Nullable
1 framerate, Nullable1 maxFramerate, Nullable
1 copyTimestamps, Nullable1 startTimeTicks, Nullable
1 width, Nullable1 height, Nullable
1 maxWidth, Nullable1 maxHeight, Nullable
1 videoBitRate, Nullable1 subtitleStreamIndex, Nullable
1 subtitleMethod, Nullable1 maxRefFrames, Nullable
1 maxVideoBitDepth, Nullable1 requireAvc, Nullable
1 deInterlace, Nullable1 requireNonAnamorphic, Nullable
1 transcodingMaxAudioChannels, Nullable1 cpuCoreLimit, String liveStreamId, Nullable
1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable1 audioStreamIndex, Nullable
1 videoStreamIndex, Nullable1 context, Dictionary
2 streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding)at lambda_method1313(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
[10:21:01] [INF] [36] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for myuser. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[10:21:01] [INF] [37] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /cache/transcodes/675e428663b843dcda8b86f93d4726bc.m3u8
[10:21:02] [INF] [32] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[10:21:02] [INF] [32] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/short/videos/emby_hl_lib/tvseries/Pride and Prejudice (1995)/PrPr.S01E01.mpg" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:1 -map 0:2 -map -0:s -codec:v:0 h264_vaapi -rc_mode VBR -b:v 5863061 -maxrate 5863061 -bufsize 11726122 -profile:v:0 high -sei -a53_cc -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,deinterlace_vaapi=rate=frame,scale_vaapi=format=nv12:extra_hw_frames=24" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "639bb602d26fe744904ab70a5dcae4fa-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/639bb602d26fe744904ab70a5dcae4fa%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/639bb602d26fe744904ab70a5dcae4fa.m3u8"
[10:21:02] [ERR] [36] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 187
[10:21:02] [ERR] [36] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/5b29f7c6-0779-b993-0387-bfaf4fb68af3/hls1/main/-1.mp4.
MediaBrowser.Common.FfmpegException: FFmpeg exited with code 187
at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId)
at Jellyfin.Api.Controllers.DynamicHlsController.GetHlsVideoSegment(Guid itemId, String playlistId, Int32 segmentId, String container, Int64 runtimeTicks, Int64 actualSegmentLengthTicks, Nullable
1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable1 segmentLength, Nullable
1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable1 enableAutoStreamCopy, Nullable
1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, Nullable
1 breakOnNonKeyFrames, Nullable1 audioSampleRate, Nullable
1 maxAudioBitDepth, Nullable1 audioBitRate, Nullable
1 audioChannels, Nullable1 maxAudioChannels, String profile, String level, Nullable
1 framerate, Nullable1 maxFramerate, Nullable
1 copyTimestamps, Nullable1 startTimeTicks, Nullable
1 width, Nullable1 height, Nullable
1 maxWidth, Nullable1 maxHeight, Nullable
1 videoBitRate, Nullable1 subtitleStreamIndex, Nullable
1 subtitleMethod, Nullable1 maxRefFrames, Nullable
1 maxVideoBitDepth, Nullable1 requireAvc, Nullable
1 deInterlace, Nullable1 requireNonAnamorphic, Nullable
1 transcodingMaxAudioChannels, Nullable1 cpuCoreLimit, String liveStreamId, Nullable
1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable1 audioStreamIndex, Nullable
1 videoStreamIndex, Nullable1 context, Dictionary
2 streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding)at lambda_method1313(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
[10:21:02] [INF] [37] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for myuser. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[10:21:02] [INF] [36] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /cache/transcodes/639bb602d26fe744904ab70a5dcae4fa.m3u8
[10:21:02] [INF] [10] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[10:21:02] [INF] [10] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/short/videos/emby_hl_lib/tvseries/Pride and Prejudice (1995)/PrPr.S01E01.mpg" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:1 -map 0:2 -map -0:s -codec:v:0 h264_vaapi -rc_mode VBR -b:v 5863061 -maxrate 5863061 -bufsize 11726122 -profile:v:0 high -sei -a53_cc -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,deinterlace_vaapi=rate=frame,scale_vaapi=format=nv12:extra_hw_frames=24" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "4551dcf430e4ad9e7fafd5e6f6d15aeb-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/4551dcf430e4ad9e7fafd5e6f6d15aeb%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/4551dcf430e4ad9e7fafd5e6f6d15aeb.m3u8"
[10:21:03] [ERR] [36] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 187
[10:21:03] [ERR] [10] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/5b29f7c6-0779-b993-0387-bfaf4fb68af3/hls1/main/-1.mp4.
MediaBrowser.Common.FfmpegException: FFmpeg exited with code 187
at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId)
at Jellyfin.Api.Controllers.DynamicHlsController.GetHlsVideoSegment(Guid itemId, String playlistId, Int32 segmentId, String container, Int64 runtimeTicks, Int64 actualSegmentLengthTicks, Nullable
1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable1 segmentLength, Nullable
1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable1 enableAutoStreamCopy, Nullable
1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, Nullable
1 breakOnNonKeyFrames, Nullable1 audioSampleRate, Nullable
1 maxAudioBitDepth, Nullable1 audioBitRate, Nullable
1 audioChannels, Nullable1 maxAudioChannels, String profile, String level, Nullable
1 framerate, Nullable1 maxFramerate, Nullable
1 copyTimestamps, Nullable1 startTimeTicks, Nullable
1 width, Nullable1 height, Nullable
1 maxWidth, Nullable1 maxHeight, Nullable
1 videoBitRate, Nullable1 subtitleStreamIndex, Nullable
1 subtitleMethod, Nullable1 maxRefFrames, Nullable
1 maxVideoBitDepth, Nullable1 requireAvc, Nullable
1 deInterlace, Nullable1 requireNonAnamorphic, Nullable
1 transcodingMaxAudioChannels, Nullable1 cpuCoreLimit, String liveStreamId, Nullable
1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable1 audioStreamIndex, Nullable
1 videoStreamIndex, Nullable1 context, Dictionary
2 streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding)at lambda_method1313(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
[10:21:03] [INF] [32] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /cache/transcodes/4551dcf430e4ad9e7fafd5e6f6d15aeb.m3u8
[10:21:04] [INF] [32] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Web 10.10.4 playing Part 1. Stopped at 0 ms
[11:00:53] [INF] [15] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.