Main Menu

exif in .mov file

Started by Alan Clifford, August 18, 2020, 06:57:08 AM

Previous topic - Next topic

Alan Clifford

Query about a fle with
[File]          MIME Type                       : video/quicktime
[QuickTime]     Major Brand                     : Apple QuickTime (.MOV/QT)


I'm just wondering why exiftool will create offsettimeoriginal but not gpsaltitude to the .mov file (.jpg file done as well to check the command is correct).  There is already some exif in the .mov file.

Secondly,  if I just throw quicktime:datetimeoriginal at a .jpg using the API, will that be OK and exiftool will cope or do I need to test for the file type?


cellini:SouthAfrica.FebMar alan$ exiftool -a -G -exif:dto -exif:gpsaltitude -exif:offsettimeoriginal temp.mov temp.jpg
======== temp.mov
[EXIF]          Date/Time Original              : 2020:03:19 15:17:08
======== temp.jpg
[EXIF]          Date/Time Original              : 2020:02:29 10:57:26
[EXIF]          GPS Altitude                    : 7.610606061 m
[EXIF]          Offset Time Original            : +02:00
    2 image files read



cellini:SouthAfrica.FebMar alan$ exiftool -exif:gpsaltitude=10 -exif:offsettimeoriginal=+4:30 temp.mov temp.jpg
    2 image files updated


cellini:SouthAfrica.FebMar alan$ exiftool -a -G -exif:dto -exif:gpsaltitude -exif:offsettimeoriginal temp.mov temp.jpg
======== temp.mov
[EXIF]          Date/Time Original              : 2020:03:19 15:17:08
[EXIF]          Offset Time Original            : +04:30
======== temp.jpg
[EXIF]          Date/Time Original              : 2020:02:29 10:57:26
[EXIF]          GPS Altitude                    : 10 m
[EXIF]          Offset Time Original            : +04:30
    2 image files read








Phil Harvey

Quote from: Alan Clifford on August 18, 2020, 06:57:08 AM
I'm just wondering why exiftool will create offsettimeoriginal but not gpsaltitude to the .mov file (.jpg file done as well to check the command is correct).  There is already some exif in the .mov file.

I haven't responded for a while because I will need to do some work checking various samples to be able to answer this.

QuoteSecondly,  if I just throw quicktime:datetimeoriginal at a .jpg using the API, will that be OK and exiftool will cope or do I need to test for the file type?

ExifTool will handle it.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Alan Clifford

Quote from: Phil Harvey on August 23, 2020, 06:34:55 AM
Quote from: Alan Clifford on August 18, 2020, 06:57:08 AM

QuoteSecondly,  if I just throw quicktime:datetimeoriginal at a .jpg using the API, will that be OK and exiftool will cope or do I need to test for the file type?

ExifTool will handle it.

- Phil

That was the expected answer.  :)