Skip to content

0.38.0: copy video filters and set a Custom LUT

Latest

Choose a tag to compare

@DareDev256 DareDev256 released this 04 Dec 18:54
· 12 commits to main since this release

New operations only: no existing call returns anything different.

Added

  • edit.copy_filters: copy the video effects Final Cut wrote on one clip onto other clips, exactly as
    written, replacing a target's existing effect of the same kind unless replace: false. Final Cut keeps a
    Custom LUT's chosen file as a Motion-encoded reference inside its LUT param, so a hand-written one
    imports as "Missing Custom LUT". Apply the LUT to one clip in Final Cut, export, and copy it to the rest.
  • edit.set_custom_lut: Final Cut's built-in Custom LUT effect on clips by clip_path, from a .cube.
    The LUT param is Motion's encoding of an archived "<md5>:<name>" (8-byte length, *, binary plist,
    base64 over *-0-9A-Za-z). The encoder reproduces a Final Cut 12 export byte for byte. The id is Final
    Cut's own, not the MD5 of the file: on Final Cut 12, a .cube whose MD5 is 97f8b346… was registered as
    c8adacad…. So the action reuses the id Final Cut already wrote for a LUT of the same name in the
    timeline, or takes lut_id. Otherwise it writes the file's MD5 as a placeholder, which shows Offline
    until the LUT is chosen once in Final Cut; export, run again, and every clip gets Final Cut's id. Replaces
    an existing Custom LUT instead of stacking.

Thanks to the contributor of #69.