Merge JSON GPS data from Google Photos to MOV files - Take #2

Started by bobross, August 28, 2019, 02:44:50 PM

Previous topic - Next topic

bobross

Since there have been major QuickTime updates, I'm trying to resolve the question I originally posted about here in April.

https://exiftool.org/forum/index.php/topic,10023.0.html

I'm attempting to merge GPS and timestamp data from Google Photos JSON files to MOV files, so that it can be read by Apple Photos.

Here is the script I'm using...

exiftool -tagsfromfile "%d/%F.json" "-quicktime:gpsposition#<$GeoDataLatitude $GeoDataLongitude $GeoDataAltitude" "-CreateDate<PhotoTakenTimeTimestamp" -d %s. -api quicktimeutc .

There are two issues:

  • PhotoTakenTimeTimestamp is written into XMP rather than a section Apple Photos uses. Also, the result is still in UTC rather than local time.
  • GPS portion generates the message "Warning: No writable tags set from ./[File].MOV.json"

I know the tags exist since this is the JSON file output. Any help would be much appreciated. Thanks!

ExifToolVersion = 11.64
  FileName = IMG_2652.MOV.json
  Directory = .
  FileSize = 702
  FileModifyDate = 1567009191.44887
  FileAccessDate = 1566781214
  FileCreateDate = 1566781214
  FilePermissions = 33206
  FileType = JSON
  FileTypeExtension = JSON
  MIMEType = application/json
  CreationTimeFormatted = Jan 8, 2019, 1:21:40 AM UTC
  CreationTimeTimestamp = 1546910500
  Description =
  GeoDataAltitude = 121.7
  GeoDataLatitude = 25.9225
  GeoDataLatitudeSpan = 0.0
  GeoDataLongitude = -56.77799999999999
  GeoDataLongitudeSpan = 0.0
  GeoDataExifAltitude = 121.7
  GeoDataExifLatitude = 25.9225
  GeoDataExifLatitudeSpan = 0.0
  GeoDataExifLongitude = -56.77799999999999
  GeoDataExifLongitudeSpan = 0.0
  ImageViews = 0
  ModificationTimeFormatted = Aug 26, 2019, 3:00:15 AM UTC
  ModificationTimeTimestamp = 1566788415
  PhotoTakenTimeFormatted = Jan 7, 2019, 10:41:09 PM UTC
  PhotoTakenTimeTimestamp = 1546900869
  Title = IMG_2652.MOV


Phil Harvey

What system are you using?  The quoting in the command is for Windows.  Also, you will have to figure out what date/time tag you want to write.  Choose the one you want from the output of this command:

exiftool -a -G1 FILE

And specify the same group and tag name when writing.

For the UTC problem, try dropping the QuickTimeUTC option when writing.  Also, specify QuickTime:CreateDate when writing because otherwise XMP:CreateDate will also get written and may confuse things by having the wrong time zone.

I don't have a file like this so I can't test it myself.

- Phil

Edit:  StarGeek responded (twice!) while I was editing this, so some or all of what I said may now be redundant
...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 ($).

StarGeek

Quote from: bobross on August 28, 2019, 02:44:50 PM

  • PhotoTakenTimeTimestamp is written into XMP rather than a section Apple Photos uses. Also, the result is still in UTC rather than local time.
See FAQ #3.  Try adding the -a (duplicates) option to your command:
exiftool -G1 -a -s -CreateDate File.mov
You should get two timestamps, the Quicktime and the XMP one.  The Quicktime tag should be in UTC (as per spec) while the XMP should be in your local time.  If you want the Quicktime tag converted to you local time, then don't include the -api QuickTimeUTC option.

Quote

  • GPS portion generates the message "Warning: No writable tags set from ./[File].MOV.json"

I'm not sure what to make of this.  I'm still looking around, but I think the tag name is wrong.  "GPSPosition" doesn't appear on the Quicktime Tags page, but when I try to write to GPSCoordinates, I get the same error (no writable tags).
"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

StarGeek

Ok, it did work when I typed correctly.  Time zone adjusted based upon my -07:00 tz.

C:\>exiftool -tagsfromfile "%d/%F.json" "-quicktime:GPSCoordinates#<$GeoDataLatitude $GeoDataLongitude $GeoDataAltitude" "-CreateDate<PhotoTakenTimeTimestamp" -d %s -api quicktimeutc  "Y:\!temp\NewDirectory\Test1.mp4"
    1 image files updated

C:\>exiftool -g1 -a -s -gps* -createdate "Y:\!temp\NewDirectory\Test1.mp4"
---- QuickTime ----
CreateDate                      : 2019:01:08 06:41:09
---- UserData ----
GPSCoordinates                  : 25 deg 55' 21.00" N, 56 deg 46' 40.80" W, 121.7 m Above Sea Level
---- XMP-exif ----
GPSAltitude                     : 100 m
---- XMP-xmp ----
CreateDate                      : 2019:01:07 22:41:09
---- Composite ----
GPSAltitude                     : 121.7 m
GPSAltitudeRef                  : Above Sea Level
GPSLatitude                     : 25 deg 55' 21.00" N
GPSLongitude                    : 56 deg 46' 40.80" W
GPSPosition                     : 25 deg 55' 21.00" N, 56 deg 46' 40.80" W


And without -api QuickTimeUTC
C:\>exiftool -g1 -a -s -gps* -createdate "Y:\!temp\NewDirectory\Test1.mp4"
---- QuickTime ----
CreateDate                      : 2019:01:07 22:41:09
---- UserData ----
GPSCoordinates                  : 25 deg 55' 21.00" N, 56 deg 46' 40.80" W, 121.7 m Above Sea Level
---- XMP-exif ----
GPSAltitude                     : 100 m
---- XMP-xmp ----
CreateDate                      : 2019:01:07 22:41:09
---- Composite ----
GPSAltitude                     : 121.7 m
GPSAltitudeRef                  : Above Sea Level
GPSLatitude                     : 25 deg 55' 21.00" N
GPSLongitude                    : 56 deg 46' 40.80" W
GPSPosition                     : 25 deg 55' 21.00" N, 56 deg 46' 40.80" W


You also have a stray dot after %s, though I don't think that affects anything.
"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

bobross

I think this is going to work. Thanks!

On the timestamp, the JSON time is UTC and I am -6:00 (US Central). I noticed "-api quicktimeutc" actually added +6 hrs to the CreateDate rather than subtracting.

Is there another flag I can use to go from UTC -> Local rather than Local -> UTC.


Phil Harvey

Right.  The QuickTimeUTC flag causes the times to be stored as UTC, but they are input as local time, which isn't what you want.

Instead of the QuickTimeUTC option, you could subtract the required time difference (in seconds):

"-QuickTime:CreateDate<${PhotoTakenTimeTimestamp;$_-=21600}"

The problem will be in handling daylight savings time if you have it in your area.

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

bobross

The merge worked, but Apple Photos isn't recognizing the new tags. I attached samples from an original file where Apple Photos honors the GPS data, and one where I used this script (but Apple doesn't honor).

Is it possible to alter the script to insert GPS data into the additional tags?



# Apple Photos - reads GPS data
Content Create Date             : 2015:05:23 15:58:23-05:00
GPS Coordinates                 : [redacted]
Model                           : iPhone 5s
Make                            : Apple
Handler Type                    : Metadata Tags
Creation Date (und-US)          : 2015:05:23 15:58:23-05:00
Model (und-US)                  : iPhone 5s
Software (und-US)               : 8.1.2
GPS Coordinates (und-US)        : [redacted]
Make (und-US)                   : Apple
Creation Date                   : 2015:05:23 15:58:23-05:00
Software                        : 8.1.2
Image Size                      : 1920x1080
Megapixels                      : 2.1
Avg Bitrate                     : 10.9 Mbps
GPS Altitude                    : [redacted]
GPS Altitude Ref                : Above Sea Level
GPS Latitude                    : [redacted]
GPS Longitude                   : [redacted]
Rotation                        : 0
GPS Position                    : [redacted]


