2024-06-07, 07:42 PM
I'm seeing errors in the log for the Trickplay Image generation task.
Does anyone know how to fix this? 🙏
[22:37:39] [INF] [54] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Creating trickplay files at 320 width, for /data/media/tv/Masters of the Air/Masters.of.the.Air.S01E03.HDR.2160p.WEB.h265-ETHEL[TGx].mkv [ID: 942f4ba6-8769-1145-4e9b-00cfefe584cf]
[22:37:39] [INF] [54] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay generation: /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/data/media/tv/Masters of the Air/Masters.of.the.Air.S01E03.HDR.2160p.WEB.h265-ETHEL[TGx].mkv" -noautoscale -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=320:h=132:extra_hw_frames=24,hwmap=derive_device=opencl,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=bt2390:peak=100:desat=0,hwmap=derive_device=qsv:reverse=1:extra_hw_frames=16,format=qsv" -threads 1 -c:v mjpeg_qsv -qscale:v 4 -f image2 "/config/cache/temp/f6520cdd40664f94a468480ca27c7c6c/%08d.jpg"
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
[22:39:39] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: Attempting to cancel Scheduled Task Generate Trickplay Images
[22:39:39] [INF] [40] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Stopping trickplay extraction.
[22:39:40] [INF] [40] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Killing ffmpeg process
[22:39:40] [ERR] [40] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: ffmpeg image extraction failed for /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/data/media/tv/Masters of the Air/Masters.of.the.Air.S01E03.HDR.2160p.WEB.h265-ETHEL[TGx].mkv" -noautoscale -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=320:h=132:extra_hw_frames=24,hwmap=derive_device=opencl,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=bt2390:peak=100:desat=0,hwmap=derive_device=qsv:reverse=1:extra_hw_frames=16,format=qsv" -threads 1 -c:v mjpeg_qsv -qscale:v 4 -f image2 "/config/cache/temp/f6520cdd40664f94a468480ca27c7c6c/%08d.jpg"
[22:39:40] [ERR] [40] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Error creating trickplay images.
MediaBrowser.Common.FfmpegException: ffmpeg image extraction failed for /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/data/media/tv/Masters of the Air/Masters.of.the.Air.S01E03.HDR.2160p.WEB.h265-ETHEL[TGx].mkv" -noautoscale -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=320:h=132:extra_hw_frames=24,hwmap=derive_device=opencl,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=bt2390:peak=100:desat=0,hwmap=derive_device=qsv:reverse=1:extra_hw_frames=16,format=qsv" -threads 1 -c:v mjpeg_qsv -qscale:v 4 -f image2 "/config/cache/temp/f6520cdd40664f94a468480ca27c7c6c/%08d.jpg"
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.ExtractVideoImagesOnIntervalInternal(String inputArg, String filterParam, String vidEncoder, Nullable
at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.RefreshTrickplayDataInternal(Video video, Boolean replace, Int32 width, TrickplayOptions options, CancellationToken cancellationToken)
[22:39:40] [INF] [40] Emby.Server.Implementations.ScheduledTasks.TaskManager: Generate Trickplay Images Cancelled after 2 minute(s) and 1 seconds
Does anyone know how to fix this? 🙏
[22:37:39] [INF] [54] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Creating trickplay files at 320 width, for /data/media/tv/Masters of the Air/Masters.of.the.Air.S01E03.HDR.2160p.WEB.h265-ETHEL[TGx].mkv [ID: 942f4ba6-8769-1145-4e9b-00cfefe584cf]
[22:37:39] [INF] [54] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay generation: /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/data/media/tv/Masters of the Air/Masters.of.the.Air.S01E03.HDR.2160p.WEB.h265-ETHEL[TGx].mkv" -noautoscale -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=320:h=132:extra_hw_frames=24,hwmap=derive_device=opencl,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=bt2390:peak=100:desat=0,hwmap=derive_device=qsv:reverse=1:extra_hw_frames=16,format=qsv" -threads 1 -c:v mjpeg_qsv -qscale:v 4 -f image2 "/config/cache/temp/f6520cdd40664f94a468480ca27c7c6c/%08d.jpg"
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
[22:39:39] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: Attempting to cancel Scheduled Task Generate Trickplay Images
[22:39:39] [INF] [40] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Stopping trickplay extraction.
[22:39:40] [INF] [40] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Killing ffmpeg process
[22:39:40] [ERR] [40] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: ffmpeg image extraction failed for /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/data/media/tv/Masters of the Air/Masters.of.the.Air.S01E03.HDR.2160p.WEB.h265-ETHEL[TGx].mkv" -noautoscale -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=320:h=132:extra_hw_frames=24,hwmap=derive_device=opencl,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=bt2390:peak=100:desat=0,hwmap=derive_device=qsv:reverse=1:extra_hw_frames=16,format=qsv" -threads 1 -c:v mjpeg_qsv -qscale:v 4 -f image2 "/config/cache/temp/f6520cdd40664f94a468480ca27c7c6c/%08d.jpg"
[22:39:40] [ERR] [40] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Error creating trickplay images.
MediaBrowser.Common.FfmpegException: ffmpeg image extraction failed for /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/data/media/tv/Masters of the Air/Masters.of.the.Air.S01E03.HDR.2160p.WEB.h265-ETHEL[TGx].mkv" -noautoscale -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=320:h=132:extra_hw_frames=24,hwmap=derive_device=opencl,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=bt2390:peak=100:desat=0,hwmap=derive_device=qsv:reverse=1:extra_hw_frames=16,format=qsv" -threads 1 -c:v mjpeg_qsv -qscale:v 4 -f image2 "/config/cache/temp/f6520cdd40664f94a468480ca27c7c6c/%08d.jpg"
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.ExtractVideoImagesOnIntervalInternal(String inputArg, String filterParam, String vidEncoder, Nullable
1 outputThreads, Nullable
1 qualityScale, Nullable`1 priority, CancellationToken cancellationToken)at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.RefreshTrickplayDataInternal(Video video, Boolean replace, Int32 width, TrickplayOptions options, CancellationToken cancellationToken)
[22:39:40] [INF] [40] Emby.Server.Implementations.ScheduledTasks.TaskManager: Generate Trickplay Images Cancelled after 2 minute(s) and 1 seconds