@remotion/install-whisper-cpp 4.0.277 → 4.0.279

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.
@@ -5,7 +5,7 @@ const bun_test_1 = require("bun:test");
5
5
  const convert_to_captions_1 = require("../convert-to-captions");
6
6
  const to_captions_1 = require("../to-captions");
7
7
  const example_payload_1 = require("./example-payload");
8
- (0, bun_test_1.test)('Convert to captions - 200ms together', () => {
8
+ (0, bun_test_1.test)('Convert to captions - 200ms together', async () => {
9
9
  const { captions } = (0, to_captions_1.toCaptions)({
10
10
  whisperCppOutput: example_payload_1.examplePayload,
11
11
  });
@@ -18,11 +18,13 @@ const example_payload_1 = require("./example-payload");
18
18
  text: 'William',
19
19
  startMs: 40,
20
20
  tokens: [{ text: 'William', fromMs: 40, toMs: 420 }],
21
+ durationMs: 380,
21
22
  },
22
23
  {
23
24
  text: 'just',
24
25
  startMs: 420,
25
26
  tokens: [{ text: 'just', fromMs: 420, toMs: 650 }],
27
+ durationMs: 230,
26
28
  },
27
29
  {
28
30
  text: 'hit 100,000',
@@ -33,16 +35,19 @@ const example_payload_1 = require("./example-payload");
33
35
  { text: ',', fromMs: 1330, toMs: 1440 },
34
36
  { text: '000', fromMs: 1440, toMs: 1950 },
35
37
  ],
38
+ durationMs: 1300,
36
39
  },
37
40
  {
38
41
  text: 'YouTube',
39
42
  startMs: 1950,
40
43
  tokens: [{ text: 'YouTube', fromMs: 1950, toMs: 2370 }],
44
+ durationMs: 420,
41
45
  },
42
46
  {
43
47
  text: 'subscribers',
44
48
  startMs: 2370,
45
49
  tokens: [{ text: 'subscribers', fromMs: 2370, toMs: 3060 }],
50
+ durationMs: 690,
46
51
  },
47
52
  {
48
53
  text: 'And we',
@@ -51,6 +56,7 @@ const example_payload_1 = require("./example-payload");
51
56
  { text: 'And', fromMs: 3060, toMs: 3190 },
52
57
  { text: ' we', fromMs: 3190, toMs: 3280 },
53
58
  ],
59
+ durationMs: 220,
54
60
  },
55
61
  {
56
62
  text: 'are going',
@@ -59,6 +65,7 @@ const example_payload_1 = require("./example-payload");
59
65
  { text: 'are', fromMs: 3280, toMs: 3410 },
60
66
  { text: ' going', fromMs: 3410, toMs: 3630 },
61
67
  ],
68
+ durationMs: 350,
62
69
  },
63
70
  {
64
71
  text: 'to celebrate',
@@ -67,11 +74,13 @@ const example_payload_1 = require("./example-payload");
67
74
  { text: 'to', fromMs: 3630, toMs: 3710 },
68
75
  { text: ' celebrate', fromMs: 3710, toMs: 4130 },
69
76
  ],
77
+ durationMs: 500,
70
78
  },
71
79
  {
72
80
  text: 'that',
73
81
  startMs: 4130,
74
82
  tokens: [{ text: 'that', fromMs: 4130, toMs: 4340 }],
83
+ durationMs: 210,
75
84
  },
76
85
  {
77
86
  text: 'We thought',
@@ -80,11 +89,13 @@ const example_payload_1 = require("./example-payload");
80
89
  { text: 'We', fromMs: 4340, toMs: 4500 },
81
90
  { text: ' thought', fromMs: 4500, toMs: 5140 },
82
91
  ],
92
+ durationMs: 800,
83
93
  },
84
94
  {
85
95
  text: 'about',
86
96
  startMs: 5140,
87
97
  tokens: [{ text: 'about', fromMs: 5140, toMs: 5480 }],
98
+ durationMs: 340,
88
99
  },
