Skip to content

🎥 Make videos programmatically with React

v4: document removal of getCanExtractFramesFast()

Jonny Burger87c936e6d4b0
diff --git a/packages/docs/docs/4-0-migration.md b/packages/docs/docs/4-0-migration.md
index 7bec470e79..70ea25ba92 100644
--- a/packages/docs/docs/4-0-migration.md
+++ b/packages/docs/docs/4-0-migration.md
@@ -193,3 +193,11 @@ The `WebpackOverrideFn` type useful for overriding the Webpack config in the con
**How to upgrade:**
If you encoded the path by yourself until now, don't do so anymore to avoid double encoding.
+
+## `getCanExtractFramesFast()` function has been removed
+
+The [`getCanExtractFramesFast()`](/docs/renderer/get-can-extract-frames-fast) function has been removed, since frames can always be extracted fast now using `<OffthreadVideo>`.
+
+**How to upgrade:**
+
+You can now remove your re-encoding logic!
diff --git a/packages/docs/docs/renderer/get-can-extract-frames-fast.md b/packages/docs/docs/renderer/get-can-extract-frames-fast.md
index fd35f1b102..804dc9a809 100644
--- a/packages/docs/docs/renderer/get-can-extract-frames-fast.md
+++ b/packages/docs/docs/renderer/get-can-extract-frames-fast.md
@@ -5,7 +5,11 @@ id: get-can-extract-frames-fast
crumb: "@remotion/renderer"
---
-_Available since v3.3.2 - Part of the `@remotion/renderer` package._
+:::warning
+From v4.0 on, frames can always be extracted fast and therefore the function has been removed. The information in this document only applies to older versions of Remotion and is preserved for people who are still using them.
+:::
+
+_Available since v3.3.2, removed in v4.0 - Part of the `@remotion/renderer` package._
Probes whether frames of a video can be efficiently extracted when using [`<OffthreadVideo>`](/docs/offthreadvideo).
diff --git a/packages/docs/docs/slow-method-to-extract-frame.md b/packages/docs/docs/slow-method-to-extract-frame.md
index 4643e737de..035185740b 100644
--- a/packages/docs/docs/slow-method-to-extract-frame.md
+++ b/packages/docs/docs/slow-method-to-extract-frame.md
@@ -5,6 +5,10 @@ title: "Slow method to extract frame"
crumb: "Troubleshooting"
---
+:::warning
+From v4.0 on, this warning does not appear anymore and video frame extraction should always be fast. The information in this document only applies to older versions of Remotion and is preserved for people who are still using them.
+:::
+
When using the [`<OffthreadVideo>`](/docs/offthreadvideo) component, the following warning message may appear:
```