Save information from Quicktime group

Started by RicardoL, June 22, 2017, 12:30:14 AM

Previous topic - Next topic

RicardoL

Hi,

My camera records video in a MOV container. The files don't have any Exif/XMP/IPTC/Maker information, but they have a QuickTime group (sample below). I'd like to save this information in an external file (MIE for instance), but those fields are always skipped. Is there any way to do this? Map them to XMP would be an aceptable solution too.

Thanks


[QuickTime]     Major Brand                     : Apple QuickTime (.MOV/QT)
[QuickTime]     Minor Version                   : 2007.9.4
[QuickTime]     Compatible Brands               : qt  , pana
[QuickTime]     Movie Data Size                 : 68332504
[QuickTime]     Movie Data Offset               : 40
[QuickTime]     Movie Header Version            : 0
[QuickTime]     Create Date                     : 2017:06:10 12:21:25
[QuickTime]     Modify Date                     : 2017:06:10 12:21:25
[QuickTime]     Time Scale                      : 30
[QuickTime]     Duration                        : 17.50 s
[QuickTime]     Preferred Rate                  : 1
[QuickTime]     Preferred Volume                : 99.61%
[QuickTime]     Preview Time                    : 0 s
[QuickTime]     Preview Duration                : 0 s
[QuickTime]     Poster Time                     : 0 s
[QuickTime]     Selection Time                  : 0 s
[QuickTime]     Selection Duration              : 0 s
[QuickTime]     Current Time                    : 0 s
[QuickTime]     Next Track ID                   : 3
[QuickTime]     Track Header Version            : 0
[QuickTime]     Track Create Date               : 2017:06:10 12:21:25
[QuickTime]     Track Modify Date               : 2017:06:10 12:21:25
[QuickTime]     Track ID                        : 1
[QuickTime]     Track Duration                  : 17.50 s
[QuickTime]     Track Layer                     : 0
[QuickTime]     Track Volume                    : 0.00%
[QuickTime]     Image Width                     : 1280
[QuickTime]     Image Height                    : 720
[QuickTime]     Graphics Mode                   : ditherCopy
[QuickTime]     Op Color                        : 32768 32768 32768
[QuickTime]     Compressor ID                   : jpeg
[QuickTime]     Vendor ID                       : Panasonic
[QuickTime]     Source Image Width              : 1280
[QuickTime]     Source Image Height             : 720
[QuickTime]     X Resolution                    : 72
[QuickTime]     Y Resolution                    : 72
[QuickTime]     Compressor Name                 : Photo - JPEG
[QuickTime]     Bit Depth                       : 24
[QuickTime]     Video Frame Rate                : 30
[QuickTime]     Matrix Structure                : 1 0 0 0 1 0 0 0 1
[QuickTime]     Media Header Version            : 0
[QuickTime]     Media Create Date               : 2017:06:10 12:21:25
[QuickTime]     Media Modify Date               : 2017:06:10 12:21:25
[QuickTime]     Media Time Scale                : 16000
[QuickTime]     Media Duration                  : 17.50 s
[QuickTime]     Balance                         : 0
[QuickTime]     Handler Class                   : Data Handler
[QuickTime]     Handler Type                    : Alias Data
[QuickTime]     Handler Vendor ID               : Panasonic
[QuickTime]     Audio Format                    : twos
[QuickTime]     Audio Vendor ID                 : Panasonic
[QuickTime]     Audio Channels                  : 2
[QuickTime]     Audio Bits Per Sample           : 16
[QuickTime]     Audio Sample Rate               : 16000
[Composite]     Avg Bitrate                     : 31.2 Mbps
[Composite]     Image Size                      : 1280x720
[Composite]     Megapixels                      : 0.922
[Composite]     Rotation                        : 0


Phil Harvey

I would maybe recommend saving them in JSON format:

exiftool -json -w json FILE

- 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 ($).

RicardoL

Thank you very much, this solves my problem! Although I don't know why this didn't work with a MIE file...

Phil Harvey

Tags must be pre-defined to be able to write them to an image file (this includes metadata files like XMP and MIE).  JSON is different because is a formatting option for the exiftool text output.

Maybe the diagram on this page will help you to understand the difference.

- 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 ($).