Skip to content

🎥 Make videos programmatically with React

Update stitch-frames-to-video.mdx

Jonny Burger566f9a0e1826
diff --git a/packages/docs/docs/renderer/stitch-frames-to-video.mdx b/packages/docs/docs/renderer/stitch-frames-to-video.mdx
index e27177f8b7..f35493ad6e 100644
--- a/packages/docs/docs/renderer/stitch-frames-to-video.mdx
+++ b/packages/docs/docs/renderer/stitch-frames-to-video.mdx
@@ -31,7 +31,7 @@ A `number` specifying the desired output height in pixels for the video.
### `metadata`<AvailableFrom v="4.0.216" />
-_object - optional_
+_object_
<Options id="metadata" />
@@ -42,33 +42,25 @@ The data structure is not stable between Remotion versions.
### `outputLocation?`
-_optional since v3.0.26_
-
An absolute path specify where the output file should be written to.
If not specified or set to `null`, the file will be returned in-memory as a buffer.
### `force?`
-_optional_
-
Whether Remotion should overwrite the file in `outputLocation` if it already exists. `true` by default.
### `pixelFormat?`
-_optional_
-
Sets the pixel format. See [here](/docs/config#setpixelformat) for available values. The default is `yuv420p`.
### `codec?`
-_optional_
-
Set a codec. See the [encoding guide](/docs/encoding) for available values and guidance on which one to choose. The default is `h264`.
-### `audioCodec?`
+### `audioCodec?`<AvailableFrom v="3.3.41" />
-_"pcm-16" | "aac" | "mp3" | "opus", available from v3.3.41_
+_"pcm-16" | "aac" | "mp3" | "opus"_
Choose the encoding of your audio.
@@ -97,20 +89,14 @@ Refer to the [Encoding guide](/docs/encoding/#audio-codec) to see defaults and s
### `crf?`
-_optional_
-
The constant rate factor of the output, a parameter which controls quality. See [here](/docs/config#setcrf) for more information about this parameter. Default is depending on the codec.
### `proResProfile?`
-_optional_
-
Sets a ProRes profile. Only applies to videos rendered with `prores` codec. See [Encoding guide](/docs/encoding/#controlling-quality-using-prores-profile) for possible options.
### `onProgress?`
-_optional_
-
Callback function which informs about the encoding progress. The `frameNumber` value is a `number`.
```ts twoslash
@@ -121,8 +107,6 @@ const onProgress = (frameNumber: number) => {
### `onDownload?`
-_optional_
-
Notifies when a remote asset needs to be downloaded in order to extract the audio track.
```ts twoslash
@@ -133,26 +117,22 @@ const onDownload = (src: string) => {
### `numberOfGifLoops?`<AvailableFrom v="3.1.0" />
-_optional_
-
<Options id="number-of-gif-loops" />
### `muted?`<AvailableFrom v="3.2.1" />
-_optional_
-
Disables audio output. This option may only be set in combination with a video codec and should also be passed to [`renderFrames()`](/docs/renderer/render-frames).
-### `verbose?`
+### `hardwareAcceleration?`<AvailableFrom v="4.0.228" />
+
+<Options id="hardware-acceleration" />
-_optional_
+### `verbose?`
A boolean value that when set to `true`, will log all kinds of debug information. Default `false`.
### `cancelSignal?`<AvailableFrom v="3.0.15" />
-_optional_
-
A token that allows the render to be cancelled. See: [`makeCancelSignal()`](/docs/renderer/make-cancel-signal)
### `enforceAudioTrack?`<AvailableFrom v="3.2.1" />
@@ -173,8 +153,6 @@ Render a silent audio track if there wouldn't be any otherwise.
### `x264Preset?`
-_string - optional_
-
<Options id="x264-preset" />
### `colorSpace?`<AvailableFrom v="4.0.28"/>
@@ -183,8 +161,6 @@ _string - optional_
### `ffmpegOverride?`<AvailableFrom v="3.2.22" />
-_function - optional_
-
Modifies the FFMPEG command that Remotion uses under the hood. It works reducer-style, meaning that you pass a function that takes a command as an argument and returns a new command.
```tsx twoslash
@@ -215,13 +191,13 @@ Before you use this hack, reach out to the Remotion team on [Discord](https://re
### ~~`ffmpegExecutable`~~
-_removed in v4.0, optional_
+_removed in v4.0_
A custom FFMPEG executable to be used. By default, a binary called `ffmpeg` will be searched in your `PATH`.
### ~~`ffprobeExecutable?`~~ <AvailableFrom v="3.0.17" />
-_removed in v4.0, optional_
+_removed in v4.0_
An absolute path overriding the `ffprobe` executable to use.