Exported Videos from iCloud lacking proper tags

Started by lxffm, April 23, 2019, 03:33:04 PM

Previous topic - Next topic

lxffm

Hi folks,

I'm pretty much struggeling with my iPhone Photos since photos.app is messing up exifs during export. I'd like to give an example.

The actual time the Video was taken is 27.09.2018 12:40:32 (Lanzarote Timezone)

The time exifs from the exported file are as follows.

File Modification Date/Time     : 2019:04:22 23:19:17+02:00
File Access Date/Time           : 2019:04:23 21:18:41+02:00
File Inode Change Date/Time     : 2019:04:22 23:21:41+02:00
Create Date                     : 2019:04:22 21:19:12
Modify Date                     : 2019:04:22 21:19:17
Track Create Date               : 2019:04:22 21:19:12
Track Modify Date               : 2019:04:22 21:19:17
Media Create Date               : 2019:04:22 21:19:12
Media Modify Date               : 2019:04:22 21:19:17
Content Create Date             : 2018:09:27 12:40:32+01:00

That means almost all got the exported date instead of the original one. And almost no application or webservice is observing the Content Create Tag so all of my content got messed up.

But as you can see, somehow the only tag which is containing the actual date the video was taken, got that timezone extension which might be related to the specific timezone where the video was taken (Lanzarote).

What would be your solution to come to proper exif tags?

My thought is to overwrite all the other tags with the Content Create Date? But how? Should they be the timezone adjusted  time for Germany, which would be 13:40:32 in this case or should it be the local time where the picture was taken which would be 12:40:32. Some tags support Timezones, some tags does not, that is so weird to me.

Does anyone maybe solved this Apple created problem with another solution?

I'm so confused what to do now.
I'll very appreciate your ideas.

P.S.: JPG's are treated otherwise with most of the tags being properly tagged, that doesn't make it easier to treat the whole stuff.

Best
Alex

Hayo Baan

That's quite messy what an Photos export does to the date in video...

To give another tag the value of Content Create Date, you can simply use the following construction: exiftool '-TAG<ContentCreateDate' FILESorDIRS. So to set all relevant dates in your case:
exiftool '-CreateDate<ContentCreateDate' '-ModifyDate<ContentCreateDate' '-TrackCreateDate<ContentCreateDate' '-TrackModifyDate<ContentCreateDate' '-MediaCreateDate<ContentCreateDate' '-MediaModifyDate<ContentCreateDate' FILESorDIRS
where FILESorDIRS is the files and/or directories with images you want to change.

Note: I could even have used wildcards in the tag names for writing (e.g. '-*ModifyDate<ContentCreateDate'), but that has a small risk of writing incorrect tags, even with -wm w.
Hayo Baan – Photography
Web: www.hayobaan.nl