# Apple Photos - doesn't read GPS data
GPS Coordinates                 : [redacted]
XMP Toolkit                     : Image::ExifTool 11.64
Create Date                     : 2019:01:07 22:41:09
Movie Data Size                 : 26964593
Movie Data Offset               : 10845
Image Size                      : 1920x1080
Megapixels                      : 2.1
Avg Bitrate                     : 10.5 Mbps
GPS Altitude                    : [redacted]
GPS Altitude Ref                : Above Sea Level
GPS Latitude                    : [redacted]
GPS Longitude                   : [redacted]
Rotation                        : 0
GPS Position                    : [redacted]

StarGeek

Still an MP4 file?

What's the result when you use
exiftool -G1 -a -s File.mp4
That will show possible duplicate tags as well as the group that the tags belong to.  Anything in the Composite group can be safely ignored as those tags are derived from other tags in the file

It also helps to use the CODE button above the text box to make the exiftool results are easier to read.
"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

bobross

Should I run that on the file where GPS works in Apple Photos, or the one I'm try to update?

StarGeek

Both, the one that works in Apple Photos and the one that doesn't.  That way we can actually see any differences.  Without the -a (duplicates) option, you can't see all possible tags in the file and without the -G (groupNames) option, you can't see where those duplicate tags might be located.
"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

bobross

Thanks again for your help.