89
100
  {
90
101
  text: 'to bake',
@@ -93,6 +104,7 @@ const example_payload_1 = require("./example-payload");
93
104
  { text: 'to', fromMs: 5480, toMs: 5660 },
94
105
  { text: ' bake', fromMs: 5660, toMs: 5980 },
95
106
  ],
107
+ durationMs: 500,
96
108
  },
97
109
  {
98
110
  text: 'a cake',
@@ -101,6 +113,7 @@ const example_payload_1 = require("./example-payload");
101
113
  { text: 'a', fromMs: 5980, toMs: 6080 },
102
114
  { text: ' cake', fromMs: 6080, toMs: 6400 },
103
115
  ],
116
+ durationMs: 420,
104
117
  },
105
118
  {
106
119
  text: 'We found',
@@ -109,11 +122,13 @@ const example_payload_1 = require("./example-payload");
109
122
  { text: 'We', fromMs: 6400, toMs: 6540 },
110
123
  { text: ' found', fromMs: 6540, toMs: 6900 },
111
124
  ],
125
+ durationMs: 500,
112
126
  },
113
127
  {
114
128
  text: 'this',
115
129
  startMs: 6900,
116
130
  tokens: [{ text: 'this', fromMs: 6900, toMs: 7200 }],
131
+ durationMs: 300,
117
132
  },
118
133
  {
119
134
  text: 'and it',
@@ -122,11 +137,13 @@ const example_payload_1 = require("./example-payload");
122
137
  { text: 'and', fromMs: 7200, toMs: 7390 },
123
138
  { text: ' it', fromMs: 7390, toMs: 7510 },
124
139
  ],
140
+ durationMs: 310,
125
141
  },
126
142
  {
127
143
  text: 'reminded',
128
144
  startMs: 7510,
129
145
  tokens: [{ text: 'reminded', fromMs: 7510, toMs: 8030 }],
146
+ durationMs: 520,
130
147
  },
131
148
  {
132
149
  text: 'us of',
@@ -135,11 +152,13 @@ const example_payload_1 = require("./example-payload");
135
152
  { text: 'us', fromMs: 8030, toMs: 8170 },
136
153
  { text: ' of', fromMs: 8170, toMs: 8260 },
137
154
  ],
155
+ durationMs: 230,
138
156
  },
139
157
  {
140
158
  text: 'William',
141
159
  startMs: 8260,
142
160
  tokens: [{ text: 'William', fromMs: 8260, toMs: 8740 }],
161
+ durationMs: 480,
143
162
  },
144
163
  {
145
164
  text: 'We hope',
@@ -148,6 +167,7 @@ const example_payload_1 = require("./example-payload");
148
167
  { text: 'We', fromMs: 8740, toMs: 8850 },
149
168
  { text: ' hope', fromMs: 8850, toMs: 9080 },
150
169
  ],
170
+ durationMs: 340,
151
171
  },
152
172
  {
153
173
  text: 'he will',
@@ -156,11 +176,13 @@ const example_payload_1 = require("./example-payload");
156
176
  { text: 'he', fromMs: 9080, toMs: 9190 },
157
177
  { text: ' will', fromMs: 9190, toMs: 9420 },
158
178
  ],
179
+ durationMs: 340,
159
180
  },
160
181
  {
161
182
  text: 'like',
162
183
  startMs: 9420,
163
184
  tokens: [{ text: 'like', fromMs: 9420, toMs: 9650 }],
185
+ durationMs: 230,
164
186
  },
165
187
  {
166
188
  text: 'the cake',
@@ -169,6 +191,7 @@ const example_payload_1 = require("./example-payload");
169
191
  { text: 'the', fromMs: 9650, toMs: 9820 },
170
192
  { text: ' cake', fromMs: 9820, toMs: 10100 },
171
193
  ],
194
+ durationMs: 450,
172
195
  },
