I have pictures and videos in the same folder. In Browser, the sorting is by "EXIF Date taken". This works fine for pictures, but not for videos. I understand, videos have no such EXIF data.
I found that in some situations, the video file creation date is used instead. Sometimes, a manual setting
Code: Select all
useFileDateWhenNoExif=1
In my case, this doesn't work and the videos are always displayed before pictures. Moreover, the file date is completely irrelevant anyway. In my case, I sync the files with cloud and the file creation dates correspond to the time the file was downloaded to my PC, not to when the video was created.
Is there any way to solve it?
If not, can you implement a simple fallback mechanism for video creation date? The info is there and XnView MP can read it. The mp4 files from my cheap Samsung phone contain it on several places:
and
So instead of assuming an empty "EXIF Date taken" for video files, you can check the metadata above until the first one is found and use this value. (Note, it's in UTC, so the current time offset needs to be added). This way, we could perform various operations with the video files that require the date taken, such as: sorting, batch rename, thumbnail labels and tooltips, etc.