MPG Files, some have THM files - Is it correct use the Create Date from the THM

Started by theprof, November 24, 2024, 04:04:46 PM

Previous topic - Next topic

theprof

MPG files don't have create date and I want the file name to have a create date. However, some of them have separate THM files (seems that they are just thumbnail JPG files). Is it correct to use the Create Date from the THM file for the MPG file "create date"? The file modified timestamp of the MPG and the Create Date from the THM file are slightly off.

The file modified timestamp of the MPG seems to be 1 hour behind the corresponding THM file.

StarGeek

That is something you're going to have to decide unless you know the source of the files and can make new ones to see which would be correct.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Martin B.

With all the MOV and MPG samples that I have (from a Canon S90 and Sony DSC-W80), the DateTimeOriginal tag from the corresponding THM file was correct. Also, as you noted, they are thumbnail versions of the video.

I have also noted time differences in timestamps between video and thumbnail files. I've satisfied myself with the hypothesis that the creation date of a video file is subject to interpretation; it could be at the beginning or at the end of the video, or even when the video file was finished writing (video files can take a long time to write).

I understand you are looking for a CreateDate, but perhaps you can use the DateTimeOriginal and assign it to the CreateDate.

- Martin

Phil Harvey

You can get a 1 hour difference in the filesystem timestamps due to an inconsistency in the way some Microsoft filesystems handle the daylight savings time.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).