Hi everyone,
despite searching in the forum I was not able to find an answer to the following question / issue.
Basically, I have folders with photos and videos in them and try to get them sorted by date/time with xnviewmp. However, when sorting by Exif-Date in xnviewmp the videos aren't correctly placed between the photos but appear in bulk at the beginning - probably due to the fact that my videos do not have the [ExifIFD] group populated with the date/time.
Therefore my question: is it possible (with exiftool, or at all) to write datetimeoriginal into the [ExifIFD] metadata group? I'm aware that other metadata groups do exist for videos, but unfortunately xnviewmp does not use them for sorting.
Thanks and best regards,
Georg
It's very unlikely that XnView MP is reading EXIF data from a video file, as EXIF is fairly rare in video files, though it is becoming more common. I think it can be considered non-standard by the spec, though I could be wrong. Exiftool can't create an EXIF block in a video file.
I went ahead and installed XnView MP to test for myself and compared it to a Canon PowerShot video (.MOV) that I had that does have an EXIF block and checked the time stamp that it read. It didn't read any embedded metadata from the video file at all, displaying only the FileCreateDate. Even my test file that has all the video metadata that exiftool can write didn't show anything, though it could be I'm just not familiar enough with the program to look in the right spot.
You might check over at the XNView forums (http://newsgroup.xnview.com) to see if you can get more details on what video metadata it reads, if any.
Other than that, I'd suggest running
exiftool "-FileCreateDate<quicktime:CreateDate" <FileOrDir>
on the video files to get them to show up in the right place. That is, as long as the embedded date is correct. If the changed time is off by your timezone, then add -api quicktimeutc to the command.