GPSAltitude not being read from videos

Started by johnbeardy, March 26, 2016, 05:32:52 AM

Previous topic - Next topic

johnbeardy

I have mp4 videos tagged with GPS data in Adobe Bridge, and I can see GPSAltitude is listed with other GPS attributes in the Advanced tab, but it doesn't seem to be reliably extracted to JSON.

When I specify JSON output and target Exif tags, GPSAltitude is not returned.
-XMP-exif:all  -j  > "C:\Users\john\Documents\jb Metadata xmp extract.txt" -n
Quote"GPSLatitude": 54.4299966666667,
  "GPSLongitude": -3.09098833333333,
  "GPSProcessingMethod": "MANUAL",
  "GPSAltitudeRef": 0

But it's present with XMP output
-XMP-exif:all  -X  > "C:\Users\john\Documents\jb Metadata xmp extract.txt" -n
Quote
<XMP-exif:GPSAltitude>150.00 m</XMP-exif:GPSAltitude>
<XMP-exif:GPSLatitude>54.4299966666667</XMP-exif:GPSLatitude>
<XMP-exif:GPSLongitude>-3.09098833333333</XMP-exif:GPSLongitude>
<XMP-exif:GPSProcessingMethod>MANUAL</XMP-exif:GPSProcessingMethod>
<XMP-exif:GPSAltitudeRef>0</XMP-exif:GPSAltitudeRef>

When I specify JSON and extract all tags, GPSAltitude is returned as expected. Add ideas, Phil?

John

Phil Harvey

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