@remotion/renderer 4.0.536 → 4.0.538
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/aac-priming.d.ts +2 -1
- package/dist/assets/apply-tone-frequency.d.ts +2 -1
- package/dist/assets/apply-tone-frequency.js +8 -1
- package/dist/assets/calculate-asset-positions.js +2 -0
- package/dist/assets/convert-assets-to-file-urls.d.ts +2 -1
- package/dist/assets/download-and-map-assets-to-file.d.ts +3 -2
- package/dist/assets/get-audio-channels.d.ts +3 -2
- package/dist/assets/inline-audio-mixing.d.ts +2 -1
- package/dist/assets/types.d.ts +2 -1
- package/dist/browser/Browser.d.ts +5 -5
- package/dist/browser/Browser.js +74 -65
- package/dist/browser/BrowserFetcher.d.ts +7 -5
- package/dist/browser/BrowserPage.d.ts +4 -4
- package/dist/browser/BrowserPage.js +222 -226
- package/dist/browser/BrowserRunner.d.ts +2 -1
- package/dist/browser/Connection.js +109 -96
- package/dist/browser/ConsoleMessage.d.ts +1 -1
- package/dist/browser/ConsoleMessage.js +16 -9
- package/dist/browser/DOMWorld.d.ts +1 -1
- package/dist/browser/DOMWorld.js +91 -77
- package/dist/browser/Errors.js +4 -2
- package/dist/browser/EventEmitter.js +1 -2
- package/dist/browser/ExecutionContext.js +120 -117
- package/dist/browser/FrameManager.js +244 -249
- package/dist/browser/HTTPRequest.js +22 -11
- package/dist/browser/HTTPResponse.js +16 -3
- package/dist/browser/JSHandle.js +30 -17
- package/dist/browser/LifecycleWatcher.js +128 -122
- package/dist/browser/NetworkEventManager.js +40 -31
- package/dist/browser/NetworkManager.js +203 -210
- package/dist/browser/NodeWebSocketTransport.js +0 -3
- package/dist/browser/Target.d.ts +1 -1
- package/dist/browser/Target.js +39 -32
- package/dist/browser/TaskQueue.js +18 -5
- package/dist/browser/TimeoutSettings.js +25 -12
- package/dist/browser/browser-download-progress-bar.d.ts +2 -1
- package/dist/browser/get-chrome-download-url.d.ts +3 -2
- package/dist/browser/handle-failed-resource.d.ts +2 -1
- package/dist/call-ffmpeg.d.ts +7 -6
- package/dist/can-concat-seamlessly.d.ts +4 -2
- package/dist/can-use-parallel-encoding.d.ts +2 -1
- package/dist/check-version-requirements.d.ts +2 -1
- package/dist/client.d.ts +302 -280
- package/dist/client.js +2 -2
- package/dist/codec-supports-media.d.ts +4 -3
- package/dist/codec.d.ts +1 -1
- package/dist/collect-assets.d.ts +1 -1
- package/dist/combine-audio.d.ts +4 -2
- package/dist/combine-chunks.d.ts +2 -1
- package/dist/combine-video-streams.d.ts +4 -2
- package/dist/compositor/compositor.d.ts +4 -3
- package/dist/compositor/get-executable-path.d.ts +4 -4
- package/dist/compress-audio.d.ts +4 -2
- package/dist/create-audio.d.ts +4 -2
- package/dist/create-silent-audio.d.ts +2 -1
- package/dist/crf.d.ts +6 -4
- package/dist/cycle-browser-tabs.d.ts +2 -1
- package/dist/ensure-browser.d.ts +1 -52
- package/dist/error-handling/handle-javascript-exception.d.ts +1 -1
- package/dist/error-handling/handle-javascript-exception.js +0 -5
- package/dist/error-handling/symbolicateable-error.d.ts +1 -1
- package/dist/error-handling/symbolicateable-error.js +0 -4
- package/dist/error-handling.js +1 -1
- package/dist/esm/client.mjs +306 -238
- package/dist/esm/index.mjs +108 -88
- package/dist/extract-audio.d.ts +3 -2
- package/dist/ffmpeg-args.d.ts +12 -6
- package/dist/finalize-fast-start.d.ts +2 -1
- package/dist/get-browser-instance.d.ts +6 -4
- package/dist/get-codec-name.d.ts +6 -3
- package/dist/get-compositions.d.ts +2 -1
- package/dist/get-concurrency.d.ts +1 -1
- package/dist/get-concurrency.js +1 -1
- package/dist/get-duration-from-frame-range.d.ts +1 -1
- package/dist/get-extension-from-codec.d.ts +2 -1
- package/dist/get-frame-padded-index.d.ts +2 -1
- package/dist/get-local-browser-executable.d.ts +4 -2
- package/dist/get-port.d.ts +1 -1
- package/dist/get-prores-profile-name.d.ts +3 -1
- package/dist/get-silent-parts.d.ts +5 -4
- package/dist/get-video-metadata.d.ts +4 -3
- package/dist/get-video-threads-flag.d.ts +2 -1
- package/dist/goto-page-or-throw.d.ts +1 -1
- package/dist/guess-extension-for-media.d.ts +2 -1
- package/dist/image-format.d.ts +6 -5
- package/dist/index.d.ts +213 -440
- package/dist/index.js +18 -18
- package/dist/is-audio-codec.d.ts +2 -1
- package/dist/log-level.d.ts +2 -2
- package/dist/logger.d.ts +6 -6
- package/dist/make-page.d.ts +5 -3
- package/dist/memory/from-macos-sysctl.d.ts +2 -1
- package/dist/memory/from-proc-meminfo.d.ts +2 -1
- package/dist/memory/get-available-memory.d.ts +2 -1
- package/dist/merge-inline-audio-tracks.d.ts +2 -1
- package/dist/mux-video-and-audio.d.ts +5 -3
- package/dist/offthread-video-server.d.ts +2 -1
- package/dist/offthread-video-server.js +6 -4
- package/dist/open-browser.d.ts +2 -2
- package/dist/options/allow-html-in-canvas.js +1 -2
- package/dist/options/api-key.d.ts +1 -1
- package/dist/options/api-key.js +1 -3
- package/dist/options/ask-ai.js +1 -1
- package/dist/options/audio-bitrate.js +1 -9
- package/dist/options/audio-codec.d.ts +23 -20
- package/dist/options/beep-on-finish.js +1 -1
- package/dist/options/benchmark-concurrencies.js +1 -2
- package/dist/options/binaries-directory.d.ts +1 -1
- package/dist/options/binaries-directory.js +1 -9
- package/dist/options/browser-executable.d.ts +1 -1
- package/dist/options/browser-executable.js +1 -1
- package/dist/options/browser.js +1 -2
- package/dist/options/bundle-cache.js +1 -2
- package/dist/options/canvas-tabs.js +1 -1
- package/dist/options/chrome-mode.d.ts +4 -4
- package/dist/options/chrome-mode.js +1 -6
- package/dist/options/color-space.d.ts +9 -5
- package/dist/options/color-space.js +1 -8
- package/dist/options/concurrency.d.ts +1 -1
- package/dist/options/concurrency.js +1 -5
- package/dist/options/config.js +1 -1
- package/dist/options/crf.js +1 -1
- package/dist/options/cross-site-isolation.js +1 -2
- package/dist/options/dark-mode.js +1 -2
- package/dist/options/default-coding-agent.d.ts +2 -2
- package/dist/options/default-coding-agent.js +1 -2
- package/dist/options/default-editor.d.ts +4 -4
- package/dist/options/default-editor.js +1 -3
- package/dist/options/default-premount-in-seconds.js +1 -1
- package/dist/options/delete-after.d.ts +1 -1
- package/dist/options/delete-after.js +1 -11
- package/dist/options/disable-shared-memory-capture.js +1 -3
- package/dist/options/disable-web-security.d.ts +1 -1
- package/dist/options/disable-web-security.js +1 -1
- package/dist/options/disallow-parallel-encoding.js +1 -1
- package/dist/options/enable-cancellation.js +1 -2
- package/dist/options/enable-lambda-insights.js +1 -2
- package/dist/options/enable-multiprocess-on-linux.js +1 -13
- package/dist/options/encoding-buffer-size.d.ts +4 -2
- package/dist/options/encoding-buffer-size.js +1 -3
- package/dist/options/encoding-max-rate.d.ts +1 -1
- package/dist/options/encoding-max-rate.js +1 -3
- package/dist/options/enforce-audio.js +1 -15
- package/dist/options/env-file.js +1 -3
- package/dist/options/every-nth-frame.d.ts +1 -1
- package/dist/options/every-nth-frame.js +1 -6
- package/dist/options/experimental-keep-audio-context-alive.js +1 -3
- package/dist/options/folder-expiry.d.ts +1 -1
- package/dist/options/folder-expiry.js +1 -4
- package/dist/options/for-seamless-aac-concatenation.js +1 -3
- package/dist/options/force-new-studio.js +1 -1
- package/dist/options/frames.d.ts +1 -1
- package/dist/options/frames.js +1 -4
- package/dist/options/gl.d.ts +6 -6
- package/dist/options/gl.js +3 -28
- package/dist/options/gop-size.js +1 -3
- package/dist/options/hardware-acceleration.d.ts +3 -3
- package/dist/options/headless.js +1 -1
- package/dist/options/ignore-certificate-errors.d.ts +1 -1
- package/dist/options/ignore-certificate-errors.js +1 -1
- package/dist/options/image-sequence-pattern.js +1 -5
- package/dist/options/image-sequence.js +1 -1
- package/dist/options/index.d.ts +91 -72
- package/dist/options/index.js +2 -0
- package/dist/options/interactivity.js +1 -1
- package/dist/options/ipv4.js +1 -1
- package/dist/options/is-production.d.ts +1 -1
- package/dist/options/is-production.js +1 -4
- package/dist/options/jpeg-quality.d.ts +1 -1
- package/dist/options/jpeg-quality.js +1 -4
- package/dist/options/keyboard-shortcuts.js +1 -1
- package/dist/options/latency-hint.d.ts +1 -1
- package/dist/options/latency-hint.js +1 -10
- package/dist/options/license-key.d.ts +1 -1
- package/dist/options/license-key.js +1 -2
- package/dist/options/log-level.d.ts +4 -3
- package/dist/options/log-level.js +1 -16
- package/dist/options/metadata.js +2 -7
- package/dist/options/mute.js +1 -1
- package/dist/options/no-open.js +1 -1
- package/dist/options/number-of-gif-loops.d.ts +1 -1
- package/dist/options/number-of-gif-loops.js +1 -13
- package/dist/options/number-of-shared-audio-tags.js +1 -1
- package/dist/options/offthreadvideo-cache-size.d.ts +1 -1
- package/dist/options/offthreadvideo-cache-size.js +1 -11
- package/dist/options/offthreadvideo-threads.d.ts +1 -1
- package/dist/options/offthreadvideo-threads.js +1 -2
- package/dist/options/on-browser-download.d.ts +1 -1
- package/dist/options/on-browser-download.js +1 -2
- package/dist/options/options-map.d.ts +180 -180
- package/dist/options/out-dir.d.ts +1 -1
- package/dist/options/out-dir.js +1 -4
- package/dist/options/override-duration.js +1 -1
- package/dist/options/override-fps.js +1 -1
- package/dist/options/override-height.js +1 -1
- package/dist/options/override-width.js +1 -1
- package/dist/options/overwrite.js +1 -5
- package/dist/options/package-manager.d.ts +1 -1
- package/dist/options/package-manager.js +1 -12
- package/dist/options/pixel-format.d.ts +6 -5
- package/dist/options/pixel-format.js +1 -2
- package/dist/options/port.js +1 -1
- package/dist/options/prefer-lossless.d.ts +1 -1
- package/dist/options/prefer-lossless.js +1 -4
- package/dist/options/{experimental-tracks.d.ts → preserve-pitch-on-playback.d.ts} +3 -3
- package/dist/options/preserve-pitch-on-playback.js +36 -0
- package/dist/options/preview-sample-rate.js +1 -3
- package/dist/options/props.js +1 -5
- package/dist/options/prores-profile.d.ts +2 -2
- package/dist/options/prores-profile.js +1 -5
- package/dist/options/public-dir.d.ts +1 -1
- package/dist/options/public-dir.js +1 -2
- package/dist/options/public-license-key.d.ts +1 -1
- package/dist/options/public-license-key.js +1 -3
- package/dist/options/public-path.d.ts +1 -1
- package/dist/options/public-path.js +1 -5
- package/dist/options/repro.d.ts +3 -1
- package/dist/options/repro.js +1 -1
- package/dist/options/rspack.js +1 -1
- package/dist/options/runs.js +1 -3
- package/dist/options/sample-rate.d.ts +2 -2
- package/dist/options/sample-rate.js +1 -2
- package/dist/options/scale.js +1 -5
- package/dist/options/sequence-activity-limit.js +1 -4
- package/dist/options/show-layer-frame-numbers.js +1 -3
- package/dist/options/show-premounting.js +1 -2
- package/dist/options/skip-skills.js +1 -1
- package/dist/options/still-frame.d.ts +1 -1
- package/dist/options/still-frame.js +1 -3
- package/dist/options/still-image-format.d.ts +3 -2
- package/dist/options/still-image-format.js +1 -2
- package/dist/options/timeout.d.ts +1 -1
- package/dist/options/timeout.js +1 -4
- package/dist/options/user-agent.d.ts +1 -1
- package/dist/options/user-agent.js +1 -1
- package/dist/options/version-flag.js +1 -1
- package/dist/options/video-bitrate.js +1 -7
- package/dist/options/video-cache-size.d.ts +1 -1
- package/dist/options/video-cache-size.js +1 -7
- package/dist/options/video-codec.d.ts +9 -7
- package/dist/options/video-codec.js +1 -1
- package/dist/options/video-image-format.d.ts +6 -5
- package/dist/options/video-image-format.js +1 -6
- package/dist/options/webhook-custom-data.d.ts +1 -1
- package/dist/options/webhook-custom-data.js +1 -1
- package/dist/options/webpack-poll.js +1 -1
- package/dist/options/x264-preset.d.ts +8 -7
- package/dist/options/x264-preset.js +1 -23
- package/dist/p-limit.d.ts +1 -1
- package/dist/pixel-format.d.ts +4 -3
- package/dist/pool.js +0 -2
- package/dist/port-config.d.ts +6 -5
- package/dist/prespawn-ffmpeg.d.ts +1 -1
- package/dist/print-useful-error-message.d.ts +2 -1
- package/dist/probe-encoder.d.ts +8 -5
- package/dist/probe-shared-memory-capture.d.ts +4 -2
- package/dist/prores-profile.d.ts +4 -2
- package/dist/puppeteer-evaluate.d.ts +2 -2
- package/dist/puppeteer-screenshot.d.ts +4 -3
- package/dist/pure.d.ts +12 -15
- package/dist/remotion-shared-memory.d.ts +1 -1
- package/dist/remotion-shared-memory.js +199 -187
- package/dist/render-frame-and-retry-target-close.d.ts +10 -10
- package/dist/render-frame-with-option-to-reject.d.ts +7 -5
- package/dist/render-frame-with-option-to-reject.js +1 -5
- package/dist/render-frame.d.ts +8 -6
- package/dist/render-frames.d.ts +1 -40
- package/dist/render-has-audio.d.ts +3 -2
- package/dist/replace-browser.d.ts +2 -1
- package/dist/repro.d.ts +1 -1
- package/dist/screenshot-task.d.ts +4 -3
- package/dist/seek-to-frame.d.ts +3 -2
- package/dist/select-composition.d.ts +1 -20
- package/dist/serve-handler/index.d.ts +1 -1
- package/dist/serve-handler/range-parser.d.ts +2 -2
- package/dist/serve-static.d.ts +2 -1
- package/dist/serve-static.js +4 -4
- package/dist/set-props-and-env.js +2 -6
- package/dist/stringify-ffmpeg-filter.d.ts +2 -1
- package/dist/stringify-ffmpeg-filter.js +20 -2
- package/dist/take-frame.d.ts +1 -1
- package/dist/test-gpu.d.ts +4 -2
- package/dist/validate-even-dimensions-with-codec.d.ts +4 -2
- package/dist/validate-ffmpeg-override.d.ts +1 -1
- package/dist/validate-number-of-gif-loops.d.ts +2 -1
- package/dist/validate-output-filename.d.ts +4 -2
- package/package.json +16 -16
- package/dist/options/experimental-sequence-activity-limit.d.ts +0 -19
- package/dist/options/experimental-sequence-activity-limit.js +0 -40
- package/dist/options/experimental-sequence-activity.d.ts +0 -19
- package/dist/options/experimental-sequence-activity.js +0 -38
- package/dist/options/experimental-tracks.js +0 -43
package/dist/index.js
CHANGED
|
@@ -91,44 +91,44 @@ const tmp_dir_1 = require("./tmp-dir");
|
|
|
91
91
|
const validate_concurrency_1 = require("./validate-concurrency");
|
|
92
92
|
const validate_even_dimensions_with_codec_1 = require("./validate-even-dimensions-with-codec");
|
|
93
93
|
const validate_selected_frames_1 = require("./validate-selected-frames");
|
|
94
|
-
|
|
94
|
+
var combine_chunks_1 = require("./combine-chunks");
|
|
95
95
|
Object.defineProperty(exports, "combineChunks", { enumerable: true, get: function () { return combine_chunks_1.combineChunks; } });
|
|
96
|
-
|
|
96
|
+
var ensure_browser_1 = require("./ensure-browser");
|
|
97
97
|
Object.defineProperty(exports, "ensureBrowser", { enumerable: true, get: function () { return ensure_browser_1.ensureBrowser; } });
|
|
98
|
-
|
|
98
|
+
var handle_javascript_exception_1 = require("./error-handling/handle-javascript-exception");
|
|
99
99
|
Object.defineProperty(exports, "ErrorWithStackFrame", { enumerable: true, get: function () { return handle_javascript_exception_1.ErrorWithStackFrame; } });
|
|
100
|
-
|
|
100
|
+
var extract_audio_1 = require("./extract-audio");
|
|
101
101
|
Object.defineProperty(exports, "extractAudio", { enumerable: true, get: function () { return extract_audio_1.extractAudio; } });
|
|
102
|
-
|
|
102
|
+
var get_compositions_2 = require("./get-compositions");
|
|
103
103
|
Object.defineProperty(exports, "getCompositions", { enumerable: true, get: function () { return get_compositions_2.getCompositions; } });
|
|
104
|
-
|
|
104
|
+
var get_silent_parts_1 = require("./get-silent-parts");
|
|
105
105
|
Object.defineProperty(exports, "getSilentParts", { enumerable: true, get: function () { return get_silent_parts_1.getSilentParts; } });
|
|
106
|
-
|
|
106
|
+
var get_video_metadata_1 = require("./get-video-metadata");
|
|
107
107
|
Object.defineProperty(exports, "getVideoMetadata", { enumerable: true, get: function () { return get_video_metadata_1.getVideoMetadata; } });
|
|
108
|
-
|
|
108
|
+
var image_format_2 = require("./image-format");
|
|
109
109
|
Object.defineProperty(exports, "validateSelectedPixelFormatAndImageFormatCombination", { enumerable: true, get: function () { return image_format_2.validateSelectedPixelFormatAndImageFormatCombination; } });
|
|
110
|
-
|
|
110
|
+
var make_cancel_signal_1 = require("./make-cancel-signal");
|
|
111
111
|
Object.defineProperty(exports, "makeCancelSignal", { enumerable: true, get: function () { return make_cancel_signal_1.makeCancelSignal; } });
|
|
112
|
-
|
|
112
|
+
var open_browser_2 = require("./open-browser");
|
|
113
113
|
Object.defineProperty(exports, "openBrowser", { enumerable: true, get: function () { return open_browser_2.openBrowser; } });
|
|
114
|
-
|
|
114
|
+
var default_coding_agent_1 = require("./options/default-coding-agent");
|
|
115
115
|
Object.defineProperty(exports, "defaultCodingAgentIds", { enumerable: true, get: function () { return default_coding_agent_1.defaultCodingAgentIds; } });
|
|
116
|
-
|
|
116
|
+
var default_editor_1 = require("./options/default-editor");
|
|
117
117
|
Object.defineProperty(exports, "customEditorColumnNumberPlaceholder", { enumerable: true, get: function () { return default_editor_1.customEditorColumnNumberPlaceholder; } });
|
|
118
118
|
Object.defineProperty(exports, "customEditorLineNumberPlaceholder", { enumerable: true, get: function () { return default_editor_1.customEditorLineNumberPlaceholder; } });
|
|
119
119
|
Object.defineProperty(exports, "customEditorTargetPathPlaceholder", { enumerable: true, get: function () { return default_editor_1.customEditorTargetPathPlaceholder; } });
|
|
120
120
|
Object.defineProperty(exports, "defaultEditorIds", { enumerable: true, get: function () { return default_editor_1.defaultEditorIds; } });
|
|
121
|
-
|
|
121
|
+
var render_frames_2 = require("./render-frames");
|
|
122
122
|
Object.defineProperty(exports, "renderFrames", { enumerable: true, get: function () { return render_frames_2.renderFrames; } });
|
|
123
|
-
|
|
123
|
+
var render_media_2 = require("./render-media");
|
|
124
124
|
Object.defineProperty(exports, "renderMedia", { enumerable: true, get: function () { return render_media_2.renderMedia; } });
|
|
125
|
-
|
|
125
|
+
var render_still_2 = require("./render-still");
|
|
126
126
|
Object.defineProperty(exports, "renderStill", { enumerable: true, get: function () { return render_still_2.renderStill; } });
|
|
127
|
-
|
|
127
|
+
var select_composition_2 = require("./select-composition");
|
|
128
128
|
Object.defineProperty(exports, "selectComposition", { enumerable: true, get: function () { return select_composition_2.selectComposition; } });
|
|
129
|
-
|
|
129
|
+
var stitch_frames_to_video_1 = require("./stitch-frames-to-video");
|
|
130
130
|
Object.defineProperty(exports, "stitchFramesToVideo", { enumerable: true, get: function () { return stitch_frames_to_video_1.stitchFramesToVideo; } });
|
|
131
|
-
|
|
131
|
+
var validate_output_filename_1 = require("./validate-output-filename");
|
|
132
132
|
Object.defineProperty(exports, "validateOutputFilename", { enumerable: true, get: function () { return validate_output_filename_1.validateOutputFilename; } });
|
|
133
133
|
const download_map_1 = require("./assets/download-map");
|
|
134
134
|
const can_concat_seamlessly_1 = require("./can-concat-seamlessly");
|
package/dist/is-audio-codec.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { Codec } from './codec';
|
|
2
|
+
export declare const isAudioCodec: (codec: Codec | undefined | null) => codec is "aac" | "mp3" | "wav";
|
package/dist/log-level.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const logLevels: readonly [
|
|
1
|
+
export declare const logLevels: readonly ['trace', 'verbose', 'info', 'warn', 'error'];
|
|
2
2
|
export type LogLevel = (typeof logLevels)[number];
|
|
3
3
|
export declare const isValidLogLevel: (level: string) => boolean;
|
|
4
|
-
export declare const isEqualOrBelowLogLevel: (currentLevel:
|
|
4
|
+
export declare const isEqualOrBelowLogLevel: (currentLevel: LogLevel, level: LogLevel) => boolean;
|
package/dist/logger.d.ts
CHANGED
|
@@ -10,11 +10,11 @@ type VerboseLogOptions = LogOptions & {
|
|
|
10
10
|
export declare const verboseTag: (str: string) => string;
|
|
11
11
|
export declare const secondverboseTag: (str: string) => string;
|
|
12
12
|
export declare const Log: {
|
|
13
|
-
formatLogs: (logLevel:
|
|
14
|
-
trace: (options: VerboseLogOptions,
|
|
15
|
-
verbose: (options: VerboseLogOptions,
|
|
16
|
-
info: (options: LogOptions,
|
|
17
|
-
warn: (options: LogOptions,
|
|
18
|
-
error: (options: VerboseLogOptions,
|
|
13
|
+
formatLogs: (logLevel: LogLevel, options: VerboseLogOptions, args: Parameters<typeof console.log>) => string[];
|
|
14
|
+
trace: (options: VerboseLogOptions, ...args: Parameters<typeof console.log>) => void | boolean;
|
|
15
|
+
verbose: (options: VerboseLogOptions, ...args: Parameters<typeof console.log>) => void | boolean;
|
|
16
|
+
info: (options: LogOptions, ...args: Parameters<typeof console.log>) => void | boolean;
|
|
17
|
+
warn: (options: LogOptions, ...args: Parameters<typeof console.log>) => void | boolean;
|
|
18
|
+
error: (options: VerboseLogOptions, ...args: Parameters<typeof console.log>) => void | boolean;
|
|
19
19
|
};
|
|
20
20
|
export {};
|
package/dist/make-page.d.ts
CHANGED
|
@@ -2,25 +2,27 @@ import type { VideoConfig } from 'remotion/no-react';
|
|
|
2
2
|
import type { BrowserLog } from './browser-log';
|
|
3
3
|
import type { OnLog, Page } from './browser/BrowserPage';
|
|
4
4
|
import type { SourceMapGetter } from './browser/source-map-getter';
|
|
5
|
+
import type { VideoImageFormat } from './image-format';
|
|
6
|
+
import type { LogLevel } from './log-level';
|
|
5
7
|
import type { BrowserReplacer } from './replace-browser';
|
|
6
8
|
export declare const makePage: ({ context, initialFrame, browserReplacer, logLevel, indent, pagesArray, onBrowserLog, scale, timeoutInMilliseconds, composition, proxyPort, serveUrl, muted, envVariables, serializedInputPropsWithCustomSchema, imageFormat, serializedResolvedPropsWithCustomSchema, pageIndex, isMainTab, mediaCacheSizeInBytes, onLog, darkMode, sampleRate, }: {
|
|
7
9
|
context: SourceMapGetter;
|
|
8
10
|
initialFrame: number;
|
|
9
11
|
browserReplacer: BrowserReplacer;
|
|
10
|
-
logLevel:
|
|
12
|
+
logLevel: LogLevel;
|
|
11
13
|
indent: boolean;
|
|
12
14
|
pagesArray: Page[];
|
|
13
15
|
onBrowserLog: ((log: BrowserLog) => void) | null;
|
|
14
16
|
scale: number;
|
|
15
17
|
timeoutInMilliseconds: number;
|
|
16
|
-
composition: Omit<VideoConfig,
|
|
18
|
+
composition: Omit<VideoConfig, 'defaultProps' | 'props'>;
|
|
17
19
|
proxyPort: number;
|
|
18
20
|
serveUrl: string;
|
|
19
21
|
muted: boolean;
|
|
20
22
|
envVariables: Record<string, string>;
|
|
21
23
|
serializedInputPropsWithCustomSchema: string;
|
|
22
24
|
serializedResolvedPropsWithCustomSchema: string;
|
|
23
|
-
imageFormat:
|
|
25
|
+
imageFormat: VideoImageFormat;
|
|
24
26
|
pageIndex: number;
|
|
25
27
|
isMainTab: boolean;
|
|
26
28
|
mediaCacheSizeInBytes: number | null;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { LogLevel } from '../log-level';
|
|
2
|
+
export declare const getAvailableMemoryFromMacos: (logLevel: LogLevel) => number | null;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { LogLevel } from '../log-level';
|
|
2
|
+
export declare const getAvailableMemoryFromProcMeminfo: (logLevel: LogLevel) => number | null;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { LogLevel } from '../log-level';
|
|
2
|
+
export declare const getAvailableMemory: (logLevel: LogLevel) => number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { DownloadMap } from './assets/download-map';
|
|
2
2
|
import type { InlineAudioTrack } from './assets/inline-audio-mixing';
|
|
3
|
+
import type { LogLevel } from './log-level';
|
|
3
4
|
import type { CancelSignal } from './make-cancel-signal';
|
|
4
5
|
import type { PreprocessedAudioTrack } from './preprocess-audio-track';
|
|
5
6
|
export declare const inlineAudioTrackToPreprocessedAudioTrack: ({ track, relativeToInSamples, padToDurationInSamples, }: {
|
|
@@ -12,7 +13,7 @@ export declare const mergeInlineAudioTracks: ({ tracks, downloadMap, remotionRoo
|
|
|
12
13
|
downloadMap: DownloadMap;
|
|
13
14
|
remotionRoot: string;
|
|
14
15
|
indent: boolean;
|
|
15
|
-
logLevel:
|
|
16
|
+
logLevel: LogLevel;
|
|
16
17
|
binariesDirectory: string | null;
|
|
17
18
|
cancelSignal: CancelSignal | undefined;
|
|
18
19
|
fps: number;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
import type { LogLevel } from './log-level';
|
|
1
2
|
import type { CancelSignal } from './make-cancel-signal';
|
|
3
|
+
import type { AudioCodec } from './options/audio-codec';
|
|
2
4
|
export declare const muxVideoAndAudio: ({ videoOutput, audioOutput, output, indent, logLevel, onProgress, binariesDirectory, fps, cancelSignal, metadata, numberOfGifLoops, audioCodec, sampleRate, }: {
|
|
3
5
|
videoOutput: string | null;
|
|
4
6
|
audioOutput: string | null;
|
|
5
7
|
output: string;
|
|
6
8
|
indent: boolean;
|
|
7
|
-
logLevel:
|
|
9
|
+
logLevel: LogLevel;
|
|
8
10
|
binariesDirectory: string | null;
|
|
9
11
|
fps: number;
|
|
10
12
|
onProgress: (p: number) => void;
|
|
11
13
|
cancelSignal: CancelSignal | undefined;
|
|
12
|
-
metadata?: Record<string, string> | null
|
|
14
|
+
metadata?: Record<string, string> | null;
|
|
13
15
|
numberOfGifLoops: number | null;
|
|
14
|
-
audioCodec:
|
|
16
|
+
audioCodec: AudioCodec | null;
|
|
15
17
|
sampleRate: number;
|
|
16
18
|
}) => Promise<void>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { RequestListener } from 'node:http';
|
|
2
2
|
import type { DownloadMap } from './assets/download-map';
|
|
3
3
|
import type { Compositor } from './compositor/compositor';
|
|
4
|
+
import type { LogLevel } from './log-level';
|
|
4
5
|
export declare const extractUrlAndSourceFromUrl: (url: string) => {
|
|
5
6
|
src: string;
|
|
6
7
|
time: number;
|
|
@@ -11,7 +12,7 @@ export declare const startOffthreadVideoServer: ({ downloadMap, logLevel, indent
|
|
|
11
12
|
downloadMap: DownloadMap;
|
|
12
13
|
offthreadVideoCacheSizeInBytes: number | null;
|
|
13
14
|
offthreadVideoThreads: number;
|
|
14
|
-
logLevel:
|
|
15
|
+
logLevel: LogLevel;
|
|
15
16
|
indent: boolean;
|
|
16
17
|
binariesDirectory: string | null;
|
|
17
18
|
}) => {
|
|
@@ -168,10 +168,12 @@ const startOffthreadVideoServer = ({ downloadMap, logLevel, indent, offthreadVid
|
|
|
168
168
|
};
|
|
169
169
|
exports.startOffthreadVideoServer = startOffthreadVideoServer;
|
|
170
170
|
class OffthreadVideoServerEmitter {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
171
|
+
constructor() {
|
|
172
|
+
this.listeners = {
|
|
173
|
+
progress: [],
|
|
174
|
+
download: [],
|
|
175
|
+
};
|
|
176
|
+
}
|
|
175
177
|
addEventListener(name, callback) {
|
|
176
178
|
this.listeners[name].push(callback);
|
|
177
179
|
return () => {
|
package/dist/open-browser.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export type ChromiumOptions = {
|
|
|
21
21
|
*/
|
|
22
22
|
headless?: boolean;
|
|
23
23
|
};
|
|
24
|
-
export declare const getOpenGlRenderer: (option:
|
|
24
|
+
export declare const getOpenGlRenderer: (option: OpenGlRenderer | null | undefined, enableV5BreakingChanges?: boolean) => string[];
|
|
25
25
|
type InternalOpenBrowserOptions = {
|
|
26
26
|
browserExecutable: string | null;
|
|
27
27
|
chromiumOptions: ChromiumOptions;
|
|
@@ -46,5 +46,5 @@ export type OpenBrowserOptions = {
|
|
|
46
46
|
forceDeviceScaleFactor?: number;
|
|
47
47
|
} & LogOptions;
|
|
48
48
|
export declare const internalOpenBrowser: ({ browser, browserExecutable, chromiumOptions, forceDeviceScaleFactor, indent, viewport, logLevel, onBrowserDownload, chromeMode, }: InternalOpenBrowserOptions) => Promise<HeadlessBrowser>;
|
|
49
|
-
export declare const openBrowser: (browser:
|
|
49
|
+
export declare const openBrowser: (browser: Browser, options?: OpenBrowserOptions) => Promise<HeadlessBrowser>;
|
|
50
50
|
export {};
|
|
@@ -8,8 +8,7 @@ exports.allowHtmlInCanvasOption = {
|
|
|
8
8
|
name: 'Allow HTML-in-canvas for client-side rendering',
|
|
9
9
|
addedIn: '4.0.447',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["When client-side rendering is enabled in the Studio, allow the experimental Chromium HTML-in-canvas API to be used for capturing frames. See", ' ', jsx_runtime_1.jsx("a", { href: "/docs/client-side-rendering/html-in-canvas", children: "HTML-in-canvas docs" }),
|
|
12
|
-
"."] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["When client-side rendering is enabled in the Studio, allow the experimental Chromium HTML-in-canvas API to be used for capturing frames. See", ' ', (0, jsx_runtime_1.jsx)("a", { href: "/docs/client-side-rendering/html-in-canvas", children: "HTML-in-canvas docs" }), "."] })),
|
|
13
12
|
ssrName: null,
|
|
14
13
|
docLink: 'https://www.remotion.dev/docs/options/allow-html-in-canvas',
|
|
15
14
|
type: false,
|
package/dist/options/api-key.js
CHANGED
|
@@ -8,9 +8,7 @@ exports.apiKeyOption = {
|
|
|
8
8
|
name: 'API key',
|
|
9
9
|
addedIn: '4.0.253',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["API key for sending a usage event using ",
|
|
12
|
-
jsx_runtime_1.jsx("code", { children: "@remotion/licensing" }),
|
|
13
|
-
"."] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["API key for sending a usage event using ", (0, jsx_runtime_1.jsx)("code", { children: "@remotion/licensing" }), "."] })),
|
|
14
12
|
ssrName: 'apiKey',
|
|
15
13
|
docLink: 'https://www.remotion.dev/docs/options/api-key',
|
|
16
14
|
type: null,
|
package/dist/options/ask-ai.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.askAIOption = {
|
|
|
9
9
|
name: 'Disable or Enable the Ask AI option',
|
|
10
10
|
addedIn: '4.0.407',
|
|
11
11
|
cliFlag,
|
|
12
|
-
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "If the Cmd + I shortcut of the Ask AI modal conflicts with your Studio, you can disable it using this." })),
|
|
12
|
+
description: () => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "If the Cmd + I shortcut of the Ask AI modal conflicts with your Studio, you can disable it using this." })),
|
|
13
13
|
ssrName: null,
|
|
14
14
|
docLink: 'https://www.remotion.dev/docs/options/disable-ask-ai',
|
|
15
15
|
type: false,
|
|
@@ -8,15 +8,7 @@ exports.audioBitrateOption = {
|
|
|
8
8
|
name: 'Audio Bitrate',
|
|
9
9
|
addedIn: '3.2.32',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Specify the target bitrate for the generated video. The syntax for FFmpeg", "'", "s ",
|
|
12
|
-
jsx_runtime_1.jsx("code", { children: "-b:a" }),
|
|
13
|
-
" parameter should be used. FFmpeg may encode the video in a way that will not result in the exact audio bitrate specified. Example values: ",
|
|
14
|
-
jsx_runtime_1.jsx("code", { children: "512K" }),
|
|
15
|
-
" for 512 kbps, ",
|
|
16
|
-
jsx_runtime_1.jsx("code", { children: "1M" }),
|
|
17
|
-
" for 1 Mbps. Default: ",
|
|
18
|
-
jsx_runtime_1.jsx("code", { children: "320k" })
|
|
19
|
-
] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Specify the target bitrate for the generated video. The syntax for FFmpeg", "'", "s ", (0, jsx_runtime_1.jsx)("code", { children: "-b:a" }), " parameter should be used. FFmpeg may encode the video in a way that will not result in the exact audio bitrate specified. Example values: ", (0, jsx_runtime_1.jsx)("code", { children: "512K" }), " for 512 kbps, ", (0, jsx_runtime_1.jsx)("code", { children: "1M" }), " for 1 Mbps. Default: ", (0, jsx_runtime_1.jsx)("code", { children: "320k" })] })),
|
|
20
12
|
ssrName: 'audioBitrate',
|
|
21
13
|
docLink: 'https://www.remotion.dev/docs/options/audio-bitrate',
|
|
22
14
|
type: '0',
|
|
@@ -1,38 +1,40 @@
|
|
|
1
1
|
import type { Codec } from '../codec';
|
|
2
|
-
export declare const validAudioCodecs: readonly [
|
|
2
|
+
export declare const validAudioCodecs: readonly ['pcm-16', 'aac', 'mp3', 'opus'];
|
|
3
3
|
export type AudioCodec = (typeof validAudioCodecs)[number];
|
|
4
4
|
export declare const supportedAudioCodecs: {
|
|
5
|
-
readonly h264: readonly [
|
|
6
|
-
readonly 'h264-mkv': readonly [
|
|
7
|
-
readonly 'h264-ts': readonly [
|
|
8
|
-
readonly aac: readonly [
|
|
5
|
+
readonly h264: readonly ['aac', 'pcm-16', 'mp3'];
|
|
6
|
+
readonly 'h264-mkv': readonly ['pcm-16', 'mp3'];
|
|
7
|
+
readonly 'h264-ts': readonly ['pcm-16', 'aac'];
|
|
8
|
+
readonly aac: readonly ['aac', 'pcm-16'];
|
|
9
9
|
readonly avi: readonly [];
|
|
10
10
|
readonly gif: readonly [];
|
|
11
|
-
readonly h265: readonly [
|
|
12
|
-
readonly av1: readonly [
|
|
13
|
-
readonly mp3: readonly [
|
|
14
|
-
readonly prores: readonly [
|
|
15
|
-
readonly vp8: readonly [
|
|
16
|
-
readonly vp9: readonly [
|
|
17
|
-
readonly wav: readonly [
|
|
11
|
+
readonly h265: readonly ['aac', 'pcm-16'];
|
|
12
|
+
readonly av1: readonly ['aac', 'opus', 'pcm-16'];
|
|
13
|
+
readonly mp3: readonly ['mp3', 'pcm-16'];
|
|
14
|
+
readonly prores: readonly ['aac', 'pcm-16'];
|
|
15
|
+
readonly vp8: readonly ['opus', 'pcm-16'];
|
|
16
|
+
readonly vp9: readonly ['opus', 'pcm-16'];
|
|
17
|
+
readonly wav: readonly ['pcm-16'];
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
declare const audioCodecNames: readonly ['pcm_s16le', 'libfdk_aac', 'libmp3lame', 'libopus'];
|
|
20
|
+
type FfmpegAudioCodecName = (typeof audioCodecNames)[number];
|
|
21
|
+
export declare const mapAudioCodecToFfmpegAudioCodecName: (audioCodec: AudioCodec) => FfmpegAudioCodecName;
|
|
20
22
|
export declare const defaultAudioCodecs: {
|
|
21
23
|
[key in Codec]: {
|
|
22
24
|
[_ in 'compressed' | 'lossless']: (typeof supportedAudioCodecs)[key][number] | null;
|
|
23
25
|
};
|
|
24
26
|
};
|
|
25
|
-
export declare const getExtensionFromAudioCodec: (audioCodec:
|
|
27
|
+
export declare const getExtensionFromAudioCodec: (audioCodec: AudioCodec) => "aac" | "mp3" | "opus" | "wav";
|
|
26
28
|
export declare const resolveAudioCodec: ({ codec, setting, preferLossless, separateAudioTo, }: {
|
|
27
|
-
setting:
|
|
28
|
-
codec:
|
|
29
|
+
setting: AudioCodec | null;
|
|
30
|
+
codec: Codec;
|
|
29
31
|
preferLossless: boolean;
|
|
30
32
|
separateAudioTo: string | null;
|
|
31
33
|
}) => "aac" | "mp3" | "opus" | "pcm-16" | null;
|
|
32
34
|
export declare const getDefaultAudioCodec: ({ codec, preferLossless, }: {
|
|
33
|
-
codec:
|
|
35
|
+
codec: Codec;
|
|
34
36
|
preferLossless: boolean;
|
|
35
|
-
}) =>
|
|
37
|
+
}) => AudioCodec | null;
|
|
36
38
|
export declare const audioCodecOption: {
|
|
37
39
|
cliFlag: "audio-codec";
|
|
38
40
|
setConfig: (audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null) => void;
|
|
@@ -40,7 +42,7 @@ export declare const audioCodecOption: {
|
|
|
40
42
|
commandLine: Record<string, unknown>;
|
|
41
43
|
}) => {
|
|
42
44
|
source: string;
|
|
43
|
-
value:
|
|
45
|
+
value: AudioCodec;
|
|
44
46
|
} | {
|
|
45
47
|
source: string;
|
|
46
48
|
value: null;
|
|
@@ -50,6 +52,7 @@ export declare const audioCodecOption: {
|
|
|
50
52
|
name: string;
|
|
51
53
|
addedIn: string;
|
|
52
54
|
ssrName: "audioCodec";
|
|
53
|
-
type:
|
|
55
|
+
type: AudioCodec;
|
|
54
56
|
id: "audio-codec";
|
|
55
57
|
};
|
|
58
|
+
export {};
|
|
@@ -9,7 +9,7 @@ exports.beepOnFinishOption = {
|
|
|
9
9
|
name: 'Beep on finish',
|
|
10
10
|
addedIn: '4.0.84',
|
|
11
11
|
cliFlag,
|
|
12
|
-
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Whether the Remotion Studio tab should beep when the render is finished." })),
|
|
12
|
+
description: () => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Whether the Remotion Studio tab should beep when the render is finished." })),
|
|
13
13
|
ssrName: null,
|
|
14
14
|
docLink: 'https://www.remotion.dev/docs/options/beep-on-finish',
|
|
15
15
|
type: false,
|
|
@@ -8,8 +8,7 @@ exports.benchmarkConcurrenciesOption = {
|
|
|
8
8
|
name: 'Benchmark concurrencies',
|
|
9
9
|
addedIn: '3.2.28',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Specify which concurrency values should be used while benchmarking. Multiple values can be passed separated by comma. Learn more about", ' ', jsx_runtime_1.jsx("a", { href: "https://remotion.dev/docs/terminology/concurrency", children: "concurrency" }),
|
|
12
|
-
"."] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Specify which concurrency values should be used while benchmarking. Multiple values can be passed separated by comma. Learn more about", ' ', (0, jsx_runtime_1.jsx)("a", { href: "https://remotion.dev/docs/terminology/concurrency", children: "concurrency" }), "."] })),
|
|
13
12
|
ssrName: null,
|
|
14
13
|
docLink: 'https://www.remotion.dev/docs/options/concurrencies',
|
|
15
14
|
type: null,
|
|
@@ -3,7 +3,7 @@ export declare const binariesDirectoryOption: {
|
|
|
3
3
|
addedIn: string;
|
|
4
4
|
cliFlag: "binaries-directory";
|
|
5
5
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
ssrName:
|
|
6
|
+
ssrName: 'binariesDirectory';
|
|
7
7
|
docLink: string;
|
|
8
8
|
type: string | null;
|
|
9
9
|
getValue: ({ commandLine }: {
|
|
@@ -8,15 +8,7 @@ exports.binariesDirectoryOption = {
|
|
|
8
8
|
name: 'Binaries Directory',
|
|
9
9
|
addedIn: '4.0.120',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The directory where the platform-specific binaries and libraries that Remotion needs are located. Those include an ",
|
|
12
|
-
jsx_runtime_1.jsx("code", { children: "ffmpeg" }),
|
|
13
|
-
" and", ' ', jsx_runtime_1.jsx("code", { children: "ffprobe" }),
|
|
14
|
-
" binary, a Rust binary for various tasks, and various shared libraries. If the value is set to ",
|
|
15
|
-
jsx_runtime_1.jsx("code", { children: "null" }),
|
|
16
|
-
", which is the default, then the path of a platform-specific package located at", ' ', jsx_runtime_1.jsx("code", { children: "node_modules/@remotion/compositor-*" }),
|
|
17
|
-
" is selected.",
|
|
18
|
-
jsx_runtime_1.jsx("br", {}),
|
|
19
|
-
"This option is useful in environments where Remotion is not officially supported to run like bundled serverless functions or Electron."] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["The directory where the platform-specific binaries and libraries that Remotion needs are located. Those include an ", (0, jsx_runtime_1.jsx)("code", { children: "ffmpeg" }), " and", ' ', (0, jsx_runtime_1.jsx)("code", { children: "ffprobe" }), " binary, a Rust binary for various tasks, and various shared libraries. If the value is set to ", (0, jsx_runtime_1.jsx)("code", { children: "null" }), ", which is the default, then the path of a platform-specific package located at", ' ', (0, jsx_runtime_1.jsx)("code", { children: "node_modules/@remotion/compositor-*" }), " is selected.", (0, jsx_runtime_1.jsx)("br", {}), "This option is useful in environments where Remotion is not officially supported to run like bundled serverless functions or Electron."] })),
|
|
20
12
|
ssrName: 'binariesDirectory',
|
|
21
13
|
docLink: 'https://www.remotion.dev/docs/options/binaries-directory',
|
|
22
14
|
type: '',
|
|
@@ -4,7 +4,7 @@ export declare const browserExecutableOption: {
|
|
|
4
4
|
addedIn: string;
|
|
5
5
|
cliFlag: "browser-executable";
|
|
6
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
ssrName:
|
|
7
|
+
ssrName: 'browserExecutable';
|
|
8
8
|
docLink: string;
|
|
9
9
|
type: BrowserExecutable;
|
|
10
10
|
getValue: ({ commandLine }: {
|
|
@@ -8,7 +8,7 @@ exports.browserExecutableOption = {
|
|
|
8
8
|
name: 'Browser executable',
|
|
9
9
|
addedIn: '1.5.0',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Set a custom Chrome or Chromium executable path. By default Remotion will try to find an existing version of Chrome on your system and if not found, it will download one. This flag is useful if you don't have Chrome installed in a standard location and you want to prevent downloading an additional browser or need support for the H264 codec." })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Set a custom Chrome or Chromium executable path. By default Remotion will try to find an existing version of Chrome on your system and if not found, it will download one. This flag is useful if you don't have Chrome installed in a standard location and you want to prevent downloading an additional browser or need support for the H264 codec." })),
|
|
12
12
|
ssrName: 'browserExecutable',
|
|
13
13
|
docLink: 'https://www.remotion.dev/docs/options/browser-executable',
|
|
14
14
|
type: null,
|
package/dist/options/browser.js
CHANGED
|
@@ -7,8 +7,7 @@ exports.browserOption = {
|
|
|
7
7
|
name: 'Browser',
|
|
8
8
|
addedIn: '3.3.79',
|
|
9
9
|
cliFlag,
|
|
10
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Specify the browser which should be used for opening a tab. The default browser will be used by default. Pass an absolute path or", ' ', jsx_runtime_1.jsx("code", { children: "\"chrome\"" }),
|
|
11
|
-
" to use Chrome. If Chrome is selected as the browser and you are on macOS, Remotion will try to reuse an existing tab."] })),
|
|
10
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Specify the browser which should be used for opening a tab. The default browser will be used by default. Pass an absolute path or", ' ', (0, jsx_runtime_1.jsx)("code", { children: "\"chrome\"" }), " to use Chrome. If Chrome is selected as the browser and you are on macOS, Remotion will try to reuse an existing tab."] })),
|
|
12
11
|
ssrName: null,
|
|
13
12
|
docLink: 'https://www.remotion.dev/docs/options/browser',
|
|
14
13
|
getValue: ({ commandLine }) => {
|
|
@@ -8,8 +8,7 @@ exports.bundleCacheOption = {
|
|
|
8
8
|
name: 'Webpack Bundle Caching',
|
|
9
9
|
addedIn: '2.0.0',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Enable or disable Webpack caching. This flag is enabled by default, use", ' ', jsx_runtime_1.jsx("code", { children: "--bundle-cache=false" }),
|
|
12
|
-
" to disable caching."] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Enable or disable Webpack caching. This flag is enabled by default, use", ' ', (0, jsx_runtime_1.jsx)("code", { children: "--bundle-cache=false" }), " to disable caching."] })),
|
|
13
12
|
ssrName: null,
|
|
14
13
|
docLink: 'https://www.remotion.dev/docs/options/bundle-cache',
|
|
15
14
|
getValue: ({ commandLine }) => {
|
|
@@ -9,7 +9,7 @@ exports.canvasTabsOption = {
|
|
|
9
9
|
name: 'Disable or enable Studio canvas tabs',
|
|
10
10
|
addedIn: '4.0.530',
|
|
11
11
|
cliFlag,
|
|
12
|
-
description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Enable or disable the tabs above the Studio canvas." }),
|
|
12
|
+
description: () => (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Enable or disable the tabs above the Studio canvas." }),
|
|
13
13
|
ssrName: null,
|
|
14
14
|
docLink: 'https://www.remotion.dev/docs/options/disable-canvas-tabs',
|
|
15
15
|
type: false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const validChromeModeOptions: readonly [
|
|
1
|
+
export declare const validChromeModeOptions: readonly ['headless-shell', 'chrome-for-testing'];
|
|
2
2
|
export type ChromeMode = (typeof validChromeModeOptions)[number];
|
|
3
3
|
export declare const chromeModeOption: {
|
|
4
4
|
cliFlag: "chrome-mode";
|
|
@@ -10,10 +10,10 @@ export declare const chromeModeOption: {
|
|
|
10
10
|
getValue: ({ commandLine }: {
|
|
11
11
|
commandLine: Record<string, unknown>;
|
|
12
12
|
}) => {
|
|
13
|
-
value:
|
|
13
|
+
value: ChromeMode;
|
|
14
14
|
source: string;
|
|
15
15
|
};
|
|
16
|
-
setConfig: (newChromeMode:
|
|
17
|
-
type:
|
|
16
|
+
setConfig: (newChromeMode: ChromeMode) => void;
|
|
17
|
+
type: ChromeMode;
|
|
18
18
|
id: "chrome-mode";
|
|
19
19
|
};
|
|
@@ -14,12 +14,7 @@ exports.chromeModeOption = {
|
|
|
14
14
|
addedIn: '4.0.248',
|
|
15
15
|
ssrName: 'chromeMode',
|
|
16
16
|
description: () => {
|
|
17
|
-
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["One of", ' ', exports.validChromeModeOptions.map((option, i) => (jsx_runtime_1.jsxs("code", { children: [option, i === exports.validChromeModeOptions.length - 1 ? '' : ', '] }, option))), ". Default ",
|
|
18
|
-
jsx_runtime_1.jsx("code", { children: "headless-shell" }),
|
|
19
|
-
".", ' ', jsx_runtime_1.jsxs("a", { href: "https://remotion.dev/docs/miscellaneous/chrome-headless-shell", children: ["Use ",
|
|
20
|
-
jsx_runtime_1.jsx("code", { children: "chrome-for-testing" }),
|
|
21
|
-
" to take advantage of GPU drivers on Linux."] })
|
|
22
|
-
] }));
|
|
17
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["One of", ' ', exports.validChromeModeOptions.map((option, i) => ((0, jsx_runtime_1.jsxs)("code", { children: [option, i === exports.validChromeModeOptions.length - 1 ? '' : ', '] }, option))), ". Default ", (0, jsx_runtime_1.jsx)("code", { children: "headless-shell" }), ".", ' ', (0, jsx_runtime_1.jsxs)("a", { href: "https://remotion.dev/docs/miscellaneous/chrome-headless-shell", children: ["Use ", (0, jsx_runtime_1.jsx)("code", { children: "chrome-for-testing" }), " to take advantage of GPU drivers on Linux."] })] }));
|
|
23
18
|
},
|
|
24
19
|
docLink: 'https://www.remotion.dev/docs/options/chrome-mode',
|
|
25
20
|
getValue: ({ commandLine }) => {
|
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
import { NoReactInternals } from 'remotion/no-react';
|
|
2
|
+
declare const validV4ColorSpaces: readonly ['default', 'bt601', 'bt709', 'bt2020-ncl'];
|
|
3
|
+
declare const validV5ColorSpaces: readonly ['bt601', 'bt709', 'bt2020-ncl'];
|
|
4
|
+
export declare const validColorSpaces: true extends typeof NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? typeof validV5ColorSpaces : typeof validV4ColorSpaces;
|
|
2
5
|
export type ColorSpace = (typeof validColorSpaces)[number];
|
|
3
|
-
export declare const DEFAULT_COLOR_SPACE:
|
|
6
|
+
export declare const DEFAULT_COLOR_SPACE: true extends typeof NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? 'bt709' : 'default';
|
|
4
7
|
export declare const colorSpaceOption: {
|
|
5
8
|
name: string;
|
|
6
9
|
addedIn: string;
|
|
7
|
-
cliFlag:
|
|
10
|
+
cliFlag: 'color-space';
|
|
8
11
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
9
12
|
docLink: string;
|
|
10
13
|
ssrName: string;
|
|
11
|
-
type:
|
|
14
|
+
type: ColorSpace | null;
|
|
12
15
|
getValue: ({ commandLine }: {
|
|
13
16
|
commandLine: Record<string, unknown>;
|
|
14
17
|
}) => {
|
|
15
18
|
source: string;
|
|
16
|
-
value:
|
|
19
|
+
value: ColorSpace;
|
|
17
20
|
};
|
|
18
21
|
setConfig: (value: "bt2020-ncl" | "bt601" | "bt709" | "default" | null) => void;
|
|
19
22
|
id: "color-space";
|
|
20
23
|
};
|
|
21
24
|
export declare const validateColorSpace: (option: unknown) => void;
|
|
25
|
+
export {};
|
|
@@ -15,14 +15,7 @@ exports.colorSpaceOption = {
|
|
|
15
15
|
name: 'Color space',
|
|
16
16
|
addedIn: '4.0.28',
|
|
17
17
|
cliFlag: 'color-space',
|
|
18
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Color space to use for the video. Acceptable values:", ' ', jsx_runtime_1.jsxs("code", { children: ['"', exports.DEFAULT_COLOR_SPACE, '"'] }),
|
|
19
|
-
"(default since 5.0),", ' ', no_react_1.NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? (jsx_runtime_1.jsxs("code", { children: ['"', "bt601", '"', ', '] })) : (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
|
|
20
|
-
jsx_runtime_1.jsxs("code", { children: ['"', "bt601", '"'] }), ' ', "(same as", ' ', jsx_runtime_1.jsxs("code", { children: ['"', "default", '"'] }),
|
|
21
|
-
", since v4.0.424),", ' ', jsx_runtime_1.jsxs("code", { children: ['"', "bt709", '"'] }), ' ', "(since v4.0.28),", ' '] })), jsx_runtime_1.jsxs("code", { children: ['"', "bt2020-ncl", '"'] }), ' ', "(since v4.0.88),", ' ', jsx_runtime_1.jsxs("code", { children: ['"', "bt2020-cl", '"'] }), ' ', "(since v4.0.88), .",
|
|
22
|
-
jsx_runtime_1.jsx("br", {}),
|
|
23
|
-
"For best color accuracy, it is recommended to also use", ' ', jsx_runtime_1.jsxs("code", { children: ['"', "png", '"'] }), ' ', "as the image format to have accurate color transformations throughout.",
|
|
24
|
-
jsx_runtime_1.jsx("br", {}),
|
|
25
|
-
"Only since v4.0.83, colorspace conversion is actually performed, previously it would only tag the metadata of the video."] })),
|
|
18
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Color space to use for the video. Acceptable values:", ' ', (0, jsx_runtime_1.jsxs)("code", { children: ['"', exports.DEFAULT_COLOR_SPACE, '"'] }), "(default since 5.0),", ' ', no_react_1.NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? ((0, jsx_runtime_1.jsxs)("code", { children: ['"', "bt601", '"', ', '] })) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("code", { children: ['"', "bt601", '"'] }), ' ', "(same as", ' ', (0, jsx_runtime_1.jsxs)("code", { children: ['"', "default", '"'] }), ", since v4.0.424),", ' ', (0, jsx_runtime_1.jsxs)("code", { children: ['"', "bt709", '"'] }), ' ', "(since v4.0.28),", ' '] })), (0, jsx_runtime_1.jsxs)("code", { children: ['"', "bt2020-ncl", '"'] }), ' ', "(since v4.0.88),", ' ', (0, jsx_runtime_1.jsxs)("code", { children: ['"', "bt2020-cl", '"'] }), ' ', "(since v4.0.88), .", (0, jsx_runtime_1.jsx)("br", {}), "For best color accuracy, it is recommended to also use", ' ', (0, jsx_runtime_1.jsxs)("code", { children: ['"', "png", '"'] }), ' ', "as the image format to have accurate color transformations throughout.", (0, jsx_runtime_1.jsx)("br", {}), "Only since v4.0.83, colorspace conversion is actually performed, previously it would only tag the metadata of the video."] })),
|
|
26
19
|
docLink: 'https://www.remotion.dev/docs/options/color-space',
|
|
27
20
|
ssrName: 'colorSpace',
|
|
28
21
|
type: exports.DEFAULT_COLOR_SPACE,
|
|
@@ -4,7 +4,7 @@ export declare const concurrencyOption: {
|
|
|
4
4
|
addedIn: string;
|
|
5
5
|
cliFlag: "concurrency";
|
|
6
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
ssrName:
|
|
7
|
+
ssrName: 'concurrency';
|
|
8
8
|
docLink: string;
|
|
9
9
|
type: Concurrency;
|
|
10
10
|
getValue: ({ commandLine }: {
|