Created attachment 167763 [details] Some crash info. STEPS TO REPRODUCE 1. Video playback in MacOs 2. 3. With version 8.3.0 on Mac, I cannot find any settings for video playback in preferences. OBSERVED RESULT 1. No sound in playback. 2. Video controllers not working. 3. HDR videos not rendering in HDR, washed out colour. EXPECTED RESULT Consistent video playback SOFTWARE/OS VERSIONS macOS: KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION; I have attached some info from the crash log. This crash happened when I was trying to do some video playback
Sound problem has already been reported with Bug 484360 Maik
Can you share some video sample using a cloud web-service to reproduce the problem here ?
This was a random crash. It was not linked to particular video playback. I can’t reproduce that. Noted sound problem report. Can’t see much info about HDR video playback issue on Mac OS. Do you want me send a random HDR 4K video. It applies to both HLG and PQ.
For the MacOS bundle we forget to include GPL3 and nonfree video codecs in ffmpeg. It's now done with 8.4.0 pre-release PKG installer available here : https://files.kde.org/digikam/ Please test and report if this file can be closed. Thanks in advance Gilles Caulier
Thank you.
alfie80, Did you try the pre-release version ? The video sound problem is fixed, i'm sure. About the 4K suppoet, i'm not sure. Please double check on your computer... Gilles Caulier
It will play one or two videos with sound. But when navigate to next video, it makes an artificial sound. Then keep going going like that.
is the crash reproductible ? How is the HDR color rendering ?
Yes, it is reproducible. It is not crash. Distorted sound. It is better than before. Navigating through different folders with videos. After a few videos it will start with distorted sounds only, from speaker. I must admit that this sound distortion is erratic, It will play some some videos with correct sound. I am unable to figure any particular audio codec as culprit. Still no HDR playback. I have taken some screen recordings of the video playback. This is a typical video audio encoding: Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 1 min 24 s Bit rate mode : Constant Bit rate : 192 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 1.93 MiB (0%) Title : SoundHandle Language : English Encoded date : 2024-03-23 15:26:43 UTC Tagged date : 2024-03-23 15:26:43 UTC
Can you share a video sample please ?
https://drive.google.com/drive/folders/11_O--kTgIhFifZ7_rHqPLoGmT5upEOuA?usp=sharing Please these videos. 2 of them are screen recordings. One is an original video.
Thanks to share the sample. See my screenshot : https://i.imgur.com/nLTRLp0.png There is not major visual difference between VLC and digiKam 8.4.0 on my Macbook ProM1. The video preview work as expected. Sure VLC has certainly a way to render video with 10 bits per color per pixel (digiKam only support 8 bits for the moment). digiKam video player is not here to replace VLC at all. For the sound glitch, yes i can here something at video init, perhaps something is not properly set before to play the media. Gilles Caulier
Video playback improved. Also improvement with audio playback. I got a mixture of 8 & 10 bit videos. Strange as it sounds, Digikam plays 10 bit videos with all audio without any problems. 8 bit videos do have all the sound problems. I will upload some videos over the weekend for demonstration. I will try to get example videos HDR too.
Sorry for the delay. In these videos 8 bit encodes videos with same audio codecs do have sound problems. 10 bit videos encoded with same sound codecs appears to play sound better. Please see the shared videos. Original sounds were low. Please listen for distorted sounds. https://drive.google.com/drive/folders/11_O--kTgIhFifZ7_rHqPLoGmT5upEOuA?usp=sharing
Git commit 57536d9f6188f0370d120dd84605a41549651a7b by Gilles Caulier. Committed on 15/06/2024 at 07:45. Pushed by cgilles into branch 'master'. Update media player with git/master branch from GitHub Related: bug 485468, bug 487031 M +2 -2 core/libs/video/QtAVPlayer/QtAVPlayer_manifest.txt M +3 -0 core/libs/video/QtAVPlayer/qavhwdevice_d3d11.cpp M +1 -1 core/libs/video/QtAVPlayer/qavhwdevice_vaapi_drm_egl.cpp M +1 -0 core/libs/video/QtAVPlayer/qavsubtitleframe.cpp M +3 -1 core/libs/video/QtAVPlayer/qtavplayerglobal.h https://invent.kde.org/graphics/digikam/-/commit/57536d9f6188f0370d120dd84605a41549651a7b
Hi, It's reproducible with last 8.4.0 release ? https://download.kde.org/stable/digikam/8.4.0/ Best Gilles Caulier
Yes the sound issue partially resolved. Now it can play, lot of erratic behavior of sound playback. Sometimes, sound stop after few seconds. At times some videos with distorted sounds. Video playback is OK. Still No HDR support in MAC. All native players support HDR playback, Quicktime and Elmedia. In Digikam HDR video colours are washed out. So I need to open videos in default player to get it work.
With the bug #487031 now closed, digiKam for macOS version 8.5.0 pre-release use ffmpeg 6.1 and Qt6Multimedia 6.7.2 for the video playback: https://i.imgur.com/u4lXXYy.jpg All the dysfunctions disappears, excepted the rendering of HDR colors. In other words, the Video controllers are working now. Maik, i don't know if we can do something about the HDR support in digiKam. Gilles
When I look at the screenshot, I like the colors in digiKam better from the video than from the macOS Player ((:-)) QMediaPlayer currently does not have support for the BT.2020 color space, for example. Is there a difference when Darwin is used? Maik
Maik, The stand alone video player in my last screenshot is... VLC (:=)))... Gilles
Using Drawing backend or the external Apple video player (QuickTime), give exactly the same result...
Hi, digiKam 8.5.0. is out with many fixes and improvements. https://www.digikam.org/news/2024-11-16-8.5.0_release_announcement/ This report still valid with this version? Thanks in advance Gilles Caulier