173
196
  {
174
197
  text: "Let's start",
@@ -178,6 +201,7 @@ const example_payload_1 = require("./example-payload");
178
201
  { text: "'s", fromMs: 10220, toMs: 10300 },
179
202
  { text: ' start', fromMs: 10300, toMs: 10570 },
180
203
  ],
204
+ durationMs: 470,
181
205
  },
182
206
  {
183
207
  text: 'with the',
@@ -186,11 +210,13 @@ const example_payload_1 = require("./example-payload");
186
210
  { text: 'with', fromMs: 10570, toMs: 10700 },
187
211
  { text: ' the', fromMs: 10700, toMs: 10780 },
188
212
  ],
213
+ durationMs: 210,
189
214
  },
190
215
  {
191
216
  text: 'dough',
192
217
  startMs: 10780,
193
218
  tokens: [{ text: 'dough', fromMs: 10780, toMs: 11000 }],
219
+ durationMs: 220,
194
220
  },
195
221
  {
196
222
  text: 'By putting',
@@ -199,31 +225,37 @@ const example_payload_1 = require("./example-payload");
199
225
  { text: 'By', fromMs: 11000, toMs: 11120 },
200
226
  { text: ' putting', fromMs: 11120, toMs: 11550 },
201
227
  ],
228
+ durationMs: 550,
202
229
  },
203
230
  {
204
231
  text: 'some',
205
232
  startMs: 11550,
206
233
  tokens: [{ text: 'some', fromMs: 11550, toMs: 11790 }],
234
+ durationMs: 240,
207
235
  },
208
236
  {
209
237
  text: 'butter',
210
238
  startMs: 11790,
211
239
  tokens: [{ text: 'butter', fromMs: 11790, toMs: 12180 }],
240
+ durationMs: 390,
212
241
  },
213
242
  {
214
243
  text: 'Some',
215
244
  startMs: 12180,
216
245
  tokens: [{ text: 'Some', fromMs: 12180, toMs: 12750 }],
246
+ durationMs: 570,
217
247
  },
218
248
  {
219
249
  text: 'sugar',
220
250
  startMs: 12750,
221
251
  tokens: [{ text: 'sugar', fromMs: 12750, toMs: 13380 }],
252
+ durationMs: 630,
222
253
  },
223
254
  {
224
255
  text: 'Eggs',
225
256
  startMs: 13380,
226
257
  tokens: [{ text: 'Eggs', fromMs: 13380, toMs: 14580 }],
258
+ durationMs: 1200,
227
259
  },
228
260
  {
229
261
  text: 'No frameworks,',
@@ -233,16 +265,19 @@ const example_payload_1 = require("./example-payload");
233
265
  { text: ' frameworks', fromMs: 14720, toMs: 15440 },
234
266
  { text: ',', fromMs: 15440, toMs: 15550 },
235
267
  ],
268
+ durationMs: 970,
236
269
  },
237
270
  {
238
271
  text: 'just',
239
272
  startMs: 15550,
240
273
  tokens: [{ text: 'just', fromMs: 15550, toMs: 15790 }],
274
+ durationMs: 240,
241
275
  },
242
276
  {
243
277
  text: 'vanilla',
244
278
  startMs: 15790,
245
279
  tokens: [{ text: 'vanilla', fromMs: 15790, toMs: 16220 }],
280
+ durationMs: 430,
246
281
  },
247
282
  {
248
283
  text: 'Pinch',
@@ -251,6 +286,7 @@ const example_payload_1 = require("./example-payload");
251
286
  { text: 'P', fromMs: 16220, toMs: 16300 },
252
287
  { text: 'inch', fromMs: 16300, toMs: 16640 },
253
288
  ],
289
+ durationMs: 420,
254
290
  },
255
291
  {
256
292
  text: 'of salt',
@@ -259,11 +295,13 @@ const example_payload_1 = require("./example-payload");
259
295
  { text: 'of', fromMs: 16640, toMs: 16810 },
260
296
  { text: ' salt', fromMs: 16810, toMs: 17180 },
261
297
  ],
298
+ durationMs: 540,
262
299
  },
263
300
  {
264
301
  text: 'Some',
265
302
  startMs: 17180,
266
303
  tokens: [{ text: 'Some', fromMs: 17180, toMs: 17480 }],
304
+ durationMs: 300,
267
305
  },
268
306
  {
269
307
  text: 'Nutella',
@@ -272,16 +310,19 @@ const example_payload_1 = require("./example-payload");
272
310
  { text: 'Nut', fromMs: 17480, toMs: 17700 },
273
311
  { text: 'ella', fromMs: 17700, toMs: 18020 },
274
312
  ],
313
+ durationMs: 540,
275
314
  },
276
315
  {
277
316
  text: 'Some',
278
317
  startMs: 18020,
279
318
  tokens: [{ text: 'Some', fromMs: 18020, toMs: 18280 }],
319
+ durationMs: 260,
280
320
  },
281
321
  {
282
322
  text: 'chocolate',
283
323
  startMs: 18280,
284
324
  tokens: [{ text: 'chocolate', fromMs: 18280, toMs: 18880 }],
325
+ durationMs: 600,
285
326
  },
286
327
  {
287
328
  text: 'Baking',
@@ -290,31 +331,37 @@ const example_payload_1 = require("./example-payload");
290
331
  { text: 'B', fromMs: 18880, toMs: 18980 },
291
332
  { text: 'aking', fromMs: 18980, toMs: 19420 },
292
333
  ],
334
+ durationMs: 540,
293
335
  },
294
336
  {
295
337
  text: 'powder',
296
338
  startMs: 19420,
297
339
  tokens: [{ text: 'powder', fromMs: 19420, toMs: 19980 }],
340
+ durationMs: 560,
298
341
  },
299
342
  {
300
343
  text: 'And',
301
344
  startMs: 19980,
302
345
  tokens: [{ text: 'And', fromMs: 19980, toMs: 20500 }],
346
+ durationMs: 520,
303
347
  },
304
348
  {
305
349
  text: 'flour',
306
350
  startMs: 20500,
307
351
  tokens: [{ text: 'flour', fromMs: 20500, toMs: 21380 }],
352
+ durationMs: 880,
308
353
  },
309
354
  {
310
355
  text: 'Just',
311
356
  startMs: 21380,
312
357
  tokens: [{ text: 'Just', fromMs: 21380, toMs: 21690 }],
358
+ durationMs: 310,
313
359
  },
314
360
  {
315
361
  text: 'massage',
316
362
  startMs: 21690,
317
363
  tokens: [{ text: 'massage', fromMs: 21690, toMs: 22120 }],
364
+ durationMs: 430,
318
365
  },
319
366
  {
320
367
  text: 'in the',
@@ -323,11 +370,13 @@ const example_payload_1 = require("./example-payload");
323
370
  { text: 'in', fromMs: 22120, toMs: 22250 },
324
371
  { text: ' the', fromMs: 22250, toMs: 22450 },
325
372
  ],
373
+ durationMs: 330,
326
374
  },
327
375
  {
328
376
  text: 'butter',
329
377
  startMs: 22450,
330
378
  tokens: [{ text: 'butter', fromMs: 22450, toMs: 22880 }],
379
+ durationMs: 430,
331
380
  },
332
381
  {
333
382
  text: 'to give',
@@ -336,6 +385,7 @@ const example_payload_1 = require("./example-payload");
336
385
  { text: 'to', fromMs: 22880, toMs: 23000 },
337
386
  { text: ' give', fromMs: 23000, toMs: 23250 },
338
387
  ],
388
+ durationMs: 370,
339
389
  },
340
390
  {
341
391
  text: 'it the',
@@ -344,21 +394,25 @@ const example_payload_1 = require("./example-payload");
344
394
  { text: 'it', fromMs: 23250, toMs: 23380 },
345
395
  { text: ' the', fromMs: 23380, toMs: 23590 },
346
396
  ],
397
+ durationMs: 340,
347
398
  },
