ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: Owen Townsend on January 15, 2022, 01:42:56 PM

Title: Not finding datetimeoriginal for .mov & .mp4 on Linux 11.88
Post by: Owen Townsend on January 15, 2022, 01:42:56 PM
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
Title: Re: Not finding datetimeoriginal for .mov & .mp4 on Linux 11.88
Post by: StarGeek on January 15, 2022, 02:11:01 PM
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 (https://exiftool.org/TagNames/QuickTime.html).
Title: Re: Not finding datetimeoriginal for .mov & .mp4 on Linux 11.88
Post by: Owen Townsend on January 15, 2022, 03:54:30 PM
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