Bug 373272 - No longer shows video previews
Summary: No longer shows video previews
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 5.3.0
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-05 02:36 UTC by Nikolaus
Modified: 2017-07-27 10:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaus 2016-12-05 02:36:45 UTC
Digikam 4.13 able to play video files. After upgrading to Digikam 5.3.0, I only get a placeholder image and the following message on the console:

digikam.metaengine: Cannot load metadata from file   (Error # 11 :  /home/nikratio/lib/Dropbox/Camera Uploads//2016-11-14 00.23.16.mp4: The file contains data of an unknown image type

I'm using the 5.3.0 appimage on Debian stable.
Comment 1 caulier.gilles 2016-12-05 05:58:14 UTC
Since digiKam 5, we use QT5::Multimedia to handle video, which use GStreamer under Linux. Thumbnails can be displayed and video played if you install GStreamer codecs (base, good, bad, and ugly).

Gilles Caulier
Comment 2 Nikolaus 2016-12-06 05:23:53 UTC
I have the gstreamer codecs installed, and parole (which uses gstreamer) is able to play the files.

But that said, shouldn't the codecs be included in the AppImage?
Comment 3 Unknown 2016-12-11 12:09:04 UTC
Git commit 32ebb7dff83b03cfad91cbe89de252b1f62bdd6e by Gilles Caulier.
Committed on 11/12/2016 at 12:02.
Pushed by cgilles into branch 'master'.

digiKam embeded mediaplayer is now based on QtAV/ffmpeg instead Qt5Multimedia.

TODO:

- handle video rotation flag with new Exiv2 0.26 to autorotate media in player.
- port video thumbnailer to QtAV.
- port Presentation audio player to QtAV.
- remove Qt5Multimedia dependency.

For later:

- play video into slideshow tool.
- port old videoslideshow tool to QtAv
Related: bug 372485, bug 271751, bug 361829, bug 159824, bug 329854

M  +12   -6    CMakeLists.txt
M  +3    -2    app/CMakeLists.txt
M  +40   -38   app/views/mediaplayerview.cpp
M  +11   -8    app/views/mediaplayerview.h

https://commits.kde.org/digikam/32ebb7dff83b03cfad91cbe89de252b1f62bdd6e