@remotion/renderer 4.0.110 → 4.0.112

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/client.d.ts CHANGED
@@ -1,19 +1,19 @@
1
1
  export { AvailableOptions } from './options';
2
2
  export declare const BrowserSafeApis: {
3
- 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;
4
4
  validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
5
5
  validAudioCodecs: readonly ["pcm-16", "aac", "mp3", "opus"];
6
- getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => number;
7
- getValidCrfRanges: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => [number, number];
8
- 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;
9
9
  proResProfileOptions: readonly ["4444-xq", "4444", "hq", "standard", "light", "proxy"];
10
10
  x264PresetOptions: readonly ["ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow", "placebo"];
11
11
  validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
12
12
  validOpenGlRenderers: readonly ["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"];
13
- 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")[];
13
+ 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")[];
14
14
  validVideoImageFormats: readonly ["png", "jpeg", "none"];
15
15
  validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
16
- DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
16
+ DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
17
17
  DEFAULT_TIMEOUT: number;
18
18
  supportedAudioCodecs: {
19
19
  readonly h264: readonly ["aac", "pcm-16", "mp3"];
@@ -31,11 +31,11 @@ export declare const BrowserSafeApis: {
31
31
  h264: {
32
32
  default: import("./file-extensions").FileExtension;
33
33
  forAudioCodec: {
34
- mp3: {
34
+ aac: {
35
35
  possible: import("./file-extensions").FileExtension[];
36
36
  default: import("./file-extensions").FileExtension;
37
37
  };
38
- aac: {
38
+ mp3: {
39
39
  possible: import("./file-extensions").FileExtension[];
40
40
  default: import("./file-extensions").FileExtension;
41
41
  };
@@ -61,11 +61,11 @@ export declare const BrowserSafeApis: {
61
61
  vp8: {
62
62
  default: import("./file-extensions").FileExtension;
63
63
  forAudioCodec: {
64
- "pcm-16": {
64
+ opus: {
65
65
  possible: import("./file-extensions").FileExtension[];
66
66
  default: import("./file-extensions").FileExtension;
67
67
  };
68
- opus: {
68
+ "pcm-16": {
69
69
  possible: import("./file-extensions").FileExtension[];
70
70
  default: import("./file-extensions").FileExtension;
71
71
  };
@@ -74,20 +74,20 @@ export declare const BrowserSafeApis: {
74
74
  vp9: {
75
75
  default: import("./file-extensions").FileExtension;
76
76
  forAudioCodec: {
77
- "pcm-16": {
77
+ opus: {
78
78
  possible: import("./file-extensions").FileExtension[];
79
79
  default: import("./file-extensions").FileExtension;
80
80
  };
81
- opus: {
81
+ "pcm-16": {
82
82
  possible: import("./file-extensions").FileExtension[];
83
83
  default: import("./file-extensions").FileExtension;
84
84
  };
85
85
  };
86
86
  };
87
- mp3: {
87
+ prores: {
88
88
  default: import("./file-extensions").FileExtension;
89
89
  forAudioCodec: {
90
- mp3: {
90
+ aac: {
91
91
  possible: import("./file-extensions").FileExtension[];
92
92
  default: import("./file-extensions").FileExtension;
93
93
  };
@@ -110,22 +110,22 @@ export declare const BrowserSafeApis: {
110
110
  };
111
111
  };
112
112
  };
113
- wav: {
113
+ mp3: {
114
114
  default: import("./file-extensions").FileExtension;
115
115
  forAudioCodec: {
116
+ mp3: {
117
+ possible: import("./file-extensions").FileExtension[];
118
+ default: import("./file-extensions").FileExtension;
119
+ };
116
120
  "pcm-16": {
117
121
  possible: import("./file-extensions").FileExtension[];
118
122
  default: import("./file-extensions").FileExtension;
119
123
  };
120
124
  };
121
125
  };
122
- prores: {
126
+ wav: {
123
127
  default: import("./file-extensions").FileExtension;
124
128
  forAudioCodec: {
125
- aac: {
126
- possible: import("./file-extensions").FileExtension[];
127
- default: import("./file-extensions").FileExtension;
128
- };
129
129
  "pcm-16": {
130
130
  possible: import("./file-extensions").FileExtension[];
131
131
  default: import("./file-extensions").FileExtension;
@@ -152,37 +152,37 @@ export declare const BrowserSafeApis: {
152
152
  };
153
153
  defaultAudioCodecs: {
154
154
  h264: {
155
- compressed: "mp3" | "aac" | "pcm-16" | null;
156
- lossless: "mp3" | "aac" | "pcm-16" | null;
155
+ compressed: "aac" | "mp3" | "pcm-16" | null;
156
+ lossless: "aac" | "mp3" | "pcm-16" | null;
157
157
  };
158
158
  h265: {
159
159
  compressed: "aac" | "pcm-16" | null;
160
160
  lossless: "aac" | "pcm-16" | null;
161
161
  };
162
162
  vp8: {
163
- compressed: "pcm-16" | "opus" | null;
164
- lossless: "pcm-16" | "opus" | null;
163
+ compressed: "opus" | "pcm-16" | null;
164
+ lossless: "opus" | "pcm-16" | null;
165
165
  };
166
166
  vp9: {
167
- compressed: "pcm-16" | "opus" | null;
168
- lossless: "pcm-16" | "opus" | null;
167
+ compressed: "opus" | "pcm-16" | null;
168
+ lossless: "opus" | "pcm-16" | null;
169
169
  };
170
- mp3: {
171
- compressed: "mp3" | "pcm-16" | null;
172
- lossless: "mp3" | "pcm-16" | null;
170
+ prores: {
171
+ compressed: "aac" | "pcm-16" | null;
172
+ lossless: "aac" | "pcm-16" | null;
173
173
  };
174
174
  aac: {
175
175
  compressed: "aac" | "pcm-16" | null;
176
176
  lossless: "aac" | "pcm-16" | null;
177
177
  };
178
+ mp3: {
179
+ compressed: "mp3" | "pcm-16" | null;
180
+ lossless: "mp3" | "pcm-16" | null;
181
+ };
178
182
  wav: {
179
183
  compressed: "pcm-16" | null;
180
184
  lossless: "pcm-16" | null;
181
185
  };
182
- prores: {
183
- compressed: "aac" | "pcm-16" | null;
184
- lossless: "aac" | "pcm-16" | null;
185
- };
186
186
  "h264-mkv": {
187
187
  compressed: "mp3" | "pcm-16" | null;
188
188
  lossless: "mp3" | "pcm-16" | null;
@@ -192,10 +192,10 @@ export declare const BrowserSafeApis: {
192
192
  lossless: null;
193
193
  };
194
194
  };
195
- defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">;
196
- validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
195
+ defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">;
196
+ validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
197
197
  codec: T_1;
198
- audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
198
+ audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null;
199
199
  extension: string;
200
200
  preferLossless: boolean;
201
201
  }) => void;
@@ -286,7 +286,7 @@ export declare const BrowserSafeApis: {
286
286
  description: () => import("react/jsx-runtime").JSX.Element;
287
287
  docLink: string;
288
288
  ssrName: string;
289
- type: "default" | "bt709" | "bt2020-ncl";
289
+ type: "bt709" | "bt2020-ncl" | "default";
290
290
  };
291
291
  deleteAfterOption: {
292
292
  name: string;
@@ -520,7 +520,7 @@ export declare const BrowserSafeApis: {
520
520
  };
521
521
  };
522
522
  };
523
- codecSupportsCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
524
- codecSupportsVideoBitrate: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
523
+ codecSupportsCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif") => boolean;
524
+ codecSupportsVideoBitrate: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif") => boolean;
525
525
  logLevels: readonly ["verbose", "info", "warn", "error"];
526
526
  };
@@ -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
@@ -66,10 +66,10 @@ export declare const RenderInternals: {
66
66
  width: number;
67
67
  height: number;
68
68
  scale: number;
69
- codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
69
+ codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif";
70
70
  wantsImageSequence: boolean;
71
71
  }) => void;
72
- 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;
72
+ 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;
73
73
  tmpDir: (str: string) => string;
74
74
  deleteDirectory: (directory: string) => void;
75
75
  isServeUrl: (potentialUrl: string) => boolean;
@@ -126,7 +126,7 @@ export declare const RenderInternals: {
126
126
  };
127
127
  registerErrorSymbolicationLock: () => number;
128
128
  unlockErrorSymbolicationLock: (id: number) => void;
129
- canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
129
+ canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif") => boolean;
130
130
  mimeContentType: typeof mimeContentType;
131
131
  mimeLookup: typeof mimeLookup;
132
132
  validateConcurrency: ({ setting, value, checkIfValidForCurrentMachine, }: {
@@ -140,11 +140,11 @@ export declare const RenderInternals: {
140
140
  DEFAULT_OPENGL_RENDERER: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
141
141
  validateOpenGlRenderer: (option: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null) => "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
142
142
  validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
143
- DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
143
+ DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
144
144
  validateJpegQuality: (q: number | undefined) => void;
145
145
  DEFAULT_TIMEOUT: number;
146
- DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
147
- isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null | undefined) => boolean;
146
+ DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif";
147
+ isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif" | null | undefined) => boolean;
148
148
  logLevels: readonly ["verbose", "info", "warn", "error"];
149
149
  isEqualOrBelowLogLevel: (currentLevel: "verbose" | "info" | "warn" | "error", level: "verbose" | "info" | "warn" | "error") => boolean;
150
150
  isValidLogLevel: (level: string) => boolean;
@@ -161,10 +161,10 @@ export declare const RenderInternals: {
161
161
  output: string;
162
162
  onProgress: (p: number) => void;
163
163
  numberOfFrames: number;
164
- codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
164
+ codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif";
165
165
  fps: number;
166
166
  numberOfGifLoops: number | null;
167
- audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
167
+ audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null;
168
168
  audioBitrate: string | null;
169
169
  indent: boolean;
170
170
  logLevel: "verbose" | "info" | "warn" | "error";
@@ -172,19 +172,19 @@ export declare const RenderInternals: {
172
172
  getMinConcurrency: () => number;
173
173
  getMaxConcurrency: () => number;
174
174
  getDefaultAudioCodec: ({ codec, preferLossless, }: {
175
- codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
175
+ codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif";
176
176
  preferLossless: boolean;
177
- }) => "mp3" | "aac" | "pcm-16" | "opus" | null;
177
+ }) => "opus" | "aac" | "mp3" | "pcm-16" | null;
178
178
  validAudioCodecs: readonly ["pcm-16", "aac", "mp3", "opus"];
179
179
  defaultFileExtensionMap: {
180
180
  h264: {
181
181
  default: import("./file-extensions").FileExtension;
182
182
  forAudioCodec: {
183
- mp3: {
183
+ aac: {
184
184
  possible: import("./file-extensions").FileExtension[];
185
185
  default: import("./file-extensions").FileExtension;
186
186
  };
187
- aac: {
187
+ mp3: {
188
188
  possible: import("./file-extensions").FileExtension[];
189
189
  default: import("./file-extensions").FileExtension;
190
190
  };
@@ -210,11 +210,11 @@ export declare const RenderInternals: {
210
210
  vp8: {
211
211
  default: import("./file-extensions").FileExtension;
212
212
  forAudioCodec: {
213
- "pcm-16": {
213
+ opus: {
214
214
  possible: import("./file-extensions").FileExtension[];
215
215
  default: import("./file-extensions").FileExtension;
216
216
  };
217
- opus: {
217
+ "pcm-16": {
218
218
  possible: import("./file-extensions").FileExtension[];
219
219
  default: import("./file-extensions").FileExtension;
220
220
  };
@@ -223,20 +223,20 @@ export declare const RenderInternals: {
223
223
  vp9: {
224
224
  default: import("./file-extensions").FileExtension;
225
225
  forAudioCodec: {
226
- "pcm-16": {
226
+ opus: {
227
227
  possible: import("./file-extensions").FileExtension[];
228
228
  default: import("./file-extensions").FileExtension;
229
229
  };
230
- opus: {
230
+ "pcm-16": {
231
231
  possible: import("./file-extensions").FileExtension[];
232
232
  default: import("./file-extensions").FileExtension;
233
233
  };
234
234
  };
235
235
  };
236
- mp3: {
236
+ prores: {
237
237
  default: import("./file-extensions").FileExtension;
238
238
  forAudioCodec: {
239
- mp3: {
239
+ aac: {
240
240
  possible: import("./file-extensions").FileExtension[];
241
241
  default: import("./file-extensions").FileExtension;
242
242
  };
@@ -259,22 +259,22 @@ export declare const RenderInternals: {
259
259
  };
260
260
  };
261
261
  };
262
- wav: {
262
+ mp3: {
263
263
  default: import("./file-extensions").FileExtension;
264
264
  forAudioCodec: {
265
+ mp3: {
266
+ possible: import("./file-extensions").FileExtension[];
267
+ default: import("./file-extensions").FileExtension;
268
+ };
265
269
  "pcm-16": {
266
270
  possible: import("./file-extensions").FileExtension[];
267
271
  default: import("./file-extensions").FileExtension;
268
272
  };
269
273
  };
270
274
  };
271
- prores: {
275
+ wav: {
272
276
  default: import("./file-extensions").FileExtension;
273
277
  forAudioCodec: {
274
- aac: {
275
- possible: import("./file-extensions").FileExtension[];
276
- default: import("./file-extensions").FileExtension;
277
- };
278
278
  "pcm-16": {
279
279
  possible: import("./file-extensions").FileExtension[];
280
280
  default: import("./file-extensions").FileExtension;
@@ -311,8 +311,8 @@ export declare const RenderInternals: {
311
311
  readonly vp9: readonly ["opus", "pcm-16"];
312
312
  readonly wav: readonly ["pcm-16"];
313
313
  };
314
- makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif")[]>;
315
- defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">;
314
+ makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif")[]>;
315
+ defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">;
316
316
  getExecutablePath: (type: "ffmpeg" | "ffprobe" | "compositor", indent: boolean, logLevel: "verbose" | "info" | "warn" | "error") => string;
317
317
  callFf: ({ args, bin, indent, logLevel, options, }: {
318
318
  bin: "ffmpeg" | "ffprobe";
@@ -324,7 +324,7 @@ export declare const RenderInternals: {
324
324
  validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
325
325
  validVideoImageFormats: readonly ["png", "jpeg", "none"];
326
326
  DEFAULT_STILL_IMAGE_FORMAT: "jpeg" | "png" | "webp" | "pdf";
327
- DEFAULT_VIDEO_IMAGE_FORMAT: "jpeg" | "png" | "none";
327
+ DEFAULT_VIDEO_IMAGE_FORMAT: "none" | "jpeg" | "png";
328
328
  DEFAULT_JPEG_QUALITY: number;
329
329
  chalk: {
330
330
  enabled: () => boolean;
@@ -6,6 +6,6 @@ export declare const colorSpaceOption: {
6
6
  description: () => import("react/jsx-runtime").JSX.Element;
7
7
  docLink: string;
8
8
  ssrName: string;
9
- type: "default" | "bt709" | "bt2020-ncl";
9
+ type: "bt709" | "bt2020-ncl" | "default";
10
10
  };
11
11
  export declare const validateColorSpace: (option: unknown) => void;
@@ -85,7 +85,7 @@ export declare const allOptions: {
85
85
  description: () => import("react/jsx-runtime").JSX.Element;
86
86
  docLink: string;
87
87
  ssrName: string;
88
- type: "default" | "bt709" | "bt2020-ncl";
88
+ type: "bt709" | "bt2020-ncl" | "default";
89
89
  };
90
90
  deleteAfterOption: {
91
91
  name: 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;
package/dist/pure.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  export declare const NoReactAPIs: {
2
2
  wrapWithErrorHandling: <A extends unknown[], R>(fn: (...args: A) => Promise<R>) => (...args: A) => Promise<R>;
3
3
  getExtensionOfFilename: (filename: string | null) => string | null;
4
- 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;
5
- validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
4
+ 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;
5
+ validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
6
6
  codec: T_1;
7
- audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
7
+ audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null;
8
8
  extension: string;
9
9
  preferLossless: boolean;
10
10
  }) => void;
@@ -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.110",
3
+ "version": "4.0.112",
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.110"
21
+ "remotion": "4.0.112"
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-arm64": "4.0.110",
44
- "@remotion/compositor-linux-arm64-gnu": "4.0.110",
45
- "@remotion/compositor-darwin-x64": "4.0.110",
46
- "@remotion/compositor-linux-x64-gnu": "4.0.110",
47
- "@remotion/compositor-linux-x64-musl": "4.0.110",
48
- "@remotion/compositor-win32-x64-msvc": "4.0.110",
49
- "@remotion/compositor-linux-arm64-musl": "4.0.110"
43
+ "@remotion/compositor-darwin-x64": "4.0.112",
44
+ "@remotion/compositor-darwin-arm64": "4.0.112",
45
+ "@remotion/compositor-linux-arm64-gnu": "4.0.112",
46
+ "@remotion/compositor-linux-arm64-musl": "4.0.112",
47
+ "@remotion/compositor-linux-x64-gnu": "4.0.112",
48
+ "@remotion/compositor-linux-x64-musl": "4.0.112",
49
+ "@remotion/compositor-win32-x64-msvc": "4.0.112"
50
50
  },
51
51
  "keywords": [
52
52
  "remotion",