Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SurveillanceExportBox version=1 SurveillanceEntry TrackID id type #7

Open
izuzanak opened this issue Dec 22, 2022 · 0 comments
Open

Comments

@izuzanak
Copy link

According to specification (ONVIF-ExportFileFormat-Spec.pdf) TrackID of SurveillanceEntry in SurveillanceExportBox should be of type UInt(16).

class SurveillanceExportBox
  extends  FullBox(‘suep’, version = 1, 0){
  string   ExportUnitName;
  string   ExportUnitURL;
  string   ExportUnitMAC;
  UInt(64)   ExportUnitTime;
  string   ExportOperator;
  UInt(32) entry_count;  
  int i;  
  for (i=0; i < entry_count; i++) {
    UInt(16)   TrackID;
    string   SourceName;
    string   SourceURL;
    string   SourceMAC;
    string   SourceLine;
  }
}

In code referred bellow it seems to be declared and parsed as uint32_t:

typedef std::tuple<uint32_t, QString, QString, QString, QString> SurveillanceEntry;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant