Skip to content

🎥 Make videos programmatically with React

warn about crashing whisper

Patric Salvisberg73831fa4b04c
diff --git a/packages/docs/docs/install-whisper-cpp/convert-to-captions.mdx b/packages/docs/docs/install-whisper-cpp/convert-to-captions.mdx
index 7ad96f4393..d71e4aa906 100644
--- a/packages/docs/docs/install-whisper-cpp/convert-to-captions.mdx
+++ b/packages/docs/docs/install-whisper-cpp/convert-to-captions.mdx
@@ -6,6 +6,11 @@ crumb: "@remotion/install-whisper-cpp"
# convertToCaptions()<AvailableFrom v="4.0.131 "/>
+:::warning
+This API assumes a newer version of whisper.cpp than the stable release to support `tokenLevelTimestamps`. As a downside, this version may crash unexpectedly.
+Use an older version of whisper.cpp (1.0.54 or earlier) if you prefer to use a stable version of Whisper.cpp and forgo `tokenLevelTimeStamps` support.
+:::
+
Opinionated function that converts the output from [`transcribe()`](/docs/install-whisper-cpp/transcribe) into easily digestable captions.
Can also combine words with close timestamps.
Useful for TikTok/Reel-type of videos that animate captions word-by-word.
diff --git a/packages/docs/docs/install-whisper-cpp/transcribe.mdx b/packages/docs/docs/install-whisper-cpp/transcribe.mdx
index 8ea718b39a..4160497f16 100644
--- a/packages/docs/docs/install-whisper-cpp/transcribe.mdx
+++ b/packages/docs/docs/install-whisper-cpp/transcribe.mdx
@@ -6,6 +6,11 @@ crumb: "@remotion/install-whisper-cpp"
# transcribe()<AvailableFrom v="4.0.131 "/>
+:::warning
+This API assumes a newer version of whisper.cpp than the stable release to support `tokenLevelTimestamps`. As a downside, this version may crash unexpectedly.
+Use an older version of whisper.cpp (1.0.54 or earlier) if you prefer to use a stable version of Whisper.cpp and forgo `tokenLevelTimeStamps` support.
+:::
+
Transcribes a media file by utilizing Whisper.cpp.
You should first install Whisper.cpp, for example through [`installWhisperCpp()`](/docs/install-whisper-cpp/install-whisper-cpp).