npx remotion canvas-capture importv4.0.543
Imports a Canvas Capture recording as a new composition without starting Remotion Studio.
Import a compositionbunx remotion canvas-capture import recording.webm
The recording must contain the original Canvas Capture metadata.
Flags
--composition
The new composition ID. If not passed, a composition ID will be chosen for you.
--root-file
The root file, relative to the project root. Detected automatically if not passed.
The generated component is created beside this file. Existing component files and conflicting assets are never overwritten.
--dry-run
Validates the input and previews the composition, source files, assets, and dependencies without installing packages or writing files.
--width
Overrides the width of the composition.
Defaults to 1920.
--height
Overrides the height of the composition.
Defaults to 1080.
--fps
Overrides the frames per second of the composition.
Defaults to 60. The composition duration is calculated from the recording at this frame rate.
--public-dir
Define the location of the public/ directory. If not defined, Remotion will assume the location is the `public` folder in your Remotion root.
--package-manager
Forces a specific package manager to be used. By default, Remotion will auto-detect the package manager based on your lockfile.Acceptable values are
npm, yarn, pnpm, bun and nub.