Skip to content

1.0.0-rc.6

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Jul 03:50
· 14 commits to main since this release

Downloads

Download Ubuntu version
strand-braid-ubuntu-2004-1.0.0-rc.6.zip 20.04 (Focal)
strand-braid-ubuntu-2204-1.0.0-rc.6.zip 22.04 (Jammy)
strand-braid-ubuntu-2404-1.0.0-rc.6.zip 24.04 (Noble)
strand-braid-ubuntu-2604-1.0.0-rc.6.zip 26.04 (Resolute)

1.0.0-rc.6 - 2026-07-25

Added

  • Added a latency measurement harness (braid/braid-sim/latency/) that runs
    Braid live tracking on simulated cameras and reports end-to-end latency
    percentiles from both the model-server event stream and the recorded
    .braidz. Baseline on an idle machine: ~1 ms typical, <4 ms worst case.

  • Added the packaged ffmpeg-rewriter-doctor command, which finishes MP4
    recordings whose timestamp-embedding rewrite was interrupted by a crash. Such
    a recording is left with its capture times only in the temporary
    -ffmpeg-rewriter.srt sidecar (and possibly a partial
    .mp4-rewritten.mp4); check reports them and fix embeds the timestamps
    and metadata into the MP4 as closing the recording normally would have. The
    group of pictures in progress at the moment of the crash has no recorded
    timing and is dropped; how many frames were kept is reported. Recordings whose
    MP4 ffmpeg itself never finalized, including those still being written, are
    reported and left untouched.

    The same repair is available as ffmpeg_rewriter::{inspect, repair, find_interrupted}.

  • Added the packaged mp4-misp-inserter command, which embeds per-frame
    MISPmicrosectime timestamps from a companion .srt file into an existing
    H.264 MP4 without decoding or re-encoding it. Original sample timing,
    including B-frame composition offsets, is preserved. If the timing source is
    damaged or ends early, the command keeps a playable output truncated at the
    last covered complete GOP and reports failure unless --allow-truncated is
    specified.

Changed

  • ffmpeg H.264 recording no longer forces -bf 0; B-frame selection is left to
    the encoder by default now that the built-in decoder handles reordered
    streams. An explicit maximum can still be configured when required.

Fixed

  • mp4-writer now retains its recording state after an H.264 sample write
    fails, allowing finish() to retry buffered data and finalize a recoverable
    truncated MP4 once the underlying output is writable again (for example
    after a disk-full error is resolved).
  • Malformed .srt sidecars now produce an error with the file path and
    approximate line number instead of panicking during parsing.
  • Closing an ffmpeg-based MP4 recording now fails loudly if the capture times it
    logged do not cover every encoded frame, instead of silently renaming a
    frame-short rewrite over the complete recording. The original video and its
    sidecars are left in place, so ffmpeg-rewriter-doctor can finish the job.
  • An .srt timing sidecar cut off mid-entry — as a process killed while writing
    one leaves it — no longer panics when read. Such an entry has no usable
    timestamp, so it and everything after it are now treated as timing the file
    does not have, which is reported as a truncation (with the line it starts on)
    in the same way as an .srt that simply ends early.
  • strand-cam-bui-types now enables serde's standard-library support itself,
    fixing builds of downstream projects that consume the crate from source.
  • The Ubuntu installer zip's README now substitutes the actual generated .deb
    filename into its installation command instead of carrying a stale,
    hard-coded release filename.
  • The built-in OpenH264 decoder now decodes H.264 streams containing B-frames
    (rc.5 claimed the decoder cannot decode them, but OpenH264 has supported
    B-frame decoding since v2.2 in 2022; the vendored copy is v2.6). The failure
    was in how we drove the decoder: with B-frames it buffers pictures to reorder
    them into display order, and our decode loop force-flushed it whenever a call
    returned no picture, evicting reference frames mid-stream (dsOutOfMemory /
    dsNoParamSets errors on every B-frame). The decoder now runs without
    mid-stream flushing, each output picture is paired back with its frame (and
    its timestamp) by display rank, and pictures still buffered at end of stream
    are drained. Decoded pixel content and frame order are pinned by tests
    validated bit-exactly against ffmpeg. Decode-failure hints no longer blame
    B-frames or recommend -bf 0; non-4:2:0 chroma remains unsupported.
  • The reconstruct_latency_usec.hlog histogram now measures the latency until
    the tracker produces each estimate rather than until the disk writer dequeues
    it, eliminating a spurious 20–100 ms tail caused by the writer's periodic
    flush. Also, under fake synchronization (simulated and emulated cameras),
    trigger timestamps are now populated at all, so this histogram is no longer
    empty in such runs.
  • Fake synchronization now anchors each camera's frame numbering to a common
    clock epoch instead of packet arrival order, fixing a race in which some
    cameras could synchronize one frame late (adding a one-frame-period latency
    floor and pairing observations captured 10 ms apart).
  • The machine-wide lock serializing trunk build invocations now records the
    holder's PID and is stolen as soon as that process is gone, instead of
    stalling every build on the machine for up to 30 minutes when a build script
    was killed while holding it (as rust-analyzer routinely does on file save).