Created
November 17, 2015 08:32
-
-
Save mgussekloo/7eb4233d15063a8e27ad to your computer and use it in GitHub Desktop.
Updating EXIF timestamps of photos and avi's, for use with Dropbox Carousel timeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This should be a part of the Carousel app, but whatever. You'll need ExifTool and FFMPEG. | |
exiftool -all= -tagsfromfile @ -all:all -unsafe -icc_profile -overwrite_original . | |
exiftool -if 'not $datetimeoriginal' '-DateTimeOriginal=1980:01:01 00:00:00' -overwrite_original . | |
ffmpeg -i "input.avi" -metadata "ICRD=1980:01:01 00:00:00" -codec copy "output.avi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment