Date taken for video file

Started by EinarsH, August 04, 2015, 12:21:44 AM

Previous topic - Next topic

EinarsH

Hi
I've been trying to arange all my photo and video library so they show up in my pc and phone in correct order. For the photos everything has worked fine adding the exif data, but for the video, as soon as I copy the video from pc to my phone or just to another folder it changes the "create date" to today. Does anyone have any suggestions how can I get everything in order?
I am using this command to asign the date for the video files - "exiftool(-k).exe" -a -s -G1 -P -time:all C:\20130810_1376149341.mp4
Here's the output:
[System]        FileModifyDate                  : 2013:08:10 13:14:41+03:00
[System]        FileAccessDate                  : 2013:08:10 13:14:41+03:00
[System]        FileCreateDate                  : 2013:08:10 13:14:41+03:00
[QuickTime]     CreateDate                      : 2013:08:10 13:14:41
[QuickTime]     ModifyDate                      : 2013:08:10 13:14:41
[Track1]        TrackCreateDate                 : 2013:08:10 13:14:41
[Track1]        TrackModifyDate                 : 2013:08:10 13:14:41
[Track1]        MediaCreateDate                 : 2013:08:10 13:14:41
[Track1]        MediaModifyDate                 : 2013:08:10 13:14:41
[Track2]        TrackCreateDate                 : 2013:08:10 13:14:41
[Track2]        TrackModifyDate                 : 2013:08:10 13:14:41
[Track2]        MediaCreateDate                 : 2013:08:10 13:14:41
[Track2]        MediaModifyDate                 : 2013:08:10 13:14:41
[Track3]        TrackCreateDate                 : 2013:08:10 13:14:41
[Track3]        TrackModifyDate                 : 2013:08:10 13:14:41
[Track3]        MediaCreateDate                 : 2013:08:10 13:14:41
[Track3]        MediaModifyDate                 : 2013:08:10 13:14:41
[Track4]        TrackCreateDate                 : 2013:08:10 13:14:41
[Track4]        TrackModifyDate                 : 2013:08:10 13:14:41
[Track4]        MediaCreateDate                 : 2013:08:10 13:14:41
[Track4]        MediaModifyDate                 : 2013:08:10 13:14:41
[Microsoft]     EncodingTime                    : 2013:08:10 19:22:50Z

Phil Harvey

Just copying the file will not change the QuickTime:CreateDate.  Whatever software you are using to copy the file is changing the CreateDate.  I would think you should be able to find some software that doesn't do this to copy your files.

- 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 ($).

EinarsH

I'm copying with Windows explorer. I think the problem might be that my phone reads the date from System:CreateDate not from QuickTime, because when i copy the file back to pc, the QuickTime:CreateDate is still there, but System:CreateDate and ModifyDate is changed. Even when I record a new video and move around in phone to other folder it changes the date to current day time. Maybe there's a way to lock those system dates in some kind of way?

Phil Harvey

If the QuickTime:CreateDate is OK, then you can use ExifTool to fix the System date/times after the fact:

exiftool "-filecreatedate<createdate" "-filemodifydate<createdate" DIR

But in your example exiftool output, all of these date/times were the same already.

- 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 ($).