| Summary: | Thumbnails of MPO images appear corrupted | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | doraemon.seibyou |
| Component: | Thumbs-IconView | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.0 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/kde/digikam/commit/64b4dc29aa97f06450077c9fbd35b9ecb3827b3b | Version Fixed/Implemented In: | 7.0.0 |
| Sentry Crash Report: | |||
|
Description
doraemon.seibyou
2020-04-18 13:58:35 UTC
I had a look at digikam's source code from git, and I suspect that the problem might be in VideoThumbnailer::generateSmartThumbnail, as it seems that mpo files are treated by digikam as video files. VideoThumbnailer::generateSmartThumbnail seems to decode SMART_FRAME_ATTEMPTS=25 frames, while my mpo files only contain 2 frames (they are generated by a fujifilm real 3d stereo camera). It's just a guess here as I'm new to digikam's code, maybe I'm wrong... Hope this helps anyway... Git commit 64b4dc29aa97f06450077c9fbd35b9ecb3827b3b by Maik Qualmann. Committed on 18/04/2020 at 17:23. Pushed by mqualmann into branch 'master'. an MPO file is not a video file, but more a JPG file FIXED-IN: 7.0.0 M +2 -1 NEWS M +4 -3 core/libs/database/coredb/coredbschemaupdater.cpp M +26 -6 core/libs/database/item/scanner/itemscanner_video.cpp M +10 -5 core/utilities/import/main/importui.cpp https://invent.kde.org/kde/digikam/commit/64b4dc29aa97f06450077c9fbd35b9ecb3827b3b Note: In order to correctly display MPO files, the metadata must be read again and the thumbnails must be created again with "F5" or the Maintenance Tool. Maik |