Bug 461242

Summary: Wish: Use QMovie for animated images previews in StackedView
Product: [Applications] digikam Reporter: Eugene Vert <eugene.a.vert>
Component: Preview-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version First Reported In: 8.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example animations (gif, apng, webp, avif, jxl): 15px blinking square

Description Eugene Vert 2022-10-31 13:06:30 UTC
Created attachment 153354 [details]
Example animations (gif, apng, webp, avif, jxl): 15px blinking square

SUMMARY
***
Currently qtav player is used for animated images playback, but it doesn't work well with short looped images (sometimes there is a сonsiderable delay between each loop) and it often freezes during playback. Previewing WebP animation results in a black screen (but it does work in MPV / Gwenview) and JXL animations not work at all.
Would it be possible to add animated images playback via QMovie to the StackedView?
***

KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
ffmpeg version: 5.0.1

ADDITIONAL INFORMATION
There is a check for animated images in:
core/app/views/stack/stackedview.cpp:341 void StackedView::setPreviewItem
363: DImg::isAnimatedImage(info.fileUrl().toLocalFile())

Thanks for amazing work on digikam.