Getting Metedata Beyond EXIF? Long Lat Altitude Camera Angle

Joined
Sep 20, 2016
Messages
73
Reaction score
26
Age
56
I'm wondering what metadata is available beyond photo EXIF and video encoding data?

Specifically on the P4 (or P3) using the Go App, or I suppose any other popular app like Drone Deploy, etc, how/where do you get access to data for a photo or a frame in a video like:

Altitude
GPS Coordinates
Camera Angle
Distance an object (if any) is from the collision sensor (P4) - this one would be REALLY helpful for my application
 
I'm wondering what metadata is available beyond photo EXIF and video encoding data?

Specifically on the P4 (or P3) using the Go App, or I suppose any other popular app like Drone Deploy, etc, how/where do you get access to data for a photo or a frame in a video like:

Altitude
GPS Coordinates
These are in Exif data already.
But be careful with altitude as whats shown in Exif is dodgy GPS altitude data for dodgy height above sea level.
The barometer data for relative altitude is alleged to be somewhere in an XMP section.
 
These are in Exif data already.
But be careful with altitude as whats shown in Exif is dodgy GPS altitude data for dodgy height above sea level.
The barometer data for relative altitude is alleged to be somewhere in an XMP section.

What do you mean by "alleged"? It's right there in the data.

Untitled 3.jpeg
 
Hi all - I have a DJI Phantom 4 and a Mavic and love the birds. However with any point cloud my heights are off by quite a few meters. I understand from this and other threads that the altitude is unreliable. Now is there a way to calibrate this? -Via the App? Or would someone have a (python?) script to adjust the heights in the point cloud in post processing. I.e. take ONE manual reference point x,y,z, select a point cloud point which matches this point - and then enter this into the script to adjust all other points with the delta? Any thoughts?
 
Maps Made Easy does that now. When you run a MME mission, the app takes a picture before the aircraft takes off. This is used for the ground reference when that photo and the rest of the mission photos are uploaded. Subtracts the recored altitude from that stored in all of the other images to give a height above ground for the mission.Should be fairly straight forward to write a python script to do something similar, taking the first picture in a folder and doing the ground reference subtraction from the exif data on all of the others.
 
Last edited:
is the xmp file written or appended to all jpg images or only to those in RAW format. And how do you access it?

It's appended to both JPG and RAW. You can access it with any full EXIF reader. I use ExifTool. I haven't tested which other EXIF readers access the full set of data.

The following is the raw output from a Mavic Pro JPG:

MacBook:~ *******$ exiftool /Users/*******/Pictures/DJI_0060.JPG
ExifTool Version Number : 10.53
File Name : DJI_0060.JPG
Directory : /Users/*******/Pictures
File Size : 4.7 MB
File Modification Date/Time : 2017:05:07 18:51:26-06:00
File Access Date/Time : 2017:05:17 22:13:10-06:00
File Inode Change Date/Time : 2017:05:17 22:13:11-06:00
File Permissions : rwxrwxrwx
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
Exif Byte Order : Little-endian (Intel, II)
Image Description : DCIM\100MEDIA\DJI_0060.JPG
Camera Model Name : FC220
Orientation : Horizontal (normal)
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
Software : v02.06.484
Modify Date : 2017:05:07 18:51:25
Y Cb Cr Positioning : Centered
Exposure Time : 1/507
F Number : 2.2
Exposure Program : Program AE
ISO : 100
Exif Version : 0230
Date/Time Original : 2017:05:07 18:51:25
Create Date : 2017:05:07 18:51:25
Components Configuration : -, Cr, Cb, Y
Compressed Bits Per Pixel : 3.101622
Shutter Speed Value : 1/507
Aperture Value : 2.2
Exposure Compensation : 0
Max Aperture Value : 2.2
Subject Distance : 0 m
Metering Mode : Center-weighted average
Light Source : Unknown
Flash : No flash function
Focal Length : 4.7 mm
Warning : [minor] Possibly incorrect maker notes offsets (fix by 1415?)
Make : DJI
Speed X : +0.00
Speed Y : +0.10
Speed Z : -0.10
Pitch : -5.90
Yaw : -13.60
Roll : +1.90
Camera Pitch : -15.50
Camera Yaw : -13.70
Camera Roll : +0.00
Flashpix Version : 0010
Color Space : sRGB
Exif Image Width : 4000
Exif Image Height : 3000
Interoperability Index : R98 - DCF basic file (sRGB)
Interoperability Version : 0100
Exposure Index : undef
File Source : Digital Camera
Scene Type : Directly photographed
Custom Rendered : Normal
Exposure Mode : Auto
White Balance : Auto
Digital Zoom Ratio : undef
Focal Length In 35mm Format : 26 mm
Scene Capture Type : Standard
Gain Control : None
Contrast : Normal
Saturation : Normal
Sharpness : Normal
Device Setting Description : (Binary data 4 bytes, use -b option to extract)
Subject Distance Range : Unknown
GPS Version ID : 2.3.0.0
GPS Latitude Ref : North
GPS Longitude Ref : West
GPS Altitude Ref : Above Sea Level
XP Comment : 0.9.142
XP Keywords : N
Compression : JPEG (old-style)
Thumbnail Offset : 41984
Thumbnail Length : 9218
About : DJI Meta Data
Format : image/jpg
Absolute Altitude : +42.63
Relative Altitude : +48.70
Gimbal Roll Degree : +0.00
Gimbal Yaw Degree : -13.70
Gimbal Pitch Degree : -15.50
Flight Roll Degree : +1.90
Flight Yaw Degree : -13.60
Flight Pitch Degree : -5.90
Version : 7.0
Has Settings : False
Has Crop : False
Already Applied : False
MPF Version : 0010
Number Of Images : 2
MP Image Flags : Dependent child image
MP Image Format : JPEG
MP Image Type : Large Thumbnail (VGA equivalent)
MP Image Length : 255287
MP Image Start : 4711971
Dependent Image 1 Entry Number : 0
Dependent Image 2 Entry Number : 0
Image UID List : (Binary data 66 bytes, use -b option to extract)
Total Frames : 1
Image Width : 4000
Image Height : 3000
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:2 (2 1)
Aperture : 2.2
GPS Altitude : 42.6 m Above Sea Level
GPS Latitude : 51 deg 27' 42.93" N
GPS Longitude : 0 deg 39' 35.44" W
GPS Position : 51 deg 27' 42.93" N, 0 deg 39' 35.44" W
Image Size : 4000x3000
Preview Image : (Binary data 255287 bytes, use -b option to extract)
Megapixels : 12.0
Scale Factor To 35 mm Equivalent: 5.5
Shutter Speed : 1/507
Thumbnail Image : (Binary data 9218 bytes, use -b option to extract)
Circle Of Confusion : 0.005 mm
Field Of View : 69.4 deg
Focal Length : 4.7 mm (35 mm equivalent: 26.0 mm)
Hyperfocal Distance : 1.86 m
Light Value : 11.3

And this is the same file but the DNG version:

