Bug 203714

Summary: Play animated GIF video in preview mode
Product: [Applications] digikam Reporter: Zen <cerebralpandemics>
Component: Preview-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, maheshmhegade, mrboese, niels.misc, yesyoucanspamme
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0
Sentry Crash Report:

Description Zen 2009-08-13 14:50:16 UTC
Version:           0.10.0 (using KDE 4.3.0)
OS:                Linux
Installed from:    SuSE RPMs

Currently only the first frame of animated gif files is shown and there is no way to tell them apart from static gif images, a playback option would be nice.
Comment 1 Niels 2013-03-21 13:44:03 UTC
This would be great! Digikam has so many features for storing, sorting and tagging images, and I don't see why these should only be available for "pure" camera photographs. My collection can contain animated gifs just as easily as anything else.

If / when this is implemented, please also include support for animated gifs in slideshows.

Thanks for a great program!
Comment 2 caulier.gilles 2016-11-25 20:28:02 UTC
This can be done with video preview, if right GStreamer codec is installed. Do you try this solution ?

Gilles Caulier
Comment 3 caulier.gilles 2016-12-22 21:07:14 UTC
Good news about this feature.

digiKam 5.4.0 will use QtAV as video framework instead QT5Multimedia.
In background ffmpeg codec are used, and AGif are supported de fact.
So playing Animated Gif in preview will be easy. We just need to route preview mode to media player for AGif instead to open it as a simple image.

Gilles Caulier
Comment 5 caulier.gilles 2016-12-26 15:07:02 UTC
Git commit 88d54453ad48d1f6d125cf221c277ef952441836 by Gilles Caulier.
Committed on 26/12/2016 at 14:26.
Pushed by cgilles into branch 'master'.

add support for animated image in preview mode through QtAV
BUGS: 203710
FIXED-IN: 5.4.0

M  +2    -1    NEWS
M  +8    -2    app/views/stackedview.cpp
M  +16   -0    libs/dimg/dimg.cpp
M  +4    -0    libs/dimg/dimg.h
M  +1    -11   libs/dimg/loaders/qimageloader.cpp

https://commits.kde.org/digikam/88d54453ad48d1f6d125cf221c277ef952441836