Not finding datetimeoriginal for .mov & .mp4 on Linux 11.88

Started by Owen Townsend, January 15, 2022, 01:42:56 PM

Previous topic - Next topic

Owen Townsend

Not finding datetimeoriginal for .mov & .mp4 on Linux 11.88
Using command:
exiftool -f -p '$filename $datetimeoriginal' directory
================================
- OK for .jpg .avi .wav
- Not finding datetime for .MOV & .MP4
Can anybody tell me how to make this work ?
- ubuntu 20.04 installs version 11.88
- is there a later version that will solve this problem ?
Owen

StarGeek

Odds are you can't make it work because the tag probably doesn't exist in the file.  The DateTimeOriginal tag isn't very common in video files.  I can appear if the camera forced a non-standard EXIF block into the file and there is a Quicktime:DateTimeOriginal tag, but it's rarely used.

The main time stamp for a video file is Quicktime:CreateDate, which is supposed to be set to UTC according to the spec. See fourth paragraph on the Quicktime tags page.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Owen Townsend

StarGeek Global Moderator - Thank you very much, changed my command to:
exiftool -f -p '$filename DT=createdate' directory
==============================
- now works for .mov & .mp4 (that did not work with datetimeoriginal
- did not work for .wav but only had 1 from 2003 (no concern)
Thanks again, can close this bug report
Owen