@remotion/renderer 4.0.423 → 4.0.425
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 +448 -13
- package/dist/combine-chunks.js +3 -0
- package/dist/ensure-browser.d.ts +3 -0
- package/dist/esm/client.mjs +1262 -516
- package/dist/esm/index.mjs +14 -7
- package/dist/esm/pure.mjs +4 -2
- package/dist/ffmpeg-args.d.ts +1 -1
- package/dist/ffmpeg-args.js +1 -1
- package/dist/index.d.ts +45 -0
- package/dist/mux-video-and-audio.d.ts +2 -1
- package/dist/mux-video-and-audio.js +6 -1
- package/dist/options/api-key.d.ts +1 -0
- package/dist/options/api-key.js +1 -0
- package/dist/options/ask-ai.d.ts +1 -0
- package/dist/options/ask-ai.js +1 -0
- package/dist/options/audio-bitrate.d.ts +1 -0
- package/dist/options/audio-bitrate.js +1 -0
- package/dist/options/audio-codec.d.ts +1 -0
- package/dist/options/audio-codec.js +1 -0
- package/dist/options/beep-on-finish.d.ts +1 -0
- package/dist/options/beep-on-finish.js +1 -0
- package/dist/options/binaries-directory.d.ts +1 -0
- package/dist/options/binaries-directory.js +1 -0
- package/dist/options/browser-executable.d.ts +17 -0
- package/dist/options/browser-executable.js +36 -0
- package/dist/options/chrome-mode.d.ts +1 -0
- package/dist/options/chrome-mode.js +1 -0
- package/dist/options/color-space.d.ts +5 -4
- package/dist/options/color-space.js +4 -2
- package/dist/options/concurrency.d.ts +17 -0
- package/dist/options/concurrency.js +40 -0
- package/dist/options/crf.d.ts +1 -0
- package/dist/options/crf.js +1 -0
- package/dist/options/cross-site-isolation.d.ts +1 -0
- package/dist/options/cross-site-isolation.js +1 -0
- package/dist/options/dark-mode.d.ts +1 -0
- package/dist/options/dark-mode.js +1 -0
- package/dist/options/delete-after.d.ts +1 -0
- package/dist/options/delete-after.js +1 -0
- package/dist/options/disable-git-source.d.ts +1 -0
- package/dist/options/disable-git-source.js +1 -0
- package/dist/options/disable-web-security.d.ts +16 -0
- package/dist/options/disable-web-security.js +36 -0
- package/dist/options/disallow-parallel-encoding.d.ts +1 -0
- package/dist/options/disallow-parallel-encoding.js +1 -0
- package/dist/options/enable-lambda-insights.d.ts +1 -0
- package/dist/options/enable-lambda-insights.js +1 -0
- package/dist/options/enable-multiprocess-on-linux.d.ts +1 -0
- package/dist/options/enable-multiprocess-on-linux.js +1 -0
- package/dist/options/encoding-buffer-size.d.ts +1 -0
- package/dist/options/encoding-buffer-size.js +1 -0
- package/dist/options/encoding-max-rate.d.ts +1 -0
- package/dist/options/encoding-max-rate.js +1 -0
- package/dist/options/enforce-audio.d.ts +1 -0
- package/dist/options/enforce-audio.js +1 -0
- package/dist/options/every-nth-frame.d.ts +16 -0
- package/dist/options/every-nth-frame.js +42 -0
- package/dist/options/experimental-client-side-rendering.d.ts +1 -0
- package/dist/options/experimental-client-side-rendering.js +1 -0
- package/dist/options/folder-expiry.d.ts +1 -0
- package/dist/options/folder-expiry.js +1 -0
- package/dist/options/for-seamless-aac-concatenation.d.ts +1 -0
- package/dist/options/for-seamless-aac-concatenation.js +1 -0
- package/dist/options/force-new-studio.d.ts +1 -0
- package/dist/options/force-new-studio.js +1 -0
- package/dist/options/gl.d.ts +1 -0
- package/dist/options/gl.js +1 -0
- package/dist/options/hardware-acceleration.d.ts +1 -0
- package/dist/options/hardware-acceleration.js +1 -0
- package/dist/options/headless.d.ts +1 -0
- package/dist/options/headless.js +1 -0
- package/dist/options/ignore-certificate-errors.d.ts +16 -0
- package/dist/options/ignore-certificate-errors.js +36 -0
- package/dist/options/image-format-option.d.ts +18 -0
- package/dist/options/image-format-option.js +33 -0
- package/dist/options/image-sequence-pattern.d.ts +1 -0
- package/dist/options/image-sequence-pattern.js +1 -0
- package/dist/options/index.d.ts +307 -3
- package/dist/options/index.js +28 -0
- package/dist/options/ipv4.d.ts +1 -0
- package/dist/options/ipv4.js +1 -0
- package/dist/options/is-production.d.ts +1 -0
- package/dist/options/is-production.js +1 -0
- package/dist/options/jpeg-quality.d.ts +1 -0
- package/dist/options/jpeg-quality.js +1 -0
- package/dist/options/keyboard-shortcuts.d.ts +1 -0
- package/dist/options/keyboard-shortcuts.js +1 -0
- package/dist/options/latency-hint.d.ts +1 -0
- package/dist/options/latency-hint.js +1 -0
- package/dist/options/license-key.d.ts +1 -0
- package/dist/options/license-key.js +1 -0
- package/dist/options/log-level.d.ts +1 -0
- package/dist/options/log-level.js +1 -0
- package/dist/options/metadata.d.ts +1 -0
- package/dist/options/metadata.js +1 -0
- package/dist/options/mute.d.ts +1 -0
- package/dist/options/mute.js +1 -0
- package/dist/options/number-of-gif-loops.d.ts +1 -0
- package/dist/options/number-of-gif-loops.js +1 -0
- package/dist/options/number-of-shared-audio-tags.d.ts +1 -0
- package/dist/options/number-of-shared-audio-tags.js +1 -0
- package/dist/options/offthreadvideo-cache-size.d.ts +1 -0
- package/dist/options/offthreadvideo-cache-size.js +1 -0
- package/dist/options/offthreadvideo-threads.d.ts +1 -0
- package/dist/options/offthreadvideo-threads.js +1 -0
- package/dist/options/on-browser-download.d.ts +1 -0
- package/dist/options/on-browser-download.js +1 -0
- package/dist/options/option.d.ts +1 -0
- package/dist/options/options-map.d.ts +139 -9
- package/dist/options/override-duration.d.ts +19 -0
- package/dist/options/override-duration.js +46 -0
- package/dist/options/override-fps.d.ts +19 -0
- package/dist/options/override-fps.js +40 -0
- package/dist/options/override-height.d.ts +19 -0
- package/dist/options/override-height.js +40 -0
- package/dist/options/override-width.d.ts +19 -0
- package/dist/options/override-width.js +40 -0
- package/dist/options/overwrite.d.ts +1 -0
- package/dist/options/overwrite.js +1 -0
- package/dist/options/pixel-format.d.ts +16 -0
- package/dist/options/pixel-format.js +41 -0
- package/dist/options/prefer-lossless.d.ts +1 -0
- package/dist/options/prefer-lossless.js +1 -0
- package/dist/options/prores-profile.d.ts +20 -0
- package/dist/options/prores-profile.js +48 -0
- package/dist/options/public-dir.d.ts +1 -0
- package/dist/options/public-dir.js +1 -0
- package/dist/options/public-license-key.d.ts +1 -0
- package/dist/options/public-license-key.js +1 -0
- package/dist/options/public-path.d.ts +1 -0
- package/dist/options/public-path.js +1 -0
- package/dist/options/repro.d.ts +1 -0
- package/dist/options/repro.js +1 -0
- package/dist/options/scale.d.ts +1 -0
- package/dist/options/scale.js +1 -0
- package/dist/options/separate-audio.d.ts +1 -0
- package/dist/options/separate-audio.js +1 -0
- package/dist/options/still-image-format.d.ts +19 -0
- package/dist/options/still-image-format.js +55 -0
- package/dist/options/throw-if-site-exists.d.ts +1 -0
- package/dist/options/throw-if-site-exists.js +1 -0
- package/dist/options/timeout.d.ts +1 -0
- package/dist/options/timeout.js +1 -0
- package/dist/options/user-agent.d.ts +19 -0
- package/dist/options/user-agent.js +36 -0
- package/dist/options/video-bitrate.d.ts +1 -0
- package/dist/options/video-bitrate.js +1 -0
- package/dist/options/video-cache-size.d.ts +1 -0
- package/dist/options/video-cache-size.js +1 -0
- package/dist/options/video-codec.d.ts +1 -0
- package/dist/options/video-codec.js +1 -0
- package/dist/options/video-image-format.d.ts +19 -0
- package/dist/options/video-image-format.js +55 -0
- package/dist/options/webhook-custom-data.d.ts +1 -0
- package/dist/options/webhook-custom-data.js +1 -0
- package/dist/options/x264-preset.d.ts +1 -0
- package/dist/options/x264-preset.js +1 -0
- package/dist/validate-number-of-gif-loops.js +1 -1
- package/package.json +15 -15
package/dist/options/index.js
CHANGED
|
@@ -7,19 +7,23 @@ const audio_bitrate_1 = require("./audio-bitrate");
|
|
|
7
7
|
const audio_codec_1 = require("./audio-codec");
|
|
8
8
|
const beep_on_finish_1 = require("./beep-on-finish");
|
|
9
9
|
const binaries_directory_1 = require("./binaries-directory");
|
|
10
|
+
const browser_executable_1 = require("./browser-executable");
|
|
10
11
|
const chrome_mode_1 = require("./chrome-mode");
|
|
11
12
|
const color_space_1 = require("./color-space");
|
|
13
|
+
const concurrency_1 = require("./concurrency");
|
|
12
14
|
const crf_1 = require("./crf");
|
|
13
15
|
const cross_site_isolation_1 = require("./cross-site-isolation");
|
|
14
16
|
const dark_mode_1 = require("./dark-mode");
|
|
15
17
|
const delete_after_1 = require("./delete-after");
|
|
16
18
|
const disable_git_source_1 = require("./disable-git-source");
|
|
19
|
+
const disable_web_security_1 = require("./disable-web-security");
|
|
17
20
|
const disallow_parallel_encoding_1 = require("./disallow-parallel-encoding");
|
|
18
21
|
const enable_lambda_insights_1 = require("./enable-lambda-insights");
|
|
19
22
|
const enable_multiprocess_on_linux_1 = require("./enable-multiprocess-on-linux");
|
|
20
23
|
const encoding_buffer_size_1 = require("./encoding-buffer-size");
|
|
21
24
|
const encoding_max_rate_1 = require("./encoding-max-rate");
|
|
22
25
|
const enforce_audio_1 = require("./enforce-audio");
|
|
26
|
+
const every_nth_frame_1 = require("./every-nth-frame");
|
|
23
27
|
const experimental_client_side_rendering_1 = require("./experimental-client-side-rendering");
|
|
24
28
|
const folder_expiry_1 = require("./folder-expiry");
|
|
25
29
|
const for_seamless_aac_concatenation_1 = require("./for-seamless-aac-concatenation");
|
|
@@ -27,6 +31,7 @@ const force_new_studio_1 = require("./force-new-studio");
|
|
|
27
31
|
const gl_1 = require("./gl");
|
|
28
32
|
const hardware_acceleration_1 = require("./hardware-acceleration");
|
|
29
33
|
const headless_1 = require("./headless");
|
|
34
|
+
const ignore_certificate_errors_1 = require("./ignore-certificate-errors");
|
|
30
35
|
const image_sequence_pattern_1 = require("./image-sequence-pattern");
|
|
31
36
|
const ipv4_1 = require("./ipv4");
|
|
32
37
|
const is_production_1 = require("./is-production");
|
|
@@ -42,29 +47,41 @@ const number_of_shared_audio_tags_1 = require("./number-of-shared-audio-tags");
|
|
|
42
47
|
const offthreadvideo_cache_size_1 = require("./offthreadvideo-cache-size");
|
|
43
48
|
const offthreadvideo_threads_1 = require("./offthreadvideo-threads");
|
|
44
49
|
const on_browser_download_1 = require("./on-browser-download");
|
|
50
|
+
const override_duration_1 = require("./override-duration");
|
|
51
|
+
const override_fps_1 = require("./override-fps");
|
|
52
|
+
const override_height_1 = require("./override-height");
|
|
53
|
+
const override_width_1 = require("./override-width");
|
|
45
54
|
const overwrite_1 = require("./overwrite");
|
|
55
|
+
const pixel_format_1 = require("./pixel-format");
|
|
46
56
|
const prefer_lossless_1 = require("./prefer-lossless");
|
|
57
|
+
const prores_profile_1 = require("./prores-profile");
|
|
47
58
|
const public_dir_1 = require("./public-dir");
|
|
48
59
|
const public_license_key_1 = require("./public-license-key");
|
|
49
60
|
const public_path_1 = require("./public-path");
|
|
50
61
|
const repro_1 = require("./repro");
|
|
51
62
|
const scale_1 = require("./scale");
|
|
52
63
|
const separate_audio_1 = require("./separate-audio");
|
|
64
|
+
const still_image_format_1 = require("./still-image-format");
|
|
53
65
|
const throw_if_site_exists_1 = require("./throw-if-site-exists");
|
|
54
66
|
const timeout_1 = require("./timeout");
|
|
67
|
+
const user_agent_1 = require("./user-agent");
|
|
55
68
|
const video_bitrate_1 = require("./video-bitrate");
|
|
56
69
|
const video_cache_size_1 = require("./video-cache-size");
|
|
57
70
|
const video_codec_1 = require("./video-codec");
|
|
71
|
+
const video_image_format_1 = require("./video-image-format");
|
|
58
72
|
const webhook_custom_data_1 = require("./webhook-custom-data");
|
|
59
73
|
const x264_preset_1 = require("./x264-preset");
|
|
60
74
|
exports.allOptions = {
|
|
61
75
|
audioCodecOption: audio_codec_1.audioCodecOption,
|
|
76
|
+
browserExecutableOption: browser_executable_1.browserExecutableOption,
|
|
77
|
+
concurrencyOption: concurrency_1.concurrencyOption,
|
|
62
78
|
scaleOption: scale_1.scaleOption,
|
|
63
79
|
crfOption: crf_1.crfOption,
|
|
64
80
|
jpegQualityOption: jpeg_quality_1.jpegQualityOption,
|
|
65
81
|
videoBitrateOption: video_bitrate_1.videoBitrateOption,
|
|
66
82
|
audioBitrateOption: audio_bitrate_1.audioBitrateOption,
|
|
67
83
|
enforceAudioOption: enforce_audio_1.enforceAudioOption,
|
|
84
|
+
everyNthFrameOption: every_nth_frame_1.everyNthFrameOption,
|
|
68
85
|
mutedOption: mute_1.mutedOption,
|
|
69
86
|
videoCodecOption: video_codec_1.videoCodecOption,
|
|
70
87
|
offthreadVideoCacheSizeInBytesOption: offthreadvideo_cache_size_1.offthreadVideoCacheSizeInBytesOption,
|
|
@@ -72,6 +89,7 @@ exports.allOptions = {
|
|
|
72
89
|
webhookCustomDataOption: webhook_custom_data_1.webhookCustomDataOption,
|
|
73
90
|
colorSpaceOption: color_space_1.colorSpaceOption,
|
|
74
91
|
deleteAfterOption: delete_after_1.deleteAfterOption,
|
|
92
|
+
disableWebSecurityOption: disable_web_security_1.disableWebSecurityOption,
|
|
75
93
|
disallowParallelEncodingOption: disallow_parallel_encoding_1.disallowParallelEncodingOption,
|
|
76
94
|
folderExpiryOption: folder_expiry_1.folderExpiryOption,
|
|
77
95
|
enableMultiprocessOnLinuxOption: enable_multiprocess_on_linux_1.enableMultiprocessOnLinuxOption,
|
|
@@ -82,7 +100,9 @@ exports.allOptions = {
|
|
|
82
100
|
beepOnFinishOption: beep_on_finish_1.beepOnFinishOption,
|
|
83
101
|
numberOfGifLoopsOption: number_of_gif_loops_1.numberOfGifLoopsOption,
|
|
84
102
|
reproOption: repro_1.reproOption,
|
|
103
|
+
pixelFormatOption: pixel_format_1.pixelFormatOption,
|
|
85
104
|
preferLosslessOption: prefer_lossless_1.preferLosslessAudioOption,
|
|
105
|
+
proResProfileOption: prores_profile_1.proResProfileOption,
|
|
86
106
|
x264Option: x264_preset_1.x264Option,
|
|
87
107
|
logLevelOption: log_level_1.logLevelOption,
|
|
88
108
|
delayRenderTimeoutInMillisecondsOption: timeout_1.delayRenderTimeoutInMillisecondsOption,
|
|
@@ -103,6 +123,7 @@ exports.allOptions = {
|
|
|
103
123
|
licenseKeyOption: license_key_1.licenseKeyOption,
|
|
104
124
|
audioLatencyHintOption: latency_hint_1.audioLatencyHintOption,
|
|
105
125
|
enableCrossSiteIsolationOption: cross_site_isolation_1.enableCrossSiteIsolationOption,
|
|
126
|
+
ignoreCertificateErrorsOption: ignore_certificate_errors_1.ignoreCertificateErrorsOption,
|
|
106
127
|
imageSequencePatternOption: image_sequence_pattern_1.imageSequencePatternOption,
|
|
107
128
|
mediaCacheSizeInBytesOption: video_cache_size_1.mediaCacheSizeInBytesOption,
|
|
108
129
|
darkModeOption: dark_mode_1.darkModeOption,
|
|
@@ -114,4 +135,11 @@ exports.allOptions = {
|
|
|
114
135
|
forceNewStudioOption: force_new_studio_1.forceNewStudioOption,
|
|
115
136
|
numberOfSharedAudioTagsOption: number_of_shared_audio_tags_1.numberOfSharedAudioTagsOption,
|
|
116
137
|
ipv4Option: ipv4_1.ipv4Option,
|
|
138
|
+
stillImageFormatOption: still_image_format_1.stillImageFormatOption,
|
|
139
|
+
userAgentOption: user_agent_1.userAgentOption,
|
|
140
|
+
videoImageFormatOption: video_image_format_1.videoImageFormatOption,
|
|
141
|
+
overrideHeightOption: override_height_1.overrideHeightOption,
|
|
142
|
+
overrideWidthOption: override_width_1.overrideWidthOption,
|
|
143
|
+
overrideFpsOption: override_fps_1.overrideFpsOption,
|
|
144
|
+
overrideDurationOption: override_duration_1.overrideDurationOption,
|
|
117
145
|
};
|
package/dist/options/ipv4.d.ts
CHANGED
package/dist/options/ipv4.js
CHANGED
package/dist/options/metadata.js
CHANGED
package/dist/options/mute.d.ts
CHANGED
package/dist/options/mute.js
CHANGED
|
@@ -16,5 +16,6 @@ export declare const offthreadVideoCacheSizeInBytesOption: {
|
|
|
16
16
|
value: null;
|
|
17
17
|
};
|
|
18
18
|
setConfig: (size: number | null) => void;
|
|
19
|
+
id: "offthreadvideo-cache-size-in-bytes";
|
|
19
20
|
};
|
|
20
21
|
export declare const validateOffthreadVideoCacheSizeInBytes: (option: unknown) => void;
|
|
@@ -46,6 +46,7 @@ exports.offthreadVideoCacheSizeInBytesOption = {
|
|
|
46
46
|
setConfig: (size) => {
|
|
47
47
|
offthreadVideoCacheSizeInBytes = size !== null && size !== void 0 ? size : null;
|
|
48
48
|
},
|
|
49
|
+
id: cliFlag,
|
|
49
50
|
};
|
|
50
51
|
const validateOffthreadVideoCacheSizeInBytes = (option) => {
|
|
51
52
|
if (option === undefined || option === null) {
|
package/dist/options/option.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export type RemotionOption<SsrName extends string, Type> = {
|
|
|
13
13
|
source: string;
|
|
14
14
|
};
|
|
15
15
|
setConfig: (value: Type) => void;
|
|
16
|
+
id: string;
|
|
16
17
|
};
|
|
17
18
|
export type AnyRemotionOption<T> = RemotionOption<string, T>;
|
|
18
19
|
export type ToOptions<T extends Record<string, AnyRemotionOption<any>>> = {
|