Phil Harvey has provided some excellent examples for using Exiftool to write photo metadata at https://exiftool.org/exiftool_pod.html#WRITING-EXAMPLES.
Following Phil's examples, I've had no problem updating existing metadata fields of JPGs. However, I'm now trying to apply to same logic to video metadata (MOV wrapped H.264) but am not having any success. I've got a video that is upside down according to the iPhone 5 (iOS 7.1) it was shot with - the rotation value is 180 instead of 0. So I'm executing "exiftool -Rotation=0 [file name]" but the result I'm getting is:
0 image files updated
1 image files unchanged
Is there something fundamentally different with video metadata? Could this be a permissions issue? Is my execute statement incorrect? Is there perhaps a better approach?
Thank you!
Update as of July 10: According to the Exiftool website again at https://exiftool.org/TagNames/Composite.html, I found that the Rotation field cannot be edited:
Tag Name: Rotation
Writable: N
Derived From: QuickTime:MatrixStructure, QuickTime:HandlerType
Unfortunately, when I attempted to update MatrixStructure (also displayed as "Matrix Structure") via Exiftool it failed as well with this message - "Warning: Sorry, MatrixStructure is not writable."
So it's looking like it's not possible to edit the relevant metadata here. However, while both VLC and the video transcoder I'm using work with the iPhone file upside down, both Adobe Premiere Pro CC and the QuickTime player work with the file right side up. So it certainly seems like there must be something in the current metadata other than Rotation.
Thanks again.