Bug 478613

Summary: Sound not working with Flatpak
Product: [Applications] digikam Reporter: f.marcel
Component: Preview-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 8.2.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In: 8.3.0
Sentry Crash Report:

Description f.marcel 2023-12-16 19:12:26 UTC
SUMMARY
No sound with DigiKam 8.2.0 Flatplak on Linux Mint

STEPS TO REPRODUCE
1. Download the Flatpak 8.2.0 version of DigiKam from Software Manager.
2. Install, import and play videos
3. Look for sound settings

OBSERVED RESULT
The OS does not find an application having sound, therefore no sound is played. 
This has been the case with two completely different computers: Jujitsu Lifebook from 2021 and MacbookPro from 2010.


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Mint 21.2 Cinnamon
System:
  Kernel: 6.2.0-39-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33
    wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy

ADDITIONAL INFORMATION
Other apps play sound. 
If DigiKam is installed via apt package manager (version 7.5.0), sound works!
Comment 1 caulier.gilles 2024-01-26 12:47:41 UTC
Git commit 79ac8d6e9cb90c8d9b456405051ec0937f8485fe by Gilles Caulier.
Committed on 26/01/2024 at 13:44.
Pushed by cgilles into branch 'master'.

Preview and Slideshow of video is now rendered with Qt6::Multimedia and Qt5::QtAVPlayer.
Older and unmaintained QtAV framework code used in digiKam core is fully removed.
Both Qt6::Multimedia and Qt5::QtAVPlayer are based and compatible to FFMpeg API 5 and later.
Related: bug 468572, bug 382582, bug 435660, bug 471199, bug 478314, bug 445422, bug 448681, bug 477031
FIXED-IN: 8.3.0

M  +12   -9    NEWS

https://invent.kde.org/graphics/digikam/-/commit/79ac8d6e9cb90c8d9b456405051ec0937f8485fe