Author Topic: AVI CaptureTime defaulting to FileModifyDate  (Read 2837 times)

Offline esambo

  • Member
  • **
  • Posts: 52
    • View Profile
AVI CaptureTime defaulting to FileModifyDate
« on: November 23, 2019, 07:55:09 AM »
Problem
*.AVI files ignore the RIFF:DateTimeOriginal and instead use the System:FileModifyDate in the XMP sidecar file for the XMP-xmp:CreateDate and XMP-photoshop:DateCreated

My Fixes
Inspect dates:
Code: [Select]
exiftool -groupNames1 -short -duplicates -time:all -extension AVI -recurse .
exiftool -groupNames1 -short -duplicates -time:all --System:all -extension AVI -srcFile %d%f.xmp -r .

Prevent the error with:
Code: [Select]
exiftool "-FileModifyDate<DateTimeOriginal" -extension AVI -recurse . -verbose

Copy over the good date tags after deleting potentially bad ones:
Code: [Select]
exiftool -extension AVI -TagsFromFile @ -XMP-xmp:CreateDate= -XMP-photoshop:DateCreated= -allDates -srcFile %d%f.xmp -recurse . -verbose