SUMMARY When I import MP4 files into Digikam with "Date based subalbus" and the template format "yyyy/yyyy.MM.dd", Digikam always uses the current date for the subalbum name and not the encoding date, creation date, or last-modified date. This has been going on since a while (Digikam 6?) for now, it is not a new bug. It also does not seem to depend on the precise MP4 format (I am experiencing this with H264 videos created by Handbrake as well as HEVC H.265 videos created by my smartphone as well as videos downloaded from the net from various sources). I have attached an example file. STEPS TO REPRODUCE 1. Save the attached mp4 file somewhere 2. Open Digikam choose "Import images", set subalbum template as above, select this file 3. Import it OBSERVED RESULT Subalbum based on current (todays) date is created. EXPECTED RESULT "2025/2025.05.18" should have been created as a subalbum since this is the date of the file and in the mp4 metadata. SOFTWARE/OS VERSIONS: Digikam current Appimage and KDE Neon 24.04 with all updates applied.
We need a sample video file because the metadata date is read correctly in my MP4 files. Maik
I've now tested a larger set of MP4 files again: various generations of Samsung smartphones, Nikon cameras, user samples, etc. All work correctly. The only thing that comes to mind is that ExifTool isn't set up correctly and isn't working. Incidentally, ExifTool doesn't need to be enabled for reading in the metadata settings for video files; ExifTool is always used for videos. Maik
Sorry, i thought I had attached an example in the first place. Here you are. https://share.rb-hosting.de/s/rFAJzAa8eS6JK4i
The album 2025/2025.05.18 was created here and contains the video. If this isn't the case for you, we'll need a log from the terminal with the Qt debug variable enabled or internal debugging enabled in the setup. https://www.digikam.org/contribute/#linux-host Maik
This is strange. When I repeat the process with a single video file, this works fine. However I know that for quite some time (1-2 years now?) if I import weeks of photos and videos, e.g. from a vacation, I always have one single date folder with $TODAY as date containing all videos of the whole time range, and have to sort them into the correct folders by myself. I have now added the QT debug flags to my desktop shortcut so Digikam always logs this, and will get back to this bug when I have sufficient new data to batch import. Thanks for your help!
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.