@remotion/studio 4.0.382 → 4.0.383
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/components/RenderModal/get-default-codecs.d.ts +1 -1
- package/dist/components/RenderModal/get-default-codecs.js +1 -1
- package/dist/components/Timeline/TimelineVideoInfo.js +1 -0
- package/dist/esm/chunk-3anjm76t.js +51539 -0
- package/dist/esm/chunk-6r3q9nsp.js +51540 -0
- package/dist/esm/chunk-8a278w7c.js +51541 -0
- package/dist/esm/chunk-cg23fvaz.js +51550 -0
- package/dist/esm/chunk-sght4jh2.js +49797 -0
- package/dist/esm/chunk-sktgra5j.js +51549 -0
- package/dist/esm/chunk-ygm7y9ad.js +51550 -0
- package/dist/esm/internals.mjs +3 -1
- package/dist/esm/previewEntry.mjs +3 -1
- package/dist/esm/renderEntry.mjs +1 -1
- package/dist/helpers/extract-frames.js +1 -0
- package/package.json +9 -9
package/dist/esm/internals.mjs
CHANGED
|
@@ -33668,6 +33668,7 @@ async function extractFrames({
|
|
|
33668
33668
|
const sink = new VideoSampleSink(videoTrack);
|
|
33669
33669
|
for await (const videoSample of sink.samplesAtTimestamps(timestamps)) {
|
|
33670
33670
|
if (signal?.aborted) {
|
|
33671
|
+
videoSample?.close();
|
|
33671
33672
|
break;
|
|
33672
33673
|
}
|
|
33673
33674
|
if (!videoSample) {
|
|
@@ -34045,6 +34046,7 @@ var TimelineVideoInfo = ({ src, visualizationWidth, startFrom, durationInFrames
|
|
|
34045
34046
|
segmentDuration: toSeconds - fromSeconds,
|
|
34046
34047
|
fromSeconds
|
|
34047
34048
|
});
|
|
34049
|
+
sample.close();
|
|
34048
34050
|
},
|
|
34049
34051
|
signal: controller.signal
|
|
34050
34052
|
}).then(() => {
|
|
@@ -40345,7 +40347,7 @@ var getDefaultCodecs = ({
|
|
|
40345
40347
|
const isVideoCodecAnAudioCodec = NoReactAPIs2.isAudioCodec(userPreferredVideoCodec);
|
|
40346
40348
|
if (isVideoCodecAnAudioCodec) {
|
|
40347
40349
|
return {
|
|
40348
|
-
initialAudioCodec:
|
|
40350
|
+
initialAudioCodec: null,
|
|
40349
40351
|
initialRenderType: "audio",
|
|
40350
40352
|
initialVideoCodec: userPreferredVideoCodec,
|
|
40351
40353
|
initialVideoCodecForAudioTab: userPreferredVideoCodecForAudioTab,
|
|
@@ -33948,6 +33948,7 @@ async function extractFrames({
|
|
|
33948
33948
|
const sink = new VideoSampleSink(videoTrack);
|
|
33949
33949
|
for await (const videoSample of sink.samplesAtTimestamps(timestamps)) {
|
|
33950
33950
|
if (signal?.aborted) {
|
|
33951
|
+
videoSample?.close();
|
|
33951
33952
|
break;
|
|
33952
33953
|
}
|
|
33953
33954
|
if (!videoSample) {
|
|
@@ -34325,6 +34326,7 @@ var TimelineVideoInfo = ({ src, visualizationWidth, startFrom, durationInFrames
|
|
|
34325
34326
|
segmentDuration: toSeconds - fromSeconds,
|
|
34326
34327
|
fromSeconds
|
|
34327
34328
|
});
|
|
34329
|
+
sample.close();
|
|
34328
34330
|
},
|
|
34329
34331
|
signal: controller.signal
|
|
34330
34332
|
}).then(() => {
|
|
@@ -40625,7 +40627,7 @@ var getDefaultCodecs = ({
|
|
|
40625
40627
|
const isVideoCodecAnAudioCodec = NoReactAPIs2.isAudioCodec(userPreferredVideoCodec);
|
|
40626
40628
|
if (isVideoCodecAnAudioCodec) {
|
|
40627
40629
|
return {
|
|
40628
|
-
initialAudioCodec:
|
|
40630
|
+
initialAudioCodec: null,
|
|
40629
40631
|
initialRenderType: "audio",
|
|
40630
40632
|
initialVideoCodec: userPreferredVideoCodec,
|
|
40631
40633
|
initialVideoCodecForAudioTab: userPreferredVideoCodecForAudioTab,
|
package/dist/esm/renderEntry.mjs
CHANGED
|
@@ -206,7 +206,7 @@ var renderContent = (Root) => {
|
|
|
206
206
|
renderToDOM(/* @__PURE__ */ jsx("div", {
|
|
207
207
|
children: /* @__PURE__ */ jsx(DelayedSpinner, {})
|
|
208
208
|
}));
|
|
209
|
-
import("./chunk-
|
|
209
|
+
import("./chunk-ygm7y9ad.js").then(({ StudioInternals }) => {
|
|
210
210
|
window.remotion_isStudio = true;
|
|
211
211
|
window.remotion_isReadOnlyStudio = true;
|
|
212
212
|
window.remotion_inputProps = "{}";
|
|
@@ -38,6 +38,7 @@ async function extractFrames({ src, timestampsInSeconds, onVideoSample, signal,
|
|
|
38
38
|
const sink = new mediabunny_1.VideoSampleSink(videoTrack);
|
|
39
39
|
for await (const videoSample of sink.samplesAtTimestamps(timestamps)) {
|
|
40
40
|
if (signal === null || signal === void 0 ? void 0 : signal.aborted) {
|
|
41
|
+
videoSample === null || videoSample === void 0 ? void 0 : videoSample.close();
|
|
41
42
|
break;
|
|
42
43
|
}
|
|
43
44
|
if (!videoSample) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/studio",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.383",
|
|
7
7
|
"description": "APIs for interacting with the Remotion Studio",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"semver": "7.5.3",
|
|
28
|
-
"remotion": "4.0.
|
|
29
|
-
"@remotion/player": "4.0.
|
|
30
|
-
"@remotion/media-utils": "4.0.
|
|
31
|
-
"@remotion/renderer": "4.0.
|
|
32
|
-
"@remotion/web-renderer": "4.0.
|
|
33
|
-
"@remotion/studio-shared": "4.0.
|
|
34
|
-
"@remotion/zod-types": "4.0.
|
|
28
|
+
"remotion": "4.0.383",
|
|
29
|
+
"@remotion/player": "4.0.383",
|
|
30
|
+
"@remotion/media-utils": "4.0.383",
|
|
31
|
+
"@remotion/renderer": "4.0.383",
|
|
32
|
+
"@remotion/web-renderer": "4.0.383",
|
|
33
|
+
"@remotion/studio-shared": "4.0.383",
|
|
34
|
+
"@remotion/zod-types": "4.0.383",
|
|
35
35
|
"mediabunny": "1.25.3",
|
|
36
36
|
"memfs": "3.4.3",
|
|
37
37
|
"source-map": "0.7.3",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"react": "19.2.1",
|
|
43
43
|
"react-dom": "19.2.1",
|
|
44
44
|
"@types/semver": "^7.3.4",
|
|
45
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
45
|
+
"@remotion/eslint-config-internal": "4.0.383",
|
|
46
46
|
"eslint": "9.19.0"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|