2024-06-07, 05:48 PM
Dashboard > Scheduled Tasks > Run Generate Trickplay Images job. What happens?
2024-06-07, 05:48 PM
Dashboard > Scheduled Tasks > Run Generate Trickplay Images job. What happens?
2024-06-07, 07:06 PM
Do you have Trickplays enabled in the library settings?
2024-06-07, 07:07 PM
(2024-06-07, 05:48 PM)TheDreadPirate Wrote: Dashboard > Scheduled Tasks > Run Generate Trickplay Images job. What happens? It just runs and finishes. Here's the log report generated after I manually run the task. [22:05:34] [INF] [36] Emby.Server.Implementations.ScheduledTasks.TaskManager: Generate Trickplay Images Completed after 0 minute(s) and 0 seconds
2024-06-07, 07:16 PM
(2024-06-07, 07:06 PM)MisterMcDuck Wrote: Do you have Trickplays enabled in the library settings? Ohhy veyyy, I didn't realize it was necessary to manually enable Trickplay for each library. Thank you so much! 🙏🙏 Looks like now it's actually scanning my media and generating the Trickplay images. I'll test once the task finishes.
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 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
2024-06-07, 07:53 PM
What CPU/GPU do you have in your system? Try turning off all hardware acceleration for trick play?
2024-06-07, 08:08 PM
(2024-06-07, 07:53 PM)TheDreadPirate Wrote: What CPU/GPU do you have in your system? Try turning off all hardware acceleration for trick play? Intel Core i7-10700 CPU @ 2.90GHz CometLake-S GT2 [UHD Graphics 630] As you suggested I disabled hardware accelerated MJPEG encoding in the Trickplay settings and restarted the task, but the error is still happening in the log.
2024-06-07, 08:10 PM
Can you share screenshots of all the settings in Dashboard > Trickplay?
2024-06-07, 08:13 PM
(This post was last modified: 2024-06-07, 08:14 PM by mjeshurun. Edited 2 times in total.)
(2024-06-07, 08:10 PM)TheDreadPirate Wrote: Can you share screenshots of all the settings in Dashboard > Trickplay? https://imgur.com/a/KcRLqNc |
|
|