Get MetaData #55
-
Hello, Next steps are
I plan to start with getting metadata from files. In fact we can get metadata with GoPro API In this demo project when I fetch files from go pro over wifi I get or if you follow official tutorial you will get this response from getting media list
My question isHow can I get metadata information like location (lat, lng)? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
After reading docs and python code I tried this url "http://10.5.5.9:8080/gopro/media/info?path=100GOPRO/{fileName} Here is the result for image file (click to expand){
"lc": "0",
"mp": "0",
"ct": "4",
"h": "3888",
"prjn": "6",
"gumi": "0696696448aefcdb6a649135c9c23d74",
"hdr": "0",
"fov": "19",
"rot": "0",
"cre": "1628286547",
"raw": "0",
"w": "5184",
"wdr": "0",
"eis": "0",
"hc": "0",
"us": "0",
"s": "5742426",
"tr": "0",
"mos": []
}
Here is the result for video file (click to expand){
"h": "1080",
"hi": [],
"ct": "0",
"ls": "5797809",
"gumi": "2f091cd965a36843666dea84229a7611",
"s": "61433646",
"fps_denom": "1001",
"dur": "11",
"eis": "0",
"profile": "42",
"subsample": "0",
"rot": "90",
"ao": "stereo",
"fov": "3",
"pta": "0",
"cl": "0",
"lc": "0",
"avc_profile": "4",
"mahs": "1",
"prjn": "6",
"hc": "0",
"cre": "1631030905",
"prog": "1",
"tr": "0",
"fps": "60000",
"mos": [],
"w": "1920",
"us": "0",
"mp": "0"
} But there is no info about geolocation (lat, lng). |
Beta Was this translation helpful? Give feedback.
-
Hi, use the For video, use the |
Beta Was this translation helpful? Give feedback.
Hi, use the
t
=exif
param (as seen here: https://github.com/KonradIT/gopro-py-api/blob/master/goprocam/GoProCamera.py#L1181) for photos. This will be in JSON format.For video, use the
gopro/media/gpmf?path=
call, which will return a GPMF data binary.