Skip to content

🎥 Make videos programmatically with React

new article: video format support

Jonny Burger59fbaf3f52f0
diff --git a/packages/docs/docs/miscellaneous/video-formats.md b/packages/docs/docs/miscellaneous/video-formats.md
new file mode 100644
index 0000000000..52be81127d
--- /dev/null
+++ b/packages/docs/docs/miscellaneous/video-formats.md
@@ -0,0 +1,16 @@
+---
+image: /generated/articles-docs-miscellaneous-video-formats.png
+crumb: "FAQ"
+title: Which video formats does Remotion support?
+sidebar_label: Video formats
+---
+
+Remotion supports a variety of video codecs.
+
+**Output formats**: Videos can be rendered to `H.264` (MP4), `H.265`, (HEVC), `VP8` and `VP9` (WebM), `ProRes` as well as GIFs. See the [Encoding guide](/docs/encoding) for more detail.
+
+**Codecs supported for [`<Video>`](/docs/video):** Remotion uses the default `<video>` tag for playback and therefore inherits codec support from the browser.
+During rendering this means that the Chrome codecs are supported. During [Preview](/docs/terminology#preview) and in the [Player](/docs/terminology#player), the codec support from the browser in which the webpage is hosted in applies.
+Codec support varies between browsers and changes from time to time. Refer to this [MDN article](https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs) for browser support.
+
+**Codecs supported for [`<OffthreadVideo>`](/docs/offthreadvideo)**: The same support that applies to `<Video>` applies to `<OffthreadVideo>` as well, however, more codecs can be supported during rendering since FFmpeg is used under the hood to read the video file. We however don't maintain an exact list of supported video codecs.
diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.js
index 984eb32309..0e7ce1071c 100644
--- a/packages/docs/sidebars.js
+++ b/packages/docs/sidebars.js
@@ -517,6 +517,7 @@ module.exports = {
"miscellaneous/typescript-aliases",
"miscellaneous/render-in-browser",
"miscellaneous/changing-temp-dir",
+ "miscellaneous/video-formats",
],
},
{
diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.ts
index 8cd14f16f8..798e944abc 100644
--- a/packages/docs/src/data/articles.ts
+++ b/packages/docs/src/data/articles.ts
@@ -1100,6 +1100,13 @@ export const articles = [
compId: "articles-docs-miscellaneous-ts-aliases",
crumb: "How to",
},
+ {
+ id: "miscellaneous/video-formats",
+ title: "Which video formats does Remotion support?",
+ relativePath: "docs/miscellaneous/video-formats.md",
+ compId: "articles-docs-miscellaneous-video-formats",
+ crumb: "FAQ",
+ },
{
id: "motion-blur/camera-motion-blur",
title: "<CameraMotionBlur>",
diff --git a/packages/docs/static/generated/articles-docs-miscellaneous-video-formats.png b/packages/docs/static/generated/articles-docs-miscellaneous-video-formats.png
new file mode 100644
index 0000000000..ce39b852cf
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-miscellaneous-video-formats.png differ