@remotion/install-whisper-cpp 4.0.142 → 4.0.144
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Remotion License
|
|
2
2
|
|
|
3
|
+
In Remotion 5.0, the license will slightly change. [View the changes here](https://github.com/remotion-dev/remotion/pull/3750).
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
3
7
|
Depending on the type of your legal entity, you are granted permission to use Remotion for your project. Individuals and small companies are allowed to use Remotion to create videos for free (even commercial), while a company license is required for for-profit organizations of a certain size. This two-tier system was designed to ensure funding for this project while still allowing the source code to be available and the program to be free for most. Read below for the exact terms of use.
|
|
4
8
|
|
|
5
9
|
- [Free license](#free-license)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const
|
|
3
|
+
const bun_test_1 = require("bun:test");
|
|
4
4
|
const convert_to_captions_1 = require("../convert-to-captions");
|
|
5
5
|
const example_payload_1 = require("./example-payload");
|
|
6
|
-
(0,
|
|
6
|
+
(0, bun_test_1.test)('Convert to captions - 200ms together', () => {
|
|
7
7
|
const { captions: transcript } = (0, convert_to_captions_1.convertToCaptions)({
|
|
8
8
|
transcription: example_payload_1.examplePayload.transcription,
|
|
9
9
|
combineTokensWithinMilliseconds: 200,
|
|
10
10
|
});
|
|
11
|
-
(0,
|
|
11
|
+
(0, bun_test_1.expect)(transcript).toEqual([
|
|
12
12
|
{ text: 'William', startInSeconds: 0.24 },
|
|
13
13
|
{ text: 'just', startInSeconds: 0.48 },
|
|
14
14
|
{ text: 'hit 100,000', startInSeconds: 0.7 },
|
|
@@ -120,12 +120,12 @@ const example_payload_1 = require("./example-payload");
|
|
|
120
120
|
{ text: 'beeping)', startInSeconds: 63.02 },
|
|
121
121
|
]);
|
|
122
122
|
});
|
|
123
|
-
(0,
|
|
123
|
+
(0, bun_test_1.test)('Convert to captions - 0ms together', () => {
|
|
124
124
|
const { captions: transcript } = (0, convert_to_captions_1.convertToCaptions)({
|
|
125
125
|
transcription: example_payload_1.examplePayload.transcription,
|
|
126
126
|
combineTokensWithinMilliseconds: 0,
|
|
127
127
|
});
|
|
128
|
-
(0,
|
|
128
|
+
(0, bun_test_1.expect)(transcript).toEqual([
|
|
129
129
|
{ text: 'William', startInSeconds: 0.24 },
|
|
130
130
|
{ text: 'just', startInSeconds: 0.48 },
|
|
131
131
|
{ text: 'hit', startInSeconds: 0.7 },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/install-whisper-cpp",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.144",
|
|
4
4
|
"description": "Install helper for Whisper.cpp",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
"eslint-plugin-react": "7.32.2",
|
|
29
29
|
"eslint-plugin-react-hooks": "4.4.0",
|
|
30
30
|
"prettier": "3.2.5",
|
|
31
|
-
"prettier-plugin-organize-imports": "3.2.4"
|
|
32
|
-
"vitest": "0.31.1"
|
|
31
|
+
"prettier-plugin-organize-imports": "3.2.4"
|
|
33
32
|
},
|
|
34
33
|
"keywords": [
|
|
35
34
|
"remotion",
|
|
@@ -44,6 +43,6 @@
|
|
|
44
43
|
"lint": "eslint src --ext ts,tsx",
|
|
45
44
|
"build": "tsc -d",
|
|
46
45
|
"watch": "tsc -w",
|
|
47
|
-
"test": "
|
|
46
|
+
"test": "bun test src"
|
|
48
47
|
}
|
|
49
48
|
}
|