filmcraft/crates/mxf/src
Brandon Thomas de70468ab6 #210 review: bound MXF reads by the file, keep legacy projects opening, allow 16K
- mxf: read_pcm bounds a request by the sample frames the file actually stores (plus 16M
  samples of zero padding) instead of a fixed 16,777,216-sample cap, so whole-clip reads of
  long stereo MXF (transcription) work again; PCM/AES3 chunk buffers are clamped to the source
  length instead of a 256 MiB cap; decode_pcm's output is bounded by its input, so its
  fixed cap goes (the AES3 >8-channel refusal stays; a request is also bounded by the source
  length divided by the channel count). read_sample keeps only the source-length bound.
- mxf: index_entries no longer fails open() past 1,048,576 entries (the sparse BTreeMap
  already bounds memory by real entries); long recordings open.
- project/format: new Sequence/Track/CaptionTrack::check_bounds() hold only the hostile-value
  bounds (settings, marks, overflowing time ranges); project load and export ranges use it, so
  projects that break only structural rules (overlap, zero duration) still open and export.
  check() = check_bounds() + the structural rules, as before.
- project: frame-size cap raised to 268,435,456 pixels, 32768 per side (16K, 16384x8192).
- engine: checked_u32_p accepts integer-valued floats (1920.0); renderable_sequence returns
  an EngineError (new Session::try_render_program_at, used by automation render) instead of
  eprintln.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 20:52:53 -04:00
..
write #210 review: bound MXF reads by the file, keep legacy projects opening, allow 16K 2026-10-07 20:52:53 -04:00
essence.rs #210 review: bound MXF reads by the file, keep legacy projects opening, allow 16K 2026-10-07 20:52:53 -04:00
file.rs #210 review: bound MXF reads by the file, keep legacy projects opening, allow 16K 2026-10-07 20:52:53 -04:00
index.rs M9.14: MXF (OP1a/OP-Atom) and Ogg demuxers, image sequences, BWF timecode 2026-10-02 17:33:29 -04:00
klv.rs Clippy 1.99: fix new lints so `cargo xtask ci` is green again 2026-10-04 15:55:23 -04:00
lib.rs Containers: never crash — mpegts, ogg, mxf, matroska without expect/unreachable 2026-10-04 11:37:58 -04:00
meta.rs M9.14: MXF (OP1a/OP-Atom) and Ogg demuxers, image sequences, BWF timecode 2026-10-02 17:33:29 -04:00
source.rs M9.14: MXF (OP1a/OP-Atom) and Ogg demuxers, image sequences, BWF timecode 2026-10-02 17:33:29 -04:00
tests.rs fix: validate hostile project, export and MXF inputs 2026-10-07 20:38:43 -04:00