Skip to content

Instantly share code, notes, and snippets.

@fuyufjh
Last active November 18, 2024 02:59
Show Gist options
  • Save fuyufjh/61d7f4b5cdc5d715db5ab631db5b5629 to your computer and use it in GitHub Desktop.
Save fuyufjh/61d7f4b5cdc5d715db5ab631db5b5629 to your computer and use it in GitHub Desktop.
How to import videos from iPhone to Davinci Resolve with correct time?

How to import videos from iPhone to Davinci Resolve with correct time?

Davinci Resolve seems to read "Created Time" of clips from its file created time, which is usually get overwritten by some file operations such as copy. In order to preserve the correct video time of being recorded, use ExifTool to set the metadata correctly before importing a video into Davinci's media pool.

exiftool -FileCreateDate<CreateDate  "path\to\videos\*.MOV"

Additionals tips:

# Check all metadata of a file
exiftool video.mp4

# Check all metadata as short form i.e. the one to specify a tag in command
exiftool -s video.mp4

# Also the FileModifyDate
exiftool -FileCreateDate<CreateDate -FileModifyDate<CreateDate "path\to\videos\*.MOV"

# Process files in subfolders recursively
exiftool -r -FileModifyDate<CreateDate "path\to\videos\" -ext MOV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment