@remotion/renderer 4.0.75 → 4.0.77

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.
@@ -53,10 +53,10 @@ const download_file_1 = require("../assets/download-file");
53
53
  const logger_1 = require("../logger");
54
54
  const get_download_destination_1 = require("./get-download-destination");
55
55
  const downloadURLs = {
56
- linux: 'https://github.com/Alex313031/thorium/releases/download/M114.0.5735.205/thorium-browser_114.0.5735.205_amd64.zip',
57
- mac: 'https://github.com/Alex313031/Thorium-Special/releases/download/M114.0.5735.205-1/Thorium_MacOS_X64.dmg',
58
- mac_arm: 'https://github.com/Alex313031/Thorium-Special/releases/download/M114.0.5735.205-1/Thorium_MacOS_ARM.dmg',
59
- win64: 'https://github.com/Alex313031/Thorium-Win/releases/download/M114.0.5735.205/Thorium_114.0.5735.205.zip',
56
+ linux: 'https://github.com/Alex313031/thorium/releases/download/M117.0.5938.157/thorium-browser_117.0.5938.157_amd64.zip',
57
+ mac: 'https://github.com/Alex313031/Thorium-MacOS/releases/download/M116.0.5845.169/Thorium_MacOS_X64.dmg',
58
+ mac_arm: 'https://github.com/Alex313031/Thorium-MacOS/releases/download/M116.0.5845.169/Thorium_MacOS_ARM.dmg',
59
+ win64: 'https://github.com/Alex313031/Thorium-Win/releases/download/M117.0.5938.157/Thorium_117.0.5938.157.zip',
60
60
  };
