Bug 461242 - Wish: Use QMovie for animated images previews in StackedView
Summary: Wish: Use QMovie for animated images previews in StackedView
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Engine (other bugs)
Version First Reported In: 8.0.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-31 13:06 UTC by Eugene Vert
Modified: 2022-10-31 16:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Example animations (gif, apng, webp, avif, jxl): 15px blinking square (7.50 KB, application/x-tar)
2022-10-31 13:06 UTC, Eugene Vert
Details

Note You need to log in before you can comment on or make changes to this bug.
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.