Bug 366387 - video (mts and mov) not played (neither from camera nor local file)
Summary: video (mts and mov) not played (neither from camera nor local file)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 5.0.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-03 20:55 UTC by georg.lipps
Modified: 2017-07-28 21:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description georg.lipps 2016-08-03 20:55:01 UTC
Version 5.0 is great - nice progress !

However I am no longer able to see the videos in digikam. The preview is still correct, but the video is not playing. Instead it shows:

"Mit dem Medienspieler ist ein Fehler aufgetreten ..."

From shell I find the following:

digikam.database: Complete scan took: 2645 msecs.
digikam.general: Event is dispatched to desktop notifier through DBUS
digikam.general: Stacked View Mode :  6
digikam.general: Error:  "Das QMediaPlayer-Objekt hat keinen gültigen Dienst"
digikam.general: Stacked View Mode :  6
digikam.general: Error:  "Das QMediaPlayer-Objekt hat keinen gültigen Dienst"

I am not able to play neither mov (Canon) nor mts (Sony).

I am unavailable the next four week - hope these details suffice to track the problem.

Thanks,

Georg


Reproducible: Always

Steps to Reproduce:
1. Start digikam 
2. select video to play
3.

Actual Results:  
Not being played.

Expected Results:  
Video shall be played.
Comment 1 caulier.gilles 2016-08-04 09:59:46 UTC
digiKam use with 5.0.0 Qt5Multimedia to play video files.

Qt5Multimedia under Linux use GStreamer backend, as explained here :

http://wiki.qt.io/Qt_5.7_Multimedia_Backends

So you need to install GStreamer "bad", "good", and "ugly" codec packages. There will be detected at run-time by Qt5Multimedia.

Gilles Caulier
Comment 2 georg.lipps 2016-09-03 06:48:54 UTC
Hi Gilles,

I have installed gstreamer 1.0 and gstreamer1.0-plugins-good / bad /ugly. The latter one also one with amr. There are also gstreamer0.1 plugins but here ugly is missing.

Behaviour is unchanged. See below:


digikam.general: Request to get thumbnail for  "/home/georg/Bilder/Bilder (Windows)/Fotosammlung/2016/2016 Urlaub/2016-05 Sizilien/2016-05-28_115936.MTS"
digikam.general: Video monitoring is not available.
digikam.general: Failed to extract video thumbnail for  "/home/georg/Bilder/Bilder (Windows)/Fotosammlung/2016/2016 Urlaub/2016-05 Sizilien/2016-05-28_115936.MTS"
digikam.general: Stacked View Mode :  6
digikam.general: Error:  "Das QMediaPlayer-Objekt hat keinen gültigen Dienst"
digikam.metaengine: Cannot load metadata from file   (Error # 11 :  /home/georg/Bilder/Bilder (Windows)/Fotosammlung/2016/2016 Urlaub/2016-05 Sizilien/2016-05-27_194828.MTS: The file contains data of an unknown image type
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  /home/georg/Bilder/Bilder (Windows)/Fotosammlung/2016/2016 Urlaub/2016-05 Sizilien/2016-05-27_194828.MTS: The file contains data of an unknown image type
digikam.dimg: "/home/georg/Bilder/Bilder (Windows)/Fotosammlung/2016/2016 Urlaub/2016-05 Sizilien/2016-05-27_194828.MTS"  : QIMAGE file identified
digikam.dimg.qimage: Can not load " "/home/georg/Bilder/Bilder (Windows)/Fotosammlung/2016/2016 Urlaub/2016-05 Sizilien/2016-05-27_194828.MTS" " using DImg::QImageLoader!
digikam.general: mimetype =  ""  ext =  "MTS"
digikam.general: Cannot create thumbnail for  "/home/georg/Bilder/Bilder (Windows)/Fotosammlung/2016/2016 Urlaub/2016-05 Sizilien/2016-05-27_194828.MTS"
digikam.general: Thumbnail is null for  "/home/georg/Bilder/Bilder (Windows)/Fotosammlung/2016/2016 Urlaub/2016-05 Sizilien/2016-05-27_194828.MTS"
digikam.general: Request to get thumbnail for  "/home/georg/Bilder/Bilder (Windows)/Fotosammlung/2016/2016 Urlaub/2016-05 Sizilien/2016-05-27_194828.MTS"
digikam.general: Video monitoring is not available.
digikam.general: Failed to extract video thumbnail for  "/home/georg/Bilder/Bilder (Windows)/Fotosammlung/2016/2016 Urlaub/2016-05 Sizilien/2016-05-27_194828.MTS"
digikam.general: Stacked View Mode :  6
digikam.general: Error:  "Das QMediaPlayer-Objekt hat keinen gültigen Dienst"
digikam.geoiface: ----
digikam.general: Stacked View Mode :  0
digikam.geoiface: ----

Georg
Comment 3 caulier.gilles 2016-09-03 07:55:32 UTC
These message come from Qt5::Multimedia :

digikam.general: Video monitoring is not available.
digikam.general: Failed to extract video thumbnail for

It's not a digiKam implmeentation problem but a run time from Qt5::Multimedia + the low level backend used by this framework to handle video files.

Report this problem to Qt team.

Gilles Caulier
Comment 4 caulier.gilles 2016-12-15 11:08:08 UTC
I close this file now, as we remove Qt5::Multimedia dependency to digiKam and replaced it by QtAv which use ffmpeg codecs as well...

Gilles Caulier
Comment 5 georg.lipps 2016-12-15 11:29:09 UTC
Yes, I have seen that it works now but was unsure why it worked again. My inital trials to find a cause in QT5 were unsuccessful.
Good Job !