Skip to content

🎥 Make videos programmatically with React

new `@remotion/openai-whisper` package

Jonny Burger9ded25a2f32e
diff --git a/packages/STATS.md b/packages/STATS.md
index 2bb36b4568..7f10085195 100644
--- a/packages/STATS.md
+++ b/packages/STATS.md
@@ -30,6 +30,7 @@ Monthly downloads of Remotion packages
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/media-utils.svg?style=flat&color=black&label=@remotion/media-utils)](https://npmcharts.com/compare/@remotion/media-utils?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/motion-blur.svg?style=flat&color=black&label=@remotion/motion-blur)](https://npmcharts.com/compare/@remotion/motion-blur?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/noise.svg?style=flat&color=black&label=@remotion/noise)](https://npmcharts.com/compare/@remotion/noise?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/openai-whisper.svg?style=flat&color=black&label=@remotion/openai-whisper)](https://npmcharts.com/compare/@remotion/openai-whisper?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/paths.svg?style=flat&color=black&label=@remotion/paths)](https://npmcharts.com/compare/@remotion/paths?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/player.svg?style=flat&color=black&label=@remotion/player)](https://npmcharts.com/compare/@remotion/player?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/preload.svg?style=flat&color=black&label=@remotion/preload)](https://npmcharts.com/compare/@remotion/preload?minimal=true)
diff --git a/packages/cli/src/list-of-remotion-packages.ts b/packages/cli/src/list-of-remotion-packages.ts
index e2815d03e3..c965e18413 100644
--- a/packages/cli/src/list-of-remotion-packages.ts
+++ b/packages/cli/src/list-of-remotion-packages.ts
@@ -31,8 +31,8 @@ export const listOfRemotionPackages = [
'@remotion/tailwind',
'@remotion/transitions',
'@remotion/install-whisper-cpp',
- '@remotion/captions',
'@remotion/openai-whisper',
+ '@remotion/captions',
'@remotion/animation-utils',
'@remotion/animated-emoji',
'@remotion/media-parser',
diff --git a/packages/lambda-php/.phpunit.result.cache b/packages/lambda-php/.phpunit.result.cache
index b950d26012..bfebc2dc26 100644
--- a/packages/lambda-php/.phpunit.result.cache
+++ b/packages/lambda-php/.phpunit.result.cache
@@ -1 +1 @@
-{"version":1,"defects":{"Remotion\\LambdaPhp\\Tests\\PHPClientTest::testClient":5},"times":{"Remotion\\LambdaPhp\\Tests\\PHPClientTest::testClient":0.037,"Remotion\\LambdaPhp\\Tests\\PHPRenderProgressTest::testClient":0.017}}
\ No newline at end of file
+{"version":1,"defects":{"Remotion\\LambdaPhp\\Tests\\PHPClientTest::testClient":5},"times":{"Remotion\\LambdaPhp\\Tests\\PHPClientTest::testClient":0.037,"Remotion\\LambdaPhp\\Tests\\PHPRenderProgressTest::testClient":0.02}}
\ No newline at end of file
diff --git a/packages/openai-whisper/README.md b/packages/openai-whisper/README.md
new file mode 100644
index 0000000000..7483705f37
--- /dev/null
+++ b/packages/openai-whisper/README.md
@@ -0,0 +1,18 @@
+# @remotion/openai-whisper
+
+Work with the output of the OpenAI Whisper API
+
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/openai-whisper.svg?style=flat&color=black&label=Downloads)](https://npmcharts.com/compare/@remotion/openai-whisper?minimal=true)
+
+## Installation
+
+```bash
+npm install @remotion/openai-whisper --save-exact
+```
+
+When installing a Remotion package, make sure to align the version of all `remotion` and `@remotion/*` packages to the same version.
+Remove the `^` character from the version number to use the exact version.
+
+## Usage
+
+See the [documentation](https://www.remotion.dev/docs/openai-whisper) for more information.
diff --git a/packages/openai-whisper/package.json b/packages/openai-whisper/package.json
index bbbb92f623..a55e937316 100644
--- a/packages/openai-whisper/package.json
+++ b/packages/openai-whisper/package.json
@@ -4,7 +4,7 @@
},
"name": "@remotion/openai-whisper",
"version": "4.0.216",
- "description": "",
+ "description": "Work with the output of the OpenAI Whisper API",
"main": "dist/index.js",
"sideEffects": false,
"bugs": {
@@ -33,5 +33,5 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://www.remotion.dev/docs/openai-captions"
+ "homepage": "https://www.remotion.dev/docs/openai-whisper"
}
diff --git a/packages/studio-shared/src/package-info.ts b/packages/studio-shared/src/package-info.ts
index 2c6e9fca31..1981134d7d 100644
--- a/packages/studio-shared/src/package-info.ts
+++ b/packages/studio-shared/src/package-info.ts
@@ -63,6 +63,7 @@ export const packages = [
'webcodecs',
'convert',
'captions',
+ 'openai-whisper',
] as const;
export type Pkgs = (typeof packages)[number];
@@ -135,6 +136,7 @@ export const descriptions: {[key in Pkgs]: string | null} = {
webcodecs: 'Media conversion in the browser',
convert: 'Video conversion tool - convert.remotion.dev',
captions: 'Primitives for dealing with captions',
+ 'openai-whisper': 'Work with the output of the OpenAI Whisper API',
};
export const apiDocs: {[key in Pkgs]: string | null} = {
@@ -204,4 +206,5 @@ export const apiDocs: {[key in Pkgs]: string | null} = {
webcodecs: null,
convert: 'https://convert.remotion.dev',
captions: 'https://remotion.dev/docs/captions',
+ 'openai-whisper': 'https://www.remotion.dev/docs/openai-whisper',
};