Bug 484360 - Digikam 8.3 No Video Sound on MacOS
Summary: Digikam 8.3 No Video Sound on MacOS
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 8.3.0
Platform: macOS (DMG) macOS
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-24 03:45 UTC by adamalm
Modified: 2024-05-04 13:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description adamalm 2024-03-24 03:45:24 UTC
SUMMARY
***
OS: MacOS 14.3.1
Apple M2 Pro
Digikam 8.3.0

Digikam 8.3.0 videos no longer have sound.  Videos play but they are silent.
***


STEPS TO REPRODUCE
1. Install/run Digikam 8.3.0 on MacOS 14.x.x
2. Create a collection with a video file
3. Preview (play) the video file in the preview view

OBSERVED RESULT
Video plays normally except there is no sound

EXPECTED RESULT
Video plays normally with sound

SOFTWARE/OS VERSIONS

macOS: 14.3.1
Linux/KDE Plasma: Unknown
(available in About System)
KDE Plasma Version: Unknown
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Bug confirmed here: https://mail.kde.org/pipermail/digikam-users/2024-March/036051.html
Comment 1 Maik Qualmann 2024-03-24 07:22:01 UTC
I noticed that in the Qt-5 version of Windows that uses the QAVPlayer like macOS, the volume slider does not correctly initialize the volume of the QAVPlayer. Does sound play if you move the digiKam volume slider while playing a video?

Maik
Comment 2 caulier.gilles 2024-03-24 07:55:13 UTC
With my Macbook Pro M1, with the Preview mode, moving the volume slider do not fix the problem.

I'm sure to have checked this point while porting from QtAV to QtAVPlayer few weeks ago.

Another dysfunctions, this time with the Slideshow tool :

- It's impossible to change the volume on the top level side of slide view. Clicking on the slider switch to next item.
- The position slider always still to 0. It advance well in preview mode.

Gilles
Comment 3 Maik Qualmann 2024-05-02 06:11:29 UTC
*** Bug 486388 has been marked as a duplicate of this bug. ***
Comment 4 caulier.gilles 2024-05-03 07:51:26 UTC
Maik,

See discussion from this point :

https://github.com/valbok/QtAVPlayer/issues/428#issuecomment-2092468376

Gilles
Comment 5 caulier.gilles 2024-05-03 09:00:34 UTC
Git commit 758916639ae27218cc2249e73d7c552da187ba6f by Gilles Caulier.
Committed on 03/05/2024 at 08:59.
Pushed by cgilles into branch 'master'.

sync QtAvPlayer with git/master code
Related: bug 486388

M  +1    -0    core/libs/video/QtAVPlayer/CMakeLists.txt
M  +2    -2    core/libs/video/QtAVPlayer/QtAVPlayer_manifest.txt
M  +70   -120  core/libs/video/QtAVPlayer/qavaudiooutput.cpp
M  +5    -2    core/libs/video/QtAVPlayer/qavaudiooutput.h
A  +112  -0    core/libs/video/QtAVPlayer/qavaudiooutputdevice.cpp  *
A  +51   -0    core/libs/video/QtAVPlayer/qavaudiooutputdevice.h  *
M  +34   -30   core/libs/video/QtAVPlayer/qavdemuxer.cpp
M  +1    -1    core/libs/video/QtAVPlayer/qavvideocodec.cpp

The files marked with a * at the end have a non valid license. Please read: https://community.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page.


https://invent.kde.org/graphics/digikam/-/commit/758916639ae27218cc2249e73d7c552da187ba6f
Comment 6 caulier.gilles 2024-05-03 09:56:31 UTC
to adamalm@spu.edu

A new digiKam 8.4.0 pre-release PKG is avaialble for download at usual place :

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

This version includes fixes for the sound support with QtAVPlayer under MacOS.
Please test and report.

Thanks in advance

Gilles Caulier
Comment 7 caulier.gilles 2024-05-03 12:25:51 UTC
Git commit bd853a9f952513ed28a2f0eccb1dc9ebfb39f59a by Gilles Caulier.
Committed on 03/05/2024 at 12:21.
Pushed by cgilles into branch 'master'.

Do not pass parent to QtAvPlyer audio streamer
Related: bug 486388

M  +4    -2    core/libs/video/player/QtAVPlayer/daudioplayer.cpp
M  +1    -1    core/libs/video/player/QtAVPlayer/dvideowidget.cpp

https://invent.kde.org/graphics/digikam/-/commit/bd853a9f952513ed28a2f0eccb1dc9ebfb39f59a
Comment 8 caulier.gilles 2024-05-03 13:54:33 UTC
Git commit dac2b7514c50ddba1bce44de686bedee8d63c321 by Gilles Caulier.
Committed on 03/05/2024 at 13:53.
Pushed by cgilles into branch 'master'.

sync with QtAvplayer master code
Related: bug 486388

M  +1    -1    core/libs/video/QtAVPlayer/QtAVPlayer_manifest.txt
M  +3    -3    core/libs/video/QtAVPlayer/qavaudiooutput.cpp

https://invent.kde.org/graphics/digikam/-/commit/dac2b7514c50ddba1bce44de686bedee8d63c321
Comment 9 caulier.gilles 2024-05-04 09:06:54 UTC
Git commit 7b341f84e8f04dbde18d73e80c33eae33975793e by Gilles Caulier.
Committed on 04/05/2024 at 09:05.
Pushed by cgilles into branch 'master'.

add extra codec to ffmpeg insatll with Macports
Related: bug 486388

M  +2    -2    project/bundles/macports/01-build-macports.sh

https://invent.kde.org/graphics/digikam/-/commit/7b341f84e8f04dbde18d73e80c33eae33975793e
Comment 10 caulier.gilles 2024-05-04 12:41:17 UTC
Git commit 6b3d9940a60a21e2d519e108abaadb27cb5639fa by Gilles Caulier.
Committed on 04/05/2024 at 12:40.
Pushed by cgilles into branch 'master'.

Include audio Qt plugin in the PKG bundle
Related: bug 486388

M  +1    -0    project/bundles/macports/04-build-installer.sh

https://invent.kde.org/graphics/digikam/-/commit/6b3d9940a60a21e2d519e108abaadb27cb5639fa
Comment 11 caulier.gilles 2024-05-04 13:53:12 UTC
Problem fixed now with last commit. Use 8.4.0 pre-release available here :

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

Gilles Caulier