@remotion/renderer 4.0.421 → 4.0.423
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 +30 -0
- package/dist/esm/client.mjs +296 -225
- package/dist/esm/index.mjs +34 -17
- package/dist/frame-range.d.ts +1 -1
- package/dist/frame-range.js +27 -14
- package/dist/get-frame-to-render.js +9 -3
- package/dist/options/index.d.ts +30 -0
- package/dist/options/index.js +4 -0
- package/dist/options/ipv4.d.ts +15 -0
- package/dist/options/ipv4.js +29 -0
- package/dist/options/number-of-shared-audio-tags.d.ts +15 -0
- package/dist/options/number-of-shared-audio-tags.js +29 -0
- package/dist/options/private-license-key.d.ts +15 -0
- package/dist/options/private-license-key.js +35 -0
- package/package.json +13 -13
package/dist/esm/client.mjs
CHANGED
|
@@ -1805,22 +1805,52 @@ var imageSequencePatternOption = {
|
|
|
1805
1805
|
}
|
|
1806
1806
|
};
|
|
1807
1807
|
|
|
1808
|
+
// src/options/ipv4.tsx
|
|
1809
|
+
import { jsx as jsx25, Fragment as Fragment25 } from "react/jsx-runtime";
|
|
1810
|
+
var forceIPv4 = false;
|
|
1811
|
+
var cliFlag29 = "ipv4";
|
|
1812
|
+
var ipv4Option = {
|
|
1813
|
+
name: "IPv4",
|
|
1814
|
+
cliFlag: cliFlag29,
|
|
1815
|
+
description: () => /* @__PURE__ */ jsx25(Fragment25, {
|
|
1816
|
+
children: "Forces Remotion to bind to an IPv4 interface for the Studio server."
|
|
1817
|
+
}),
|
|
1818
|
+
ssrName: null,
|
|
1819
|
+
docLink: "https://www.remotion.dev/docs/cli/studio",
|
|
1820
|
+
type: false,
|
|
1821
|
+
getValue: ({ commandLine }) => {
|
|
1822
|
+
if (commandLine[cliFlag29] !== undefined) {
|
|
1823
|
+
return {
|
|
1824
|
+
value: commandLine[cliFlag29],
|
|
1825
|
+
source: "cli"
|
|
1826
|
+
};
|
|
1827
|
+
}
|
|
1828
|
+
return {
|
|
1829
|
+
value: forceIPv4,
|
|
1830
|
+
source: "config"
|
|
1831
|
+
};
|
|
1832
|
+
},
|
|
1833
|
+
setConfig(value) {
|
|
1834
|
+
forceIPv4 = value;
|
|
1835
|
+
}
|
|
1836
|
+
};
|
|
1837
|
+
|
|
1808
1838
|
// src/options/is-production.tsx
|
|
1809
|
-
import { jsx as
|
|
1810
|
-
var
|
|
1839
|
+
import { jsx as jsx26, jsxs as jsxs18, Fragment as Fragment26 } from "react/jsx-runtime";
|
|
1840
|
+
var cliFlag30 = "is-production";
|
|
1811
1841
|
var currentIsProductionKey = null;
|
|
1812
1842
|
var isProductionOption = {
|
|
1813
1843
|
name: "Is Production",
|
|
1814
|
-
cliFlag:
|
|
1815
|
-
description: () => /* @__PURE__ */ jsxs18(
|
|
1844
|
+
cliFlag: cliFlag30,
|
|
1845
|
+
description: () => /* @__PURE__ */ jsxs18(Fragment26, {
|
|
1816
1846
|
children: [
|
|
1817
1847
|
"Pass ",
|
|
1818
|
-
/* @__PURE__ */
|
|
1848
|
+
/* @__PURE__ */ jsx26("code", {
|
|
1819
1849
|
children: "false"
|
|
1820
1850
|
}),
|
|
1821
1851
|
" if this a development render to not count it as a billable render on remotion.pro. Only can be used in conjuction with",
|
|
1822
1852
|
" ",
|
|
1823
|
-
/* @__PURE__ */
|
|
1853
|
+
/* @__PURE__ */ jsx26("code", {
|
|
1824
1854
|
children: "licenseKey"
|
|
1825
1855
|
}),
|
|
1826
1856
|
"."
|
|
@@ -1829,10 +1859,10 @@ var isProductionOption = {
|
|
|
1829
1859
|
ssrName: "isProduction",
|
|
1830
1860
|
docLink: "https://www.remotion.dev/docs/licensing",
|
|
1831
1861
|
getValue: ({ commandLine }) => {
|
|
1832
|
-
if (commandLine[
|
|
1862
|
+
if (commandLine[cliFlag30] !== undefined) {
|
|
1833
1863
|
return {
|
|
1834
1864
|
source: "cli",
|
|
1835
|
-
value: commandLine[
|
|
1865
|
+
value: commandLine[cliFlag30]
|
|
1836
1866
|
};
|
|
1837
1867
|
}
|
|
1838
1868
|
if (currentIsProductionKey !== null) {
|
|
@@ -1853,7 +1883,7 @@ var isProductionOption = {
|
|
|
1853
1883
|
};
|
|
1854
1884
|
|
|
1855
1885
|
// src/options/jpeg-quality.tsx
|
|
1856
|
-
import { jsx as
|
|
1886
|
+
import { jsx as jsx27, Fragment as Fragment27 } from "react/jsx-runtime";
|
|
1857
1887
|
var defaultValue = DEFAULT_JPEG_QUALITY;
|
|
1858
1888
|
var quality = defaultValue;
|
|
1859
1889
|
var setJpegQuality = (q) => {
|
|
@@ -1864,11 +1894,11 @@ var setJpegQuality = (q) => {
|
|
|
1864
1894
|
}
|
|
1865
1895
|
quality = q;
|
|
1866
1896
|
};
|
|
1867
|
-
var
|
|
1897
|
+
var cliFlag31 = "jpeg-quality";
|
|
1868
1898
|
var jpegQualityOption = {
|
|
1869
1899
|
name: "JPEG Quality",
|
|
1870
|
-
cliFlag:
|
|
1871
|
-
description: () => /* @__PURE__ */
|
|
1900
|
+
cliFlag: cliFlag31,
|
|
1901
|
+
description: () => /* @__PURE__ */ jsx27(Fragment27, {
|
|
1872
1902
|
children: "Sets the quality of the generated JPEG images. Must be an integer between 0 and 100. Default: 80."
|
|
1873
1903
|
}),
|
|
1874
1904
|
ssrName: "jpegQuality",
|
|
@@ -1876,11 +1906,11 @@ var jpegQualityOption = {
|
|
|
1876
1906
|
type: 0,
|
|
1877
1907
|
setConfig: setJpegQuality,
|
|
1878
1908
|
getValue: ({ commandLine }) => {
|
|
1879
|
-
if (commandLine[
|
|
1880
|
-
validateJpegQuality(commandLine[
|
|
1909
|
+
if (commandLine[cliFlag31] !== undefined) {
|
|
1910
|
+
validateJpegQuality(commandLine[cliFlag31]);
|
|
1881
1911
|
return {
|
|
1882
1912
|
source: "cli",
|
|
1883
|
-
value: commandLine[
|
|
1913
|
+
value: commandLine[cliFlag31]
|
|
1884
1914
|
};
|
|
1885
1915
|
}
|
|
1886
1916
|
if (quality !== defaultValue) {
|
|
@@ -1897,21 +1927,21 @@ var jpegQualityOption = {
|
|
|
1897
1927
|
};
|
|
1898
1928
|
|
|
1899
1929
|
// src/options/keyboard-shortcuts.tsx
|
|
1900
|
-
import { jsx as
|
|
1930
|
+
import { jsx as jsx28, Fragment as Fragment28 } from "react/jsx-runtime";
|
|
1901
1931
|
var keyboardShortcutsEnabled = true;
|
|
1902
|
-
var
|
|
1932
|
+
var cliFlag32 = "disable-keyboard-shortcuts";
|
|
1903
1933
|
var keyboardShortcutsOption = {
|
|
1904
1934
|
name: "Disable or Enable keyboard shortcuts",
|
|
1905
|
-
cliFlag:
|
|
1906
|
-
description: () => /* @__PURE__ */
|
|
1935
|
+
cliFlag: cliFlag32,
|
|
1936
|
+
description: () => /* @__PURE__ */ jsx28(Fragment28, {
|
|
1907
1937
|
children: "Enable or disable keyboard shortcuts in the Remotion Studio."
|
|
1908
1938
|
}),
|
|
1909
1939
|
ssrName: null,
|
|
1910
1940
|
docLink: "https://www.remotion.dev/docs/config#setkeyboardshortcutsenabled",
|
|
1911
1941
|
type: false,
|
|
1912
1942
|
getValue: ({ commandLine }) => {
|
|
1913
|
-
if (commandLine[
|
|
1914
|
-
keyboardShortcutsEnabled = commandLine[
|
|
1943
|
+
if (commandLine[cliFlag32] !== undefined) {
|
|
1944
|
+
keyboardShortcutsEnabled = commandLine[cliFlag32] === false;
|
|
1915
1945
|
return {
|
|
1916
1946
|
value: keyboardShortcutsEnabled,
|
|
1917
1947
|
source: "cli"
|
|
@@ -1928,38 +1958,38 @@ var keyboardShortcutsOption = {
|
|
|
1928
1958
|
};
|
|
1929
1959
|
|
|
1930
1960
|
// src/options/latency-hint.tsx
|
|
1931
|
-
import { jsx as
|
|
1932
|
-
var
|
|
1961
|
+
import { jsx as jsx29, jsxs as jsxs19, Fragment as Fragment29 } from "react/jsx-runtime";
|
|
1962
|
+
var cliFlag33 = "audio-latency-hint";
|
|
1933
1963
|
var value = null;
|
|
1934
1964
|
var audioLatencyHintOption = {
|
|
1935
1965
|
name: "Audio Latency Hint",
|
|
1936
|
-
cliFlag:
|
|
1937
|
-
description: () => /* @__PURE__ */ jsxs19(
|
|
1966
|
+
cliFlag: cliFlag33,
|
|
1967
|
+
description: () => /* @__PURE__ */ jsxs19(Fragment29, {
|
|
1938
1968
|
children: [
|
|
1939
1969
|
"Sets the",
|
|
1940
1970
|
" ",
|
|
1941
|
-
/* @__PURE__ */
|
|
1971
|
+
/* @__PURE__ */ jsx29("a", {
|
|
1942
1972
|
href: "https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext",
|
|
1943
1973
|
children: "audio latency"
|
|
1944
1974
|
}),
|
|
1945
1975
|
" ",
|
|
1946
1976
|
"hint for the global ",
|
|
1947
|
-
/* @__PURE__ */
|
|
1977
|
+
/* @__PURE__ */ jsx29("code", {
|
|
1948
1978
|
children: "AudioContext"
|
|
1949
1979
|
}),
|
|
1950
1980
|
" context that Remotion uses to play audio.",
|
|
1951
|
-
/* @__PURE__ */
|
|
1981
|
+
/* @__PURE__ */ jsx29("br", {}),
|
|
1952
1982
|
"Possible values: ",
|
|
1953
|
-
/* @__PURE__ */
|
|
1983
|
+
/* @__PURE__ */ jsx29("code", {
|
|
1954
1984
|
children: "interactive"
|
|
1955
1985
|
}),
|
|
1956
1986
|
", ",
|
|
1957
|
-
/* @__PURE__ */
|
|
1987
|
+
/* @__PURE__ */ jsx29("code", {
|
|
1958
1988
|
children: "balanced"
|
|
1959
1989
|
}),
|
|
1960
1990
|
",",
|
|
1961
1991
|
" ",
|
|
1962
|
-
/* @__PURE__ */
|
|
1992
|
+
/* @__PURE__ */ jsx29("code", {
|
|
1963
1993
|
children: "playback"
|
|
1964
1994
|
})
|
|
1965
1995
|
]
|
|
@@ -1968,7 +1998,7 @@ var audioLatencyHintOption = {
|
|
|
1968
1998
|
docLink: "https://www.remotion.dev/docs/renderer/render-media",
|
|
1969
1999
|
type: "interactive",
|
|
1970
2000
|
getValue: ({ commandLine }) => {
|
|
1971
|
-
const val = commandLine[
|
|
2001
|
+
const val = commandLine[cliFlag33];
|
|
1972
2002
|
if (typeof val !== "undefined") {
|
|
1973
2003
|
return { value: val, source: "cli" };
|
|
1974
2004
|
}
|
|
@@ -1983,17 +2013,17 @@ var audioLatencyHintOption = {
|
|
|
1983
2013
|
};
|
|
1984
2014
|
|
|
1985
2015
|
// src/options/license-key.tsx
|
|
1986
|
-
import { jsx as
|
|
2016
|
+
import { jsx as jsx30, jsxs as jsxs20, Fragment as Fragment30 } from "react/jsx-runtime";
|
|
1987
2017
|
var currentLicenseKey = null;
|
|
1988
|
-
var
|
|
2018
|
+
var cliFlag34 = "license-key";
|
|
1989
2019
|
var licenseKeyOption = {
|
|
1990
2020
|
name: "License key",
|
|
1991
|
-
cliFlag:
|
|
1992
|
-
description: () => /* @__PURE__ */ jsxs20(
|
|
2021
|
+
cliFlag: cliFlag34,
|
|
2022
|
+
description: () => /* @__PURE__ */ jsxs20(Fragment30, {
|
|
1993
2023
|
children: [
|
|
1994
2024
|
"License key for sending a usage event using",
|
|
1995
2025
|
" ",
|
|
1996
|
-
/* @__PURE__ */
|
|
2026
|
+
/* @__PURE__ */ jsx30("code", {
|
|
1997
2027
|
children: "@remotion/licensing"
|
|
1998
2028
|
}),
|
|
1999
2029
|
"."
|
|
@@ -2003,10 +2033,10 @@ var licenseKeyOption = {
|
|
|
2003
2033
|
docLink: "https://www.remotion.dev/docs/licensing",
|
|
2004
2034
|
type: null,
|
|
2005
2035
|
getValue: ({ commandLine }) => {
|
|
2006
|
-
if (commandLine[
|
|
2036
|
+
if (commandLine[cliFlag34] !== undefined) {
|
|
2007
2037
|
return {
|
|
2008
2038
|
source: "cli",
|
|
2009
|
-
value: commandLine[
|
|
2039
|
+
value: commandLine[cliFlag34]
|
|
2010
2040
|
};
|
|
2011
2041
|
}
|
|
2012
2042
|
return {
|
|
@@ -2020,43 +2050,43 @@ var licenseKeyOption = {
|
|
|
2020
2050
|
};
|
|
2021
2051
|
|
|
2022
2052
|
// src/options/log-level.tsx
|
|
2023
|
-
import { jsx as
|
|
2053
|
+
import { jsx as jsx31, jsxs as jsxs21, Fragment as Fragment31 } from "react/jsx-runtime";
|
|
2024
2054
|
var logLevel = "info";
|
|
2025
|
-
var
|
|
2055
|
+
var cliFlag35 = "log";
|
|
2026
2056
|
var logLevelOption = {
|
|
2027
|
-
cliFlag:
|
|
2057
|
+
cliFlag: cliFlag35,
|
|
2028
2058
|
name: "Log Level",
|
|
2029
2059
|
ssrName: "logLevel",
|
|
2030
|
-
description: () => /* @__PURE__ */ jsxs21(
|
|
2060
|
+
description: () => /* @__PURE__ */ jsxs21(Fragment31, {
|
|
2031
2061
|
children: [
|
|
2032
2062
|
"One of ",
|
|
2033
|
-
/* @__PURE__ */
|
|
2063
|
+
/* @__PURE__ */ jsx31("code", {
|
|
2034
2064
|
children: "trace"
|
|
2035
2065
|
}),
|
|
2036
2066
|
", ",
|
|
2037
|
-
/* @__PURE__ */
|
|
2067
|
+
/* @__PURE__ */ jsx31("code", {
|
|
2038
2068
|
children: "verbose"
|
|
2039
2069
|
}),
|
|
2040
2070
|
", ",
|
|
2041
|
-
/* @__PURE__ */
|
|
2071
|
+
/* @__PURE__ */ jsx31("code", {
|
|
2042
2072
|
children: "info"
|
|
2043
2073
|
}),
|
|
2044
2074
|
",",
|
|
2045
2075
|
" ",
|
|
2046
|
-
/* @__PURE__ */
|
|
2076
|
+
/* @__PURE__ */ jsx31("code", {
|
|
2047
2077
|
children: "warn"
|
|
2048
2078
|
}),
|
|
2049
2079
|
", ",
|
|
2050
|
-
/* @__PURE__ */
|
|
2080
|
+
/* @__PURE__ */ jsx31("code", {
|
|
2051
2081
|
children: "error"
|
|
2052
2082
|
}),
|
|
2053
2083
|
".",
|
|
2054
|
-
/* @__PURE__ */
|
|
2084
|
+
/* @__PURE__ */ jsx31("br", {}),
|
|
2055
2085
|
" Determines how much info is being logged to the console.",
|
|
2056
|
-
/* @__PURE__ */
|
|
2057
|
-
/* @__PURE__ */
|
|
2086
|
+
/* @__PURE__ */ jsx31("br", {}),
|
|
2087
|
+
/* @__PURE__ */ jsx31("br", {}),
|
|
2058
2088
|
" Default ",
|
|
2059
|
-
/* @__PURE__ */
|
|
2089
|
+
/* @__PURE__ */ jsx31("code", {
|
|
2060
2090
|
children: "info"
|
|
2061
2091
|
}),
|
|
2062
2092
|
"."
|
|
@@ -2064,11 +2094,11 @@ var logLevelOption = {
|
|
|
2064
2094
|
}),
|
|
2065
2095
|
docLink: "https://www.remotion.dev/docs/troubleshooting/debug-failed-render",
|
|
2066
2096
|
getValue: ({ commandLine }) => {
|
|
2067
|
-
if (commandLine[
|
|
2068
|
-
if (!isValidLogLevel(commandLine[
|
|
2097
|
+
if (commandLine[cliFlag35]) {
|
|
2098
|
+
if (!isValidLogLevel(commandLine[cliFlag35])) {
|
|
2069
2099
|
throw new Error(`Invalid \`--log\` value passed. Accepted values: ${logLevels.map((l) => `'${l}'`).join(", ")}.`);
|
|
2070
2100
|
}
|
|
2071
|
-
return { value: commandLine[
|
|
2101
|
+
return { value: commandLine[cliFlag35], source: "cli" };
|
|
2072
2102
|
}
|
|
2073
2103
|
if (logLevel !== "info") {
|
|
2074
2104
|
return { value: logLevel, source: "config" };
|
|
@@ -2082,19 +2112,19 @@ var logLevelOption = {
|
|
|
2082
2112
|
};
|
|
2083
2113
|
|
|
2084
2114
|
// src/options/metadata.tsx
|
|
2085
|
-
import { jsx as
|
|
2115
|
+
import { jsx as jsx32, jsxs as jsxs22, Fragment as Fragment32 } from "react/jsx-runtime";
|
|
2086
2116
|
var metadata = {};
|
|
2087
|
-
var
|
|
2117
|
+
var cliFlag36 = "metadata";
|
|
2088
2118
|
var metadataOption = {
|
|
2089
2119
|
name: "Metadata",
|
|
2090
|
-
cliFlag:
|
|
2120
|
+
cliFlag: cliFlag36,
|
|
2091
2121
|
description: (mode) => {
|
|
2092
2122
|
if (mode === "ssr") {
|
|
2093
|
-
return /* @__PURE__ */ jsxs22(
|
|
2123
|
+
return /* @__PURE__ */ jsxs22(Fragment32, {
|
|
2094
2124
|
children: [
|
|
2095
2125
|
"An object containing metadata to be embedded in the video. See",
|
|
2096
2126
|
" ",
|
|
2097
|
-
/* @__PURE__ */
|
|
2127
|
+
/* @__PURE__ */ jsx32("a", {
|
|
2098
2128
|
href: "/docs/metadata",
|
|
2099
2129
|
children: "here"
|
|
2100
2130
|
}),
|
|
@@ -2102,18 +2132,18 @@ var metadataOption = {
|
|
|
2102
2132
|
]
|
|
2103
2133
|
});
|
|
2104
2134
|
}
|
|
2105
|
-
return /* @__PURE__ */ jsxs22(
|
|
2135
|
+
return /* @__PURE__ */ jsxs22(Fragment32, {
|
|
2106
2136
|
children: [
|
|
2107
2137
|
"Metadata to be embedded in the video. See",
|
|
2108
2138
|
" ",
|
|
2109
|
-
/* @__PURE__ */
|
|
2139
|
+
/* @__PURE__ */ jsx32("a", {
|
|
2110
2140
|
href: "/docs/metadata",
|
|
2111
2141
|
children: "here"
|
|
2112
2142
|
}),
|
|
2113
2143
|
" for which metadata is accepted.",
|
|
2114
|
-
/* @__PURE__ */
|
|
2144
|
+
/* @__PURE__ */ jsx32("br", {}),
|
|
2115
2145
|
"The parameter must be in the format of ",
|
|
2116
|
-
/* @__PURE__ */
|
|
2146
|
+
/* @__PURE__ */ jsx32("code", {
|
|
2117
2147
|
children: "--metadata key=value"
|
|
2118
2148
|
}),
|
|
2119
2149
|
" ",
|
|
@@ -2124,8 +2154,8 @@ var metadataOption = {
|
|
|
2124
2154
|
docLink: "https://www.remotion.dev/docs/metadata",
|
|
2125
2155
|
type: {},
|
|
2126
2156
|
getValue: ({ commandLine }) => {
|
|
2127
|
-
if (commandLine[
|
|
2128
|
-
const val = commandLine[
|
|
2157
|
+
if (commandLine[cliFlag36] !== undefined) {
|
|
2158
|
+
const val = commandLine[cliFlag36];
|
|
2129
2159
|
const array = typeof val === "string" ? [val] : val;
|
|
2130
2160
|
const keyValues = array.map((a) => {
|
|
2131
2161
|
if (!a.includes("=")) {
|
|
@@ -2155,24 +2185,24 @@ var metadataOption = {
|
|
|
2155
2185
|
};
|
|
2156
2186
|
|
|
2157
2187
|
// src/options/mute.tsx
|
|
2158
|
-
import { jsx as
|
|
2188
|
+
import { jsx as jsx33, Fragment as Fragment33 } from "react/jsx-runtime";
|
|
2159
2189
|
var DEFAULT_MUTED_STATE = false;
|
|
2160
2190
|
var mutedState = DEFAULT_MUTED_STATE;
|
|
2161
|
-
var
|
|
2191
|
+
var cliFlag37 = "muted";
|
|
2162
2192
|
var mutedOption = {
|
|
2163
2193
|
name: "Muted",
|
|
2164
|
-
cliFlag:
|
|
2165
|
-
description: () => /* @__PURE__ */
|
|
2194
|
+
cliFlag: cliFlag37,
|
|
2195
|
+
description: () => /* @__PURE__ */ jsx33(Fragment33, {
|
|
2166
2196
|
children: "The Audio of the video will be omitted."
|
|
2167
2197
|
}),
|
|
2168
2198
|
ssrName: "muted",
|
|
2169
2199
|
docLink: "https://www.remotion.dev/docs/audio/muting",
|
|
2170
2200
|
type: false,
|
|
2171
2201
|
getValue: ({ commandLine }) => {
|
|
2172
|
-
if (commandLine[
|
|
2202
|
+
if (commandLine[cliFlag37] !== null) {
|
|
2173
2203
|
return {
|
|
2174
2204
|
source: "cli",
|
|
2175
|
-
value: commandLine[
|
|
2205
|
+
value: commandLine[cliFlag37]
|
|
2176
2206
|
};
|
|
2177
2207
|
}
|
|
2178
2208
|
if (mutedState !== DEFAULT_MUTED_STATE) {
|
|
@@ -2192,26 +2222,26 @@ var mutedOption = {
|
|
|
2192
2222
|
};
|
|
2193
2223
|
|
|
2194
2224
|
// src/options/number-of-gif-loops.tsx
|
|
2195
|
-
import { jsx as
|
|
2225
|
+
import { jsx as jsx34, jsxs as jsxs23, Fragment as Fragment34 } from "react/jsx-runtime";
|
|
2196
2226
|
var currentLoop = null;
|
|
2197
2227
|
var validate = (newLoop) => {
|
|
2198
2228
|
if (newLoop !== null && typeof newLoop !== "number") {
|
|
2199
2229
|
throw new Error("--number-of-gif-loops flag must be a number.");
|
|
2200
2230
|
}
|
|
2201
2231
|
};
|
|
2202
|
-
var
|
|
2232
|
+
var cliFlag38 = "number-of-gif-loops";
|
|
2203
2233
|
var numberOfGifLoopsOption = {
|
|
2204
2234
|
name: "Number of GIF loops",
|
|
2205
|
-
cliFlag:
|
|
2235
|
+
cliFlag: cliFlag38,
|
|
2206
2236
|
description: () => {
|
|
2207
|
-
return /* @__PURE__ */ jsxs23(
|
|
2237
|
+
return /* @__PURE__ */ jsxs23(Fragment34, {
|
|
2208
2238
|
children: [
|
|
2209
2239
|
"Allows you to set the number of loops as follows:",
|
|
2210
2240
|
/* @__PURE__ */ jsxs23("ul", {
|
|
2211
2241
|
children: [
|
|
2212
2242
|
/* @__PURE__ */ jsxs23("li", {
|
|
2213
2243
|
children: [
|
|
2214
|
-
/* @__PURE__ */
|
|
2244
|
+
/* @__PURE__ */ jsx34("code", {
|
|
2215
2245
|
children: "null"
|
|
2216
2246
|
}),
|
|
2217
2247
|
" (or omitting in the CLI) plays the GIF indefinitely."
|
|
@@ -2219,7 +2249,7 @@ var numberOfGifLoopsOption = {
|
|
|
2219
2249
|
}),
|
|
2220
2250
|
/* @__PURE__ */ jsxs23("li", {
|
|
2221
2251
|
children: [
|
|
2222
|
-
/* @__PURE__ */
|
|
2252
|
+
/* @__PURE__ */ jsx34("code", {
|
|
2223
2253
|
children: "0"
|
|
2224
2254
|
}),
|
|
2225
2255
|
" disables looping"
|
|
@@ -2227,7 +2257,7 @@ var numberOfGifLoopsOption = {
|
|
|
2227
2257
|
}),
|
|
2228
2258
|
/* @__PURE__ */ jsxs23("li", {
|
|
2229
2259
|
children: [
|
|
2230
|
-
/* @__PURE__ */
|
|
2260
|
+
/* @__PURE__ */ jsx34("code", {
|
|
2231
2261
|
children: "1"
|
|
2232
2262
|
}),
|
|
2233
2263
|
" loops the GIF once (plays twice in total)"
|
|
@@ -2235,7 +2265,7 @@ var numberOfGifLoopsOption = {
|
|
|
2235
2265
|
}),
|
|
2236
2266
|
/* @__PURE__ */ jsxs23("li", {
|
|
2237
2267
|
children: [
|
|
2238
|
-
/* @__PURE__ */
|
|
2268
|
+
/* @__PURE__ */ jsx34("code", {
|
|
2239
2269
|
children: "2"
|
|
2240
2270
|
}),
|
|
2241
2271
|
" loops the GIF twice (plays three times in total) and so on."
|
|
@@ -2250,10 +2280,10 @@ var numberOfGifLoopsOption = {
|
|
|
2250
2280
|
docLink: "https://www.remotion.dev/docs/render-as-gif#changing-the-number-of-loops",
|
|
2251
2281
|
type: 0,
|
|
2252
2282
|
getValue: ({ commandLine }) => {
|
|
2253
|
-
if (commandLine[
|
|
2254
|
-
validate(commandLine[
|
|
2283
|
+
if (commandLine[cliFlag38] !== undefined) {
|
|
2284
|
+
validate(commandLine[cliFlag38]);
|
|
2255
2285
|
return {
|
|
2256
|
-
value: commandLine[
|
|
2286
|
+
value: commandLine[cliFlag38],
|
|
2257
2287
|
source: "cli"
|
|
2258
2288
|
};
|
|
2259
2289
|
}
|
|
@@ -2274,36 +2304,75 @@ var numberOfGifLoopsOption = {
|
|
|
2274
2304
|
}
|
|
2275
2305
|
};
|
|
2276
2306
|
|
|
2307
|
+
// src/options/number-of-shared-audio-tags.tsx
|
|
2308
|
+
import { jsx as jsx35, jsxs as jsxs24, Fragment as Fragment35 } from "react/jsx-runtime";
|
|
2309
|
+
var numberOfSharedAudioTags = 0;
|
|
2310
|
+
var cliFlag39 = "number-of-shared-audio-tags";
|
|
2311
|
+
var numberOfSharedAudioTagsOption = {
|
|
2312
|
+
name: "Number of shared audio tags",
|
|
2313
|
+
cliFlag: cliFlag39,
|
|
2314
|
+
description: () => /* @__PURE__ */ jsxs24(Fragment35, {
|
|
2315
|
+
children: [
|
|
2316
|
+
"Set number of shared audio tags. See",
|
|
2317
|
+
" ",
|
|
2318
|
+
/* @__PURE__ */ jsx35("a", {
|
|
2319
|
+
href: "https://www.remotion.dev/docs/player/autoplay#using-the-numberofsharedaudiotags-prop",
|
|
2320
|
+
children: "Using the numberOfSharedAudioTags prop"
|
|
2321
|
+
}),
|
|
2322
|
+
" ",
|
|
2323
|
+
"for more information."
|
|
2324
|
+
]
|
|
2325
|
+
}),
|
|
2326
|
+
ssrName: null,
|
|
2327
|
+
docLink: "https://www.remotion.dev/docs/config#setnumberofsharedaudiotags",
|
|
2328
|
+
type: 0,
|
|
2329
|
+
getValue: ({ commandLine }) => {
|
|
2330
|
+
if (commandLine[cliFlag39] !== undefined) {
|
|
2331
|
+
return {
|
|
2332
|
+
value: commandLine[cliFlag39],
|
|
2333
|
+
source: "cli"
|
|
2334
|
+
};
|
|
2335
|
+
}
|
|
2336
|
+
return {
|
|
2337
|
+
value: numberOfSharedAudioTags,
|
|
2338
|
+
source: "config"
|
|
2339
|
+
};
|
|
2340
|
+
},
|
|
2341
|
+
setConfig(value2) {
|
|
2342
|
+
numberOfSharedAudioTags = value2;
|
|
2343
|
+
}
|
|
2344
|
+
};
|
|
2345
|
+
|
|
2277
2346
|
// src/options/offthreadvideo-cache-size.tsx
|
|
2278
|
-
import { jsx as
|
|
2347
|
+
import { jsx as jsx36, jsxs as jsxs25, Fragment as Fragment36 } from "react/jsx-runtime";
|
|
2279
2348
|
var offthreadVideoCacheSizeInBytes = null;
|
|
2280
|
-
var
|
|
2349
|
+
var cliFlag40 = "offthreadvideo-cache-size-in-bytes";
|
|
2281
2350
|
var offthreadVideoCacheSizeInBytesOption = {
|
|
2282
2351
|
name: "OffthreadVideo cache size",
|
|
2283
|
-
cliFlag:
|
|
2284
|
-
description: () => /* @__PURE__ */
|
|
2352
|
+
cliFlag: cliFlag40,
|
|
2353
|
+
description: () => /* @__PURE__ */ jsxs25(Fragment36, {
|
|
2285
2354
|
children: [
|
|
2286
2355
|
"From v4.0, Remotion has a cache for",
|
|
2287
2356
|
" ",
|
|
2288
|
-
/* @__PURE__ */
|
|
2357
|
+
/* @__PURE__ */ jsx36("a", {
|
|
2289
2358
|
href: "https://remotion.dev/docs/offthreadvideo",
|
|
2290
|
-
children: /* @__PURE__ */
|
|
2359
|
+
children: /* @__PURE__ */ jsx36("code", {
|
|
2291
2360
|
children: "<OffthreadVideo>"
|
|
2292
2361
|
})
|
|
2293
2362
|
}),
|
|
2294
2363
|
" ",
|
|
2295
2364
|
"frames. The default is ",
|
|
2296
|
-
/* @__PURE__ */
|
|
2365
|
+
/* @__PURE__ */ jsx36("code", {
|
|
2297
2366
|
children: "null"
|
|
2298
2367
|
}),
|
|
2299
2368
|
", corresponding to half of the system memory available when the render starts.",
|
|
2300
|
-
/* @__PURE__ */
|
|
2369
|
+
/* @__PURE__ */ jsx36("br", {}),
|
|
2301
2370
|
" This option allows to override the size of the cache. The higher it is, the faster the render will be, but the more memory will be used.",
|
|
2302
|
-
/* @__PURE__ */
|
|
2371
|
+
/* @__PURE__ */ jsx36("br", {}),
|
|
2303
2372
|
"The used value will be printed when running in verbose mode.",
|
|
2304
|
-
/* @__PURE__ */
|
|
2373
|
+
/* @__PURE__ */ jsx36("br", {}),
|
|
2305
2374
|
"Default: ",
|
|
2306
|
-
/* @__PURE__ */
|
|
2375
|
+
/* @__PURE__ */ jsx36("code", {
|
|
2307
2376
|
children: "null"
|
|
2308
2377
|
})
|
|
2309
2378
|
]
|
|
@@ -2312,10 +2381,10 @@ var offthreadVideoCacheSizeInBytesOption = {
|
|
|
2312
2381
|
docLink: "https://www.remotion.dev/docs/offthreadvideo",
|
|
2313
2382
|
type: 0,
|
|
2314
2383
|
getValue: ({ commandLine }) => {
|
|
2315
|
-
if (commandLine[
|
|
2384
|
+
if (commandLine[cliFlag40] !== undefined) {
|
|
2316
2385
|
return {
|
|
2317
2386
|
source: "cli",
|
|
2318
|
-
value: commandLine[
|
|
2387
|
+
value: commandLine[cliFlag40]
|
|
2319
2388
|
};
|
|
2320
2389
|
}
|
|
2321
2390
|
if (offthreadVideoCacheSizeInBytes !== null) {
|
|
@@ -2335,18 +2404,18 @@ var offthreadVideoCacheSizeInBytesOption = {
|
|
|
2335
2404
|
};
|
|
2336
2405
|
|
|
2337
2406
|
// src/options/offthreadvideo-threads.tsx
|
|
2338
|
-
import { jsx as
|
|
2407
|
+
import { jsx as jsx37, jsxs as jsxs26, Fragment as Fragment37 } from "react/jsx-runtime";
|
|
2339
2408
|
var value2 = null;
|
|
2340
|
-
var
|
|
2409
|
+
var cliFlag41 = "offthreadvideo-video-threads";
|
|
2341
2410
|
var offthreadVideoThreadsOption = {
|
|
2342
2411
|
name: "OffthreadVideo threads",
|
|
2343
|
-
cliFlag:
|
|
2344
|
-
description: () => /* @__PURE__ */
|
|
2412
|
+
cliFlag: cliFlag41,
|
|
2413
|
+
description: () => /* @__PURE__ */ jsxs26(Fragment37, {
|
|
2345
2414
|
children: [
|
|
2346
2415
|
"The number of threads that",
|
|
2347
|
-
/* @__PURE__ */
|
|
2416
|
+
/* @__PURE__ */ jsx37("a", {
|
|
2348
2417
|
href: "https://remotion.dev/docs/offthreadvideo",
|
|
2349
|
-
children: /* @__PURE__ */
|
|
2418
|
+
children: /* @__PURE__ */ jsx37("code", {
|
|
2350
2419
|
children: "<OffthreadVideo>"
|
|
2351
2420
|
})
|
|
2352
2421
|
}),
|
|
@@ -2361,10 +2430,10 @@ var offthreadVideoThreadsOption = {
|
|
|
2361
2430
|
docLink: "https://www.remotion.dev/docs/offthreadvideo",
|
|
2362
2431
|
type: 0,
|
|
2363
2432
|
getValue: ({ commandLine }) => {
|
|
2364
|
-
if (commandLine[
|
|
2433
|
+
if (commandLine[cliFlag41] !== undefined) {
|
|
2365
2434
|
return {
|
|
2366
2435
|
source: "cli",
|
|
2367
|
-
value: commandLine[
|
|
2436
|
+
value: commandLine[cliFlag41]
|
|
2368
2437
|
};
|
|
2369
2438
|
}
|
|
2370
2439
|
if (value2 !== null) {
|
|
@@ -2385,16 +2454,16 @@ var offthreadVideoThreadsOption = {
|
|
|
2385
2454
|
var DEFAULT_RENDER_FRAMES_OFFTHREAD_VIDEO_THREADS = 2;
|
|
2386
2455
|
|
|
2387
2456
|
// src/options/on-browser-download.tsx
|
|
2388
|
-
import { jsx as
|
|
2389
|
-
var
|
|
2457
|
+
import { jsx as jsx38, jsxs as jsxs27, Fragment as Fragment38 } from "react/jsx-runtime";
|
|
2458
|
+
var cliFlag42 = "on-browser-download";
|
|
2390
2459
|
var onBrowserDownloadOption = {
|
|
2391
2460
|
name: "Browser download callback function",
|
|
2392
|
-
cliFlag:
|
|
2393
|
-
description: () => /* @__PURE__ */
|
|
2461
|
+
cliFlag: cliFlag42,
|
|
2462
|
+
description: () => /* @__PURE__ */ jsxs27(Fragment38, {
|
|
2394
2463
|
children: [
|
|
2395
2464
|
"Gets called when no compatible local browser is detected on the system and this API needs to download a browser. Return a callback to observe progress.",
|
|
2396
2465
|
" ",
|
|
2397
|
-
/* @__PURE__ */
|
|
2466
|
+
/* @__PURE__ */ jsx38("a", {
|
|
2398
2467
|
href: "/docs/renderer/ensure-browser#onbrowserdownload",
|
|
2399
2468
|
children: "See here for how to use this option."
|
|
2400
2469
|
})
|
|
@@ -2412,9 +2481,9 @@ var onBrowserDownloadOption = {
|
|
|
2412
2481
|
};
|
|
2413
2482
|
|
|
2414
2483
|
// src/options/overwrite.tsx
|
|
2415
|
-
import { jsx as
|
|
2484
|
+
import { jsx as jsx39, jsxs as jsxs28, Fragment as Fragment39 } from "react/jsx-runtime";
|
|
2416
2485
|
var shouldOverwrite = null;
|
|
2417
|
-
var
|
|
2486
|
+
var cliFlag43 = "overwrite";
|
|
2418
2487
|
var validate2 = (value3) => {
|
|
2419
2488
|
if (typeof value3 !== "boolean") {
|
|
2420
2489
|
throw new Error(`overwriteExisting must be a boolean but got ${typeof value3} (${value3})`);
|
|
@@ -2422,15 +2491,15 @@ var validate2 = (value3) => {
|
|
|
2422
2491
|
};
|
|
2423
2492
|
var overwriteOption = {
|
|
2424
2493
|
name: "Overwrite output",
|
|
2425
|
-
cliFlag:
|
|
2426
|
-
description: () => /* @__PURE__ */
|
|
2494
|
+
cliFlag: cliFlag43,
|
|
2495
|
+
description: () => /* @__PURE__ */ jsxs28(Fragment39, {
|
|
2427
2496
|
children: [
|
|
2428
2497
|
"If set to ",
|
|
2429
|
-
/* @__PURE__ */
|
|
2498
|
+
/* @__PURE__ */ jsx39("code", {
|
|
2430
2499
|
children: "false"
|
|
2431
2500
|
}),
|
|
2432
2501
|
", will prevent rendering to a path that already exists. Default is ",
|
|
2433
|
-
/* @__PURE__ */
|
|
2502
|
+
/* @__PURE__ */ jsx39("code", {
|
|
2434
2503
|
children: "true"
|
|
2435
2504
|
}),
|
|
2436
2505
|
"."
|
|
@@ -2440,11 +2509,11 @@ var overwriteOption = {
|
|
|
2440
2509
|
docLink: "https://www.remotion.dev/docs/config#setoverwriteoutput",
|
|
2441
2510
|
type: false,
|
|
2442
2511
|
getValue: ({ commandLine }, defaultValue2) => {
|
|
2443
|
-
if (commandLine[
|
|
2444
|
-
validate2(commandLine[
|
|
2512
|
+
if (commandLine[cliFlag43] !== undefined) {
|
|
2513
|
+
validate2(commandLine[cliFlag43]);
|
|
2445
2514
|
return {
|
|
2446
2515
|
source: "cli",
|
|
2447
|
-
value: commandLine[
|
|
2516
|
+
value: commandLine[cliFlag43]
|
|
2448
2517
|
};
|
|
2449
2518
|
}
|
|
2450
2519
|
if (shouldOverwrite !== null) {
|
|
@@ -2465,21 +2534,21 @@ var overwriteOption = {
|
|
|
2465
2534
|
};
|
|
2466
2535
|
|
|
2467
2536
|
// src/options/prefer-lossless.tsx
|
|
2468
|
-
import { jsx as
|
|
2469
|
-
var
|
|
2537
|
+
import { jsx as jsx40, jsxs as jsxs29, Fragment as Fragment40 } from "react/jsx-runtime";
|
|
2538
|
+
var cliFlag44 = "prefer-lossless";
|
|
2470
2539
|
var input = false;
|
|
2471
2540
|
var preferLosslessAudioOption = {
|
|
2472
2541
|
name: "Prefer lossless",
|
|
2473
|
-
cliFlag:
|
|
2474
|
-
description: () => /* @__PURE__ */
|
|
2542
|
+
cliFlag: cliFlag44,
|
|
2543
|
+
description: () => /* @__PURE__ */ jsxs29(Fragment40, {
|
|
2475
2544
|
children: [
|
|
2476
2545
|
"Uses a lossless audio codec, if one is available for the codec. If you set",
|
|
2477
|
-
/* @__PURE__ */
|
|
2546
|
+
/* @__PURE__ */ jsx40("code", {
|
|
2478
2547
|
children: "audioCodec"
|
|
2479
2548
|
}),
|
|
2480
2549
|
", it takes priority over",
|
|
2481
2550
|
" ",
|
|
2482
|
-
/* @__PURE__ */
|
|
2551
|
+
/* @__PURE__ */ jsx40("code", {
|
|
2483
2552
|
children: "preferLossless"
|
|
2484
2553
|
}),
|
|
2485
2554
|
"."
|
|
@@ -2489,7 +2558,7 @@ var preferLosslessAudioOption = {
|
|
|
2489
2558
|
type: false,
|
|
2490
2559
|
ssrName: "preferLossless",
|
|
2491
2560
|
getValue: ({ commandLine }) => {
|
|
2492
|
-
if (commandLine[
|
|
2561
|
+
if (commandLine[cliFlag44]) {
|
|
2493
2562
|
return { value: true, source: "cli" };
|
|
2494
2563
|
}
|
|
2495
2564
|
if (input === true) {
|
|
@@ -2503,20 +2572,20 @@ var preferLosslessAudioOption = {
|
|
|
2503
2572
|
};
|
|
2504
2573
|
|
|
2505
2574
|
// src/options/public-dir.tsx
|
|
2506
|
-
import { jsx as
|
|
2507
|
-
var
|
|
2575
|
+
import { jsx as jsx41, jsxs as jsxs30, Fragment as Fragment41 } from "react/jsx-runtime";
|
|
2576
|
+
var cliFlag45 = "public-dir";
|
|
2508
2577
|
var currentPublicDir = null;
|
|
2509
2578
|
var publicDirOption = {
|
|
2510
2579
|
name: "Public Directory",
|
|
2511
|
-
cliFlag:
|
|
2580
|
+
cliFlag: cliFlag45,
|
|
2512
2581
|
description: () => {
|
|
2513
|
-
return /* @__PURE__ */
|
|
2582
|
+
return /* @__PURE__ */ jsxs30(Fragment41, {
|
|
2514
2583
|
children: [
|
|
2515
2584
|
"Define the location of the",
|
|
2516
2585
|
" ",
|
|
2517
|
-
/* @__PURE__ */
|
|
2586
|
+
/* @__PURE__ */ jsx41("a", {
|
|
2518
2587
|
href: "/docs/terminology/public-dir",
|
|
2519
|
-
children: /* @__PURE__ */
|
|
2588
|
+
children: /* @__PURE__ */ jsx41("code", {
|
|
2520
2589
|
children: "public/ directory"
|
|
2521
2590
|
})
|
|
2522
2591
|
}),
|
|
@@ -2527,10 +2596,10 @@ var publicDirOption = {
|
|
|
2527
2596
|
ssrName: "publicDir",
|
|
2528
2597
|
docLink: "https://www.remotion.dev/docs/terminology/public-dir",
|
|
2529
2598
|
getValue: ({ commandLine }) => {
|
|
2530
|
-
if (commandLine[
|
|
2599
|
+
if (commandLine[cliFlag45] !== undefined) {
|
|
2531
2600
|
return {
|
|
2532
2601
|
source: "cli",
|
|
2533
|
-
value: commandLine[
|
|
2602
|
+
value: commandLine[cliFlag45]
|
|
2534
2603
|
};
|
|
2535
2604
|
}
|
|
2536
2605
|
if (currentPublicDir !== null) {
|
|
@@ -2551,16 +2620,16 @@ var publicDirOption = {
|
|
|
2551
2620
|
};
|
|
2552
2621
|
|
|
2553
2622
|
// src/options/public-license-key.tsx
|
|
2554
|
-
import { jsx as
|
|
2555
|
-
var
|
|
2623
|
+
import { jsx as jsx42, jsxs as jsxs31, Fragment as Fragment42 } from "react/jsx-runtime";
|
|
2624
|
+
var cliFlag46 = "public-license-key";
|
|
2556
2625
|
var currentPublicLicenseKey = null;
|
|
2557
2626
|
var publicLicenseKeyOption = {
|
|
2558
2627
|
name: "Public License Key",
|
|
2559
|
-
cliFlag:
|
|
2560
|
-
description: () => /* @__PURE__ */
|
|
2628
|
+
cliFlag: cliFlag46,
|
|
2629
|
+
description: () => /* @__PURE__ */ jsxs31(Fragment42, {
|
|
2561
2630
|
children: [
|
|
2562
2631
|
'The public license key for your company license, obtained from the "Usage" tab on ',
|
|
2563
|
-
/* @__PURE__ */
|
|
2632
|
+
/* @__PURE__ */ jsx42("a", {
|
|
2564
2633
|
href: "https://remotion.pro/dashboard",
|
|
2565
2634
|
children: "remotion.pro"
|
|
2566
2635
|
}),
|
|
@@ -2570,10 +2639,10 @@ var publicLicenseKeyOption = {
|
|
|
2570
2639
|
ssrName: "publicLicenseKey",
|
|
2571
2640
|
docLink: "https://www.remotion.dev/docs/licensing",
|
|
2572
2641
|
getValue: ({ commandLine }) => {
|
|
2573
|
-
if (commandLine[
|
|
2642
|
+
if (commandLine[cliFlag46] !== undefined) {
|
|
2574
2643
|
return {
|
|
2575
2644
|
source: "cli",
|
|
2576
|
-
value: commandLine[
|
|
2645
|
+
value: commandLine[cliFlag46]
|
|
2577
2646
|
};
|
|
2578
2647
|
}
|
|
2579
2648
|
if (currentPublicLicenseKey !== null) {
|
|
@@ -2597,25 +2666,25 @@ var publicLicenseKeyOption = {
|
|
|
2597
2666
|
};
|
|
2598
2667
|
|
|
2599
2668
|
// src/options/public-path.tsx
|
|
2600
|
-
import { jsx as
|
|
2601
|
-
var
|
|
2669
|
+
import { jsx as jsx43, jsxs as jsxs32, Fragment as Fragment43 } from "react/jsx-runtime";
|
|
2670
|
+
var cliFlag47 = "public-path";
|
|
2602
2671
|
var currentPublicPath = null;
|
|
2603
2672
|
var publicPathOption = {
|
|
2604
2673
|
name: "Public Path",
|
|
2605
|
-
cliFlag:
|
|
2674
|
+
cliFlag: cliFlag47,
|
|
2606
2675
|
description: () => {
|
|
2607
|
-
return /* @__PURE__ */
|
|
2676
|
+
return /* @__PURE__ */ jsxs32(Fragment43, {
|
|
2608
2677
|
children: [
|
|
2609
2678
|
"The path of the URL where the bundle is going to be hosted. By default it is ",
|
|
2610
|
-
/* @__PURE__ */
|
|
2679
|
+
/* @__PURE__ */ jsx43("code", {
|
|
2611
2680
|
children: "/"
|
|
2612
2681
|
}),
|
|
2613
2682
|
", meaning that the bundle is going to be hosted at the root of the domain (e.g. ",
|
|
2614
|
-
/* @__PURE__ */
|
|
2683
|
+
/* @__PURE__ */ jsx43("code", {
|
|
2615
2684
|
children: "https://localhost:3000/"
|
|
2616
2685
|
}),
|
|
2617
2686
|
"). If you are deploying to a subdirectory (e.g. ",
|
|
2618
|
-
/* @__PURE__ */
|
|
2687
|
+
/* @__PURE__ */ jsx43("code", {
|
|
2619
2688
|
children: "/sites/my-site/"
|
|
2620
2689
|
}),
|
|
2621
2690
|
"), you should set this to the subdirectory."
|
|
@@ -2625,10 +2694,10 @@ var publicPathOption = {
|
|
|
2625
2694
|
ssrName: "publicPath",
|
|
2626
2695
|
docLink: "https://www.remotion.dev/docs/renderer",
|
|
2627
2696
|
getValue: ({ commandLine }) => {
|
|
2628
|
-
if (commandLine[
|
|
2697
|
+
if (commandLine[cliFlag47] !== undefined) {
|
|
2629
2698
|
return {
|
|
2630
2699
|
source: "cli",
|
|
2631
|
-
value: commandLine[
|
|
2700
|
+
value: commandLine[cliFlag47]
|
|
2632
2701
|
};
|
|
2633
2702
|
}
|
|
2634
2703
|
if (currentPublicPath !== null) {
|
|
@@ -2649,25 +2718,25 @@ var publicPathOption = {
|
|
|
2649
2718
|
};
|
|
2650
2719
|
|
|
2651
2720
|
// src/options/repro.tsx
|
|
2652
|
-
import { jsx as
|
|
2721
|
+
import { jsx as jsx44, Fragment as Fragment44 } from "react/jsx-runtime";
|
|
2653
2722
|
var enableRepro = false;
|
|
2654
2723
|
var setRepro = (should) => {
|
|
2655
2724
|
enableRepro = should;
|
|
2656
2725
|
};
|
|
2657
|
-
var
|
|
2726
|
+
var cliFlag48 = "repro";
|
|
2658
2727
|
var reproOption = {
|
|
2659
2728
|
name: "Create reproduction",
|
|
2660
|
-
cliFlag:
|
|
2661
|
-
description: () => /* @__PURE__ */
|
|
2729
|
+
cliFlag: cliFlag48,
|
|
2730
|
+
description: () => /* @__PURE__ */ jsx44(Fragment44, {
|
|
2662
2731
|
children: "Create a ZIP that you can submit to Remotion if asked for a reproduction."
|
|
2663
2732
|
}),
|
|
2664
2733
|
ssrName: "repro",
|
|
2665
2734
|
docLink: "https://www.remotion.dev/docs/render-media#repro",
|
|
2666
2735
|
type: false,
|
|
2667
2736
|
getValue: ({ commandLine }) => {
|
|
2668
|
-
if (commandLine[
|
|
2737
|
+
if (commandLine[cliFlag48] !== undefined) {
|
|
2669
2738
|
return {
|
|
2670
|
-
value: commandLine[
|
|
2739
|
+
value: commandLine[cliFlag48],
|
|
2671
2740
|
source: "cli"
|
|
2672
2741
|
};
|
|
2673
2742
|
}
|
|
@@ -2686,9 +2755,9 @@ var reproOption = {
|
|
|
2686
2755
|
};
|
|
2687
2756
|
|
|
2688
2757
|
// src/options/scale.tsx
|
|
2689
|
-
import { jsx as
|
|
2758
|
+
import { jsx as jsx45, jsxs as jsxs33, Fragment as Fragment45 } from "react/jsx-runtime";
|
|
2690
2759
|
var currentScale = 1;
|
|
2691
|
-
var
|
|
2760
|
+
var cliFlag49 = "scale";
|
|
2692
2761
|
var validateScale = (value3) => {
|
|
2693
2762
|
if (typeof value3 !== "number") {
|
|
2694
2763
|
throw new Error("scale must be a number.");
|
|
@@ -2696,15 +2765,15 @@ var validateScale = (value3) => {
|
|
|
2696
2765
|
};
|
|
2697
2766
|
var scaleOption = {
|
|
2698
2767
|
name: "Scale",
|
|
2699
|
-
cliFlag:
|
|
2700
|
-
description: () => /* @__PURE__ */
|
|
2768
|
+
cliFlag: cliFlag49,
|
|
2769
|
+
description: () => /* @__PURE__ */ jsxs33(Fragment45, {
|
|
2701
2770
|
children: [
|
|
2702
2771
|
"Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
|
|
2703
|
-
/* @__PURE__ */
|
|
2772
|
+
/* @__PURE__ */ jsx45("code", {
|
|
2704
2773
|
children: "1.5"
|
|
2705
2774
|
}),
|
|
2706
2775
|
". See ",
|
|
2707
|
-
/* @__PURE__ */
|
|
2776
|
+
/* @__PURE__ */ jsx45("a", {
|
|
2708
2777
|
href: "https://www.remotion.dev/docs/scaling",
|
|
2709
2778
|
children: "Scaling"
|
|
2710
2779
|
}),
|
|
@@ -2715,11 +2784,11 @@ var scaleOption = {
|
|
|
2715
2784
|
docLink: "https://www.remotion.dev/docs/scaling",
|
|
2716
2785
|
type: 0,
|
|
2717
2786
|
getValue: ({ commandLine }) => {
|
|
2718
|
-
if (commandLine[
|
|
2719
|
-
validateScale(commandLine[
|
|
2787
|
+
if (commandLine[cliFlag49] !== undefined) {
|
|
2788
|
+
validateScale(commandLine[cliFlag49]);
|
|
2720
2789
|
return {
|
|
2721
2790
|
source: "cli",
|
|
2722
|
-
value: commandLine[
|
|
2791
|
+
value: commandLine[cliFlag49]
|
|
2723
2792
|
};
|
|
2724
2793
|
}
|
|
2725
2794
|
if (currentScale !== null) {
|
|
@@ -2740,16 +2809,16 @@ var scaleOption = {
|
|
|
2740
2809
|
|
|
2741
2810
|
// src/options/throw-if-site-exists.tsx
|
|
2742
2811
|
var DEFAULT5 = false;
|
|
2743
|
-
var
|
|
2812
|
+
var cliFlag50 = "throw-if-site-exists";
|
|
2744
2813
|
var throwIfSiteExistsOption = {
|
|
2745
|
-
cliFlag:
|
|
2814
|
+
cliFlag: cliFlag50,
|
|
2746
2815
|
description: () => `Prevents accidential update of an existing site. If there are any files in the subfolder where the site should be placed, the function will throw.`,
|
|
2747
2816
|
docLink: "https://remotion.dev/docs/lambda/deploy-site",
|
|
2748
2817
|
getValue: ({ commandLine }) => {
|
|
2749
|
-
if (commandLine[
|
|
2818
|
+
if (commandLine[cliFlag50]) {
|
|
2750
2819
|
return {
|
|
2751
2820
|
source: "cli",
|
|
2752
|
-
value: commandLine[
|
|
2821
|
+
value: commandLine[cliFlag50]
|
|
2753
2822
|
};
|
|
2754
2823
|
}
|
|
2755
2824
|
return {
|
|
@@ -2766,37 +2835,37 @@ var throwIfSiteExistsOption = {
|
|
|
2766
2835
|
};
|
|
2767
2836
|
|
|
2768
2837
|
// src/options/timeout.tsx
|
|
2769
|
-
import { jsx as
|
|
2838
|
+
import { jsx as jsx46, jsxs as jsxs34, Fragment as Fragment46 } from "react/jsx-runtime";
|
|
2770
2839
|
var currentTimeout = DEFAULT_TIMEOUT;
|
|
2771
2840
|
var validate3 = (value3) => {
|
|
2772
2841
|
if (typeof value3 !== "number") {
|
|
2773
2842
|
throw new Error("--timeout flag / setDelayRenderTimeoutInMilliseconds() must be a number, but got " + JSON.stringify(value3));
|
|
2774
2843
|
}
|
|
2775
2844
|
};
|
|
2776
|
-
var
|
|
2845
|
+
var cliFlag51 = "timeout";
|
|
2777
2846
|
var delayRenderTimeoutInMillisecondsOption = {
|
|
2778
2847
|
name: "delayRender() timeout",
|
|
2779
|
-
cliFlag:
|
|
2780
|
-
description: () => /* @__PURE__ */
|
|
2848
|
+
cliFlag: cliFlag51,
|
|
2849
|
+
description: () => /* @__PURE__ */ jsxs34(Fragment46, {
|
|
2781
2850
|
children: [
|
|
2782
2851
|
"A number describing how long the render may take to resolve all",
|
|
2783
2852
|
" ",
|
|
2784
|
-
/* @__PURE__ */
|
|
2853
|
+
/* @__PURE__ */ jsx46("a", {
|
|
2785
2854
|
href: "https://remotion.dev/docs/delay-render",
|
|
2786
|
-
children: /* @__PURE__ */
|
|
2855
|
+
children: /* @__PURE__ */ jsx46("code", {
|
|
2787
2856
|
children: "delayRender()"
|
|
2788
2857
|
})
|
|
2789
2858
|
}),
|
|
2790
2859
|
" ",
|
|
2791
2860
|
"calls",
|
|
2792
2861
|
" ",
|
|
2793
|
-
/* @__PURE__ */
|
|
2862
|
+
/* @__PURE__ */ jsx46("a", {
|
|
2794
2863
|
style: { fontSize: "inherit" },
|
|
2795
2864
|
href: "https://remotion.dev/docs/timeout",
|
|
2796
2865
|
children: "before it times out"
|
|
2797
2866
|
}),
|
|
2798
2867
|
". Default: ",
|
|
2799
|
-
/* @__PURE__ */
|
|
2868
|
+
/* @__PURE__ */ jsx46("code", {
|
|
2800
2869
|
children: "30000"
|
|
2801
2870
|
})
|
|
2802
2871
|
]
|
|
@@ -2805,10 +2874,10 @@ var delayRenderTimeoutInMillisecondsOption = {
|
|
|
2805
2874
|
docLink: "https://www.remotion.dev/docs/timeout",
|
|
2806
2875
|
type: 0,
|
|
2807
2876
|
getValue: ({ commandLine }) => {
|
|
2808
|
-
if (commandLine[
|
|
2877
|
+
if (commandLine[cliFlag51] !== undefined) {
|
|
2809
2878
|
return {
|
|
2810
2879
|
source: "cli",
|
|
2811
|
-
value: commandLine[
|
|
2880
|
+
value: commandLine[cliFlag51]
|
|
2812
2881
|
};
|
|
2813
2882
|
}
|
|
2814
2883
|
if (currentTimeout !== null) {
|
|
@@ -2830,26 +2899,26 @@ var delayRenderTimeoutInMillisecondsOption = {
|
|
|
2830
2899
|
};
|
|
2831
2900
|
|
|
2832
2901
|
// src/options/video-bitrate.tsx
|
|
2833
|
-
import { jsx as
|
|
2902
|
+
import { jsx as jsx47, jsxs as jsxs35, Fragment as Fragment47 } from "react/jsx-runtime";
|
|
2834
2903
|
var videoBitrate = null;
|
|
2835
|
-
var
|
|
2904
|
+
var cliFlag52 = "video-bitrate";
|
|
2836
2905
|
var videoBitrateOption = {
|
|
2837
2906
|
name: "Video Bitrate",
|
|
2838
|
-
cliFlag:
|
|
2839
|
-
description: () => /* @__PURE__ */
|
|
2907
|
+
cliFlag: cliFlag52,
|
|
2908
|
+
description: () => /* @__PURE__ */ jsxs35(Fragment47, {
|
|
2840
2909
|
children: [
|
|
2841
2910
|
"Specify the target bitrate for the generated video. The syntax for FFmpeg",
|
|
2842
2911
|
"'",
|
|
2843
2912
|
"s",
|
|
2844
|
-
/* @__PURE__ */
|
|
2913
|
+
/* @__PURE__ */ jsx47("code", {
|
|
2845
2914
|
children: "-b:v"
|
|
2846
2915
|
}),
|
|
2847
2916
|
" parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ",
|
|
2848
|
-
/* @__PURE__ */
|
|
2917
|
+
/* @__PURE__ */ jsx47("code", {
|
|
2849
2918
|
children: "512K"
|
|
2850
2919
|
}),
|
|
2851
2920
|
" for 512 kbps, ",
|
|
2852
|
-
/* @__PURE__ */
|
|
2921
|
+
/* @__PURE__ */ jsx47("code", {
|
|
2853
2922
|
children: "1M"
|
|
2854
2923
|
}),
|
|
2855
2924
|
" for 1 Mbps."
|
|
@@ -2859,10 +2928,10 @@ var videoBitrateOption = {
|
|
|
2859
2928
|
docLink: "https://www.remotion.dev/docs/renderer/render-media#videobitrate",
|
|
2860
2929
|
type: "",
|
|
2861
2930
|
getValue: ({ commandLine }) => {
|
|
2862
|
-
if (commandLine[
|
|
2931
|
+
if (commandLine[cliFlag52] !== undefined) {
|
|
2863
2932
|
return {
|
|
2864
2933
|
source: "cli",
|
|
2865
|
-
value: commandLine[
|
|
2934
|
+
value: commandLine[cliFlag52]
|
|
2866
2935
|
};
|
|
2867
2936
|
}
|
|
2868
2937
|
if (videoBitrate !== null) {
|
|
@@ -2882,29 +2951,29 @@ var videoBitrateOption = {
|
|
|
2882
2951
|
};
|
|
2883
2952
|
|
|
2884
2953
|
// src/options/video-cache-size.tsx
|
|
2885
|
-
import { jsx as
|
|
2954
|
+
import { jsx as jsx48, jsxs as jsxs36, Fragment as Fragment48 } from "react/jsx-runtime";
|
|
2886
2955
|
var mediaCacheSizeInBytes = null;
|
|
2887
|
-
var
|
|
2956
|
+
var cliFlag53 = "media-cache-size-in-bytes";
|
|
2888
2957
|
var mediaCacheSizeInBytesOption = {
|
|
2889
2958
|
name: "@remotion/media cache size",
|
|
2890
|
-
cliFlag:
|
|
2891
|
-
description: () => /* @__PURE__ */
|
|
2959
|
+
cliFlag: cliFlag53,
|
|
2960
|
+
description: () => /* @__PURE__ */ jsxs36(Fragment48, {
|
|
2892
2961
|
children: [
|
|
2893
2962
|
"Specify the maximum size of the cache that ",
|
|
2894
|
-
/* @__PURE__ */
|
|
2963
|
+
/* @__PURE__ */ jsx48("code", {
|
|
2895
2964
|
children: "<Video>"
|
|
2896
2965
|
}),
|
|
2897
2966
|
" and",
|
|
2898
2967
|
" ",
|
|
2899
|
-
/* @__PURE__ */
|
|
2968
|
+
/* @__PURE__ */ jsx48("code", {
|
|
2900
2969
|
children: "<Audio>"
|
|
2901
2970
|
}),
|
|
2902
2971
|
" from ",
|
|
2903
|
-
/* @__PURE__ */
|
|
2972
|
+
/* @__PURE__ */ jsx48("code", {
|
|
2904
2973
|
children: "@remotion/media"
|
|
2905
2974
|
}),
|
|
2906
2975
|
" may use combined, in bytes. ",
|
|
2907
|
-
/* @__PURE__ */
|
|
2976
|
+
/* @__PURE__ */ jsx48("br", {}),
|
|
2908
2977
|
"The default is half of the available system memory when the render starts."
|
|
2909
2978
|
]
|
|
2910
2979
|
}),
|
|
@@ -2912,10 +2981,10 @@ var mediaCacheSizeInBytesOption = {
|
|
|
2912
2981
|
docLink: "https://www.remotion.dev/docs/media/video#setting-the-cache-size",
|
|
2913
2982
|
type: 0,
|
|
2914
2983
|
getValue: ({ commandLine }) => {
|
|
2915
|
-
if (commandLine[
|
|
2984
|
+
if (commandLine[cliFlag53] !== undefined) {
|
|
2916
2985
|
return {
|
|
2917
2986
|
source: "cli",
|
|
2918
|
-
value: commandLine[
|
|
2987
|
+
value: commandLine[cliFlag53]
|
|
2919
2988
|
};
|
|
2920
2989
|
}
|
|
2921
2990
|
if (mediaCacheSizeInBytes !== null) {
|
|
@@ -3050,7 +3119,7 @@ var getExtensionOfFilename = (filename) => {
|
|
|
3050
3119
|
};
|
|
3051
3120
|
|
|
3052
3121
|
// src/options/video-codec.tsx
|
|
3053
|
-
import { jsx as
|
|
3122
|
+
import { jsx as jsx49, Fragment as Fragment49 } from "react/jsx-runtime";
|
|
3054
3123
|
var codec;
|
|
3055
3124
|
var setCodec = (newCodec) => {
|
|
3056
3125
|
if (newCodec === undefined) {
|
|
@@ -3074,11 +3143,11 @@ var deriveCodecsFromFilename = (extension) => {
|
|
|
3074
3143
|
possible: makeFileExtensionMap()[extension] ?? []
|
|
3075
3144
|
};
|
|
3076
3145
|
};
|
|
3077
|
-
var
|
|
3146
|
+
var cliFlag54 = "codec";
|
|
3078
3147
|
var videoCodecOption = {
|
|
3079
3148
|
name: "Codec",
|
|
3080
|
-
cliFlag:
|
|
3081
|
-
description: () => /* @__PURE__ */
|
|
3149
|
+
cliFlag: cliFlag54,
|
|
3150
|
+
description: () => /* @__PURE__ */ jsx49(Fragment49, {
|
|
3082
3151
|
children: "H264 works well in most cases, but sometimes it's worth going for a different codec. WebM achieves higher compression but is slower to render. WebM, GIF and ProRes support transparency."
|
|
3083
3152
|
}),
|
|
3084
3153
|
ssrName: "codec",
|
|
@@ -3101,7 +3170,7 @@ var videoCodecOption = {
|
|
|
3101
3170
|
if (derivedDownloadCodecs.possible.length > 0 && derivedOutNameCodecs.possible.length > 0 && derivedDownloadCodecs.possible.join("") !== derivedOutNameCodecs.possible.join("")) {
|
|
3102
3171
|
throw new TypeError(`The download name is ${downloadName} but the output name is ${outName}. The file extensions must match`);
|
|
3103
3172
|
}
|
|
3104
|
-
const cliArgument = commandLine[
|
|
3173
|
+
const cliArgument = commandLine[cliFlag54];
|
|
3105
3174
|
if (cliArgument) {
|
|
3106
3175
|
if (derivedDownloadCodecs.possible.length > 0 && derivedDownloadCodecs.possible.indexOf(cliArgument) === -1) {
|
|
3107
3176
|
throw new TypeError(`The download name is ${downloadName} but --codec=${cliArgument} was passed. The download name implies a codec of ${derivedDownloadCodecs.possible.join(" or ")} which does not align with the --codec flag.`);
|
|
@@ -3150,12 +3219,12 @@ var videoCodecOption = {
|
|
|
3150
3219
|
};
|
|
3151
3220
|
|
|
3152
3221
|
// src/options/webhook-custom-data.tsx
|
|
3153
|
-
import { jsxs as
|
|
3154
|
-
var
|
|
3222
|
+
import { jsxs as jsxs37, Fragment as Fragment50 } from "react/jsx-runtime";
|
|
3223
|
+
var cliFlag55 = "webhook-custom-data";
|
|
3155
3224
|
var webhookCustomDataOption = {
|
|
3156
3225
|
name: "Webhook custom data",
|
|
3157
|
-
cliFlag:
|
|
3158
|
-
description: (type) => /* @__PURE__ */
|
|
3226
|
+
cliFlag: cliFlag55,
|
|
3227
|
+
description: (type) => /* @__PURE__ */ jsxs37(Fragment50, {
|
|
3159
3228
|
children: [
|
|
3160
3229
|
"Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
|
|
3161
3230
|
" ",
|
|
@@ -3174,7 +3243,7 @@ var webhookCustomDataOption = {
|
|
|
3174
3243
|
};
|
|
3175
3244
|
|
|
3176
3245
|
// src/options/x264-preset.tsx
|
|
3177
|
-
import { jsx as
|
|
3246
|
+
import { jsx as jsx50, jsxs as jsxs38, Fragment as Fragment51 } from "react/jsx-runtime";
|
|
3178
3247
|
var x264PresetOptions = [
|
|
3179
3248
|
"ultrafast",
|
|
3180
3249
|
"superfast",
|
|
@@ -3188,63 +3257,63 @@ var x264PresetOptions = [
|
|
|
3188
3257
|
"placebo"
|
|
3189
3258
|
];
|
|
3190
3259
|
var preset = null;
|
|
3191
|
-
var
|
|
3260
|
+
var cliFlag56 = "x264-preset";
|
|
3192
3261
|
var DEFAULT_PRESET = "medium";
|
|
3193
3262
|
var x264Option = {
|
|
3194
3263
|
name: "x264 Preset",
|
|
3195
|
-
cliFlag:
|
|
3196
|
-
description: () => /* @__PURE__ */
|
|
3264
|
+
cliFlag: cliFlag56,
|
|
3265
|
+
description: () => /* @__PURE__ */ jsxs38(Fragment51, {
|
|
3197
3266
|
children: [
|
|
3198
3267
|
"Sets a x264 preset profile. Only applies to videos rendered with",
|
|
3199
3268
|
" ",
|
|
3200
|
-
/* @__PURE__ */
|
|
3269
|
+
/* @__PURE__ */ jsx50("code", {
|
|
3201
3270
|
children: "h264"
|
|
3202
3271
|
}),
|
|
3203
3272
|
" codec.",
|
|
3204
|
-
/* @__PURE__ */
|
|
3273
|
+
/* @__PURE__ */ jsx50("br", {}),
|
|
3205
3274
|
"Possible values: ",
|
|
3206
|
-
/* @__PURE__ */
|
|
3275
|
+
/* @__PURE__ */ jsx50("code", {
|
|
3207
3276
|
children: "superfast"
|
|
3208
3277
|
}),
|
|
3209
3278
|
", ",
|
|
3210
|
-
/* @__PURE__ */
|
|
3279
|
+
/* @__PURE__ */ jsx50("code", {
|
|
3211
3280
|
children: "veryfast"
|
|
3212
3281
|
}),
|
|
3213
3282
|
",",
|
|
3214
3283
|
" ",
|
|
3215
|
-
/* @__PURE__ */
|
|
3284
|
+
/* @__PURE__ */ jsx50("code", {
|
|
3216
3285
|
children: "faster"
|
|
3217
3286
|
}),
|
|
3218
3287
|
", ",
|
|
3219
|
-
/* @__PURE__ */
|
|
3288
|
+
/* @__PURE__ */ jsx50("code", {
|
|
3220
3289
|
children: "fast"
|
|
3221
3290
|
}),
|
|
3222
3291
|
", ",
|
|
3223
|
-
/* @__PURE__ */
|
|
3292
|
+
/* @__PURE__ */ jsx50("code", {
|
|
3224
3293
|
children: "medium"
|
|
3225
3294
|
}),
|
|
3226
3295
|
",",
|
|
3227
3296
|
" ",
|
|
3228
|
-
/* @__PURE__ */
|
|
3297
|
+
/* @__PURE__ */ jsx50("code", {
|
|
3229
3298
|
children: "slow"
|
|
3230
3299
|
}),
|
|
3231
3300
|
", ",
|
|
3232
|
-
/* @__PURE__ */
|
|
3301
|
+
/* @__PURE__ */ jsx50("code", {
|
|
3233
3302
|
children: "slower"
|
|
3234
3303
|
}),
|
|
3235
3304
|
", ",
|
|
3236
|
-
/* @__PURE__ */
|
|
3305
|
+
/* @__PURE__ */ jsx50("code", {
|
|
3237
3306
|
children: "veryslow"
|
|
3238
3307
|
}),
|
|
3239
3308
|
",",
|
|
3240
3309
|
" ",
|
|
3241
|
-
/* @__PURE__ */
|
|
3310
|
+
/* @__PURE__ */ jsx50("code", {
|
|
3242
3311
|
children: "placebo"
|
|
3243
3312
|
}),
|
|
3244
3313
|
".",
|
|
3245
|
-
/* @__PURE__ */
|
|
3314
|
+
/* @__PURE__ */ jsx50("br", {}),
|
|
3246
3315
|
"Default: ",
|
|
3247
|
-
/* @__PURE__ */
|
|
3316
|
+
/* @__PURE__ */ jsx50("code", {
|
|
3248
3317
|
children: DEFAULT_PRESET
|
|
3249
3318
|
})
|
|
3250
3319
|
]
|
|
@@ -3253,7 +3322,7 @@ var x264Option = {
|
|
|
3253
3322
|
docLink: "https://www.remotion.dev/docs/renderer/render-media",
|
|
3254
3323
|
type: "fast",
|
|
3255
3324
|
getValue: ({ commandLine }) => {
|
|
3256
|
-
const value3 = commandLine[
|
|
3325
|
+
const value3 = commandLine[cliFlag56];
|
|
3257
3326
|
if (typeof value3 !== "undefined") {
|
|
3258
3327
|
return { value: value3, source: "cli" };
|
|
3259
3328
|
}
|
|
@@ -3322,7 +3391,9 @@ var allOptions = {
|
|
|
3322
3391
|
askAIOption,
|
|
3323
3392
|
experimentalClientSideRenderingOption,
|
|
3324
3393
|
keyboardShortcutsOption,
|
|
3325
|
-
forceNewStudioOption
|
|
3394
|
+
forceNewStudioOption,
|
|
3395
|
+
numberOfSharedAudioTagsOption,
|
|
3396
|
+
ipv4Option
|
|
3326
3397
|
};
|
|
3327
3398
|
|
|
3328
3399
|
// src/options/options-map.ts
|