@remotion/webcodecs 4.0.243 → 4.0.245

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
@@ -11,7 +11,7 @@ Depending on the type of your legal entity, you are granted permission to use Re
11
11
 
12
12
  ## Free license
13
13
 
14
- Copyright © 2024 [Remotion](https://www.remotion.dev)
14
+ Copyright © 2025 [Remotion](https://www.remotion.dev)
15
15
 
16
16
  ### Eligibility
17
17
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2024 Remotion AG
2
+ * Copyright (c) 2025 Remotion AG
3
3
  * For licensing, see: https://remotion.dev/docs/webcodecs#license
4
4
  */
5
5
  import type { LogLevel, Options, ParseMediaDynamicOptions, ParseMediaFields, ParseMediaOptions, VideoTrack, WriterInterface } from '@remotion/media-parser';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright (c) 2024 Remotion AG
3
+ * Copyright (c) 2025 Remotion AG
4
4
  * For licensing, see: https://remotion.dev/docs/webcodecs#license
5
5
  */
6
6
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1417,7 +1417,7 @@ var createVideoDecoder = ({
1417
1417
  await ioSynchronizer.waitFor({
1418
1418
  unemitted: 20,
1419
1419
  unprocessed: 2,
1420
- minimumProgress: sample.timestamp - 5000000,
1420
+ minimumProgress: sample.timestamp - 1e7,
1421
1421
  signal
1422
1422
  });
1423
1423
  if (sample.type === "key") {
@@ -1510,7 +1510,7 @@ var createVideoEncoder = ({
1510
1510
  await ioSynchronizer.waitFor({
1511
1511
  unemitted: 10,
1512
1512
  unprocessed: 10,
1513
- minimumProgress: frame.timestamp - 5000000,
1513
+ minimumProgress: frame.timestamp - 1e7,
1514
1514
  signal
1515
1515
  });
1516
1516
  if (encoder.state === "closed") {
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -64,7 +64,7 @@ const createVideoDecoder = ({ onFrame, onError, signal, config, logLevel, progre
64
64
  await ioSynchronizer.waitFor({
65
65
  unemitted: 20,
66
66
  unprocessed: 2,
67
- minimumProgress: sample.timestamp - 5000000,
67
+ minimumProgress: sample.timestamp - 10000000,
68
68
  signal,
69
69
  });
70
70
  if (sample.type === 'key') {
@@ -62,7 +62,7 @@ const createVideoEncoder = ({ onChunk, onError, signal, config, logLevel, output
62
62
  // Firefox stalls if too few frames are passed
63
63
  unemitted: 10,
64
64
  unprocessed: 10,
65
- minimumProgress: frame.timestamp - 5000000,
65
+ minimumProgress: frame.timestamp - 10000000,
66
66
  signal,
67
67
  });
68
68
  // @ts-expect-error - can have changed in the meanwhile
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/webcodecs",
3
- "version": "4.0.243",
3
+ "version": "4.0.245",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/esm/index.mjs",
@@ -17,15 +17,15 @@
17
17
  "author": "Jonny Burger <jonny@remotion.dev>",
18
18
  "license": "Remotion License (See https://remotion.dev/docs/webcodecs#license)",
19
19
  "dependencies": {
20
- "@remotion/media-parser": "4.0.243",
21
- "@remotion/licensing": "4.0.243"
20
+ "@remotion/media-parser": "4.0.245",
21
+ "@remotion/licensing": "4.0.245"
22
22
  },
23
23
  "peerDependencies": {},
24
24
  "devDependencies": {
25
25
  "@types/dom-webcodecs": "0.1.11",
26
26
  "eslint": "9.14.0",
27
- "@remotion/example-videos": "4.0.243",
28
- "@remotion/eslint-config-internal": "4.0.243"
27
+ "@remotion/eslint-config-internal": "4.0.245",
28
+ "@remotion/example-videos": "4.0.245"
29
29
  },
30
30
  "keywords": [],
31
31
  "publishConfig": {