61
61
  function getThoriumDownloadUrl(platform) {
62
62
  return downloadURLs[platform];
package/dist/client.d.ts CHANGED
@@ -1,15 +1,16 @@
1
+ /// <reference types="react" />
1
2
  export declare const BrowserSafeApis: {
2
- getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">(codec: T, audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => import("./file-extensions").FileExtension;
3
+ getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">(codec: T, audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => import("./file-extensions").FileExtension;
3
4
  validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
4
5
  validAudioCodecs: readonly ["pcm-16", "aac", "mp3", "opus"];
5
- getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => number;
6
- getValidCrfRanges: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => [number, number];
7
- isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null | undefined) => boolean;
6
+ getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif") => number;
7
+ getValidCrfRanges: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif") => [number, number];
8
+ isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif" | null | undefined) => boolean;
8
9
  proResProfileOptions: readonly ["4444-xq", "4444", "hq", "standard", "light", "proxy"];
9
10
  x264PresetOptions: readonly ["ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow", "placebo"];
10
11
  validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
11
- validPixelFormatsForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le")[];
12
- DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
12
+ validPixelFormatsForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif") => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le")[];
13
+ DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
13
14
  supportedAudioCodecs: {
14
15
  readonly h264: readonly ["aac", "pcm-16", "mp3"];
15
16
  readonly 'h264-mkv': readonly ["pcm-16", "mp3"];
@@ -26,11 +27,11 @@ export declare const BrowserSafeApis: {
26
27
  h264: {
27
28
  default: import("./file-extensions").FileExtension;
28
29
  forAudioCodec: {
29
- mp3: {
30
+ aac: {
30
31
  possible: import("./file-extensions").FileExtension[];
31
32
  default: import("./file-extensions").FileExtension;
32
33
  };
33
- aac: {
34
+ mp3: {
34
35
  possible: import("./file-extensions").FileExtension[];
35
36
  default: import("./file-extensions").FileExtension;
36
37
  };
@@ -56,11 +57,11 @@ export declare const BrowserSafeApis: {
56
57
  vp8: {
57
58
  default: import("./file-extensions").FileExtension;
58
59
  forAudioCodec: {
59
- "pcm-16": {
60
+ opus: {
60
61
  possible: import("./file-extensions").FileExtension[];
61
62
  default: import("./file-extensions").FileExtension;
62
63
  };
63
- opus: {
64
+ "pcm-16": {
64
65
  possible: import("./file-extensions").FileExtension[];
65
66
  default: import("./file-extensions").FileExtension;
66
67
  };
@@ -69,20 +70,20 @@ export declare const BrowserSafeApis: {
69
70
  vp9: {
70
71
  default: import("./file-extensions").FileExtension;
71
72
  forAudioCodec: {
72
- "pcm-16": {
73
+ opus: {
73
74
  possible: import("./file-extensions").FileExtension[];
74
75
  default: import("./file-extensions").FileExtension;
75
76
  };
76
- opus: {
77
+ "pcm-16": {
77
78
  possible: import("./file-extensions").FileExtension[];
78
79
  default: import("./file-extensions").FileExtension;
79
80
  };
80
81
  };
81
82
  };
82
- mp3: {
83
+ prores: {
83
84
  default: import("./file-extensions").FileExtension;
84
85
  forAudioCodec: {
85
- mp3: {
86
+ aac: {
86
87
  possible: import("./file-extensions").FileExtension[];
87
88
  default: import("./file-extensions").FileExtension;
88
89
  };
@@ -105,22 +106,22 @@ export declare const BrowserSafeApis: {
105
106
  };
106
107
  };
107
108
  };
108
- wav: {
109
+ mp3: {
109
110
  default: import("./file-extensions").FileExtension;
110
111
  forAudioCodec: {
112
+ mp3: {
113
+ possible: import("./file-extensions").FileExtension[];
114
+ default: import("./file-extensions").FileExtension;
115
+ };
111
116
  "pcm-16": {
112
117
  possible: import("./file-extensions").FileExtension[];
113
118
  default: import("./file-extensions").FileExtension;
114
119
  };
115
120
  };
116
121
  };
117
- prores: {
122
+ wav: {
118
123
  default: import("./file-extensions").FileExtension;
119
124
  forAudioCodec: {
120
- aac: {
121
- possible: import("./file-extensions").FileExtension[];
122
- default: import("./file-extensions").FileExtension;
123
- };
124
125
  "pcm-16": {
125
126
  possible: import("./file-extensions").FileExtension[];
126
127
  default: import("./file-extensions").FileExtension;
@@ -147,37 +148,37 @@ export declare const BrowserSafeApis: {
147
148
  };
148
149
  defaultAudioCodecs: {
149
150
  h264: {
150
- compressed: "mp3" | "aac" | "pcm-16" | null;
151
- lossless: "mp3" | "aac" | "pcm-16" | null;
151
+ compressed: "aac" | "mp3" | "pcm-16" | null;
152
+ lossless: "aac" | "mp3" | "pcm-16" | null;
152
153
  };
153
154
  h265: {
154
155
  compressed: "aac" | "pcm-16" | null;
155
156
  lossless: "aac" | "pcm-16" | null;
156
157
  };
157
158
  vp8: {
158
- compressed: "pcm-16" | "opus" | null;
159
- lossless: "pcm-16" | "opus" | null;
159
+ compressed: "opus" | "pcm-16" | null;
160
+ lossless: "opus" | "pcm-16" | null;
160
161
  };
161
162
  vp9: {
162
- compressed: "pcm-16" | "opus" | null;
163
- lossless: "pcm-16" | "opus" | null;
163
+ compressed: "opus" | "pcm-16" | null;
164
+ lossless: "opus" | "pcm-16" | null;
164
165
  };
165
- mp3: {
166
- compressed: "mp3" | "pcm-16" | null;
167
- lossless: "mp3" | "pcm-16" | null;
166
+ prores: {
167
+ compressed: "aac" | "pcm-16" | null;
168
+ lossless: "aac" | "pcm-16" | null;
168
169
  };
169
170
  aac: {
170
171
  compressed: "aac" | "pcm-16" | null;
171
172
  lossless: "aac" | "pcm-16" | null;
172
173
  };
174
+ mp3: {
175
+ compressed: "mp3" | "pcm-16" | null;
176
+ lossless: "mp3" | "pcm-16" | null;
177
+ };
173
178
  wav: {
174
179
  compressed: "pcm-16" | null;
175
180
  lossless: "pcm-16" | null;
176
181
  };
177
- prores: {
178
- compressed: "aac" | "pcm-16" | null;
179
- lossless: "aac" | "pcm-16" | null;
180
- };
181
182
  "h264-mkv": {
182
183
  compressed: "mp3" | "pcm-16" | null;
183
184
  lossless: "mp3" | "pcm-16" | null;
@@ -187,10 +188,10 @@ export declare const BrowserSafeApis: {
187
188
  lossless: null;
188
189
  };
189
190
  };
190
- defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">;
191
- validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
191
+ defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">;
192
+ validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
192
193
  codec: T_1;
193
- audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
194
+ audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null;
194
195
  extension: string;
195
196
  preferLossless: boolean;
196
197
  }) => void;
@@ -281,7 +282,7 @@ export declare const BrowserSafeApis: {
281
282
  description: () => JSX.Element;
282
283
  docLink: string;
283
284
  ssrName: string;
284
- type: "default" | "bt709";
285
+ type: "bt709" | "default";
285
286
  };
286
287
  deleteAfterOption: {
287
288
  name: string;
@@ -311,7 +312,7 @@ export declare const BrowserSafeApis: {
311
312
  cliFlag: string;
312
313
  docLink: string;
313
314
  name: string;
314
- type: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
315
+ type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
315
316
  ssrName: string;
316
317
  description: () => JSX.Element;
317
318
  };
@@ -407,6 +408,6 @@ export declare const BrowserSafeApis: {
407
408
  type: number | null;
408
409
  }];
409
410
  };
410
- codecSupportsCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
411
- codecSupportsVideoBitrate: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
411
+ codecSupportsCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif") => boolean;
412
+ codecSupportsVideoBitrate: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif") => boolean;
412
413
  };
@@ -1,6 +1,6 @@
1
1
  import type { AudioCodec } from './audio-codec';
2
2
  import type { Codec } from './codec';
3
3
  import type { FileExtension } from './file-extensions';
4
- export declare const getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">(codec: T, audioCodec: AudioCodec | null) => FileExtension;
5
- export declare const makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif")[]>;
4
+ export declare const getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">(codec: T, audioCodec: AudioCodec | null) => FileExtension;
5
+ export declare const makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif")[]>;
6
6
  export declare const defaultCodecsForFileExtension: Record<FileExtension, Codec>;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="react" />
3
+ /// <reference types="node" />
1
4
  import execa from 'execa';
2
5
  import { HeadlessBrowser } from './browser/Browser';
3
6
  import { SymbolicateableError } from './error-handling/symbolicateable-error';
@@ -64,10 +67,10 @@ export declare const RenderInternals: {
64
67
  width: number;
65
68
  height: number;
66
69
  scale: number;
67
- codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
70
+ codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif";
68
71
  wantsImageSequence: boolean;
69
72
  }) => void;
70
- getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">(codec: T, audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => import("./file-extensions").FileExtension;
73
+ getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">(codec: T, audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => import("./file-extensions").FileExtension;
71
74
  tmpDir: (str: string) => string;
72
75
  deleteDirectory: (directory: string) => void;
73
76
  isServeUrl: (potentialUrl: string) => boolean;
@@ -124,7 +127,7 @@ export declare const RenderInternals: {
124
127
  };
125
128
  registerErrorSymbolicationLock: () => number;
126
129
  unlockErrorSymbolicationLock: (id: number) => void;
127
- canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
130
+ canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif") => boolean;
128
131
  mimeContentType: typeof mimeContentType;
129
132
  mimeLookup: typeof mimeLookup;
130
133
  validateConcurrency: ({ setting, value, checkIfValidForCurrentMachine, }: {
@@ -141,8 +144,8 @@ export declare const RenderInternals: {
141
144
  DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
142
145
  validateJpegQuality: (q: number | undefined) => void;
143
146
  DEFAULT_TIMEOUT: number;
144
- DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
145
- isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null | undefined) => boolean;
147
+ DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif";
148
+ isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif" | null | undefined) => boolean;
146
149
  logLevels: readonly ["verbose", "info", "warn", "error"];
147
150
  isEqualOrBelowLogLevel: (currentLevel: "verbose" | "info" | "warn" | "error", level: "verbose" | "info" | "warn" | "error") => boolean;
148
151
  isValidLogLevel: (level: string) => boolean;
@@ -159,10 +162,10 @@ export declare const RenderInternals: {
159
162
  output: string;
160
163
  onProgress: (p: number) => void;
161
164
  numberOfFrames: number;
162
- codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
165
+ codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif";
163
166
  fps: number;
164
167
  numberOfGifLoops: number | null;
165
- audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
168
+ audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null;
166
169
  audioBitrate: string | null;
167
170
  indent: boolean;
168
171
  logLevel: "verbose" | "info" | "warn" | "error";
@@ -170,19 +173,19 @@ export declare const RenderInternals: {
170
173
  getMinConcurrency: () => number;
171
174
  getMaxConcurrency: () => number;
172
175
  getDefaultAudioCodec: ({ codec, preferLossless, }: {
173
- codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
176
+ codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif";
174
177
  preferLossless: boolean;
175
- }) => "mp3" | "aac" | "pcm-16" | "opus" | null;
178
+ }) => "opus" | "aac" | "mp3" | "pcm-16" | null;
176
179
  validAudioCodecs: readonly ["pcm-16", "aac", "mp3", "opus"];
177
180
  defaultFileExtensionMap: {
178
181
  h264: {
179
182
  default: import("./file-extensions").FileExtension;
180
183
  forAudioCodec: {
181
- mp3: {
184
+ aac: {
182
185
  possible: import("./file-extensions").FileExtension[];
183
186
  default: import("./file-extensions").FileExtension;
184
187
  };
185
- aac: {
188
+ mp3: {
186
189
  possible: import("./file-extensions").FileExtension[];
187
190
  default: import("./file-extensions").FileExtension;
188
191
  };
@@ -208,11 +211,11 @@ export declare const RenderInternals: {
208
211
  vp8: {
209
212
  default: import("./file-extensions").FileExtension;
210
213
  forAudioCodec: {
211
- "pcm-16": {
214
+ opus: {
212
215
  possible: import("./file-extensions").FileExtension[];
213
216
  default: import("./file-extensions").FileExtension;
214
217
  };
215
- opus: {
218
+ "pcm-16": {
216
219
  possible: import("./file-extensions").FileExtension[];
217
220
  default: import("./file-extensions").FileExtension;
218
221
  };
@@ -221,20 +224,20 @@ export declare const RenderInternals: {
221
224
  vp9: {
222
225
  default: import("./file-extensions").FileExtension;
223
226
  forAudioCodec: {
224
- "pcm-16": {
227
+ opus: {
225
228
  possible: import("./file-extensions").FileExtension[];
226
229
  default: import("./file-extensions").FileExtension;
227
230
  };
228
- opus: {
231
+ "pcm-16": {
229
232
  possible: import("./file-extensions").FileExtension[];
230
233
  default: import("./file-extensions").FileExtension;
231
234
  };
232
235
  };
233
236
  };
234
- mp3: {
237
+ prores: {
235
238
  default: import("./file-extensions").FileExtension;
236
239
  forAudioCodec: {
237
- mp3: {
240
+ aac: {
238
241
  possible: import("./file-extensions").FileExtension[];
239
242
  default: import("./file-extensions").FileExtension;
240
243
  };
@@ -257,22 +260,22 @@ export declare const RenderInternals: {
257
260
  };
258
261
  };
259
262
  };
260
- wav: {
263
+ mp3: {
261
264
  default: import("./file-extensions").FileExtension;
262
265
  forAudioCodec: {
266
+ mp3: {
267
+ possible: import("./file-extensions").FileExtension[];
268
+ default: import("./file-extensions").FileExtension;
269
+ };
263
270
  "pcm-16": {
264
271
  possible: import("./file-extensions").FileExtension[];
265
272
  default: import("./file-extensions").FileExtension;
266
273
  };
267
274
  };
268
275
  };
269
- prores: {
276
+ wav: {
270
277
  default: import("./file-extensions").FileExtension;
271
278
  forAudioCodec: {
272
- aac: {
273
- possible: import("./file-extensions").FileExtension[];
274
- default: import("./file-extensions").FileExtension;
275
- };
276
279
  "pcm-16": {
277
280
  possible: import("./file-extensions").FileExtension[];
278
281
  default: import("./file-extensions").FileExtension;
@@ -309,8 +312,8 @@ export declare const RenderInternals: {
309
312
  readonly vp9: readonly ["opus", "pcm-16"];
310
313
  readonly wav: readonly ["pcm-16"];
311
314
  };
312
- makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif")[]>;
313
- defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">;
315
+ makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif")[]>;
316
+ defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">;
314
317
  getExecutablePath: (type: "compositor" | "ffmpeg" | "ffprobe" | "ffmpeg-cwd", indent: boolean, logLevel: "verbose" | "info" | "warn" | "error") => string;
315
318
  callFf: (bin: "ffmpeg" | "ffprobe", args: (string | null)[], indent: boolean, logLevel: "verbose" | "info" | "warn" | "error", options?: execa.Options<string> | undefined) => execa.ExecaChildProcess<string>;
316
319
  dynamicLibraryPathOptions: (indent: boolean, logLevel: "verbose" | "info" | "warn" | "error") => {
@@ -7,6 +7,6 @@ export declare const colorSpaceOption: {
7
7
  description: () => JSX.Element;
8
8
  docLink: string;
9
9
  ssrName: string;
10
- type: "default" | "bt709";
10
+ type: "bt709" | "default";
11
11
  };
12
12
  export declare const validateColorSpace: (option: unknown) => void;
@@ -4,7 +4,7 @@ export declare const glOption: {
4
4
  cliFlag: string;
5
5
  docLink: string;
6
6
  name: string;
7
- type: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
7
+ type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
8
8
  ssrName: string;
9
9
  description: () => JSX.Element;
10
10
  };
@@ -86,7 +86,7 @@ export declare const allOptions: {
86
86
  description: () => JSX.Element;
87
87
  docLink: string;
88
88
  ssrName: string;
89
- type: "default" | "bt709";
89
+ type: "bt709" | "default";
90
90
  };
91
91
  deleteAfterOption: {
92
92
  name: string;
@@ -116,7 +116,7 @@ export declare const allOptions: {
116
116
  cliFlag: string;
117
117
  docLink: string;
118
118
  name: string;
119
- type: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
119
+ type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
120
120
  ssrName: string;
121
121
  description: () => JSX.Element;
122
122
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const videoCodecOption: {
2
3
  name: string;
3
4
  cliFlag: string;
@@ -2,5 +2,5 @@ import type { Codec } from './codec';
2
2
  export declare const validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
3
3
  export type PixelFormat = (typeof validPixelFormats)[number];
4
4
  export declare const DEFAULT_PIXEL_FORMAT: PixelFormat;
5
- export declare const validPixelFormatsForCodec: (codec: Codec) => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le")[];
5
+ export declare const validPixelFormatsForCodec: (codec: Codec) => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le")[];
6
6
  export declare const validateSelectedPixelFormatAndCodecCombination: (pixelFormat: PixelFormat | undefined, codec: Codec) => undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { ClipRegion } from 'remotion/no-react';
2
3
  import type { Page } from './browser/BrowserPage';
3
4
  import type { StillImageFormat } from './image-format';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { ClipRegion } from 'remotion/no-react';
2
3
  import type { Page } from './browser/BrowserPage';
3
4
  import type { StillImageFormat } from './image-format';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { RenderMediaOnDownload } from './assets/download-and-map-assets-to-file';
2
3
  import type { RenderAssetInfo } from './assets/download-map';
3
4
  import type { AudioCodec } from './audio-codec';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { TRenderAsset } from 'remotion/no-react';
2
3
  import type { DownloadMap } from './assets/download-map';
3
4
  import type { Page } from './browser/BrowserPage';
@@ -1,5 +1,5 @@
1
1
  import type { AudioCodec } from './audio-codec';
2
- export declare const validateOutputFilename: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
2
+ export declare const validateOutputFilename: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
3
3
  codec: T;
4
4
  audioCodec: AudioCodec | null;
5
5
  extension: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/renderer",
3
- "version": "4.0.75",
3
+ "version": "4.0.77",
4
4
  "description": "Renderer for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "extract-zip": "2.0.1",
19
19
  "source-map": "^0.8.0-beta.0",
20
20
  "ws": "8.7.0",
21
- "remotion": "4.0.75"
21
+ "remotion": "4.0.77"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": ">=16.8.0",
@@ -40,13 +40,13 @@
40
40
  "vitest": "0.31.1"
41
41
  },
42
42
  "optionalDependencies": {
43
- "@remotion/compositor-darwin-x64": "4.0.75",
44
- "@remotion/compositor-linux-arm64-gnu": "4.0.75",
45
- "@remotion/compositor-darwin-arm64": "4.0.75",
46
- "@remotion/compositor-linux-x64-gnu": "4.0.75",
47
- "@remotion/compositor-linux-arm64-musl": "4.0.75",
48
- "@remotion/compositor-linux-x64-musl": "4.0.75",
49
- "@remotion/compositor-win32-x64-msvc": "4.0.75"
43
+ "@remotion/compositor-linux-arm64-gnu": "4.0.77",
44
+ "@remotion/compositor-darwin-x64": "4.0.77",
45
+ "@remotion/compositor-linux-x64-gnu": "4.0.77",
46
+ "@remotion/compositor-win32-x64-msvc": "4.0.77",
47
+ "@remotion/compositor-linux-arm64-musl": "4.0.77",
48
+ "@remotion/compositor-darwin-arm64": "4.0.77",
49
+ "@remotion/compositor-linux-x64-musl": "4.0.77"
50
50
  },
51
51
  "keywords": [
52
52
  "remotion",