SUMMARY Having movies in the same folder with the pictures and running face detection, results in 2 warnings on each movie. This is bad as it overloads the output. STEPS TO REPRODUCE 1. Folder with movie files 2. Run face detection 3. See terminal while face detection is running OBSERVED RESULT Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/media/nas326/photo/2008/080924_1006 Tarifa/MOV01228.MPG.wmv" Digikam::DImg::load: "/media/nas326/photo/2008/080924_1006 Tarifa/MOV01234.MPG.wmv" : Unknown image format !!! EXPECTED RESULT Movies are not supported by face detection, so it should not result in a warning. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 20.04 ADDITIONAL INFORMATION
Yes and no. DigiKam is plugin-capable, there could be a possibility that an external plugin could decode an image from the video and the facial engine would then detected faces. We shouldn't generally exclude file types. I will change the debug level from warning to debug. Debug output is disabled by default. Maik
Git commit e62e25be1f48ae2f407e93ecabf0beb9d3b1e7b2 by Maik Qualmann. Committed on 21/06/2020 at 06:15. Pushed by mqualmann into branch 'master'. change debug level FIXED-IN: 7.0.0 M +2 -1 NEWS M +1 -1 core/libs/dimg/dimg_fileio.cpp M +1 -1 core/libs/threadimageio/preview/previewtask.cpp https://invent.kde.org/graphics/digikam/commit/e62e25be1f48ae2f407e93ecabf0beb9d3b1e7b2