Bug 510124

Summary: Black screen during video playback
Product: [Applications] digikam Reporter: ti
Component: Preview-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: caulier.gilles, metzpinguin, remy_leblanc
Priority: NOR    
Version First Reported In: 9.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Blackscreen on play video

Description ti 2025-10-01 12:25:57 UTC
Created attachment 185425 [details]
Blackscreen on play video

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Intel HD Grafics
2. Videos MP4
3. i5 2320 - 16Gb RAM - SSD

OBSERVED RESULT
Black screen during video playback. It works normally on other players, including the QtAV player itself https://master.dl.sourceforge.net/project/qtav/release/1.11.0/QtAV1.11.0-VS2015x64.exe

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 11
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I reinstalled Digikam and also downloaded a portable version. The error always occurs on this computer.
On another computer, also with Windows 11 and an integrated video card, the error does not occur.
Comment 1 Maik Qualmann 2025-10-01 13:01:05 UTC
Which version of digiKam are you using exactly, Qt5 or Qt6?
Only the Qt5 version uses the QtAVPlayer.

Otherwise, check the digiKam settings under Miscellaneous-> System and disable hardware acceleration for video, for example.  A ​​restart of digiKam will be required.

Maik
Comment 2 caulier.gilles 2025-10-01 13:25:15 UTC
Look at the online doc here :

https://docs.digikam.org/en/setup_application/miscs_settings.html#system-settings
Comment 3 Maik Qualmann 2025-10-08 19:42:07 UTC
Any feedback on this? Which digiKam version, Qt5 or Qt6?
If it's Qt6, have you tried disabling video hardware support for testing?

Maik
Comment 4 Maik Qualmann 2025-11-22 13:48:39 UTC
*** Bug 512471 has been marked as a duplicate of this bug. ***
Comment 5 Maik Qualmann 2025-11-22 18:18:04 UTC
Git commit ef9ca05714d4b24bf7d1fd2df03ca66883212a96 by Maik Qualmann.
Committed on 22/11/2025 at 18:17.
Pushed by mqualmann into branch 'master'.

add widget parent to the video QGraphicsView

M  +1    -1    core/libs/video/player/qtmm/mediaplayerview.cpp
M  +1    -1    core/libs/video/player/qtmm/slidevideo.cpp

https://invent.kde.org/graphics/digikam/-/commit/ef9ca05714d4b24bf7d1fd2df03ca66883212a96
Comment 6 caulier.gilles 2025-12-07 11:45:47 UTC
ti@microver.com.br

Please check if the fix from Maik included in 8.9.0 pre-release solve your problem ?

Files are there : https://files.kde.org/digikam/

Gilles Caulier
Comment 7 remy_leblanc 2025-12-07 16:14:19 UTC
Hi, 

I installed digiKam-8.9.0-20251207T140130-Qt6-Win64.exe, but sorry, no change ... 

Rémy

-----Message d'origine-----
De : bugzilla_noreply@kde.org <bugzilla_noreply@kde.org> 
Envoyé : dimanche 7 décembre 2025 12:46
À : remy_leblanc@orange.fr
Objet : [digikam] [Bug 510124] Black screen during video playback

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

--- Comment #6 from caulier.gilles@gmail.com --- ti@microver.com.br

Please check if the fix from Maik included in 8.9.0 pre-release solve your problem ?

Files are there : https://files.kde.org/digikam/

Gilles Caulier

--
You are receiving this mail because:
You are on the CC list for the bug.
Comment 8 Maik Qualmann 2025-12-07 16:39:31 UTC
Have you tried disabling video hardware acceleration, as described in Comment 1?

Maik
Comment 9 remy_leblanc 2025-12-07 17:01:49 UTC
Yes, it is disabled ... 

Rémy

-----Message d'origine-----
De : Maik Qualmann <bugzilla_noreply@kde.org> 
Envoyé : dimanche 7 décembre 2025 17:40
À : remy_leblanc@orange.fr
Objet : [digikam] [Bug 510124] Black screen during video playback

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

--- Comment #8 from Maik Qualmann <metzpinguin@gmail.com> --- Have you tried disabling video hardware acceleration, as described in Comment 1?

Maik

