Skip to content

🎥 Make videos programmatically with React

added documentaion for webm support

Shankhadeep Dey933bb36ed73b
diff --git a/packages/docs/docs/cli.md b/packages/docs/docs/cli.md
index 076a4123a0..38b4df1761 100644
--- a/packages/docs/docs/cli.md
+++ b/packages/docs/docs/cli.md
@@ -20,6 +20,7 @@ Besides choosing a video and output location with the command line arguments, th
- `--config`: Specify a location for the Remotion config file.
- `--quality`: [Value between 0 and 100 for JPEG rendering quality](config#setquality). Doesn't work when `--png` is set.
- `--overwrite`: [Write to output even if file already exists.](config#setoverwriteoutput)
+- `--format`: [Either `mp4` or `png-sequence` or `webm-v8` or `webm-v9`](config#setoutputformat). It will override `--png` flag. Use `--format png-sequence` instead of `--png` flag.
:::info
If you don't feel like passing command line flags every time, consider creating a `remotion.config.ts` [config file](config).
diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.md
index 0e9aaf4b98..b3ab37cbc2 100644
--- a/packages/docs/docs/config.md
+++ b/packages/docs/docs/config.md
@@ -67,13 +67,13 @@ The [command line flag](cli) `--pixel-format` will take precedene over this opti
### setOutputFormat()
-Either `'mp4'` or `'png-sequence'`. Use the PNG sequence option if you want transparency in your output.
+Either `'mp4'` or `'png-sequence'` or `'webm-v8'` or `'webm-v9'`. Use the PNG sequence option if you want transparency in your output.
```tsx
Config.output.setOutputFormat('png-sequence');
```
-The [command line flag](cli) `--png` will take precedence over this option.
+The [command line flag](cli) `--png` and `--format` will take precedence over this option.
### setQuality()