easymodo / qimgv

Image viewer. Fast, easy to use. Optional video support.
GNU General Public License v3.0
2.3k stars 160 forks source link

Using libffmpegthumbnailer for faster video thumbnail generation #524

Open gcorrad opened 7 months ago

gcorrad commented 7 months ago

Hello! I modified the generation of video thumbnails to use libffmpegthumbnailer so they are generated more quickly. This requires the installation of the libffmpegthumbnailer-dev library and libffmpegthumbnailer4v5, which is normally installed as a dependency on the previous one. I only tested it on my Linux machine so I included it only for building the binaries for Linux, when I can I will try it for macOS. I think we need to check the existence of the libffmpegthumbnailer in the CMakeLists.txt but I'm not sure how to do it. I hope it is useful and thank you very much for your project.