gopro/gpmf-parser

SETT udta box equivalent

KonradIT opened this issue · 2 comments

Hi, what would be the equivalent of parsing the bits in SETT box for GPMF? Seems is no longer available on HERO11.

Specifically looking for protune info (aside from ISOE/WBAL), EV Comp, ISO Min/Max, sharpness, color - and video info like preset, lens, zoom.

Also, was expecting GPMF data from Hero11 to hold HiLight tags, but those are still stored in moov>udta>HMMT box, will those be moved to GPMF in future cameras?

HERO11 captures still have SETT and HMMT, likely for some legacy tools. Everything should be now in GPMF format with moov>udta>GPMF for all the capture settings within DEVC DVID=1 and the HiLight tags within DEVC DVID=HLMT.

Here is the header GPMF payload presented as JSON
"DEVC": {
"DVID": 1,
"DVNM": "Global Settings",
"structure (VERS)": "1-bytes 3 samples",
"VERS": [8, 2, 2],
"FMWR": "H22.01.02.01.70",
"LINF": "LSU2050901401660",
"structure (CINF)": "1-bytes 16 samples",
"CINF": [88, 227, 52, 76, 146, 254, 18, 16, 18, 159, 45, 13, 176, 89, 61, 16],
"CASN": "C34713DVT5G009",
"MINF": "HERO11 Black",
"structure (MUID)": "1-axis 8 samples of type 'L' (UNSIGNED_LONG)",
"MUID": [1278534488, 269680274, 221093650, 272456112, 0, 0, 0, 0],
"CMOD": 12,
"MTYP": 0,
"OREN": "U",
"DZOM": "Y",
"DZST": 0,
"SMTR": "N",
"PRTN": "Y",
"PTWB": "AUTO",
"PTSH": "MED",
"PTCL": "NATURAL",
"EXPT": "AUTO",
"PIMX": 100,
"PIMN": 1600,
"PTEV": "0.0",
"RATE": "",
"SROT": 11.0000,
"EISE": "Y",
"EISA": "HS EIS",
"HCTL": "Off",
"AUPT": "N",
"APTO": "OFF",
"AUDO": "STEREO",
"BROD": "",
"BRID": 0,
"PVUL": "F",
"PRJT": "GPRO",
"SOFF": 0,
"CLKS": 1,
"CDAT": 1673253321,
"SCTM": 0,
"PRNA": 79,
"PRNU": 0,
"SCAP": "N",
"CDTM": 0,
"DUST": "NO_LIMIT",
"structure (VRES)": "1-axis 2 samples of type 'L' (UNSIGNED_LONG)",
"VRES": [1920, 1080],
"structure (VFPS)": "1-axis 2 samples of type 'L' (UNSIGNED_LONG)",
"VFPS": [60000, 1001],
"HSGT": "OFF",
"BITR": "HIGH",
"MMOD": "STEREO",
"RAMP": "",
"TZON": -480,
"CLKC": 0,
"DZMX": 2.0000,
"CTRL": "Pro",
"PWPR": "PERFORMANCE",
"ORDP": "Y",
"CLDP": "Y",
"PIMD": "MANUAL"
},
"DEVC": {
"DVID": "FOVL",
"DVNM": "Large FOV",
"ABSC": 0.0000,
"ZFOV": 123.6023,
"VFOV": "W",
"MXCF": "x1",
"MAPX": 1.0000000,
"MYCF": "y1",
"MAPY": 1.0000000,
"PYCF": ["r0", "r1", "r2", "r3", "r4", "r5", "r6"],
"structure (POLY)": "7-axis 1 samples of type 'f' (FLOAT)",
"POLY": [0.0000000, 1.8151290, 0.1058947, -0.6546839, 0.3502330, -0.0000000, 0.0000000 ],
"ZMPL": 0.6314,
"ARUW": 1.7778,
"ARWA": 1.7778
},
"DEVC": {
"DVID": "USRM",
"DVNM": "User Metadata",
"STRM": {
"OWNR": "owner: David Newman",
"BITR": 200,
"NR01": 1,
"QRDR": 1,
"HDMI": 1,
"USRD": 1
}
},
"DEVC": {
"DVID": "HLMT",
"DVNM": "Highlights",
"STRM": {
"TSMP": 4,
"RMRK": "struct: Time (ms), in (ms), out (ms), Location XYZ (deg,deg,m), Type, Confidence (%) Score",
"TYPE": "LLLllfFff",
"structure (SCAL)": "1-axis 9 samples of type 'l' (SIGNED_LONG)",
"SCAL": [1, 1, 1, 10000000, 10000000, 1, 1, 1, 1],
"complex structure (HLMT)": "36-bytes 4 samples",
"HLMT": [2085,2085,2085,0,0,0.00,"MANL",100.00,100.00, 6523,6523,6523,0,0,0.00,"MANL",100.00,100.00, 11361,11361,11361,0,0,0.00,"MANL",100.00,100.00, 20470,20470,20470,0,0,0.00,"MANL",100.00,100.00]
}
},

Thanks!