Skip to content

Instantly share code, notes, and snippets.

@mgussekloo
Created November 17, 2015 08:32
Show Gist options
  • Save mgussekloo/7eb4233d15063a8e27ad to your computer and use it in GitHub Desktop.
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 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