pub enum FourCC {
Show 57 variants
DEVC,
DVID,
DVNM,
STRM,
STNM,
RMRK,
SCAL,
SIUN,
UNIT,
TYPE,
TSMP,
TIMO,
EMPT,
TICK,
TOCK,
TMPC,
ACCL,
GYRO,
ISOG,
SHUT,
GPS5,
GPSU,
GPSF,
GPSP,
MAGN,
STMP,
FACE,
FCNM,
FSTM,
ISOE,
ALLD,
WBAL,
WRGB,
YAVG,
HUES,
UNIF,
SCEN,
SROT,
CORI,
ORIO,
ORIN,
IORI,
GRAV,
WNDM,
MWET,
AALP,
DISP,
MSKP,
LSKP,
GPS9,
HMMT,
HLMT,
MANL,
MTRX,
AGST,
KBAT,
Other(String),
}Expand description
The FourCC key of the data
There are some undocumented tags present in GPMF data. Currently warnings are logged for unsupported tags.
Variants§
DEVC
unique device source for metadata Each connected device starts with DEVC. A GoPro camera or Karma drone would have their own DEVC for nested metadata to follow. |
DVID
device/track ID Auto generated unique-ID for managing a large number of connect devices, camera, karma and external BLE devices |
DVNM
device name Display name of the device like "Karma 1.0", this is for communicating to the user the data recorded, so it should be informative. |
STRM
Nested signal stream of metadata/telemetry Metadata streams are each nested with STRM
STNM
Stream name Display name for a stream like "GPS RAW", this is for communicating to the user the data recorded, so it should be informative. |
RMRK
Comments for any stream Add more human readable information about the stream |
SCAL
Scaling factor (divisor) | Sensor data often needs to be scaled to be presented with the correct units. SCAL is a divisor. |
SIUN
Standard Units (like SI) | If the data can be formatted in GPMF's standard units, this is best. E.g. acceleration as "m/s²". SIUN allows for simple format conversions. |
UNIT
Display units While SIUN is preferred, not everything communicates well via standard units. E.g. engine speed as "RPM" is more user friendly than "rad/s". |
TYPE
Typedefs for complex structures Not everything has a simple repeating type. For complex structure TYPE is used to describe the data packed within each sample. |
TSMP
Total Samples delivered | Internal field that counts all the sample delivered since record start, and is automatically computed. |
TIMO
Time Offset | Rare. An internal field that indicates the data is delayed by ‘x’ seconds. |
EMPT
Empty payload count Internal field that reports the number of payloads that contain no new data. TSMP and EMPT simplify the extraction of clock. |
TICK
TOCK
TMPC
ACCL
GYRO
ISOG
SHUT
GPS5
GPSU
GPSF
GPSP
MAGN
STMP
FACE
FCNM
FSTM
ISOE
ALLD
WBAL
WRGB
YAVG
HUES
UNIF
SCEN
SROT
CORI
ORIO
ORIN
IORI
GRAV
WNDM
MWET
AALP
DISP
MSKP
LSKP
GPS9
HMMT
Its data consists of one or more 32-bit integers. The first integer contains the number of available HiLight tags. All subsequent integers resemble an ordered list of HiLight tags. Each HiLight tag is represented as a millisecond value. https://superuser.com/questions/881661/how-where-does-a-gopro-camera-store-hilight-tags