feat(zed): recover corrupted frame gaps in MCAP export
Make ZED MCAP export skip corrupted frame runs until recovery and treat unreadable tail frames as end-of-stream instead of hard failing conversion. Update bundled nearest-mode export to emit partial bundles during corruption gaps, extend BundleManifest with explicit member status and skipped-frame counts, and only write payload messages for present cameras. Tighten batch probing so bundled MCAP validation checks /bundle coverage and per-camera message counts, and improve failure excerpts to include stderr tail output. Also add a local cppzmq CMake fallback, refresh the multi-record tester for the new bundle schema, and document the mixed NVENC limitations in the README.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package cvmmap_streamer;
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
message BundleManifest {
|
||||
enum BundlePolicy {
|
||||
BUNDLE_POLICY_UNKNOWN = 0;
|
||||
BUNDLE_POLICY_NEAREST = 1;
|
||||
BUNDLE_POLICY_STRICT = 2;
|
||||
}
|
||||
|
||||
enum BundleMemberStatus {
|
||||
BUNDLE_MEMBER_STATUS_UNKNOWN = 0;
|
||||
BUNDLE_MEMBER_STATUS_PRESENT = 1;
|
||||
BUNDLE_MEMBER_STATUS_CORRUPTED_GAP = 2;
|
||||
}
|
||||
|
||||
message BundleMember {
|
||||
string camera_label = 1;
|
||||
google.protobuf.Timestamp timestamp = 2;
|
||||
sint64 delta_ns = 3;
|
||||
BundleMemberStatus status = 4;
|
||||
uint32 corrupted_frames_skipped = 5;
|
||||
}
|
||||
|
||||
google.protobuf.Timestamp timestamp = 1;
|
||||
uint64 bundle_index = 2;
|
||||
BundlePolicy policy = 3;
|
||||
repeated BundleMember members = 4;
|
||||
}
|
||||
Reference in New Issue
Block a user