nicknsy / jellyscrub

Smooth mouse-over video scrubbing previews for Jellyfin.
MIT License
660 stars 25 forks source link

How Does BIF Generation with Hardware Acceleration Enable behaves? #126

Closed ChowDPa02k closed 8 months ago

ChowDPa02k commented 8 months ago

Just to check whether Jellyscrub with Hardware Acc. works in my NAS.

My NAS has an Intel(R) Pentium(R) Silver N6005 CPU, with Intel Corporation JasperLake [UHD Graphics] GPU, which only supports NO ENCODE mode in Jellyscrub plugin. It was a migrated media library with about 3TB of videos, so BIF Generation will take a looooong time. I wonder how to figure out if HW Acc. works, and how faster will it be?

The jellyfin log output are as follow:

INF] [82] Nick.Plugin.Jellyscrub.Drawing.OldMediaEncoder: /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 0 -autorotate 0 -i file:"/<some_movies>" -an -sn -vf "fps=1/10,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,320)/2)*2:trunc(ow/a/2)*2,format=yuv420p" -threads 0 -c:v mjpeg -f image2 "/cache/temp/<some_output>"