Summary: | digikam crash with no attention when preview webm | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Abel <abelyou032> |
Component: | Preview-Video | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | abelyou032, caulier.gilles, metzpinguin |
Priority: | NOR | Keywords: | needs_verification |
Version: | 8.5.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | 8.6.0 | |
Sentry Crash Report: | |||
Attachments: |
to reproduce
webm file "About digiKam" pages "Force Software OpenGL" Disabled(log from DebugView) "Force Software OpenGL" enabled(log from DebugView) when play a webm vedio(VP8) with digiKam8.4.0_qt6_win,video has attached(168442) |
Please share a problematic WebM media file using cloud web service. Not WebM is a video and must not be confused with WebP which is a photo. WebP will be loaded with loaded with a QImage loader, WebM with ffmepg. Created attachment 168442 [details]
webm file
(In reply to caulier.gilles from comment #1) > Please share a problematic WebM media file using cloud web service. > > Not WebM is a video and must not be confused with WebP which is a photo. > WebP will be loaded with loaded with a QImage loader, WebM with ffmepg. You are right,I maked them mixed up. WebM is vedio,and WebP is photo. Here is the WebM file link: https://pomf2.lain.la/f/odvhmml7.webm Which digiKam Windows version are you using exactly? I can't reproduce a crash with the Qt6 Windows version, video plays fine. However, the video reports a negative value for duration in the stream data. qt.multimedia.ffmpeg.mediadataholder: AVStream duration -9223372036854775808 is invalid. Taking it from the metadata Maik Here is information from "About digiKam" page: https://pomf2.lain.la/f/od4oeav.png Version 8.3.0 Qt Version6.6.1 Created attachment 168448 [details]
"About digiKam" pages
I also can't reproduce a crash on a second computer. Please try again with "Force Software OpenGL" in the digiKam Settings under Miscellaneous-> System (requires restart of digiKam). Maik Created attachment 168451 [details]
"Force Software OpenGL" Disabled(log from DebugView)
Created attachment 168452 [details]
"Force Software OpenGL" enabled(log from DebugView)
Have tried to enable "Force Software OpenGL" , but result the same. Is there a way to get more detailed log ? log trace can be caught with the debugview program from Microsoft. See Contribute web page for details: https://www.digikam.org/contribute/ Gilles Caulier Additional log uploaded. And I found VP9-WebM work well,only when VP8-WebM got wrong 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 484479, 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 I installed digiKam8.4.0(qt6,windows),and play video attached. No crash,but a warning message, It says: Media player error Created attachment 171732 [details]
when play a webm vedio(VP8) with digiKam8.4.0_qt6_win,video has attached(168442)
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 The same result. Error but don't crash. In digiKam-8.5.0 you have the option to deactivate hardware acceleration for video in the digiKam settings under Miscellaneous-> System. The video will then play without an error message. Maik Oh, I have to correct myself, the option to disable hardware acceleration for video is only available in digiKam-8.6.0. Maik Yes It works! Thank for your works!! |
Created attachment 168441 [details] to reproduce SUMMARY digikam crash with no attention when preview webm STEPS TO REPRODUCE 1. import a webm img 2. preview it OBSERVED RESULT digikam crashed with no attention EXPECTED RESULT img be showd SOFTWARE/OS VERSIONS Windows: 11 ADDITIONAL INFORMATION