From e8a1f564b00e4f9b0cc67e21a32377b74119238a Mon Sep 17 00:00:00 2001 From: Zac Gaetano Date: Mon, 1 Jun 2026 07:31:53 -0400 Subject: [PATCH] fix(capture): add --growing-file flag to raw2bmx command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without --growing-file, raw2bmx writes body partitions via --part but does NOT mark them as closed partitions with self-contained index table segments. Premiere Pro's growing-file reader requires closed partitions to safely parse an in-progress MXF and detect that the duration has advanced — without this flag the file imports fine but never shows growth in the timeline. Co-Authored-By: Claude Sonnet 4.6 --- services/capture/src/capture-manager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/services/capture/src/capture-manager.js b/services/capture/src/capture-manager.js index 9ed65db..5c4b5e5 100644 --- a/services/capture/src/capture-manager.js +++ b/services/capture/src/capture-manager.js @@ -673,6 +673,7 @@ class CaptureManager { // recorded duration grows mid-write. const bmx = [ 'raw2bmx', '-t', 'op1a', '-o', '"$OUT"', '-f', frameRate, + '--growing-file', '--part', String(GROWING_PART_INTERVAL_FRAMES), rawFlag, '"$VF"', '-s', '48000', '-q', '16', '--audio-chan', String(ach), '--pcm', '"$AF"',