remotion 4.0.0-fastlambda.15 → 4.0.0-fastlambda.18

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,5 +1,5 @@
1
- remotion:build: cache hit, replaying output a1097999ed653b40
2
- remotion:build: 
3
- remotion:build: > remotion@3.0.7 build /Users/jonathanburger/remotion/packages/core
4
- remotion:build: > tsc -d
5
- remotion:build: 
1
+ remotion:build: cache hit, replaying output 01a75dc462353c28
2
+ remotion:build: 
3
+ remotion:build: > remotion@3.0.7 build /Users/jonathanburger/remotion/packages/core
4
+ remotion:build: > tsc -d
5
+ remotion:build: 
@@ -12,6 +12,7 @@ const timeline_position_state_1 = require("./timeline-position-state");
12
12
  const RemotionRoot = ({ children }) => {
13
13
  var _a;
14
14
  const [remotionRootId] = (0, react_1.useState)(() => String((0, random_1.random)(null)));
15
+ console.log('INITIAL FRAME', window.remotion_initialFrame);
15
16
  const [frame, setFrame] = (0, react_1.useState)((_a = window.remotion_initialFrame) !== null && _a !== void 0 ? _a : 0);
16
17
  const [playing, setPlaying] = (0, react_1.useState)(false);
17
18
  const imperativePlaying = (0, react_1.useRef)(false);
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CompProps } from './Composition';
3
2
  import { CompositionManagerContext, RenderAssetInfo, TAsset, TCompMetadata, TComposition, TSequence } from './CompositionManager';
4
3
  import * as AssetCompression from './compress-assets';
@@ -76,11 +75,11 @@ export declare const Internals: {
76
75
  getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
77
76
  getActualCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
78
77
  setFrameRangeFromCli: (newFrameRange: string | number) => void;
79
- getUserPreferredImageFormat: () => "none" | "png" | "jpeg" | undefined;
80
- validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "none" | "png" | "jpeg") => "none" | "valid";
78
+ getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
79
+ validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "png" | "jpeg" | "none") => "none" | "valid";
81
80
  validateSelectedPixelFormatAndCodecCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => void;
82
81
  validateFrameRange: (frameRange: import("./config/frame-range").FrameRange | null) => void;
83
- validateNonNullImageFormat: (imageFormat: "none" | "png" | "jpeg") => void;
82
+ validateNonNullImageFormat: (imageFormat: "png" | "jpeg" | "none") => void;
84
83
  getWebpackCaching: () => boolean;
85
84
  useLazyComponent: <T>(compProps: CompProps<T>) => import("react").ExoticComponent<(import("react").PropsWithoutRef<T> & import("react").RefAttributes<import("react").Component<T, any, any>>) | import("react").PropsWithRef<T>> & {
86
85
  readonly _result: import("react").ComponentType<T>;
@@ -93,9 +92,7 @@ export declare const Internals: {
93
92
  RemotionContextProvider: (props: import("./wrap-remotion-context").RemotionContextProviderProps) => JSX.Element;
94
93
  CSSUtils: typeof CSSUtils;
95
94
  setupEnvVariables: () => void;
96
- setupInitialFrame: () => void;
97
95
  ENV_VARIABLES_ENV_NAME: "ENV_VARIABLES";
98
- INITIAL_FRAME_LOCAL_STORAGE_KEY: string;
99
96
  getDotEnvLocation: () => string | null;
100
97
  getServerPort: () => number | undefined;
101
98
  MediaVolumeContext: import("react").Context<MediaVolumeContextValue>;
@@ -104,9 +101,9 @@ export declare const Internals: {
104
101
  validateFps: (fps: number, location: string) => void;
105
102
  validateDimension: (amount: number, nameOfProp: string, location: string) => void;
106
103
  getRemotionEnvironment: () => RemotionEnvironment;
107
- getProResProfile: () => "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined;
108
- setProResProfile: (profile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
109
- validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
104
+ getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
105
+ setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
106
+ validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
110
107
  getMaxTimelineTracks: () => number;
111
108
  SharedAudioContext: import("react").Context<{
112
109
  registerAudio: (aud: import("./audio").RemotionAudioProps) => {
package/dist/internals.js CHANGED
@@ -51,7 +51,6 @@ const delay_render_1 = require("./delay-render");
51
51
  const feature_flags_1 = require("./feature-flags");
52
52
  const get_environment_1 = require("./get-environment");
53
53
  const get_preview_dom_element_1 = require("./get-preview-dom-element");
54
- const initial_frame_1 = require("./initial-frame");
55
54
  const is_audio_codec_1 = require("./is-audio-codec");
56
55
  const perf = __importStar(require("./perf"));
57
56
  const register_root_1 = require("./register-root");
@@ -125,9 +124,7 @@ exports.Internals = {
125
124
  RemotionContextProvider: wrap_remotion_context_1.RemotionContextProvider,
126
125
  CSSUtils,
127
126
  setupEnvVariables: setup_env_variables_1.setupEnvVariables,
128
- setupInitialFrame: initial_frame_1.setupInitialFrame,
129
127
  ENV_VARIABLES_ENV_NAME: setup_env_variables_1.ENV_VARIABLES_ENV_NAME,
130
- INITIAL_FRAME_LOCAL_STORAGE_KEY: initial_frame_1.INITIAL_FRAME_LOCAL_STORAGE_KEY,
131
128
  getDotEnvLocation: env_file_1.getDotEnvLocation,
132
129
  getServerPort: preview_server_1.getServerPort,
133
130
  MediaVolumeContext: volume_position_state_1.MediaVolumeContext,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "4.0.0-fastlambda.15+005ae4fb8",
3
+ "version": "4.0.0-fastlambda.18+0578f57fa",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "005ae4fb8dcca411823f527ce38666a058ff8b55"
58
+ "gitHead": "0578f57fa6c718af17cf53db534c3532fc770e42"
59
59
  }