Bug 376061 - DigiKam in KDE Neon is unable play video via QtAv (package problem)
Summary: DigiKam in KDE Neon is unable play video via QtAv (package problem)
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
: 410589 410724 440901 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-05 15:45 UTC by bazooka.joe
Modified: 2022-02-06 13:11 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Digikam 6.3.0 components information (93.09 KB, image/png)
2019-09-24 18:20 UTC, Michal Kec (MiK)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bazooka.joe 2017-02-05 15:45:23 UTC
digikam 5.4.0 in the latest KDE neon user edition does not play video.

Are there any compile options or dependencies missing?
Afaik digikam has changed the video backend from QtMultimedia to QtAV which means that they are using ffmpeg now.

I've got this on the console:
->digikam.general: Video support is not available

ffplay is able to play the video without problems, so it isn't a ffmpeg or codec problem.
Comment 1 Robert G. Siebeck 2017-05-31 21:15:18 UTC
Same problem here on Gentoo with digikam 5.5.0.
Comment 2 b3nmore 2017-06-26 14:28:52 UTC
> Are there any compile options or dependencies missing?
> Afaik digikam has changed the video backend from QtMultimedia to QtAV which
> means that they are using ffmpeg now.
> 

Unfortunately neither debian [1] nor ubuntu [2] currently ships QtAV, which is why digikam can't play videos even if ffmpeg works perfectly. Not sure about gentoo.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737016
[2] https://bugs.launchpad.net/ubuntu/+source/digikam/+bug/1676484
Comment 3 Robert G. Siebeck 2017-06-26 14:36:12 UTC
Gentoo also hasn't got QtAV so far:
https://bugs.gentoo.org/show_bug.cgi?id=613146
Comment 4 Michal Kec (MiK) 2019-05-19 17:51:53 UTC
Since Ubuntu Bionic ships QtAV, why the current digiKam 6.1.0 (installed deb package) in KDE Neon does not play video either?
Comment 5 Christoph Feck 2019-05-30 19:58:27 UTC
The digikam built in Neon probably has to be adapted to compile against the QtAV dependency.

'ldd' on the libdigikamcore.so can show if it was built with QtAV dependency.
Comment 6 Maik Qualmann 2019-08-04 20:32:56 UTC
*** Bug 410589 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2019-08-20 19:42:05 UTC
*** Bug 410724 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Riddell 2019-09-17 09:46:20 UTC
Should be fixed in 6.3.0 in neon
Comment 9 Michal Kec (MiK) 2019-09-24 18:20:34 UTC
Created attachment 122839 [details]
Digikam 6.3.0 components information

(In reply to Jonathan Riddell from comment #8)
> Should be fixed in 6.3.0 in neon

I can not confirm, unfortunately. (screenshot) 

I have both digiKam (6.3.0-0xneon+18.04+bionic+build30) and libqtav1 (1.12.0+ds-4build3) packages installed from KDE Neon repos. Do I need to install/setup anything else?
Comment 10 Christoph Feck 2019-10-24 08:13:55 UTC
It looks like digikam isn't built using -DENABLE_MEDIAPLAYER=ON
Comment 11 Michal Kec (MiK) 2020-06-14 14:10:55 UTC
Three years later... any possibility to have QtAv support in KDE Neon in the upcoming digiKam 7.0? https://www.digikam.org/documentation/releaseplan/
Comment 12 caulier.gilles 2020-06-14 14:32:34 UTC
You use official digiKam AppImage or Flatpak linux bundles which are both compiled with QtAV support...

for AppImage, current 7.0.0 release candidate can be downloaded here :

https://files.kde.org/digikam/

for Flatpak, use Plasma Discover and FlatHub repository:

https://invent.kde.org/graphics/digikam/-/tree/master/project/bundles/flatpak

Gilles Caulier
Comment 13 Michal Kec (MiK) 2020-07-05 12:47:52 UTC
Thank you for the info about the Flatpak package, Gilles!

I still hope in the upstream solution, though. The KDE Neon packagers might fix this.
Comment 14 Jonathan Riddell 2020-11-19 15:25:03 UTC
qtav is a very special beast, trying to get it compiling in kde neon now..
Comment 15 Jonathan Riddell 2020-11-20 15:56:52 UTC
try the version of digikam in neon today
4:7.1.0-0xneon+20.04+focal+build13   
that was built with qtav again
Comment 16 Michal Kec (MiK) 2020-12-06 16:20:04 UTC
Unfortunately, still no luck.
Even with digiKam 4:7.1.0-0xneon+20.04+focal+build13

Do I need to install/setup additional packages?
I have installed libqtav1 1.13.0+ds-1build2
Comment 17 adrienne 2020-12-21 14:02:15 UTC
i can confirm that this bug occurs for me too in 
digiKam 4:7.1.0-0xneon+20.04+focal+build13

Using the appimage for now, but display of fonts is a little blurry and its not as neatly integrated into plasma. but it works as a temporary solution.
Comment 18 Daniele Venzano 2021-03-08 19:31:22 UTC
I can confirm too. QTAV is available and installed, QMLPlayer works.
Videos do not work in digikam Neon.
Comment 19 Loic 2021-05-05 10:15:29 UTC
To get it working, simply add the ffmpeg dev libraries in the build dependency list and rebuild the package :
               libavcodec-dev,
               libavfilter-dev,
               libavformat-dev,
               libavutil-dev,
               libswscale-dev,
               libavdevice-dev,
This has been made in the lates ubuntu packages, but not in neon yet.
Comment 20 Bruno Santos 2021-06-24 09:59:33 UTC
Any chance this will be solved? Please? :-)

I'm on testing, and at the moment we get an updated version but still no video support.
Comment 21 Bruno Santos 2021-08-18 11:38:56 UTC
*** Bug 440901 has been marked as a duplicate of this bug. ***
Comment 22 Michal Kec (MiK) 2021-12-16 16:45:44 UTC
Dear KDE Neon packagers, since the digiKam version 7.4 is almost ready <https://www.digikam.org/documentation/releaseplan/>, would be possible to add the ffmpeg dev libraries in the build dependency list, as mentioned in comment #19?
Comment 23 René Fritz 2022-01-16 19:48:54 UTC
Version 7.5 is around the corner. Would be nice to have video support enabled.

btw. the digikam appimage has video support but doesn't integrate very well: wrong fonts, wrong theme, ...
Comment 24 Jonathan Riddell 2022-01-31 11:33:11 UTC
I think the build is missing ffmpeg libraries, I've added those in now
https://invent.kde.org/neon/neon-packaging/digikam/commit/d1125437e8dc699a7e21cf111e6ebbd12107fcde
Comment 25 Jonathan Riddell 2022-01-31 16:53:35 UTC
Now in user edition
Comment 26 René Fritz 2022-02-01 11:39:56 UTC
(In reply to Jonathan Riddell from comment #25)
> Now in user edition

I confirm that video works now in kde user edition.

Thanks!
Comment 27 Bruno Santos 2022-02-02 12:21:45 UTC
Any chance this could be fixed for testing too?

Thanks!
Comment 29 Bruno Santos 2022-02-06 13:11:02 UTC
Thank you!!!