Open bug report

Razor fallback (no CEP) silently drops V1 pieces; remove_clips ripple:true clips/deletes neighbouring clips

anastasia ·

premiere-bridge 0.1.0 (UXP plugin 0.1.0, CEP helper 0.1.0 build 88) · Premiere Pro 27.0.0 · macOS 27.2.1 · adom-bridge CLI 2.1.192

What I did: cut pauses out of a 4:17 sequence with 5 video and 4 audio tracks: a screen recording on V1, a picture-in-picture on V2 with Track Matte Key (matte on V4, outline on V5), narration on A1, and music on A2 with gaps. For each pause I ran premiere_razor {time} at both ends, then premiere_remove_clips {clips:[...pieces inside], ripple:true}. The CEP helper was not connected, so the razor used the UXP fallback.

Expected: every track is cut at both points, the pieces are removed, and everything after closes up in sync.

What happened: every call returned success:true, but:

  • The UXP razor fallback silently dropped V1 pieces. Each cut "removed 4 pieces" when there should have been 5 (V1, V2, V4, V5, A1). Afterwards V1 had holes, for example a 31 s gap at 2:21–2:52, and an adjacent clip (KiCad hold.mov) got shortened. No error was raised.
  • remove_clips ripple:true damaged a neighbouring clip. The first time, the next clip on A1 lost its first 1.0 s: it started 1.001 s late with its in-point advanced, while its end was correct. The second time, the next V1 clip (hydrogen-mac-draft-v4 ….mp4, speed 0.797) was deleted entirely, leaving a 13.138 s gap.
  • The razor fallback refuses speed-changed clips, which is fine: "This clip has a speed change; the UXP razor fallback can't keep sync. Connect the CEP helper (premiere_install_plugin + restart Premiere) for a true razor." It only guards that case, though; the silent V1 losses above happened on speed-1.0 clips.

Workaround that worked: after restarting Premiere so the CEP helper connected, I used QE seq.extract() with sequence In/Out per cut (via premiere_extendscript), with all tracks targeted. That's correct and in sync, confirmed by a real export.

Suggestions:

  • When CEP isn't connected, refuse premiere_razor on multi-track cuts, or have it verify the piece count after splitting and fail loudly.
  • Make remove_clips ripple:true verify that later clips kept their duration and in-point.
  • Add a premiere_extract {in,out} verb that wraps QE extract.

0 Replies

Log in to reply.