GPS tags work with Apple Photos. iPhone original.
[ExifTool]      ExifToolVersion                 : 11.64
[System]        FileName                        : IMG_2557.MOV
[System]        Directory                       : .
[System]        FileSize                        : 14 MB
[System]        FileModifyDate                  : 2015:05:23 15:58:23-05:00
[System]        FileAccessDate                  : 2019:09:18 15:10:41-05:00
[System]        FileCreateDate                  : 2019:09:18 15:10:40-05:00
[System]        FilePermissions                 : rw-rw-rw-
[File]          FileType                        : MOV
[File]          FileTypeExtension               : mov
[File]          MIMEType                        : video/quicktime
[QuickTime]     MajorBrand                      : Apple QuickTime (.MOV/QT)
[QuickTime]     MinorVersion                    : 0.0.0
[QuickTime]     CompatibleBrands                : qt
[QuickTime]     MovieDataSize                   : 15161862
[QuickTime]     MovieDataOffset                 : 36
[QuickTime]     MovieHeaderVersion              : 0
[QuickTime]     CreateDate                      : 2015:05:23 20:58:24
[QuickTime]     ModifyDate                      : 2015:05:23 20:58:35
[QuickTime]     TimeScale                       : 600
[QuickTime]     Duration                        : 11.14 s
[QuickTime]     PreferredRate                   : 1
[QuickTime]     PreferredVolume                 : 100.00%
[QuickTime]     MatrixStructure                 : 1 0 0 0 1 0 0 0 1
[QuickTime]     PreviewTime                     : 0 s
[QuickTime]     PreviewDuration                 : 0 s
[QuickTime]     PosterTime                      : 0 s
[QuickTime]     SelectionTime                   : 0 s
[QuickTime]     SelectionDuration               : 0 s
[QuickTime]     CurrentTime                     : 0 s
[QuickTime]     NextTrackID                     : 3
[QuickTime]     HandlerType                     : Metadata Tags
[Track1]        TrackHeaderVersion              : 0
[Track1]        TrackCreateDate                 : 2015:05:23 20:58:24
[Track1]        TrackModifyDate                 : 2015:05:23 20:58:35
[Track1]        TrackID                         : 1
[Track1]        TrackDuration                   : 11.14 s
[Track1]        TrackLayer                      : 0
[Track1]        TrackVolume                     : 0.00%
[Track1]        MatrixStructure                 : 1 0 0 0 1 0 0 0 1
[Track1]        ImageWidth                      : 1920
[Track1]        ImageHeight                     : 1080
[Track1]        CleanApertureDimensions         : 1920x1080
[Track1]        ProductionApertureDimensions    : 1920x1080
[Track1]        EncodedPixelsDimensions         : 1920x1080
[Track1]        MediaHeaderVersion              : 0
[Track1]        MediaCreateDate                 : 2015:05:23 20:58:24
[Track1]        MediaModifyDate                 : 2015:05:23 20:58:35
[Track1]        MediaTimeScale                  : 600
[Track1]        MediaDuration                   : 11.14 s
[Track1]        MediaLanguageCode               : und
[Track1]        HandlerClass                    : Media Handler
[Track1]        HandlerType                     : Video Track
[Track1]        HandlerVendorID                 : Apple
[Track1]        HandlerDescription              : Core Media Video
[Track1]        GraphicsMode                    : ditherCopy
[Track1]        OpColor                         : 32768 32768 32768
[Track1]        HandlerClass                    : Data Handler
[Track1]        HandlerType                     : Alias Data
[Track1]        HandlerVendorID                 : Apple
[Track1]        HandlerDescription              : Core Media Data Handler
[Track1]        CompressorID                    : avc1
[Track1]        SourceImageWidth                : 1920
[Track1]        SourceImageHeight               : 1080
[Track1]        XResolution                     : 72
[Track1]        YResolution                     : 72
[Track1]        CompressorName                  : H.264
[Track1]        BitDepth                        : 24
[Track1]        VideoFrameRate                  : 29.982
[Track2]        TrackHeaderVersion              : 0
[Track2]        TrackCreateDate                 : 2015:05:23 20:58:24
[Track2]        TrackModifyDate                 : 2015:05:23 20:58:35
[Track2]        TrackID                         : 2
[Track2]        TrackDuration                   : 11.14 s
[Track2]        TrackLayer                      : 0
[Track2]        TrackVolume                     : 100.00%
[Track2]        MatrixStructure                 : 1 0 0 0 1 0 0 0 1
[Track2]        MediaHeaderVersion              : 0
[Track2]        MediaCreateDate                 : 2015:05:23 20:58:24
[Track2]        MediaModifyDate                 : 2015:05:23 20:58:35
[Track2]        MediaTimeScale                  : 44100
[Track2]        MediaDuration                   : 11.19 s
[Track2]        MediaLanguageCode               : und
[Track2]        HandlerClass                    : Media Handler
[Track2]        HandlerType                     : Audio Track
[Track2]        HandlerVendorID                 : Apple
[Track2]        HandlerDescription              : Core Media Audio
[Track2]        Balance                         : 0
[Track2]        HandlerClass                    : Data Handler
[Track2]        HandlerType                     : Alias Data
[Track2]        HandlerVendorID                 : Apple
[Track2]        HandlerDescription              : Core Media Data Handler
[Track2]        AudioFormat                     : mp4a
[Track2]        AudioChannels                   : 1
[Track2]        AudioBitsPerSample              : 16
[Track2]        AudioSampleRate                 : 44100
[Track2]        LayoutFlags                     : Mono
[Track2]        AudioChannels                   : 1
[Track2]        PurchaseFileFormat              : mp4a
[UserData]      SoftwareVersion                 : 8.1.2
[UserData]      ContentCreateDate               : 2015:05:23 15:58:23-05:00
[UserData]      GPSCoordinates                  : [redacted]
[UserData]      Model                           : iPhone 5s
[UserData]      Make                            : Apple
[Keys]          CreationDate-und-US             : 2015:05:23 15:58:23-05:00
[Keys]          Model-und-US                    : iPhone 5s
[Keys]          Software-und-US                 : 8.1.2
[Keys]          GPSCoordinates-und-US           : [redacted]
[Keys]          Make-und-US                     : Apple
[Keys]          CreationDate                    : 2015:05:23 15:58:23-05:00
[Keys]          Software                        : 8.1.2
[Composite]     ImageSize                       : 1920x1080
[Composite]     Megapixels                      : 2.1
[Composite]     AvgBitrate                      : 10.9 Mbps
[Composite]     GPSAltitude                     : [redacted]
[Composite]     GPSAltitudeRef                  : Above Sea Level
[Composite]     GPSLatitude                     : [redacted]
[Composite]     GPSLongitude                    : [redacted]
[Composite]     Rotation                        : 0
[Composite]     GPSPosition                     : [redacted]


