@remotion/studio 4.0.334 → 4.0.336

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.
@@ -37986,7 +37986,8 @@ var TimelineSequenceFrame = ({ roundedFrame, premounted }) => {
37986
37986
  };
37987
37987
 
37988
37988
  // src/components/Timeline/TimelineVideoInfo.tsx
37989
- import { extractFrames, rotateAndResizeVideoFrame } from "@remotion/webcodecs";
37989
+ import { rotateAndResizeVideoFrame } from "@remotion/webcodecs";
37990
+ import { extractFramesOnWebWorker } from "@remotion/webcodecs/worker";
37990
37991
  import { useEffect as useEffect66, useRef as useRef36, useState as useState66 } from "react";
37991
37992
  import { useVideoConfig as useVideoConfig5 } from "remotion";
37992
37993
 
@@ -38228,7 +38229,7 @@ var TimelineVideoInfo = ({ src, visualizationWidth, startFrom, durationInFrames
38228
38229
  }
38229
38230
  }
38230
38231
  clearOldFrames();
38231
- extractFrames({
38232
+ extractFramesOnWebWorker({
38232
38233
  acknowledgeRemotionLicense: true,
38233
38234
  timestampsInSeconds: ({ track }) => {
38234
38235
  aspectRatio.current = track.width / track.height;
@@ -38266,7 +38266,8 @@ var TimelineSequenceFrame = ({ roundedFrame, premounted }) => {
38266
38266
  };
38267
38267
 
38268
38268
  // src/components/Timeline/TimelineVideoInfo.tsx
38269
- import { extractFrames, rotateAndResizeVideoFrame } from "@remotion/webcodecs";
38269
+ import { rotateAndResizeVideoFrame } from "@remotion/webcodecs";
38270
+ import { extractFramesOnWebWorker } from "@remotion/webcodecs/worker";
38270
38271
  import { useEffect as useEffect66, useRef as useRef36, useState as useState67 } from "react";
38271
38272
  import { useVideoConfig as useVideoConfig5 } from "remotion";
38272
38273
 
@@ -38508,7 +38509,7 @@ var TimelineVideoInfo = ({ src, visualizationWidth, startFrom, durationInFrames
38508
38509
  }
38509
38510
  }
38510
38511
  clearOldFrames();
38511
- extractFrames({
38512
+ extractFramesOnWebWorker({
38512
38513
  acknowledgeRemotionLicense: true,
38513
38514
  timestampsInSeconds: ({ track }) => {
38514
38515
  aspectRatio.current = track.width / track.height;
@@ -183,7 +183,7 @@ var renderContent = (Root) => {
183
183
  renderToDOM(/* @__PURE__ */ jsx("div", {
184
184
  children: /* @__PURE__ */ jsx(DelayedSpinner, {})
185
185
  }));
186
- import("./chunk-s0cbvv3s.js").then(({ StudioInternals }) => {
186
+ import("./chunk-f6a78x4r.js").then(({ StudioInternals }) => {
187
187
  renderToDOM(/* @__PURE__ */ jsx(StudioInternals.Studio, {
188
188
  readOnly: true,
189
189
  rootComponent: Root
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.334",
6
+ "version": "4.0.336",
7
7
  "description": "APIs for interacting with the Remotion Studio",
8
8
  "main": "dist",
9
9
  "sideEffects": false,
@@ -23,21 +23,21 @@
23
23
  "source-map": "0.7.3",
24
24
  "open": "^8.4.2",
25
25
  "zod": "3.22.3",
26
- "@remotion/player": "4.0.334",
27
- "@remotion/media-utils": "4.0.334",
28
- "@remotion/media-parser": "4.0.334",
29
- "@remotion/renderer": "4.0.334",
30
- "@remotion/studio-shared": "4.0.334",
31
- "@remotion/webcodecs": "4.0.334",
32
- "@remotion/zod-types": "4.0.334",
33
- "remotion": "4.0.334"
26
+ "remotion": "4.0.336",
27
+ "@remotion/media-utils": "4.0.336",
28
+ "@remotion/media-parser": "4.0.336",
29
+ "@remotion/renderer": "4.0.336",
30
+ "@remotion/player": "4.0.336",
31
+ "@remotion/webcodecs": "4.0.336",
32
+ "@remotion/studio-shared": "4.0.336",
33
+ "@remotion/zod-types": "4.0.336"
34
34
  },
35
35
  "devDependencies": {
36
36
  "react": "19.0.0",
37
37
  "react-dom": "19.0.0",
38
38
  "@types/semver": "^7.3.4",
39
39
  "eslint": "9.19.0",
40
- "@remotion/eslint-config-internal": "4.0.334"
40
+ "@remotion/eslint-config-internal": "4.0.336"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"