Q: Video metadata date is incorrect: set to sharing date and not creation date
iOS 10, iPhone 6+, Windows 10. Photos and videos are shared through iCloud, but NOT stored on iCloud.
Once synced on my PC, photos and videos have a mangled name (for example, "016a1f2e11dfcc680e1009cb96346b67678fb2c6bc.jpg"). Obviously, this is not acceptable at all for me when I organize them on my NAS: I prefer a meaningfull, sortable name, like "2016-09-16 18-15-20259 (Apple iPhone 6 Plus) .jpg".
To achieve this, I simply read EXIF informations directly from the picture, and I rename the picture accordingly. No problem for photos.
But for videos... I do the same, globally, but with fewer informations. I can extract only creation date/time from videos' metadata, not the device which captured the video. Sad, but I didn't find anything else, and at least it's automatic.
Recently, I figured out that the date inside the video file is NOT correct: it's the timecode of SHARING through iCloud, not the timecode of CAPTURE. So I have some videos with a two weeks delta between the real creation and the "official" date!
I checked this on my phone: date is correct (once video is not anymore in full screen, the date appears in the top of the screen, and it's "the" date I search).
So, question: how can I get the "real" creation date of all these videos on my PC? It exists: it's shown on the iPhone which took the video (wife's one), AND mine. Information is "lost" only on the PC, but I think it's a problem of either reading the "bad" metadata (I use FFMPEG to get it currently), or reading the bad file (maybe inside a iTunes file/database, but didn't find it, didn't find it in registry either).
Best solution is to find something working locally, through command line, to do it in batch mode. A GUI solution MAY be suitable if I can automate it with AutoIt (i.e. must not be a native Win32 application, not Java, .NET, GTK, QT and so on, OR must have an export feature). A web-based solution is not suitable, but may be less boring than examining each video one after the other to check manually the date.
Thanks in advance.
iPhone 6 Plus, iOS 10.0.2, Windows 10 x64
Posted on Oct 2, 2016 5:57 AM