Skip to content

🎥 Make videos programmatically with React

install whisper cpp 1.5.5

Jonny Burger072235a17d81
diff --git a/packages/docs/docs/install-whisper-cpp/index.mdx b/packages/docs/docs/install-whisper-cpp/index.mdx
index e355a79396..85f1cd1621 100644
--- a/packages/docs/docs/install-whisper-cpp/index.mdx
+++ b/packages/docs/docs/install-whisper-cpp/index.mdx
@@ -15,7 +15,7 @@ import { TableOfContents } from "../../components/TableOfContents/install-whispe
## Example usage
-Install Whisper at commit `48a145` (a ref that we find works well and supports token-level timestamps) and the `base.en` model to the `whisper.cpp` folder.
+Install Whisper `1.5.5` (the latest version at the time of writing that we find works well and supports token-level timestamps) and the `medium.en` model to the `whisper.cpp` folder.
```tsx twoslash title="install-whisper.cpp"
// @module: esnext
@@ -32,7 +32,7 @@ const to = path.join(process.cwd(), "whisper.cpp");
await installWhisperCpp({
to,
- version: "48a145", // Commit after 1.5.4 that supports token-level timestamps
+ version: "1.5.5",
});
await downloadWhisperModel({
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 f81fef6e47..b1098f9fd3 100644
--- a/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.mdx
+++ b/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.mdx
@@ -17,11 +17,11 @@ import { installWhisperCpp } from "@remotion/install-whisper-cpp";
const { alreadyExisted } = await installWhisperCpp({
to: path.join(process.cwd(), "whisper.cpp"),
- version: "48a145", // A Whisper.cpp commit hash or release tag
+ version: "1.5.5", // A Whisper.cpp semver or git tag
});
```
-On Windows, a binary is downloaded.
+On Windows, a binary is downloaded if there is a precompiled release for this version, otherwise it will fail.
On other platforms, the source is cloned from GitHub and built.
If you install Whisper.cpp into a folder which is in a Git repository, you should add the folder to the `.gitignore` file.
diff --git a/packages/it-tests/download-whisper.mjs b/packages/it-tests/download-whisper.mjs
index a2f0ea13db..ea9fbb05bd 100644
--- a/packages/it-tests/download-whisper.mjs
+++ b/packages/it-tests/download-whisper.mjs
@@ -8,7 +8,7 @@ const to = path.join(process.cwd(), "whisper.cpp");
await installWhisperCpp({
to,
- version: "48a145",
+ version: "1.5.5",
});
await downloadWhisperModel({