@remotion/studio 4.0.334 → 4.0.335

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @remotion/studio@4.0.334 make /Users/jonathanburger/remotion/packages/studio
3
+ > @remotion/studio@4.0.335 make /Users/jonathanburger/remotion/packages/studio
4
4
  > tsc -d && bun --env-file=../.env.bundle bundle.ts
5
5
 
6
- [552.74ms] Generated.
6
+ [79.01ms] Generated.
@@ -4,6 +4,7 @@ exports.TimelineVideoInfo = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const media_parser_1 = require("@remotion/media-parser");
6
6
  const webcodecs_1 = require("@remotion/webcodecs");
7
+ const worker_1 = require("@remotion/webcodecs/worker");
7
8
  const react_1 = require("react");
8
9
  const remotion_1 = require("remotion");
9
10
  const frame_database_1 = require("../../helpers/frame-database");
@@ -188,7 +189,7 @@ const TimelineVideoInfo = ({ src, visualizationWidth, startFrom, durationInFrame
188
189
  }
189
190
  }
190
191
  (0, frame_database_1.clearOldFrames)();
191
- (0, webcodecs_1.extractFrames)({
192
+ (0, worker_1.extractFramesOnWebWorker)({
192
193
  acknowledgeRemotionLicense: true,
193
194
  timestampsInSeconds: ({ track }) => {
194
195
  aspectRatio.current = track.width / track.height;