https://bugs.kde.org/show_bug.cgi?id=448681

--- Comment #62 from caulier.gil...@gmail.com ---
Hi Maik,

The QtAV code is not used anymore in Qt6 version of digiKam. FFmpeg and
Qt6Multimedia is used everywhere instead.

For the Qt5 version QtAv still used and it's introduce plenty of dysfunctions
that i can reproduce on my computers using Kubuntu 22.04, 22.10, 23.04 and
23.10. In certain cases, i must reboot my computer as the sound system is
locked in background and this introduce long time latency, for ex with firefox
going to youtube, or when Plasma want to play an event sound. The computer
become more and more unusable.

The Qt5 version only use QtAV to:

- Play video in preview or slideshow : 

https://invent.kde.org/graphics/digikam/-/tree/master/core/libs/video/player/qtav?ref_type=heads

- Play audio tracks in Presentation tool :

https://invent.kde.org/graphics/digikam/-/tree/master/core/dplugins/generic/view/presentation/audio?ref_type=heads

There is an alternative to QtAV for Qt5 : QtAVPlayer.

https://github.com/valbok/QtAVPlayer/tree/master/src/QtAVPlayer

The code is lightened compared to QtAV. There is no extra code to rendering
video on widget as it use the Qt5Multimedia API. Encoding and Decoding API is
also dropped. Only the player code still here, based on FFmpeg.

I tried this demo player on all my computer, and it works as expected :

https://github.com/valbok/QtAVPlayer/blob/master/examples/widget_video/main.cpp
I will investigate in a dedicated branch to use this code instead QtAv in
digiKam.

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to