Skip to content

🎥 Make videos programmatically with React

Docs: Improve `installWhisperCpp()` instructions

Jonny Burger77ca355f12ba
diff --git a/packages/docs/docs/install-whisper-cpp/index.mdx b/packages/docs/docs/install-whisper-cpp/index.mdx
index a1f7189b1f..33599465f6 100644
--- a/packages/docs/docs/install-whisper-cpp/index.mdx
+++ b/packages/docs/docs/install-whisper-cpp/index.mdx
@@ -67,3 +67,7 @@ for (const line of captions) {
## License
MIT
+
+## See also
+
+- [`@remotion/openai-whisper`](/docs/openai-whisper)
diff --git a/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.mdx b/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.mdx
index 6f283f3ba0..438f683606 100644
--- a/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.mdx
+++ b/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.mdx
@@ -19,15 +19,18 @@ const {alreadyExisted} = await installWhisperCpp({
});
```
-On Windows, if the provided version is not in semantic version format (e.g., `1.5.4`), the installation will throw an error. The function expects a precompiled semantic versioned release available for download.
+## Which Whisper.cpp version to select?
-On other platforms, the source is cloned from GitHub and built.
+- Generally, the source is cloned from Whisper.cpp GitHub and built.
+- On Windows, a binary is downloaded. Only semantic version format (e.g. `1.5.4` is supported).
+- On Windows, there are no binaries newer than `1.6.0` available.
+- From `1.7.3` and later, `cmake` is required for Whisper.cpp to be built.
-If you install Whisper.cpp into a folder which is in a Git repository, you should add the folder to the `.gitignore` file.
+## Note this
-If the output folder already exists, the function will not do anything and return `{ alreadyExisted: true }`.
-
-You also need to download a model for Whisper.cpp to work. You can do this with the [`downloadWhisperModel()`](/docs/install-whisper-cpp/download-whisper-model) function.
+- You should add the folder you install Whisper.cpp into to the `.gitignore` file.
+- If the output folder already exists, the function will not do anything and return `{ alreadyExisted: true }`.
+- You also need to download a model for Whisper.cpp to work. You can do this with the [`downloadWhisperModel()`](/docs/install-whisper-cpp/download-whisper-model) function.
## Options
@@ -64,4 +67,5 @@ Whether the folder already existed. If it did, and contains the necessary execut
- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/install-whisper-cpp/src/install-whisper-cpp.ts)
- [`@remotion/install-whisper-cpp`](/docs/install-whisper-cpp)
+- [`@remotion/openai-whisper`](/docs/openai-whisper)
- [`downloadWhisperModel()`](/docs/install-whisper-cpp/download-whisper-model)