You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2f7b7a9
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/packages/cli.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -857,7 +857,7 @@ The flags that come up most:
857
857
|`--composition, -c`|`index.html`| Render a different composition file. Sub-compositions using `<template>` wrappers must be referenced from `index.html` via `data-composition-src`. |
858
858
|`--format`|`mp4`|`mp4`, `webm`, `mov`, `gif`, or `png-sequence`. WebM and MOV carry transparency; `png-sequence` writes RGBA frames to a directory. |
859
859
|`--fps, -f`| root `data-fps`, otherwise 30 | 1–240, or an ffmpeg rational like `30000/1001` for 29.97 |
860
-
|`--quality, -q`|`standard`|`draft`, `standard`, or `high`. Drives CRF and bitrate. |
860
+
|`--quality, -q`|`standard`|`draft`, `standard`, or `high`. Drives MP4/WebM encoder settings; MOV always uses the fixed alpha-preserving ProRes 4444 profile.|
861
861
|`--resolution`| the composition's size | Supersample to a preset via Chrome's `deviceScaleFactor`. Aspect ratio must match and the scale must be a whole multiple. Not with `--hdr`. See [4K rendering](/guides/4k-rendering). |
862
862
|`--docker`| off | Render inside Docker for [deterministic output](/concepts/determinism)|
863
863
|`--variables`| — | JSON object merged over the composition's `data-composition-variables` defaults |
|`--crf`| from `--quality`| Override encoder CRF, 0–51. Lower is better quality. Not with `--video-bitrate`. |
873
-
|`--video-bitrate`| from `--quality`| Target bitrate, e.g. `10M` or `5000k`. Not with `--crf`. |
872
+
|`--crf`| from `--quality`| Override MP4/WebM encoder CRF, 0–51. Lower is better quality. Not with `--video-bitrate`; rejected for MOV.|
873
+
|`--video-bitrate`| from `--quality`| Target MP4/WebM bitrate, e.g. `10M` or `5000k`. Not with `--crf`; rejected for MOV.|
874
874
|`--vp9-cpu-used`| encoder default | libvpx-vp9 speed/quality trade-off for WebM, -8 to 8. Env: `PRODUCER_VP9_CPU_USED`. |
875
875
|`--gif-loop`|`0`| GIF loop count, `0` for forever. Range 0–65535, `--format gif` only. |
876
876
|`--video-frame-format`|`auto`| How source video frames are extracted: `auto`, `jpg`, `png`. Use `png` for UI recordings, screen captures, and other colour-sensitive footage. |
0 commit comments