MacBook:~ *******$ exiftool /Users/*******/Pictures/DJI_0060.DNG
ExifTool Version Number : 10.53
File Name : DJI_0060.DNG
Directory : /Users/*******/Pictures
File Size : 23 MB
File Modification Date/Time : 2017:05:07 18:51:26-06:00
File Access Date/Time : 2017:05:17 22:20:29-06:00
File Inode Change Date/Time : 2017:05:17 22:20:30-06:00
File Permissions : rwxrwxrwx
File Type : DNG
File Type Extension : dng
MIME Type : image/x-adobe-dng
Exif Byte Order : Little-endian (Intel, II)
Camera Model Name : FC220
Orientation : Horizontal (normal)
Software : v02.06.484
Modify Date : 2017:05:07 18:51:25
Image Width : 4000
Image Height : 3000
Bits Per Sample : 16
Compression : Uncompressed
Photometric Interpretation : Color Filter Array
Strip Offsets : 294279
Samples Per Pixel : 1
Rows Per Strip : 3000
Strip Byte Counts : 24000000
Planar Configuration : Chunky
CFA Repeat Pattern Dim : 2 2
CFA Pattern 2 : 0 1 1 2
CFA Plane Color : Red,Green,Blue
CFA Layout : Rectangular
Black Level Repeat Dim : 2 2
Black Level : 800 800 800 800
White Level : 16383
Default Scale : 1 1
Default Crop Origin : 4 4
Default Crop Size : 3992 2992
Bayer Green Split : 0
Anti Alias Strength : 1
Best Quality Scale : 1
Active Area : 0 0 3000 4000
Opcode List 1 : (Binary data 15664 bytes, use -b option to extract)
Opcode List 3 : (Binary data 76 bytes, use -b option to extract)
Default User Crop : 0 0 1 1
Subfile Type : Reduced-resolution image
Preview Image Start : 38958
Preview Image Length : 255321
Y Cb Cr Coefficients : 0.299 0.587 0.114
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Y Cb Cr Positioning : Co-sited
Reference Black White : 0 255 128 255 128 255
About : DJI Meta Data
Format : image/dng
Absolute Altitude : +42.63
Relative Altitude : +48.70
Gimbal Roll Degree : +0.00
Gimbal Yaw Degree : -13.70
Gimbal Pitch Degree : -15.50
Flight Roll Degree : +1.90
Flight Yaw Degree : -13.60
Flight Pitch Degree : -5.90
Version : 7.0
Has Settings : False
Has Crop : False
Already Applied : False
Exposure Time : 1/507
F Number : 2.2
Exposure Program : Program AE
ISO : 100
Exif Version : 0230
Date/Time Original : 2017:05:07 18:51:25
Create Date : 2017:05:07 18:51:25
Shutter Speed Value : 1/507
Aperture Value : 2.2
Exposure Compensation : 0
Max Aperture Value : 2.2
Subject Distance : 0 m
Metering Mode : Center-weighted average
Light Source : Unknown
Flash : No flash function
Focal Length : 4.7 mm
Warning : [minor] Possibly incorrect maker notes offsets (fix by 13344?)
Make : DJI
Speed X : +0.00
Speed Y : +0.10
Speed Z : -0.10
Pitch : -5.90
Yaw : -13.60
Roll : +1.90
Camera Pitch : -15.50
Camera Yaw : -13.70
Camera Roll : +0.00
File Source : Digital Camera
Scene Type : Directly photographed
Custom Rendered : Normal
Exposure Mode : Auto
White Balance : Auto
Digital Zoom Ratio : 0
Focal Length In 35mm Format : 26 mm
Scene Capture Type : Standard
Gain Control : None
Contrast : Normal
Saturation : Normal
Sharpness : Normal
Subject Distance Range : Unknown
Serial Number : 2016041101
Lens Info : 26.3mm f/2.2
GPS Version ID : 2.3.0.0
GPS Latitude Ref : North
GPS Longitude Ref : West
GPS Altitude Ref : Above Sea Level
XP Comment : 0.9.142
XP Keywords : N
DNG Version : 1.4.0.0
DNG Backward Version : 1.3.0.0
Unique Camera Model : FC220
Color Matrix 1 : 2.2257 -1.801 0.3329 0.1549 0.7017 0.1805 0.116 0.0041 0.6168
Color Matrix 2 : 0.9326 -0.3148 -0.0883 -0.2626 1.1141 0.1687 -0.0163 0.1637 0.5107
Analog Balance : 1 1 1
As Shot Neutral : 0.469186 1 0.627547
Baseline Exposure : 0
Baseline Noise : 1
Baseline Sharpness : 1
Linear Response Limit : 1
Camera Serial Number : 2016041101
DNG Lens Info : 26.3mm f/2.2
Shadow Scale : 1
DNG Private Data : (Binary data 256 bytes, use -b option to extract)
Calibration Illuminant 1 : Standard Light A
Calibration Illuminant 2 : D65
Profile Hue Sat Map Dims : 18 6 1
Profile Hue Sat Map Data 1 : (Binary data 3380 bytes, use -b option to extract)
Profile Hue Sat Map Data 2 : (Binary data 3506 bytes, use -b option to extract)
Profile Embed Policy : Allow Copying
Original Default Final Size : 0 0
Original Best Quality Size : 0 0
Original Default Crop Size : undef undef
Aperture : 2.2
CFA Pattern : [Red,Green][Green,Blue]
GPS Altitude : 42.6 m Above Sea Level
GPS Latitude : 51 deg 27' 42.93" N
GPS Longitude : 0 deg 39' 35.44" W
GPS Position : 51 deg 27' 42.93" N, 0 deg 39' 35.44" W
Image Size : 4000x3000
Megapixels : 12.0
Preview Image : (Binary data 255321 bytes, use -b option to extract)
Scale Factor To 35 mm Equivalent: 5.5
Shutter Speed : 1/507
Circle Of Confusion : 0.005 mm
Field Of View : 69.4 deg
Focal Length : 4.7 mm (35 mm equivalent: 26.0 mm)
Hyperfocal Distance : 1.86 m
Light Value : 11.3
 
Thanks, got it. I'll be curious to see what the Maps Made Easy folks say about why they don't use that data instead of the ground reference photo.
 
Hi Guys,

I would like to be able to see what ISO and Shutter-speed I used on my video files. It looks as though the program that you're talking about "with any full EXIF reader" is for still files.

Please correct me if I'm wrong.

Is there a simple tool that can read basic information like the SS & ISO from a Phantom 3 Professional video file that anyone is aware of?

Thanks in advance for your support!

Anthony

PS I use Premiere Pro CS6 for my editing at the moment.
 

Recent Posts

Members online

Forum statistics

Threads
143,094
Messages
1,467,587
Members
104,977
Latest member
wkflysaphan4