GPS tags don't work with Apple Photos. Source file from Google Photos and used JSON to add GPS data.
[ExifTool]      ExifToolVersion                 : 11.64
[System]        FileName                        : IMG_2652 - gps added.MOV
[System]        Directory                       : .
[System]        FileSize                        : 26 MB
[System]        FileModifyDate                  : 2019:08:28 16:49:40-05:00
[System]        FileAccessDate                  : 2019:08:28 16:49:40-05:00
[System]        FileCreateDate                  : 2019:08:25 20:00:14-05:00
[System]        FilePermissions                 : rw-rw-rw-
[File]          FileType                        : MP4
[File]          FileTypeExtension               : mp4
[File]          MIMEType                        : video/mp4
[QuickTime]     MajorBrand                      : MP4 v2 [ISO 14496-14]
[QuickTime]     MinorVersion                    : 0.0.0
[QuickTime]     CompatibleBrands                : isom, mp42
[QuickTime]     MovieHeaderVersion              : 0
[QuickTime]     CreateDate                      : 2019:01:08 04:41:09
[QuickTime]     ModifyDate                      : 2019:01:08 01:18:15
[QuickTime]     TimeScale                       : 600
[QuickTime]     Duration                        : 20.48 s
[QuickTime]     PreferredRate                   : 1
[QuickTime]     PreferredVolume                 : 100.00%
[QuickTime]     MatrixStructure                 : 1 0 0 0 1 0 0 0 1
[QuickTime]     PreviewTime                     : 0 s
[QuickTime]     PreviewDuration                 : 0 s
[QuickTime]     PosterTime                      : 0 s
[QuickTime]     SelectionTime                   : 0 s
[QuickTime]     SelectionDuration               : 0 s
[QuickTime]     CurrentTime                     : 0 s
[QuickTime]     NextTrackID                     : 3
[QuickTime]     MovieDataSize                   : 26964593
[QuickTime]     MovieDataOffset                 : 10845
[Track1]        TrackHeaderVersion              : 0
[Track1]        TrackCreateDate                 : 0000:00:00 00:00:00
[Track1]        TrackModifyDate                 : 2019:01:08 01:18:18
[Track1]        TrackID                         : 1
[Track1]        TrackDuration                   : 20.40 s
[Track1]        TrackLayer                      : 0
[Track1]        TrackVolume                     : 0.00%
[Track1]        MatrixStructure                 : 1 0 0 0 1 0 0 0 1
[Track1]        ImageWidth                      : 1920
[Track1]        ImageHeight                     : 1080
[Track1]        MediaHeaderVersion              : 0
[Track1]        MediaCreateDate                 : 0000:00:00 00:00:00
[Track1]        MediaModifyDate                 : 2019:01:08 01:18:17
[Track1]        MediaTimeScale                  : 15360
[Track1]        MediaDuration                   : 20.40 s
[Track1]        MediaLanguageCode               : und
[Track1]        HandlerType                     : Video Track
[Track1]        HandlerDescription              : VideoHandler
[Track1]        GraphicsMode                    : srcCopy
[Track1]        OpColor                         : 0 0 0
[Track1]        CompressorID                    : avc1
[Track1]        SourceImageWidth                : 1920
[Track1]        SourceImageHeight               : 1080
[Track1]        XResolution                     : 72
[Track1]        YResolution                     : 72
[Track1]        BitDepth                        : 24
[Track1]        BufferSize                      : 259531
[Track1]        MaxBitrate                      : 13118504
[Track1]        AverageBitrate                  : 10477968
[Track1]        VideoFrameRate                  : 30
[Track2]        TrackHeaderVersion              : 0
[Track2]        TrackCreateDate                 : 2019:01:08 01:18:17
[Track2]        TrackModifyDate                 : 2019:01:08 01:18:18
[Track2]        TrackID                         : 2
[Track2]        TrackDuration                   : 20.48 s
[Track2]        TrackLayer                      : 0
[Track2]        TrackVolume                     : 100.00%
[Track2]        MatrixStructure                 : 1 0 0 0 1 0 0 0 1
[Track2]        MediaHeaderVersion              : 0
[Track2]        MediaCreateDate                 : 2019:01:08 01:18:17
[Track2]        MediaModifyDate                 : 2019:01:08 01:18:18
[Track2]        MediaTimeScale                  : 44100
[Track2]        MediaDuration                   : 20.48 s
[Track2]        MediaLanguageCode               : und
[Track2]        HandlerType                     : Audio Track
[Track2]        HandlerDescription              : IsoMedia File Produced by Google, 5-11-2011
[Track2]        Balance                         : 0
[Track2]        AudioFormat                     : mp4a
[Track2]        AudioChannels                   : 1
[Track2]        AudioBitsPerSample              : 16
[Track2]        AudioSampleRate                 : 44100
[UserData]      GPSCoordinates                  : [redacted]
[XMP-x]         XMPToolkit                      : Image::ExifTool 11.64
[XMP-xmp]       CreateDate                      : 2019:01:07 22:41:09
[Composite]     ImageSize                       : 1920x1080
[Composite]     Megapixels                      : 2.1
[Composite]     AvgBitrate                      : 10.5 Mbps
[Composite]     GPSAltitude                     : [redacted]
[Composite]     GPSAltitudeRef                  : Above Sea Level
[Composite]     GPSLatitude                     : [redacted]
[Composite]     GPSLongitude                    : [redacted]
[Composite]     Rotation                        : 0
[Composite]     GPSPosition                     : [redacted]

