Summary: | Date for Videos should be sourced from Video metadata instead of filesystem file modify date | ||
---|---|---|---|
Product: | [Applications] kphotoalbum | Reporter: | Victor Lobo <victor.ip.lobo> |
Component: | Backend | Assignee: | KPhotoAlbum Bugs <kpabugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | johannes, victor.ip.lobo |
Priority: | NOR | ||
Version: | GIT master | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Victor Lobo
2023-07-23 06:06:35 UTC
Just some notes for a potential fix: A good location to read creation_date would be in VideoLengthExtractor (although that needs some change at least in its name then). The following command can be used to read the creation_date in addition to the video length: `ffprobe -v 0 -show_entries format_tags=creation_time:format=duration -of default=noprint_wrappers=1:nokey=0` One thing that needs working out if we use ffprobe, though: some video files have local time, some have UTC. I.e. some (most?) (phone-)cameras store the time as UTC, but no offset. |