--
You are receiving this mail because:
You are on the CC list for the bug.
Comment 10 ti 2025-12-07 21:03:57 UTC
(In reply to Maik Qualmann from comment #8)
> Have you tried disabling video hardware acceleration, as described in
> Comment 1?
> 
> Maik

Disabled hardware acceleration, also tested enabled but failure persists.
I even installed the QT-Player Standallone downloaded directly from the developer's website. I tested the video files directly from QT Player and opened them normally.
I have reinstalled Digikam from scratch, with zero database and default settings and the same error occurs.
I was very intrigued by working on other computers but not on this one, and even without graphics cards I was able to run some games like NFSU2 and NFS Hot Pursuit.
I imagine the problem is some incompatibility of digikam with the Intel i5 2gen processor version.
I ended up getting rid of this computer. Now I can't test it anymore.
Comment 11 remy_leblanc 2025-12-07 21:22:20 UTC
Yes, it is disabled…
Remy Leblanc

> Le 7 déc. 2025 à 22:04, bugzilla_noreply@kde.org a écrit :
> 
> https://bugs.kde.org/show_bug.cgi?id=510124
> 
> --- Comment #10 from ti@microver.com.br ---
> (In reply to Maik Qualmann from comment #8)
>> Have you tried disabling video hardware acceleration, as described in
>> Comment 1?
>> 
>> Maik
> 
> Disabled hardware acceleration, also tested enabled but failure persists.
> I even installed the QT-Player Standallone downloaded directly from the
> developer's website. I tested the video files directly from QT Player and
> opened them normally.
> I have reinstalled Digikam from scratch, with zero database and default
> settings and the same error occurs.
> I was very intrigued by working on other computers but not on this one, and
> even without graphics cards I was able to run some games like NFSU2 and NFS Hot
> Pursuit.
> I imagine the problem is some incompatibility of digikam with the Intel i5 2gen
> processor version.
> I ended up getting rid of this computer. Now I can't test it anymore.
> 
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 12 caulier.gilles 2025-12-08 01:56:58 UTC
You have tested with stand alone QtAv player which is outdated a lot, and we don't use it since a while in digiKam, as it's not maintained.

In Qt6 version, we use QtMultimedia. This is the standard now since 2 years.
In the legacy Qt5 version, QtAv have been replaced by the QtAvPlayer. Name are near, but the implementations are different:

QtAv (outdated : last stable 2017) : https://github.com/wang-bin/QtAV
QtAvPlayer (maintained) : https://github.com/valbok/QtAVPlayer

So your check with QtAv is not valid, even if test sounds good.

I think your problem is relevant of the codec used by the framework to render. the video. Under Windows we can use a native one (3rdpaty or Windows core, this depend of the format), or ffmpeg. Performace with the first one must be better and optimum but requires an extra download and install on the system. ffmpeg is a failback always included in digiKam but it can be not optimum about performances.

Gilles Caulier
Comment 13 caulier.gilles 2025-12-08 02:00:24 UTC
Remy,

You still in CC of this bug due to the duplicate state of file #512471 . Can you reproduce the bug on your computer with a recent build of digiKam 8.9.0 pre-release ?

thanks in advance

Gilles Caulier
Comment 14 remy_leblanc 2025-12-08 10:30:47 UTC
Hi, 

I confirm bug is still present with version :
digiKam-8.9.0-20251207T140130-Qt6-Win64.exe
digiKam: 8.9.0
Environnement de développement de KDE: 6.17.0
Qt: Par utilisation de 6.9.1 et avec compilation avec 6.9.1
Windows 10 Version 22H2
Build ABI: x86_64-little_endian-llp64
Kernel: winnt 10.0.19045

Rémy

-----Message d'origine-----
De : bugzilla_noreply@kde.org <bugzilla_noreply@kde.org> 
Envoyé : lundi 8 décembre 2025 03:00
À : remy_leblanc@orange.fr
Objet : [digikam] [Bug 510124] Black screen during video playback

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

--- Comment #13 from caulier.gilles@gmail.com --- Remy,

You still in CC of this bug due to the duplicate state of file #512471 . Can you reproduce the bug on your computer with a recent build of digiKam 8.9.0 pre-release ?

thanks in advance

Gilles Caulier

--
You are receiving this mail because:
You are on the CC list for the bug.
Comment 15 caulier.gilles 2025-12-10 16:54:30 UTC
During Christmas time, i will rebuild the whole digiKam installer from scratch
with VCPKG packages updated (opencv, qt, ffmpeg). We will see if the problem
remain.

Gilles Caulier