StarGeek

Ok, in your original command, try changing
"-quicktime:GPSCoordinates#<$GeoDataLatitude $GeoDataLongitude $GeoDataAltitude"
into
"-Keys:GPSCoordinates#<$GeoDataLatitude $GeoDataLongitude $GeoDataAltitude"


Edit: Had the wrong tag name, fixed.
"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

bobross

I modified the script but now I'm getting a new error. The JSON file "IMG_2652.MOV.json" is sitting in the same directory as the file, and it's not open in another application.

exiftool -tagsfromfile "%d/%F.json" "-Keys:gpsposition#<$GeoDataLatitude $GeoDataLongitude $GeoDataAltitude" "-QuickTime:CreateDate<${PhotoTakenTimeTimestamp;$_-=21600}" -d %s IMG_2652.MOV

Warning: Error opening file - /IMG_2652.MOV.json
    0 image files updated
    1 image files unchanged


I'm running exiftool 11.64. Can you tell what I'm doing wrong?

StarGeek

Sorry, I should have paid more attention.  The %d already includes the trailing slash.  Try "%d%F.json".  Or alternatively, "%D/%F.json", as a capital D won't include the trailing slash.
"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

bobross

That worked. Thank you. Here's the revised script, however, no GPS data is displaying. The QuickTime create date is correct, so I know it read the JSON. See output below.

exiftool -tagsfromfile "%d%F.json" "-Keys:gpsposition#<$GeoDataLatitude $GeoDataLongitude $GeoDataAltitude" "-QuickTime:CreateDate<${PhotoTakenTimeTimestamp;$_-=21600}" -d %s IMG_2652.MOV

exiftool -G1 -a -s IMG_2652.MOV
[ExifTool]      ExifToolVersion                 : 11.64
[System]        FileName                        : IMG_2652.MOV
[System]        Directory                       : .
[System]        FileSize                        : 26 MB
[System]        FileModifyDate                  : 2019:09:24 16:37:09-05:00
[System]        FileAccessDate                  : 2019:09:24 16:37:09-05:00
[System]        FileCreateDate                  : 2019:09:24 14:55:13-05:00
[System]        FilePermissions                 : rw-rw-rw-
[File]          FileType                        : MP4
[File]          FileTypeExtension               : mp4
[File]          MIMEType                        : video/mp4
[QuickTime]     MajorBrand                      : MP4 v2 [ISO 14496-14]
[QuickTime]     MinorVersion                    : 0.0.0
[QuickTime]     CompatibleBrands                : isom, mp42
[QuickTime]     MovieHeaderVersion              : 0
[QuickTime]     CreateDate                      : 2019:01:07 16:41:09
[QuickTime]     ModifyDate                      : 2019:01:08 01:18:15
[QuickTime]     TimeScale                       : 600
[QuickTime]     Duration                        : 20.48 s
[QuickTime]     PreferredRate                   : 1
[QuickTime]     PreferredVolume                 : 100.00%
[QuickTime]     MatrixStructure                 : 1 0 0 0 1 0 0 0 1
[QuickTime]     PreviewTime                     : 0 s
[QuickTime]     PreviewDuration                 : 0 s
[QuickTime]     PosterTime                      : 0 s
[QuickTime]     SelectionTime                   : 0 s
[QuickTime]     SelectionDuration               : 0 s
[QuickTime]     CurrentTime                     : 0 s
[QuickTime]     NextTrackID                     : 3
[QuickTime]     MovieDataSize                   : 26964593
[QuickTime]     MovieDataOffset                 : 7962
[Track1]        TrackHeaderVersion              : 0
[Track1]        TrackCreateDate                 : 0000:00:00 00:00:00
[Track1]        TrackModifyDate                 : 2019:01:08 01:18:18
[Track1]        TrackID                         : 1
[Track1]        TrackDuration                   : 20.40 s
[Track1]        TrackLayer                      : 0
[Track1]        TrackVolume                     : 0.00%
[Track1]        MatrixStructure                 : 1 0 0 0 1 0 0 0 1
[Track1]        ImageWidth                      : 1920
[Track1]        ImageHeight                     : 1080
[Track1]        MediaHeaderVersion              : 0
[Track1]        MediaCreateDate                 : 0000:00:00 00:00:00
[Track1]        MediaModifyDate                 : 2019:01:08 01:18:17
[Track1]        MediaTimeScale                  : 15360
[Track1]        MediaDuration                   : 20.40 s
[Track1]        MediaLanguageCode               : und
[Track1]        HandlerType                     : Video Track
[Track1]        HandlerDescription              : VideoHandler
[Track1]        GraphicsMode                    : srcCopy
[Track1]        OpColor                         : 0 0 0
[Track1]        CompressorID                    : avc1
[Track1]        SourceImageWidth                : 1920
[Track1]        SourceImageHeight               : 1080
[Track1]        XResolution                     : 72
[Track1]        YResolution                     : 72
[Track1]        BitDepth                        : 24
[Track1]        BufferSize                      : 259531
[Track1]        MaxBitrate                      : 13118504
[Track1]        AverageBitrate                  : 10477968
[Track1]        VideoFrameRate                  : 30
[Track2]        TrackHeaderVersion              : 0
[Track2]        TrackCreateDate                 : 2019:01:08 01:18:17
[Track2]        TrackModifyDate                 : 2019:01:08 01:18:18
[Track2]        TrackID                         : 2
[Track2]        TrackDuration                   : 20.48 s
[Track2]        TrackLayer                      : 0
[Track2]        TrackVolume                     : 100.00%
[Track2]        MatrixStructure                 : 1 0 0 0 1 0 0 0 1
[Track2]        MediaHeaderVersion              : 0
[Track2]        MediaCreateDate                 : 2019:01:08 01:18:17
[Track2]        MediaModifyDate                 : 2019:01:08 01:18:18
[Track2]        MediaTimeScale                  : 44100
[Track2]        MediaDuration                   : 20.48 s
[Track2]        MediaLanguageCode               : und
[Track2]        HandlerType                     : Audio Track
[Track2]        HandlerDescription              : IsoMedia File Produced by Google, 5-11-2011
[Track2]        Balance                         : 0
[Track2]        AudioFormat                     : mp4a
[Track2]        AudioChannels                   : 1
[Track2]        AudioBitsPerSample              : 16
[Track2]        AudioSampleRate                 : 44100
[Composite]     ImageSize                       : 1920x1080
[Composite]     Megapixels                      : 2.1
[Composite]     AvgBitrate                      : 10.5 Mbps
[Composite]     Rotation                        : 0