Skip to main content

npx remotion canvas-capture importv4.0.543

Imports a Canvas Capture recording as a new composition without starting Remotion Studio.

Import a composition
bunx remotion canvas-capture import recording.webm

The recording must contain the original Canvas Capture metadata.

Flags​

--composition​

Select the composition by ID. Element installation uses an existing composition. A Canvas Capture or OpenTimeline import uses the ID for the new composition.

Defaults to an ID derived from the recording filename.

--root-file​

Path to the root file, relative to the project root. The import detects the root file by default.

The generated component is created beside this file. Existing component files and conflicting assets are never overwritten.

--dry-run​

Preview the files, assets, and dependencies that the command would change. The command exits before writing files or installing packages.

--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.

See also​