Bug 292316 - digiKam do not provide thumbnails for .mov, .mp4 video files
Summary: digiKam do not provide thumbnails for .mov, .mp4 video files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Video (show other bugs)
Version: 2.5.0
Platform: Mageia RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-24 11:22 UTC by Philippe ROUBACH
Modified: 2017-07-27 10:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments
movie thumbnail (113.15 KB, image/png)
2012-01-24 11:22 UTC, Philippe ROUBACH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe ROUBACH 2012-01-24 11:22:29 UTC
Created attachment 68134 [details]
movie thumbnail

Version:           2.5.0 (using Devel) 
OS:                Linux

thumnnail is not created for .mov and .mp4

no pb in dolphin

see capture

Reproducible: Always

Steps to Reproduce:
put movies mov and mp4 in the album


Expected Results:  
creates thumbnail for .mov and .mp4

OS: Linux (x86_64) release 3.2.1-desktop-2.mga2
Compiler: gcc

mageia 2
Comment 1 caulier.gilles 2012-01-24 11:27:47 UTC
digiKam delegate movie thumbs to KDELibs, through KIOslave.

Sound like mplayerthumbs is missing on your system... This one is used by KDE.

There is also tool named mplayerthumbconfig to setup video thumbs processing

I also use Mageia 1:

[root@localhost digikam (master)]# urpmi mplayerthumbs


    $MIRRORLIST: media/core/updates/mplayerthumbs-4.6.5-0.1.mga1.i586.rpm
installation de mplayerthumbs-4.6.5-0.1.mga1.i586.rpm depuis /var/cache/urpmi/rpms
Préparation ...                  #########################################################################################################
      1/1: mplayerthumbs         #########################################################################################################
[root@localhost digikam (master)]# uname -a
Linux localhost.localdomain 2.6.38.8-desktop-9.mga #1 SMP Tue Dec 20 10:07:45 UTC 2011 i686 i686 i386 GNU/Linux

Gilles Caulier
Comment 2 Philippe ROUBACH 2012-01-24 11:56:59 UTC
1. don't use mplayerthumbs that was a workaround for kde <= 4.4

now this is  gstreamer with ffmpegthumb wich creates thumbnails for kde

2. i check all plugins are installed then i think digikam is well installed

i repeat there is no pb with dolphin; thumbnails are well created. you see them in dolphin

then i reopen the bug report
Comment 3 Philippe ROUBACH 2012-01-24 12:11:56 UTC
(In reply to comment #1)
> digiKam delegate movie thumbs to KDELibs, through KIOslave.

what kio slave (what packet) ?

i will check if the kioslave packet is installed
Comment 4 caulier.gilles 2012-01-24 12:12:27 UTC
definitively no. It's not a problem of digiKam. It don't know video thumb processing and delegate all to KDE.though KIOSlave mechanism. digiKam pass url of file, and KDE generate thumbnails autotmatically, for all non image file types.

Something is missing on your system, for KDE thumbs processing (or something is not configured properly. I don't know how Dolphin play with video...

Report this problem to Mageia team

Gilles Caulier
Comment 5 caulier.gilles 2012-01-24 12:13:43 UTC
Note : in your screenshot, you see the default icon type mime for video, processed by KDE kio-slave. It provide this default icon because it don't find right delegate application to process video thumbs...

Gilles Caulier
Comment 6 Philippe ROUBACH 2012-01-24 12:18:21 UTC
in gwenview we see movie thumbnail
Comment 7 Angelo Naselli 2012-03-10 22:46:58 UTC
Gilles i installed mplayerthumbs, but that did not change digikam behavior. Dolphin and gwenview show
video thumbnails correctly, so what are we missing?
Comment 8 Angelo Naselli 2012-03-10 22:50:19 UTC
digikam(18722)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot create thumbnail for  "/home/anaselli/Immagini/MVI_3223.AVI"
digikam(18722)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null for  "/home/anaselli/Immagini/MVI_3223.AVI"
digikam(18722)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot create thumbnail for  "/home/anaselli/Immagini/MVI_3223.AVI"
digikam(18722)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null for  "/home/anaselli/Immagini/MVI_3223.AVI"
Comment 9 Philippe ROUBACH 2012-03-11 07:58:17 UTC
(In reply to comment #7)
> Gilles i installed mplayerthumbs, but that did not change digikam behavior.

mplayerthumbs is no longer used with kde this is by default ffmpegthumb which is used by dolphin
Comment 10 Angelo Naselli 2012-03-11 12:18:20 UTC
Git commit 1c714f7da3b6fedd2b6f1a560f343248fd74e0ab by Angelo Naselli.
Committed on 11/03/2012 at 13:15.
Pushed by anaselli into branch 'master'.

M  +5    -2    libs/threadimageio/thumbnailloadthread.cpp

http://commits.kde.org/digikam/1c714f7da3b6fedd2b6f1a560f343248fd74e0ab
Comment 11 caulier.gilles 2016-12-22 11:42:22 UTC
digiKam 5.4.0 bundles will use QtAV framework instead Qt5Multimedia to thumb
and play video. The Slideshow tool will also support video as well.

QtAV use ffmpeg codecs. It's multi-platform and will always available in
OSX, Windows and Linux bundles that digiKam team provide.

For Linux packagers, you will need to turn on video support at compilation time
and solve QtAV dependencies...

See screenshots here :

https://www.flickr.com/photos/digikam/30886133553
https://www.flickr.com/photos/digikam/31679362466
https://www.flickr.com/photos/digikam/31572654722
https://www.flickr.com/photos/digikam/31726086736

Bundles have been recompiled are posted to GDrive for testing :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM