@remotion/webcodecs 4.0.242 → 4.0.243
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/dist/convert-media.js +1 -1
- package/dist/esm/index.mjs +2 -2
- package/dist/on-video-track.js +1 -1
- package/package.json +5 -5
package/dist/convert-media.js
CHANGED
|
@@ -156,7 +156,7 @@ const convertMedia = async function ({ src, onVideoFrame, onProgress: onProgress
|
|
|
156
156
|
})
|
|
157
157
|
.catch((err) => {
|
|
158
158
|
(0, send_telemetry_event_1.sendUsageEvent)({ succeeded: false, apiKey: apiKey !== null && apiKey !== void 0 ? apiKey : null }).catch((err2) => {
|
|
159
|
-
log_1.Log.error('Failed to send usage event
|
|
159
|
+
log_1.Log.error('Failed to send usage event', err2);
|
|
160
160
|
});
|
|
161
161
|
reject(err);
|
|
162
162
|
})
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1580,7 +1580,7 @@ var makeVideoTrackHandler = ({
|
|
|
1580
1580
|
return null;
|
|
1581
1581
|
}
|
|
1582
1582
|
if (videoOperation.type === "fail") {
|
|
1583
|
-
throw new error_cause_default(`Video track with ID ${track.trackId}
|
|
1583
|
+
throw new error_cause_default(`Video track with ID ${track.trackId} resolved with {"type": "fail"}. This could mean that this video track could neither be copied to the output container or re-encoded. You have the option to drop the track instead of failing it: https://remotion.dev/docs/webcodecs/track-transformation`);
|
|
1584
1584
|
}
|
|
1585
1585
|
if (videoOperation.type === "copy") {
|
|
1586
1586
|
Log.verbose(logLevel, `Copying video track with codec ${track.codec} and timescale ${track.timescale}`);
|
|
@@ -1940,7 +1940,7 @@ var convertMedia = async function({
|
|
|
1940
1940
|
});
|
|
1941
1941
|
}).catch((err) => {
|
|
1942
1942
|
sendUsageEvent({ succeeded: false, apiKey: apiKey ?? null }).catch((err2) => {
|
|
1943
|
-
Log.error("Failed to send usage event
|
|
1943
|
+
Log.error("Failed to send usage event", err2);
|
|
1944
1944
|
});
|
|
1945
1945
|
reject(err);
|
|
1946
1946
|
}).finally(() => {
|
package/dist/on-video-track.js
CHANGED
|
@@ -43,7 +43,7 @@ const makeVideoTrackHandler = ({ state, onVideoFrame, onMediaStateUpdate, abortC
|
|
|
43
43
|
return null;
|
|
44
44
|
}
|
|
45
45
|
if (videoOperation.type === 'fail') {
|
|
46
|
-
throw new error_cause_1.default(`Video track with ID ${track.trackId}
|
|
46
|
+
throw new error_cause_1.default(`Video track with ID ${track.trackId} resolved with {"type": "fail"}. This could mean that this video track could neither be copied to the output container or re-encoded. You have the option to drop the track instead of failing it: https://remotion.dev/docs/webcodecs/track-transformation`);
|
|
47
47
|
}
|
|
48
48
|
if (videoOperation.type === 'copy') {
|
|
49
49
|
log_1.Log.verbose(logLevel, `Copying video track with codec ${track.codec} and timescale ${track.timescale}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/webcodecs",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.243",
|
|
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/
|
|
21
|
-
"@remotion/
|
|
20
|
+
"@remotion/media-parser": "4.0.243",
|
|
21
|
+
"@remotion/licensing": "4.0.243"
|
|
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.
|
|
28
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
27
|
+
"@remotion/example-videos": "4.0.243",
|
|
28
|
+
"@remotion/eslint-config-internal": "4.0.243"
|
|
29
29
|
},
|
|
30
30
|
"keywords": [],
|
|
31
31
|
"publishConfig": {
|