Skip to content

🎥 Make videos programmatically with React

Update can-copy-video-track.mdx

Jonny Burger713736418e4f
diff --git a/packages/docs/docs/webcodecs/can-copy-video-track.mdx b/packages/docs/docs/webcodecs/can-copy-video-track.mdx
index cf1917ba4c..fe4ed9c8f5 100644
--- a/packages/docs/docs/webcodecs/can-copy-video-track.mdx
+++ b/packages/docs/docs/webcodecs/can-copy-video-track.mdx
@@ -78,17 +78,11 @@ await convertMedia({
## API
-### `inputCodec`
+### `inputTrack`
-_string_ <TsType type="MediaParserVideoCodec" source="@remotion/media-parser" />
+_string_ <TsType type="VideoTrack" source="@remotion/media-parser" />
-The codec of the input video track.
-
-### `inputRotation`
-
-_number_
-
-The number of degrees the input video track is rotated.
+The input video track.
### `rotationToApply`
@@ -108,6 +102,12 @@ _string_ <TsType type="ConvertMediaContainer" source="@remotion/webcodecs" />
The container format of the output media.
+### `resizeOperation`
+
+_string_ <TsType type="ResizeOperation" source="@remotion/webcodecs" />
+
+The [resize operation](/docs/webcodecs/resize-a-video) to apply to the video track.
+
## Rotation behavior
Any `rotationToApply` is in addition to an auto-rotation that is applied by default to fix the orientation of the video track.