Bug 486388 - Video playing without sound
Summary: Video playing without sound
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 8.4.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-01 09:11 UTC by icapitaine
Modified: 2024-05-04 13:52 UTC (History)
2 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 icapitaine 2024-05-01 09:11:45 UTC
SUMMARY
When launching a video file (.mov  H.264 mp4a audio format) the video is playing in digikam but without any sound. If I open this same file in vlc it works fine



SOFTWARE/OS VERSIONS

macOS sonoma 14.4.1
Comment 1 caulier.gilles 2024-05-01 09:19:10 UTC
Did you use the PKG insaller that we provides ?
Comment 2 icapitaine 2024-05-01 09:20:54 UTC
(In reply to caulier.gilles from comment #1)
> Did you use the PKG insaller that we provides ?

Yes I did !
Comment 3 caulier.gilles 2024-05-01 09:37:40 UTC
Please share a video sample to reproduce the problem here. Use Cloud web service.
Comment 4 Maik Qualmann 2024-05-02 06:11:29 UTC

*** This bug has been marked as a duplicate of bug 484360 ***
Comment 5 icapitaine 2024-05-02 08:09:27 UTC
(In reply to caulier.gilles from comment #3)
> Please share a video sample to reproduce the problem here. Use Cloud web
> service.

I tried several videos and indeed, I never get any sound from digikam. (even if I move the sound slider from digikam)
It's indeed the same problem as  Maik Qualmann  said...
Comment 6 caulier.gilles 2024-05-03 09:00:25 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 484360

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 7 caulier.gilles 2024-05-03 09:56:10 UTC
to icapitaine@posteo.net

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 8 caulier.gilles 2024-05-03 12:25:59 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 484360

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 9 caulier.gilles 2024-05-03 13:54:41 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 484360

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 10 caulier.gilles 2024-05-04 09:06:46 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 484360

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

https://invent.kde.org/graphics/digikam/-/commit/7b341f84e8f04dbde18d73e80c33eae33975793e
Comment 11 caulier.gilles 2024-05-04 12:41:16 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 484360

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

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

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

Gilles Caulier