348
399
  {
349
400
  text: 'full',
350
401
  startMs: 23590,
351
402
  tokens: [{ text: 'full', fromMs: 23590, toMs: 23890 }],
403
+ durationMs: 300,
352
404
  },
353
405
  {
354
406
  text: 'treatment',
355
407
  startMs: 23890,
356
408
  tokens: [{ text: 'treatment', fromMs: 23890, toMs: 24380 }],
409
+ durationMs: 490,
357
410
  },
358
411
  {
359
412
  text: 'Fill',
360
413
  startMs: 24380,
361
414
  tokens: [{ text: 'Fill', fromMs: 24380, toMs: 24740 }],
415
+ durationMs: 360,
362
416
  },
363
417
  {
364
418
  text: 'it in',
@@ -367,11 +421,13 @@ const example_payload_1 = require("./example-payload");
367
421
  { text: 'it', fromMs: 24740, toMs: 24920 },
368
422
  { text: ' in', fromMs: 24920, toMs: 25120 },
369
423
  ],
424
+ durationMs: 380,
370
425
  },
371
426
  {
372
427
  text: 'Bake',
373
428
  startMs: 25120,
374
429
  tokens: [{ text: 'Bake', fromMs: 25120, toMs: 25570 }],
430
+ durationMs: 450,
375
431
  },
376
432
  {
377
433
  text: 'it for',
@@ -380,21 +436,25 @@ const example_payload_1 = require("./example-payload");
380
436
  { text: 'it', fromMs: 25570, toMs: 25770 },
381
437
  { text: ' for', fromMs: 25770, toMs: 26060 },
382
438
  ],
439
+ durationMs: 490,
383
440
  },
384
441
  {
385
442
  text: 'half',
386
443
  startMs: 26060,
387
444
  tokens: [{ text: 'half', fromMs: 26060, toMs: 26480 }],
445
+ durationMs: 420,
388
446
  },
389
447
  {
390
448
  text: 'an',
391
449
  startMs: 26480,
392
450
  tokens: [{ text: 'an', fromMs: 26480, toMs: 26690 }],
451
+ durationMs: 210,
393
452
  },
394
453
  {
395
454
  text: 'hour',
396
455
  startMs: 26690,
397
456
  tokens: [{ text: 'hour', fromMs: 26690, toMs: 27110 }],
457
+ durationMs: 420,
398
458
  },
399
459
  {
400
460
  text: 'at 170',
@@ -403,11 +463,13 @@ const example_payload_1 = require("./example-payload");
403
463
  { text: 'at', fromMs: 27110, toMs: 27300 },
404
464
  { text: ' 170', fromMs: 27300, toMs: 28170 },
405
465
  ],
466
+ durationMs: 1060,
406
467
  },
407
468
  {
408
469
  text: 'degrees',
409
470
  startMs: 28170,
410
471
  tokens: [{ text: 'degrees', fromMs: 28170, toMs: 28800 }],
472
+ durationMs: 680,
411
473
  },
412
474
  {
413
475
  text: "It's time",
@@ -417,6 +479,7 @@ const example_payload_1 = require("./example-payload");
417
479
  { text: "'s", fromMs: 28900, toMs: 29000 },
418
480
  { text: ' time', fromMs: 29000, toMs: 29210 },
419
481
  ],
482
+ durationMs: 360,
420
483
  },
421
484
  {
422
485
  text: 'for the',
@@ -425,11 +488,13 @@ const example_payload_1 = require("./example-payload");
425
488
  { text: 'for', fromMs: 29210, toMs: 29400 },
426
489
  { text: ' the', fromMs: 29400, toMs: 29530 },
427
490
  ],
491
+ durationMs: 320,
428
492
  },
429
493
  {
430
494
  text: 'icing',
431
495
  startMs: 29530,
432
496
  tokens: [{ text: 'icing', fromMs: 29530, toMs: 29800 }],
497
+ durationMs: 270,
433
498
  },
434
499
  {
435
500
  text: 'on the',
@@ -438,76 +503,91 @@ const example_payload_1 = require("./example-payload");
438
503
  { text: 'on', fromMs: 29800, toMs: 29900 },
439
504
  { text: ' the', fromMs: 29900, toMs: 30060 },
440
505
  ],
506
+ durationMs: 260,
441
507
  },
442
508
  {
443
509
  text: 'cake',
444
510
  startMs: 30060,
445
511
  tokens: [{ text: 'cake', fromMs: 30060, toMs: 30320 }],
512
+ durationMs: 260,
446
513
  },
447
514
  {
448
515
  text: 'Time',
449
516
  startMs: 30320,
450
517
  tokens: [{ text: 'Time', fromMs: 30320, toMs: 30940 }],
518
+ durationMs: 620,
451
519
  },
452
520
  {
453
521
  text: 'for',
454
522
  startMs: 30940,
455
523
  tokens: [{ text: 'for', fromMs: 30940, toMs: 31410 }],
524
+ durationMs: 470,
456
525
  },
457
526
  {
458
527
  text: 'the',
459
528
  startMs: 31410,
460
529
  tokens: [{ text: 'the', fromMs: 31410, toMs: 31880 }],
530
+ durationMs: 470,
461
531
  },
462
532
  {
463
533
  text: 'most',
464
534
  startMs: 31880,
465
535
  tokens: [{ text: 'most', fromMs: 31880, toMs: 32500 }],
536
+ durationMs: 620,
466
537
  },
467
538
  {
468
539
  text: 'critical',
469
540
  startMs: 32500,
470
541
  tokens: [{ text: 'critical', fromMs: 32500, toMs: 33750 }],
542
+ durationMs: 1250,
471
543
  },
472
544
  {
473
545
  text: 'part',
474
546
  startMs: 33750,
475
547
  tokens: [{ text: 'part', fromMs: 33750, toMs: 34400 }],
548
+ durationMs: 650,
476
549
  },
477
550
  {
478
551
  text: 'This',
479
552
  startMs: 34400,
480
553
  tokens: [{ text: 'This', fromMs: 34400, toMs: 35840 }],
554
+ durationMs: 1440,
481
555
  },
482
556
  {
483
557
  text: 'is',
484
558
  startMs: 35840,
485
559
  tokens: [{ text: 'is', fromMs: 35840, toMs: 36580 }],
560
+ durationMs: 740,
486
561
  },
487
562
  {
488
563
  text: 'how',
489
564
  startMs: 36580,
490
565
  tokens: [{ text: 'how', fromMs: 36580, toMs: 37670 }],
566
+ durationMs: 1090,
491
567
  },
492
568
  {
493
569
  text: 'it',
494
570
  startMs: 37670,
495
571
  tokens: [{ text: 'it', fromMs: 37670, toMs: 38420 }],
572
+ durationMs: 750,
496
573
  },
497
574
  {
498
575
  text: 'turned',
499
576
  startMs: 38420,
500
577
  tokens: [{ text: 'turned', fromMs: 38420, toMs: 40580 }],
578
+ durationMs: 2160,
501
579
  },
502
580
  {
503
581
  text: 'out',
504
582
  startMs: 40580,
505
583
  tokens: [{ text: 'out', fromMs: 40580, toMs: 41700 }],
584
+ durationMs: 1120,
506
585
  },
507
586
  {
508
587
  text: 'Stupid',
509
588
  startMs: 41700,
510
589
  tokens: [{ text: 'Stupid', fromMs: 41700, toMs: 42750 }],
590
+ durationMs: 1050,
511
591
  },
512
592
  {
513
593
  text: 'idea,',
@@ -516,21 +596,25 @@ const example_payload_1 = require("./example-payload");
516
596
  { text: 'idea', fromMs: 42750, toMs: 43440 },
517
597
  { text: ',', fromMs: 43440, toMs: 43590 },
518
598
  ],
599
+ durationMs: 840,
519
600
  },
520
601
  {
521
602
  text: 'pretty',
522
603
  startMs: 43590,
523
604
  tokens: [{ text: 'pretty', fromMs: 43590, toMs: 44070 }],
605
+ durationMs: 480,
524
606
  },
525
607
  {
526
608
  text: 'bad',
527
609
  startMs: 44070,
528
610
  tokens: [{ text: 'bad', fromMs: 44070, toMs: 44310 }],
611
+ durationMs: 240,
529
612
  },
530
613
  {
531
614
  text: 'execution',
532
615
  startMs: 44310,
533
616
  tokens: [{ text: 'execution', fromMs: 44310, toMs: 45040 }],
617
+ durationMs: 730,
534
618
  },
535
619
  {
536
620
  text: 'I hope',
@@ -539,6 +623,7 @@ const example_payload_1 = require("./example-payload");
539
623
  { text: 'I', fromMs: 45040, toMs: 45140 },
540
624
  { text: ' hope', fromMs: 45140, toMs: 45530 },
541
625
  ],
626
+ durationMs: 490,
542
627
  },
543
628
  {
544
629
  text: 'he likes',
@@ -547,6 +632,7 @@ const example_payload_1 = require("./example-payload");
547
632
  { text: 'he', fromMs: 45530, toMs: 45730 },
548
633
  { text: ' likes', fromMs: 45730, toMs: 46220 },
549
634
  ],
635
+ durationMs: 690,
550
636
  },
551
637
  {
552
638
  text: 'it anyway',
@@ -555,16 +641,19 @@ const example_payload_1 = require("./example-payload");
555
641
  { text: 'it', fromMs: 46220, toMs: 46420 },
556
642
  { text: ' anyway', fromMs: 46420, toMs: 47040 },
557
643
  ],
644
+ durationMs: 820,
558
645
  },
559
646
  {
560
647
  text: 'Hey',
561
648
  startMs: 47040,
562
649
  tokens: [{ text: 'Hey', fromMs: 47040, toMs: 48030 }],
650
+ durationMs: 990,
563
651
  },
564
652
  {
565
653
  text: 'William',
566
654
  startMs: 48030,
567
655
  tokens: [{ text: 'William', fromMs: 48030, toMs: 50340 }],
656
+ durationMs: 2310,
568
657
  },
569
658
  {
570
659
  text: 'Congrats',
@@ -573,16 +662,19 @@ const example_payload_1 = require("./example-payload");
573
662
  { text: 'Cong', fromMs: 50340, toMs: 51970 },
574
663
  { text: 'rats', fromMs: 51970, toMs: 53580 },
575
664
  ],
665
+ durationMs: 3240,
576
666
  },
577
667
  {
578
668
  text: 'We',
579
669
  startMs: 53580,
580
670
  tokens: [{ text: 'We', fromMs: 53580, toMs: 53790 }],
671
+ durationMs: 210,
581
672
  },
582
673
  {
583
674
  text: 'wanted',
584
675
  startMs: 53790,
585
676
  tokens: [{ text: 'wanted', fromMs: 53790, toMs: 54440 }],
677
+ durationMs: 650,
586
678
  },
587
679
  {
588
680
  text: 'to congratulate',
@@ -591,21 +683,25 @@ const example_payload_1 = require("./example-payload");
591
683
  { text: 'to', fromMs: 54440, toMs: 54640 },
592
684
  { text: ' congratulate', fromMs: 54640, toMs: 55930 },
593
685
  ],
686
+ durationMs: 1490,
594
687
  },
595
688
  {
596
689
  text: 'you',
597
690
  startMs: 55930,
598
691
  tokens: [{ text: 'you', fromMs: 55930, toMs: 56280 }],
692
+ durationMs: 350,
599
693
  },
600
694
  {
601
695
  text: 'on',
602
696
  startMs: 56280,
603
697
  tokens: [{ text: 'on', fromMs: 56280, toMs: 56520 }],
698
+ durationMs: 240,
604
699
  },
605
700
  {
606
701
  text: 'the',
607
702
  startMs: 56520,
608
703
  tokens: [{ text: 'the', fromMs: 56520, toMs: 56880 }],
704
+ durationMs: 360,
609
705
  },
610
706
  {
611
707
  text: '100,000',
@@ -615,6 +711,7 @@ const example_payload_1 = require("./example-payload");
615
711
  { text: ',', fromMs: 57980, toMs: 58010 },
616
712
  { text: '000', fromMs: 58010, toMs: 58180 },
617
713
  ],
714
+ durationMs: 1810,
618
715
  },
619
716
  {
620
717
  text: 'You hear',
@@ -623,11 +720,13 @@ const example_payload_1 = require("./example-payload");
623
720
  { text: 'You', fromMs: 58690, toMs: 58870 },
624
721
  { text: ' hear', fromMs: 58870, toMs: 59150 },
625
722
  ],
723
+ durationMs: 460,
626
724
  },
627
725
  {
628
726
  text: 'Joseph',
629
727
  startMs: 59150,
630
728
  tokens: [{ text: 'Joseph', fromMs: 59150, toMs: 59570 }],
729
+ durationMs: 420,
631
730
  },
632
731
  {
633
732
  text: 'crying?',
@@ -636,26 +735,31 @@ const example_payload_1 = require("./example-payload");
636
735
  { text: 'crying', fromMs: 59570, toMs: 59990 },
637
736
  { text: '?', fromMs: 59990, toMs: 60220 },
638
737
  ],
738
+ durationMs: 650,
639
739
  },
640
740
  {
641
741
  text: 'Thank',
642
742
  startMs: 60220,
643
743
  tokens: [{ text: 'Thank', fromMs: 60220, toMs: 60820 }],
744
+ durationMs: 600,
644
745
  },
645
746
  {
646
747
  text: 'you',
647
748
  startMs: 60820,
648
749
  tokens: [{ text: 'you', fromMs: 60820, toMs: 61180 }],
750
+ durationMs: 360,
649
751
  },
650
752
  {
651
753
  text: 'so',
652
754
  startMs: 61180,
653
755
  tokens: [{ text: 'so', fromMs: 61180, toMs: 61420 }],
756
+ durationMs: 240,
654
757
  },
655
758
  {
656
759
  text: 'much',
657
760
  startMs: 61420,
658
761
  tokens: [{ text: 'much', fromMs: 61420, toMs: 61920 }],
762
+ durationMs: 500,
659
763
  },
660
764
  {
661
765
  text: '(electronic',
@@ -665,6 +769,7 @@ const example_payload_1 = require("./example-payload");
665
769
  { text: 'elect', fromMs: 62080, toMs: 62880 },
666
770
  { text: 'ronic', fromMs: 62880, toMs: 63680 },
667
771
  ],
772
+ durationMs: 1760,
668
773
  },
669
774
  {
670
775
  text: 'beeping)',
@@ -674,6 +779,7 @@ const example_payload_1 = require("./example-payload");
674
779
  { text: 'eping', fromMs: 63890, toMs: 64800 },
675
780
  { text: ')', fromMs: 64800, toMs: 65000 },
676
781
  ],
782
+ durationMs: 1320,
677
783
  },
678
784
  ]);
679
785
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/install-whisper-cpp"
4
4
  },
5
5
  "name": "@remotion/install-whisper-cpp",
6
- "version": "4.0.277",
6
+ "version": "4.0.279",
7
7
  "description": "Helpers for installing and using Whisper.cpp",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -16,12 +16,12 @@
16
16
  "author": "Jonny Burger <jonny@remotion.dev>",
17
17
  "license": "SEE LICENSE IN LICENSE.md",
18
18
  "dependencies": {
19
- "@remotion/captions": "4.0.277"
19
+ "@remotion/captions": "4.0.279"
20
20
  },
21
21
  "peerDependencies": {},
22
22
  "devDependencies": {
23
23
  "eslint": "9.19.0",
24
- "@remotion/eslint-config-internal": "4.0.277"
24
+ "@remotion/eslint-config-internal": "4.0.279"
25
25
  },
26
26
  "keywords": [
27
27
  "remotion",