@remotion/renderer 4.0.312 → 4.0.313

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.
@@ -1590,8 +1590,48 @@ var headlessOption = {
1590
1590
  }
1591
1591
  };
1592
1592
 
1593
+ // src/options/image-sequence-pattern.tsx
1594
+ import { jsx as jsx19, jsxs as jsxs16, Fragment as Fragment19 } from "react/jsx-runtime";
1595
+ var cliFlag23 = "image-sequence-pattern";
1596
+ var currentImageSequencePattern = null;
1597
+ var imageSequencePatternOption = {
1598
+ name: "Image Sequence Pattern",
1599
+ cliFlag: cliFlag23,
1600
+ ssrName: "imageSequencePattern",
1601
+ description: () => /* @__PURE__ */ jsxs16(Fragment19, {
1602
+ children: [
1603
+ "Pattern for naming image sequence files. Supports ",
1604
+ /* @__PURE__ */ jsx19("code", {
1605
+ children: "[frame]"
1606
+ }),
1607
+ " for the zero-padded frame number and ",
1608
+ /* @__PURE__ */ jsx19("code", {
1609
+ children: "[ext]"
1610
+ }),
1611
+ " for the file extension."
1612
+ ]
1613
+ }),
1614
+ docLink: null,
1615
+ type: "string",
1616
+ getValue: ({ commandLine }) => {
1617
+ if (currentImageSequencePattern !== null) {
1618
+ return {
1619
+ value: currentImageSequencePattern,
1620
+ source: "config"
1621
+ };
1622
+ }
1623
+ return {
1624
+ value: commandLine[cliFlag23],
1625
+ source: "cli"
1626
+ };
1627
+ },
1628
+ setConfig: (pattern) => {
1629
+ currentImageSequencePattern = pattern;
1630
+ }
1631
+ };
1632
+
1593
1633
  // src/options/jpeg-quality.tsx
1594
- import { jsx as jsx19, Fragment as Fragment19 } from "react/jsx-runtime";
1634
+ import { jsx as jsx20, Fragment as Fragment20 } from "react/jsx-runtime";
1595
1635
  var defaultValue = DEFAULT_JPEG_QUALITY;
1596
1636
  var quality = defaultValue;
1597
1637
  var setJpegQuality = (q) => {
@@ -1602,11 +1642,11 @@ var setJpegQuality = (q) => {
1602
1642
  }
1603
1643
  quality = q;
1604
1644
  };
1605
- var cliFlag23 = "jpeg-quality";
1645
+ var cliFlag24 = "jpeg-quality";
1606
1646
  var jpegQualityOption = {
1607
1647
  name: "JPEG Quality",
1608
- cliFlag: cliFlag23,
1609
- description: () => /* @__PURE__ */ jsx19(Fragment19, {
1648
+ cliFlag: cliFlag24,
1649
+ description: () => /* @__PURE__ */ jsx20(Fragment20, {
1610
1650
  children: "Sets the quality of the generated JPEG images. Must be an integer between 0 and 100. Default: 80."
1611
1651
  }),
1612
1652
  ssrName: "jpegQuality",
@@ -1614,11 +1654,11 @@ var jpegQualityOption = {
1614
1654
  type: 0,
1615
1655
  setConfig: setJpegQuality,
1616
1656
  getValue: ({ commandLine }) => {
1617
- if (commandLine[cliFlag23] !== undefined) {
1618
- validateJpegQuality(commandLine[cliFlag23]);
1657
+ if (commandLine[cliFlag24] !== undefined) {
1658
+ validateJpegQuality(commandLine[cliFlag24]);
1619
1659
  return {
1620
1660
  source: "cli",
1621
- value: commandLine[cliFlag23]
1661
+ value: commandLine[cliFlag24]
1622
1662
  };
1623
1663
  }
1624
1664
  if (quality !== defaultValue) {
@@ -1635,38 +1675,38 @@ var jpegQualityOption = {
1635
1675
  };
1636
1676
 
1637
1677
  // src/options/latency-hint.tsx
1638
- import { jsx as jsx20, jsxs as jsxs16, Fragment as Fragment20 } from "react/jsx-runtime";
1639
- var cliFlag24 = "audio-latency-hint";
1678
+ import { jsx as jsx21, jsxs as jsxs17, Fragment as Fragment21 } from "react/jsx-runtime";
1679
+ var cliFlag25 = "audio-latency-hint";
1640
1680
  var value = null;
1641
1681
  var audioLatencyHintOption = {
1642
1682
  name: "Audio Latency Hint",
1643
- cliFlag: cliFlag24,
1644
- description: () => /* @__PURE__ */ jsxs16(Fragment20, {
1683
+ cliFlag: cliFlag25,
1684
+ description: () => /* @__PURE__ */ jsxs17(Fragment21, {
1645
1685
  children: [
1646
1686
  "Sets the",
1647
1687
  " ",
1648
- /* @__PURE__ */ jsx20("a", {
1688
+ /* @__PURE__ */ jsx21("a", {
1649
1689
  href: "https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext",
1650
1690
  children: "audio latency"
1651
1691
  }),
1652
1692
  " ",
1653
1693
  "hint for the global ",
1654
- /* @__PURE__ */ jsx20("code", {
1694
+ /* @__PURE__ */ jsx21("code", {
1655
1695
  children: "AudioContext"
1656
1696
  }),
1657
1697
  " context that Remotion uses to play audio.",
1658
- /* @__PURE__ */ jsx20("br", {}),
1698
+ /* @__PURE__ */ jsx21("br", {}),
1659
1699
  "Possible values: ",
1660
- /* @__PURE__ */ jsx20("code", {
1700
+ /* @__PURE__ */ jsx21("code", {
1661
1701
  children: "interactive"
1662
1702
  }),
1663
1703
  ", ",
1664
- /* @__PURE__ */ jsx20("code", {
1704
+ /* @__PURE__ */ jsx21("code", {
1665
1705
  children: "balanced"
1666
1706
  }),
1667
1707
  ",",
1668
1708
  " ",
1669
- /* @__PURE__ */ jsx20("code", {
1709
+ /* @__PURE__ */ jsx21("code", {
1670
1710
  children: "playback"
1671
1711
  })
1672
1712
  ]
@@ -1675,7 +1715,7 @@ var audioLatencyHintOption = {
1675
1715
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
1676
1716
  type: "interactive",
1677
1717
  getValue: ({ commandLine }) => {
1678
- const val = commandLine[cliFlag24];
1718
+ const val = commandLine[cliFlag25];
1679
1719
  if (typeof val !== "undefined") {
1680
1720
  return { value: val, source: "cli" };
1681
1721
  }
@@ -1690,43 +1730,43 @@ var audioLatencyHintOption = {
1690
1730
  };
1691
1731
 
1692
1732
  // src/options/log-level.tsx
1693
- import { jsx as jsx21, jsxs as jsxs17, Fragment as Fragment21 } from "react/jsx-runtime";
1733
+ import { jsx as jsx22, jsxs as jsxs18, Fragment as Fragment22 } from "react/jsx-runtime";
1694
1734
  var logLevel = "info";
1695
- var cliFlag25 = "log";
1735
+ var cliFlag26 = "log";
1696
1736
  var logLevelOption = {
1697
- cliFlag: cliFlag25,
1737
+ cliFlag: cliFlag26,
1698
1738
  name: "Log Level",
1699
1739
  ssrName: "logLevel",
1700
- description: () => /* @__PURE__ */ jsxs17(Fragment21, {
1740
+ description: () => /* @__PURE__ */ jsxs18(Fragment22, {
1701
1741
  children: [
1702
1742
  "One of ",
1703
- /* @__PURE__ */ jsx21("code", {
1743
+ /* @__PURE__ */ jsx22("code", {
1704
1744
  children: "trace"
1705
1745
  }),
1706
1746
  ", ",
1707
- /* @__PURE__ */ jsx21("code", {
1747
+ /* @__PURE__ */ jsx22("code", {
1708
1748
  children: "verbose"
1709
1749
  }),
1710
1750
  ", ",
1711
- /* @__PURE__ */ jsx21("code", {
1751
+ /* @__PURE__ */ jsx22("code", {
1712
1752
  children: "info"
1713
1753
  }),
1714
1754
  ",",
1715
1755
  " ",
1716
- /* @__PURE__ */ jsx21("code", {
1756
+ /* @__PURE__ */ jsx22("code", {
1717
1757
  children: "warn"
1718
1758
  }),
1719
1759
  ", ",
1720
- /* @__PURE__ */ jsx21("code", {
1760
+ /* @__PURE__ */ jsx22("code", {
1721
1761
  children: "error"
1722
1762
  }),
1723
1763
  ".",
1724
- /* @__PURE__ */ jsx21("br", {}),
1764
+ /* @__PURE__ */ jsx22("br", {}),
1725
1765
  " Determines how much info is being logged to the console.",
1726
- /* @__PURE__ */ jsx21("br", {}),
1727
- /* @__PURE__ */ jsx21("br", {}),
1766
+ /* @__PURE__ */ jsx22("br", {}),
1767
+ /* @__PURE__ */ jsx22("br", {}),
1728
1768
  " Default ",
1729
- /* @__PURE__ */ jsx21("code", {
1769
+ /* @__PURE__ */ jsx22("code", {
1730
1770
  children: "info"
1731
1771
  }),
1732
1772
  "."
@@ -1734,11 +1774,11 @@ var logLevelOption = {
1734
1774
  }),
1735
1775
  docLink: "https://www.remotion.dev/docs/troubleshooting/debug-failed-render",
1736
1776
  getValue: ({ commandLine }) => {
1737
- if (commandLine[cliFlag25]) {
1738
- if (!isValidLogLevel(commandLine[cliFlag25])) {
1777
+ if (commandLine[cliFlag26]) {
1778
+ if (!isValidLogLevel(commandLine[cliFlag26])) {
1739
1779
  throw new Error(`Invalid \`--log\` value passed. Accepted values: ${logLevels.map((l) => `'${l}'`).join(", ")}.`);
1740
1780
  }
1741
- return { value: commandLine[cliFlag25], source: "cli" };
1781
+ return { value: commandLine[cliFlag26], source: "cli" };
1742
1782
  }
1743
1783
  if (logLevel !== "info") {
1744
1784
  return { value: logLevel, source: "config" };
@@ -1752,19 +1792,19 @@ var logLevelOption = {
1752
1792
  };
1753
1793
 
1754
1794
  // src/options/metadata.tsx
1755
- import { jsx as jsx22, jsxs as jsxs18, Fragment as Fragment22 } from "react/jsx-runtime";
1795
+ import { jsx as jsx23, jsxs as jsxs19, Fragment as Fragment23 } from "react/jsx-runtime";
1756
1796
  var metadata = {};
1757
- var cliFlag26 = "metadata";
1797
+ var cliFlag27 = "metadata";
1758
1798
  var metadataOption = {
1759
1799
  name: "Metadata",
1760
- cliFlag: cliFlag26,
1800
+ cliFlag: cliFlag27,
1761
1801
  description: (mode) => {
1762
1802
  if (mode === "ssr") {
1763
- return /* @__PURE__ */ jsxs18(Fragment22, {
1803
+ return /* @__PURE__ */ jsxs19(Fragment23, {
1764
1804
  children: [
1765
1805
  "An object containing metadata to be embedded in the video. See",
1766
1806
  " ",
1767
- /* @__PURE__ */ jsx22("a", {
1807
+ /* @__PURE__ */ jsx23("a", {
1768
1808
  href: "/docs/metadata",
1769
1809
  children: "here"
1770
1810
  }),
@@ -1772,18 +1812,18 @@ var metadataOption = {
1772
1812
  ]
1773
1813
  });
1774
1814
  }
1775
- return /* @__PURE__ */ jsxs18(Fragment22, {
1815
+ return /* @__PURE__ */ jsxs19(Fragment23, {
1776
1816
  children: [
1777
1817
  "Metadata to be embedded in the video. See",
1778
1818
  " ",
1779
- /* @__PURE__ */ jsx22("a", {
1819
+ /* @__PURE__ */ jsx23("a", {
1780
1820
  href: "/docs/metadata",
1781
1821
  children: "here"
1782
1822
  }),
1783
1823
  " for which metadata is accepted.",
1784
- /* @__PURE__ */ jsx22("br", {}),
1824
+ /* @__PURE__ */ jsx23("br", {}),
1785
1825
  "The parameter must be in the format of ",
1786
- /* @__PURE__ */ jsx22("code", {
1826
+ /* @__PURE__ */ jsx23("code", {
1787
1827
  children: "--metadata key=value"
1788
1828
  }),
1789
1829
  " ",
@@ -1794,8 +1834,8 @@ var metadataOption = {
1794
1834
  docLink: "https://www.remotion.dev/docs/metadata",
1795
1835
  type: {},
1796
1836
  getValue: ({ commandLine }) => {
1797
- if (commandLine[cliFlag26] !== undefined) {
1798
- const val = commandLine[cliFlag26];
1837
+ if (commandLine[cliFlag27] !== undefined) {
1838
+ const val = commandLine[cliFlag27];
1799
1839
  const array = typeof val === "string" ? [val] : val;
1800
1840
  const keyValues = array.map((a) => {
1801
1841
  if (!a.includes("=")) {
@@ -1825,24 +1865,24 @@ var metadataOption = {
1825
1865
  };
1826
1866
 
1827
1867
  // src/options/mute.tsx
1828
- import { jsx as jsx23, Fragment as Fragment23 } from "react/jsx-runtime";
1868
+ import { jsx as jsx24, Fragment as Fragment24 } from "react/jsx-runtime";
1829
1869
  var DEFAULT_MUTED_STATE = false;
1830
1870
  var mutedState = DEFAULT_MUTED_STATE;
1831
- var cliFlag27 = "muted";
1871
+ var cliFlag28 = "muted";
1832
1872
  var mutedOption = {
1833
1873
  name: "Muted",
1834
- cliFlag: cliFlag27,
1835
- description: () => /* @__PURE__ */ jsx23(Fragment23, {
1874
+ cliFlag: cliFlag28,
1875
+ description: () => /* @__PURE__ */ jsx24(Fragment24, {
1836
1876
  children: "The Audio of the video will be omitted."
1837
1877
  }),
1838
1878
  ssrName: "muted",
1839
1879
  docLink: "https://www.remotion.dev/docs/audio/muting",
1840
1880
  type: false,
1841
1881
  getValue: ({ commandLine }) => {
1842
- if (commandLine[cliFlag27] !== null) {
1882
+ if (commandLine[cliFlag28] !== null) {
1843
1883
  return {
1844
1884
  source: "cli",
1845
- value: commandLine[cliFlag27]
1885
+ value: commandLine[cliFlag28]
1846
1886
  };
1847
1887
  }
1848
1888
  if (mutedState !== DEFAULT_MUTED_STATE) {
@@ -1862,50 +1902,50 @@ var mutedOption = {
1862
1902
  };
1863
1903
 
1864
1904
  // src/options/number-of-gif-loops.tsx
1865
- import { jsx as jsx24, jsxs as jsxs19, Fragment as Fragment24 } from "react/jsx-runtime";
1905
+ import { jsx as jsx25, jsxs as jsxs20, Fragment as Fragment25 } from "react/jsx-runtime";
1866
1906
  var currentLoop = null;
1867
1907
  var validate = (newLoop) => {
1868
1908
  if (newLoop !== null && typeof newLoop !== "number") {
1869
1909
  throw new Error("--number-of-gif-loops flag must be a number.");
1870
1910
  }
1871
1911
  };
1872
- var cliFlag28 = "number-of-gif-loops";
1912
+ var cliFlag29 = "number-of-gif-loops";
1873
1913
  var numberOfGifLoopsOption = {
1874
1914
  name: "Number of GIF loops",
1875
- cliFlag: cliFlag28,
1915
+ cliFlag: cliFlag29,
1876
1916
  description: () => {
1877
- return /* @__PURE__ */ jsxs19(Fragment24, {
1917
+ return /* @__PURE__ */ jsxs20(Fragment25, {
1878
1918
  children: [
1879
1919
  "Allows you to set the number of loops as follows:",
1880
- /* @__PURE__ */ jsxs19("ul", {
1920
+ /* @__PURE__ */ jsxs20("ul", {
1881
1921
  children: [
1882
- /* @__PURE__ */ jsxs19("li", {
1922
+ /* @__PURE__ */ jsxs20("li", {
1883
1923
  children: [
1884
- /* @__PURE__ */ jsx24("code", {
1924
+ /* @__PURE__ */ jsx25("code", {
1885
1925
  children: "null"
1886
1926
  }),
1887
1927
  " (or omitting in the CLI) plays the GIF indefinitely."
1888
1928
  ]
1889
1929
  }),
1890
- /* @__PURE__ */ jsxs19("li", {
1930
+ /* @__PURE__ */ jsxs20("li", {
1891
1931
  children: [
1892
- /* @__PURE__ */ jsx24("code", {
1932
+ /* @__PURE__ */ jsx25("code", {
1893
1933
  children: "0"
1894
1934
  }),
1895
1935
  " disables looping"
1896
1936
  ]
1897
1937
  }),
1898
- /* @__PURE__ */ jsxs19("li", {
1938
+ /* @__PURE__ */ jsxs20("li", {
1899
1939
  children: [
1900
- /* @__PURE__ */ jsx24("code", {
1940
+ /* @__PURE__ */ jsx25("code", {
1901
1941
  children: "1"
1902
1942
  }),
1903
1943
  " loops the GIF once (plays twice in total)"
1904
1944
  ]
1905
1945
  }),
1906
- /* @__PURE__ */ jsxs19("li", {
1946
+ /* @__PURE__ */ jsxs20("li", {
1907
1947
  children: [
1908
- /* @__PURE__ */ jsx24("code", {
1948
+ /* @__PURE__ */ jsx25("code", {
1909
1949
  children: "2"
1910
1950
  }),
1911
1951
  " loops the GIF twice (plays three times in total) and so on."
@@ -1920,10 +1960,10 @@ var numberOfGifLoopsOption = {
1920
1960
  docLink: "https://www.remotion.dev/docs/render-as-gif#changing-the-number-of-loops",
1921
1961
  type: 0,
1922
1962
  getValue: ({ commandLine }) => {
1923
- if (commandLine[cliFlag28] !== undefined) {
1924
- validate(commandLine[cliFlag28]);
1963
+ if (commandLine[cliFlag29] !== undefined) {
1964
+ validate(commandLine[cliFlag29]);
1925
1965
  return {
1926
- value: commandLine[cliFlag28],
1966
+ value: commandLine[cliFlag29],
1927
1967
  source: "cli"
1928
1968
  };
1929
1969
  }
@@ -1945,35 +1985,35 @@ var numberOfGifLoopsOption = {
1945
1985
  };
1946
1986
 
1947
1987
  // src/options/offthreadvideo-cache-size.tsx
1948
- import { jsx as jsx25, jsxs as jsxs20, Fragment as Fragment25 } from "react/jsx-runtime";
1988
+ import { jsx as jsx26, jsxs as jsxs21, Fragment as Fragment26 } from "react/jsx-runtime";
1949
1989
  var offthreadVideoCacheSizeInBytes = null;
1950
- var cliFlag29 = "offthreadvideo-cache-size-in-bytes";
1990
+ var cliFlag30 = "offthreadvideo-cache-size-in-bytes";
1951
1991
  var offthreadVideoCacheSizeInBytesOption = {
1952
1992
  name: "OffthreadVideo cache size",
1953
- cliFlag: cliFlag29,
1954
- description: () => /* @__PURE__ */ jsxs20(Fragment25, {
1993
+ cliFlag: cliFlag30,
1994
+ description: () => /* @__PURE__ */ jsxs21(Fragment26, {
1955
1995
  children: [
1956
1996
  "From v4.0, Remotion has a cache for",
1957
1997
  " ",
1958
- /* @__PURE__ */ jsx25("a", {
1998
+ /* @__PURE__ */ jsx26("a", {
1959
1999
  href: "https://remotion.dev/docs/offthreadvideo",
1960
- children: /* @__PURE__ */ jsx25("code", {
2000
+ children: /* @__PURE__ */ jsx26("code", {
1961
2001
  children: "<OffthreadVideo>"
1962
2002
  })
1963
2003
  }),
1964
2004
  " ",
1965
2005
  "frames. The default is ",
1966
- /* @__PURE__ */ jsx25("code", {
2006
+ /* @__PURE__ */ jsx26("code", {
1967
2007
  children: "null"
1968
2008
  }),
1969
2009
  ", corresponding to half of the system memory available when the render starts.",
1970
- /* @__PURE__ */ jsx25("br", {}),
2010
+ /* @__PURE__ */ jsx26("br", {}),
1971
2011
  " 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.",
1972
- /* @__PURE__ */ jsx25("br", {}),
2012
+ /* @__PURE__ */ jsx26("br", {}),
1973
2013
  "The used value will be printed when running in verbose mode.",
1974
- /* @__PURE__ */ jsx25("br", {}),
2014
+ /* @__PURE__ */ jsx26("br", {}),
1975
2015
  "Default: ",
1976
- /* @__PURE__ */ jsx25("code", {
2016
+ /* @__PURE__ */ jsx26("code", {
1977
2017
  children: "null"
1978
2018
  })
1979
2019
  ]
@@ -1982,10 +2022,10 @@ var offthreadVideoCacheSizeInBytesOption = {
1982
2022
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
1983
2023
  type: 0,
1984
2024
  getValue: ({ commandLine }) => {
1985
- if (commandLine[cliFlag29] !== undefined) {
2025
+ if (commandLine[cliFlag30] !== undefined) {
1986
2026
  return {
1987
2027
  source: "cli",
1988
- value: commandLine[cliFlag29]
2028
+ value: commandLine[cliFlag30]
1989
2029
  };
1990
2030
  }
1991
2031
  if (offthreadVideoCacheSizeInBytes !== null) {
@@ -2005,18 +2045,18 @@ var offthreadVideoCacheSizeInBytesOption = {
2005
2045
  };
2006
2046
 
2007
2047
  // src/options/offthreadvideo-threads.tsx
2008
- import { jsx as jsx26, jsxs as jsxs21, Fragment as Fragment26 } from "react/jsx-runtime";
2048
+ import { jsx as jsx27, jsxs as jsxs22, Fragment as Fragment27 } from "react/jsx-runtime";
2009
2049
  var value2 = null;
2010
- var cliFlag30 = "offthreadvideo-video-threads";
2050
+ var cliFlag31 = "offthreadvideo-video-threads";
2011
2051
  var offthreadVideoThreadsOption = {
2012
2052
  name: "OffthreadVideo threads",
2013
- cliFlag: cliFlag30,
2014
- description: () => /* @__PURE__ */ jsxs21(Fragment26, {
2053
+ cliFlag: cliFlag31,
2054
+ description: () => /* @__PURE__ */ jsxs22(Fragment27, {
2015
2055
  children: [
2016
2056
  "The number of threads that",
2017
- /* @__PURE__ */ jsx26("a", {
2057
+ /* @__PURE__ */ jsx27("a", {
2018
2058
  href: "https://remotion.dev/docs/offthreadvideo",
2019
- children: /* @__PURE__ */ jsx26("code", {
2059
+ children: /* @__PURE__ */ jsx27("code", {
2020
2060
  children: "<OffthreadVideo>"
2021
2061
  })
2022
2062
  }),
@@ -2031,10 +2071,10 @@ var offthreadVideoThreadsOption = {
2031
2071
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
2032
2072
  type: 0,
2033
2073
  getValue: ({ commandLine }) => {
2034
- if (commandLine[cliFlag30] !== undefined) {
2074
+ if (commandLine[cliFlag31] !== undefined) {
2035
2075
  return {
2036
2076
  source: "cli",
2037
- value: commandLine[cliFlag30]
2077
+ value: commandLine[cliFlag31]
2038
2078
  };
2039
2079
  }
2040
2080
  if (value2 !== null) {
@@ -2055,16 +2095,16 @@ var offthreadVideoThreadsOption = {
2055
2095
  var DEFAULT_RENDER_FRAMES_OFFTHREAD_VIDEO_THREADS = 2;
2056
2096
 
2057
2097
  // src/options/on-browser-download.tsx
2058
- import { jsx as jsx27, jsxs as jsxs22, Fragment as Fragment27 } from "react/jsx-runtime";
2059
- var cliFlag31 = "on-browser-download";
2098
+ import { jsx as jsx28, jsxs as jsxs23, Fragment as Fragment28 } from "react/jsx-runtime";
2099
+ var cliFlag32 = "on-browser-download";
2060
2100
  var onBrowserDownloadOption = {
2061
2101
  name: "Browser download callback function",
2062
- cliFlag: cliFlag31,
2063
- description: () => /* @__PURE__ */ jsxs22(Fragment27, {
2102
+ cliFlag: cliFlag32,
2103
+ description: () => /* @__PURE__ */ jsxs23(Fragment28, {
2064
2104
  children: [
2065
2105
  "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.",
2066
2106
  " ",
2067
- /* @__PURE__ */ jsx27("a", {
2107
+ /* @__PURE__ */ jsx28("a", {
2068
2108
  href: "/docs/renderer/ensure-browser#onbrowserdownload",
2069
2109
  children: "See here for how to use this option."
2070
2110
  })
@@ -2082,9 +2122,9 @@ var onBrowserDownloadOption = {
2082
2122
  };
2083
2123
 
2084
2124
  // src/options/overwrite.tsx
2085
- import { jsx as jsx28, jsxs as jsxs23, Fragment as Fragment28 } from "react/jsx-runtime";
2125
+ import { jsx as jsx29, jsxs as jsxs24, Fragment as Fragment29 } from "react/jsx-runtime";
2086
2126
  var shouldOverwrite = null;
2087
- var cliFlag32 = "overwrite";
2127
+ var cliFlag33 = "overwrite";
2088
2128
  var validate2 = (value3) => {
2089
2129
  if (typeof value3 !== "boolean") {
2090
2130
  throw new Error(`overwriteExisting must be a boolean but got ${typeof value3} (${value3})`);
@@ -2092,15 +2132,15 @@ var validate2 = (value3) => {
2092
2132
  };
2093
2133
  var overwriteOption = {
2094
2134
  name: "Overwrite output",
2095
- cliFlag: cliFlag32,
2096
- description: () => /* @__PURE__ */ jsxs23(Fragment28, {
2135
+ cliFlag: cliFlag33,
2136
+ description: () => /* @__PURE__ */ jsxs24(Fragment29, {
2097
2137
  children: [
2098
2138
  "If set to ",
2099
- /* @__PURE__ */ jsx28("code", {
2139
+ /* @__PURE__ */ jsx29("code", {
2100
2140
  children: "false"
2101
2141
  }),
2102
2142
  ", will prevent rendering to a path that already exists. Default is ",
2103
- /* @__PURE__ */ jsx28("code", {
2143
+ /* @__PURE__ */ jsx29("code", {
2104
2144
  children: "true"
2105
2145
  }),
2106
2146
  "."
@@ -2110,11 +2150,11 @@ var overwriteOption = {
2110
2150
  docLink: "https://www.remotion.dev/docs/config#setoverwriteoutput",
2111
2151
  type: false,
2112
2152
  getValue: ({ commandLine }, defaultValue2) => {
2113
- if (commandLine[cliFlag32] !== undefined) {
2114
- validate2(commandLine[cliFlag32]);
2153
+ if (commandLine[cliFlag33] !== undefined) {
2154
+ validate2(commandLine[cliFlag33]);
2115
2155
  return {
2116
2156
  source: "cli",
2117
- value: commandLine[cliFlag32]
2157
+ value: commandLine[cliFlag33]
2118
2158
  };
2119
2159
  }
2120
2160
  if (shouldOverwrite !== null) {
@@ -2135,21 +2175,21 @@ var overwriteOption = {
2135
2175
  };
2136
2176
 
2137
2177
  // src/options/prefer-lossless.tsx
2138
- import { jsx as jsx29, jsxs as jsxs24, Fragment as Fragment29 } from "react/jsx-runtime";
2139
- var cliFlag33 = "prefer-lossless";
2178
+ import { jsx as jsx30, jsxs as jsxs25, Fragment as Fragment30 } from "react/jsx-runtime";
2179
+ var cliFlag34 = "prefer-lossless";
2140
2180
  var input = false;
2141
2181
  var preferLosslessAudioOption = {
2142
2182
  name: "Prefer lossless",
2143
- cliFlag: cliFlag33,
2144
- description: () => /* @__PURE__ */ jsxs24(Fragment29, {
2183
+ cliFlag: cliFlag34,
2184
+ description: () => /* @__PURE__ */ jsxs25(Fragment30, {
2145
2185
  children: [
2146
2186
  "Uses a lossless audio codec, if one is available for the codec. If you set",
2147
- /* @__PURE__ */ jsx29("code", {
2187
+ /* @__PURE__ */ jsx30("code", {
2148
2188
  children: "audioCodec"
2149
2189
  }),
2150
2190
  ", it takes priority over",
2151
2191
  " ",
2152
- /* @__PURE__ */ jsx29("code", {
2192
+ /* @__PURE__ */ jsx30("code", {
2153
2193
  children: "preferLossless"
2154
2194
  }),
2155
2195
  "."
@@ -2159,7 +2199,7 @@ var preferLosslessAudioOption = {
2159
2199
  type: false,
2160
2200
  ssrName: "preferLossless",
2161
2201
  getValue: ({ commandLine }) => {
2162
- if (commandLine[cliFlag33]) {
2202
+ if (commandLine[cliFlag34]) {
2163
2203
  return { value: true, source: "cli" };
2164
2204
  }
2165
2205
  if (input === true) {
@@ -2173,20 +2213,20 @@ var preferLosslessAudioOption = {
2173
2213
  };
2174
2214
 
2175
2215
  // src/options/public-dir.tsx
2176
- import { jsx as jsx30, jsxs as jsxs25, Fragment as Fragment30 } from "react/jsx-runtime";
2177
- var cliFlag34 = "public-dir";
2216
+ import { jsx as jsx31, jsxs as jsxs26, Fragment as Fragment31 } from "react/jsx-runtime";
2217
+ var cliFlag35 = "public-dir";
2178
2218
  var currentPublicDir = null;
2179
2219
  var publicDirOption = {
2180
2220
  name: "Public Directory",
2181
- cliFlag: cliFlag34,
2221
+ cliFlag: cliFlag35,
2182
2222
  description: () => {
2183
- return /* @__PURE__ */ jsxs25(Fragment30, {
2223
+ return /* @__PURE__ */ jsxs26(Fragment31, {
2184
2224
  children: [
2185
2225
  "Define the location of the",
2186
2226
  " ",
2187
- /* @__PURE__ */ jsx30("a", {
2227
+ /* @__PURE__ */ jsx31("a", {
2188
2228
  href: "/docs/terminology/public-dir",
2189
- children: /* @__PURE__ */ jsx30("code", {
2229
+ children: /* @__PURE__ */ jsx31("code", {
2190
2230
  children: "public/ directory"
2191
2231
  })
2192
2232
  }),
@@ -2197,10 +2237,10 @@ var publicDirOption = {
2197
2237
  ssrName: "publicDir",
2198
2238
  docLink: "https://www.remotion.dev/docs/terminology/public-dir",
2199
2239
  getValue: ({ commandLine }) => {
2200
- if (commandLine[cliFlag34] !== undefined) {
2240
+ if (commandLine[cliFlag35] !== undefined) {
2201
2241
  return {
2202
2242
  source: "cli",
2203
- value: commandLine[cliFlag34]
2243
+ value: commandLine[cliFlag35]
2204
2244
  };
2205
2245
  }
2206
2246
  if (currentPublicDir !== null) {
@@ -2221,25 +2261,25 @@ var publicDirOption = {
2221
2261
  };
2222
2262
 
2223
2263
  // src/options/public-path.tsx
2224
- import { jsx as jsx31, jsxs as jsxs26, Fragment as Fragment31 } from "react/jsx-runtime";
2225
- var cliFlag35 = "public-path";
2264
+ import { jsx as jsx32, jsxs as jsxs27, Fragment as Fragment32 } from "react/jsx-runtime";
2265
+ var cliFlag36 = "public-path";
2226
2266
  var currentPublicPath = null;
2227
2267
  var publicPathOption = {
2228
2268
  name: "Public Path",
2229
- cliFlag: cliFlag35,
2269
+ cliFlag: cliFlag36,
2230
2270
  description: () => {
2231
- return /* @__PURE__ */ jsxs26(Fragment31, {
2271
+ return /* @__PURE__ */ jsxs27(Fragment32, {
2232
2272
  children: [
2233
2273
  "The path of the URL where the bundle is going to be hosted. By default it is ",
2234
- /* @__PURE__ */ jsx31("code", {
2274
+ /* @__PURE__ */ jsx32("code", {
2235
2275
  children: "/"
2236
2276
  }),
2237
2277
  ", meaning that the bundle is going to be hosted at the root of the domain (e.g. ",
2238
- /* @__PURE__ */ jsx31("code", {
2278
+ /* @__PURE__ */ jsx32("code", {
2239
2279
  children: "https://localhost:3000/"
2240
2280
  }),
2241
2281
  "). If you are deploying to a subdirectory (e.g. ",
2242
- /* @__PURE__ */ jsx31("code", {
2282
+ /* @__PURE__ */ jsx32("code", {
2243
2283
  children: "/sites/my-site/"
2244
2284
  }),
2245
2285
  "), you should set this to the subdirectory."
@@ -2249,10 +2289,10 @@ var publicPathOption = {
2249
2289
  ssrName: "publicPath",
2250
2290
  docLink: "https://www.remotion.dev/docs/renderer",
2251
2291
  getValue: ({ commandLine }) => {
2252
- if (commandLine[cliFlag35] !== undefined) {
2292
+ if (commandLine[cliFlag36] !== undefined) {
2253
2293
  return {
2254
2294
  source: "cli",
2255
- value: commandLine[cliFlag35]
2295
+ value: commandLine[cliFlag36]
2256
2296
  };
2257
2297
  }
2258
2298
  if (currentPublicPath !== null) {
@@ -2273,25 +2313,25 @@ var publicPathOption = {
2273
2313
  };
2274
2314
 
2275
2315
  // src/options/repro.tsx
2276
- import { jsx as jsx32, Fragment as Fragment32 } from "react/jsx-runtime";
2316
+ import { jsx as jsx33, Fragment as Fragment33 } from "react/jsx-runtime";
2277
2317
  var enableRepro = false;
2278
2318
  var setRepro = (should) => {
2279
2319
  enableRepro = should;
2280
2320
  };
2281
- var cliFlag36 = "repro";
2321
+ var cliFlag37 = "repro";
2282
2322
  var reproOption = {
2283
2323
  name: "Create reproduction",
2284
- cliFlag: cliFlag36,
2285
- description: () => /* @__PURE__ */ jsx32(Fragment32, {
2324
+ cliFlag: cliFlag37,
2325
+ description: () => /* @__PURE__ */ jsx33(Fragment33, {
2286
2326
  children: "Create a ZIP that you can submit to Remotion if asked for a reproduction."
2287
2327
  }),
2288
2328
  ssrName: "repro",
2289
2329
  docLink: "https://www.remotion.dev/docs/render-media#repro",
2290
2330
  type: false,
2291
2331
  getValue: ({ commandLine }) => {
2292
- if (commandLine[cliFlag36] !== undefined) {
2332
+ if (commandLine[cliFlag37] !== undefined) {
2293
2333
  return {
2294
- value: commandLine[cliFlag36],
2334
+ value: commandLine[cliFlag37],
2295
2335
  source: "cli"
2296
2336
  };
2297
2337
  }
@@ -2310,9 +2350,9 @@ var reproOption = {
2310
2350
  };
2311
2351
 
2312
2352
  // src/options/scale.tsx
2313
- import { jsx as jsx33, jsxs as jsxs27, Fragment as Fragment33 } from "react/jsx-runtime";
2353
+ import { jsx as jsx34, jsxs as jsxs28, Fragment as Fragment34 } from "react/jsx-runtime";
2314
2354
  var currentScale = 1;
2315
- var cliFlag37 = "scale";
2355
+ var cliFlag38 = "scale";
2316
2356
  var validateScale = (value3) => {
2317
2357
  if (typeof value3 !== "number") {
2318
2358
  throw new Error("scale must be a number.");
@@ -2320,11 +2360,11 @@ var validateScale = (value3) => {
2320
2360
  };
2321
2361
  var scaleOption = {
2322
2362
  name: "Scale",
2323
- cliFlag: cliFlag37,
2324
- description: () => /* @__PURE__ */ jsxs27(Fragment33, {
2363
+ cliFlag: cliFlag38,
2364
+ description: () => /* @__PURE__ */ jsxs28(Fragment34, {
2325
2365
  children: [
2326
2366
  "Scales the output by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
2327
- /* @__PURE__ */ jsx33("code", {
2367
+ /* @__PURE__ */ jsx34("code", {
2328
2368
  children: "1.5"
2329
2369
  }),
2330
2370
  ". Vector elements like fonts and HTML markups will be rendered with extra details."
@@ -2334,11 +2374,11 @@ var scaleOption = {
2334
2374
  docLink: "https://www.remotion.dev/docs/scaling",
2335
2375
  type: 0,
2336
2376
  getValue: ({ commandLine }) => {
2337
- if (commandLine[cliFlag37] !== undefined) {
2338
- validateScale(commandLine[cliFlag37]);
2377
+ if (commandLine[cliFlag38] !== undefined) {
2378
+ validateScale(commandLine[cliFlag38]);
2339
2379
  return {
2340
2380
  source: "cli",
2341
- value: commandLine[cliFlag37]
2381
+ value: commandLine[cliFlag38]
2342
2382
  };
2343
2383
  }
2344
2384
  if (currentScale !== null) {
@@ -2359,16 +2399,16 @@ var scaleOption = {
2359
2399
 
2360
2400
  // src/options/throw-if-site-exists.tsx
2361
2401
  var DEFAULT5 = false;
2362
- var cliFlag38 = "throw-if-site-exists";
2402
+ var cliFlag39 = "throw-if-site-exists";
2363
2403
  var throwIfSiteExistsOption = {
2364
- cliFlag: cliFlag38,
2404
+ cliFlag: cliFlag39,
2365
2405
  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.`,
2366
2406
  docLink: "https://remotion.dev/docs/lambda/deploy-site",
2367
2407
  getValue: ({ commandLine }) => {
2368
- if (commandLine[cliFlag38]) {
2408
+ if (commandLine[cliFlag39]) {
2369
2409
  return {
2370
2410
  source: "cli",
2371
- value: commandLine[cliFlag38]
2411
+ value: commandLine[cliFlag39]
2372
2412
  };
2373
2413
  }
2374
2414
  return {
@@ -2385,35 +2425,35 @@ var throwIfSiteExistsOption = {
2385
2425
  };
2386
2426
 
2387
2427
  // src/options/timeout.tsx
2388
- import { jsx as jsx34, jsxs as jsxs28, Fragment as Fragment34 } from "react/jsx-runtime";
2428
+ import { jsx as jsx35, jsxs as jsxs29, Fragment as Fragment35 } from "react/jsx-runtime";
2389
2429
  var currentTimeout = DEFAULT_TIMEOUT;
2390
2430
  var validate3 = (value3) => {
2391
2431
  if (typeof value3 !== "number") {
2392
2432
  throw new Error("--timeout flag / setDelayRenderTimeoutInMilliseconds() must be a number, but got " + JSON.stringify(value3));
2393
2433
  }
2394
2434
  };
2395
- var cliFlag39 = "timeout";
2435
+ var cliFlag40 = "timeout";
2396
2436
  var delayRenderTimeoutInMillisecondsOption = {
2397
2437
  name: "delayRender() timeout",
2398
- cliFlag: cliFlag39,
2399
- description: () => /* @__PURE__ */ jsxs28(Fragment34, {
2438
+ cliFlag: cliFlag40,
2439
+ description: () => /* @__PURE__ */ jsxs29(Fragment35, {
2400
2440
  children: [
2401
2441
  "A number describing how long the render may take to resolve all",
2402
2442
  " ",
2403
- /* @__PURE__ */ jsx34("a", {
2443
+ /* @__PURE__ */ jsx35("a", {
2404
2444
  href: "https://remotion.dev/docs/delay-render",
2405
- children: /* @__PURE__ */ jsx34("code", {
2445
+ children: /* @__PURE__ */ jsx35("code", {
2406
2446
  children: "delayRender()"
2407
2447
  })
2408
2448
  }),
2409
2449
  " ",
2410
2450
  "calls ",
2411
- /* @__PURE__ */ jsx34("a", {
2451
+ /* @__PURE__ */ jsx35("a", {
2412
2452
  href: "https://remotion.dev/docs/timeout",
2413
2453
  children: "before it times out"
2414
2454
  }),
2415
2455
  ". Default: ",
2416
- /* @__PURE__ */ jsx34("code", {
2456
+ /* @__PURE__ */ jsx35("code", {
2417
2457
  children: "30000"
2418
2458
  })
2419
2459
  ]
@@ -2422,10 +2462,10 @@ var delayRenderTimeoutInMillisecondsOption = {
2422
2462
  docLink: "https://www.remotion.dev/docs/timeout",
2423
2463
  type: 0,
2424
2464
  getValue: ({ commandLine }) => {
2425
- if (commandLine[cliFlag39] !== undefined) {
2465
+ if (commandLine[cliFlag40] !== undefined) {
2426
2466
  return {
2427
2467
  source: "cli",
2428
- value: commandLine[cliFlag39]
2468
+ value: commandLine[cliFlag40]
2429
2469
  };
2430
2470
  }
2431
2471
  if (currentTimeout !== null) {
@@ -2447,26 +2487,26 @@ var delayRenderTimeoutInMillisecondsOption = {
2447
2487
  };
2448
2488
 
2449
2489
  // src/options/video-bitrate.tsx
2450
- import { jsx as jsx35, jsxs as jsxs29, Fragment as Fragment35 } from "react/jsx-runtime";
2490
+ import { jsx as jsx36, jsxs as jsxs30, Fragment as Fragment36 } from "react/jsx-runtime";
2451
2491
  var videoBitrate = null;
2452
- var cliFlag40 = "video-bitrate";
2492
+ var cliFlag41 = "video-bitrate";
2453
2493
  var videoBitrateOption = {
2454
2494
  name: "Video Bitrate",
2455
- cliFlag: cliFlag40,
2456
- description: () => /* @__PURE__ */ jsxs29(Fragment35, {
2495
+ cliFlag: cliFlag41,
2496
+ description: () => /* @__PURE__ */ jsxs30(Fragment36, {
2457
2497
  children: [
2458
2498
  "Specify the target bitrate for the generated video. The syntax for FFmpeg",
2459
2499
  "'",
2460
2500
  "s",
2461
- /* @__PURE__ */ jsx35("code", {
2501
+ /* @__PURE__ */ jsx36("code", {
2462
2502
  children: "-b:v"
2463
2503
  }),
2464
2504
  " parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ",
2465
- /* @__PURE__ */ jsx35("code", {
2505
+ /* @__PURE__ */ jsx36("code", {
2466
2506
  children: "512K"
2467
2507
  }),
2468
2508
  " for 512 kbps, ",
2469
- /* @__PURE__ */ jsx35("code", {
2509
+ /* @__PURE__ */ jsx36("code", {
2470
2510
  children: "1M"
2471
2511
  }),
2472
2512
  " for 1 Mbps."
@@ -2476,10 +2516,10 @@ var videoBitrateOption = {
2476
2516
  docLink: "https://www.remotion.dev/docs/renderer/render-media#videobitrate",
2477
2517
  type: "",
2478
2518
  getValue: ({ commandLine }) => {
2479
- if (commandLine[cliFlag40] !== undefined) {
2519
+ if (commandLine[cliFlag41] !== undefined) {
2480
2520
  return {
2481
2521
  source: "cli",
2482
- value: commandLine[cliFlag40]
2522
+ value: commandLine[cliFlag41]
2483
2523
  };
2484
2524
  }
2485
2525
  if (videoBitrate !== null) {
@@ -2614,7 +2654,7 @@ var getExtensionOfFilename = (filename) => {
2614
2654
  };
2615
2655
 
2616
2656
  // src/options/video-codec.tsx
2617
- import { jsx as jsx36, Fragment as Fragment36 } from "react/jsx-runtime";
2657
+ import { jsx as jsx37, Fragment as Fragment37 } from "react/jsx-runtime";
2618
2658
  var codec;
2619
2659
  var setCodec = (newCodec) => {
2620
2660
  if (newCodec === undefined) {
@@ -2638,11 +2678,11 @@ var deriveCodecsFromFilename = (extension) => {
2638
2678
  possible: makeFileExtensionMap()[extension] ?? []
2639
2679
  };
2640
2680
  };
2641
- var cliFlag41 = "codec";
2681
+ var cliFlag42 = "codec";
2642
2682
  var videoCodecOption = {
2643
2683
  name: "Codec",
2644
- cliFlag: cliFlag41,
2645
- description: () => /* @__PURE__ */ jsx36(Fragment36, {
2684
+ cliFlag: cliFlag42,
2685
+ description: () => /* @__PURE__ */ jsx37(Fragment37, {
2646
2686
  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."
2647
2687
  }),
2648
2688
  ssrName: "codec",
@@ -2665,7 +2705,7 @@ var videoCodecOption = {
2665
2705
  if (derivedDownloadCodecs.possible.length > 0 && derivedOutNameCodecs.possible.length > 0 && derivedDownloadCodecs.possible.join("") !== derivedOutNameCodecs.possible.join("")) {
2666
2706
  throw new TypeError(`The download name is ${downloadName} but the output name is ${outName}. The file extensions must match`);
2667
2707
  }
2668
- const cliArgument = commandLine[cliFlag41];
2708
+ const cliArgument = commandLine[cliFlag42];
2669
2709
  if (cliArgument) {
2670
2710
  if (derivedDownloadCodecs.possible.length > 0 && derivedDownloadCodecs.possible.indexOf(cliArgument) === -1) {
2671
2711
  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.`);
@@ -2714,12 +2754,12 @@ var videoCodecOption = {
2714
2754
  };
2715
2755
 
2716
2756
  // src/options/webhook-custom-data.tsx
2717
- import { jsxs as jsxs30, Fragment as Fragment37 } from "react/jsx-runtime";
2718
- var cliFlag42 = "webhook-custom-data";
2757
+ import { jsxs as jsxs31, Fragment as Fragment38 } from "react/jsx-runtime";
2758
+ var cliFlag43 = "webhook-custom-data";
2719
2759
  var webhookCustomDataOption = {
2720
2760
  name: "Webhook custom data",
2721
- cliFlag: cliFlag42,
2722
- description: (type) => /* @__PURE__ */ jsxs30(Fragment37, {
2761
+ cliFlag: cliFlag43,
2762
+ description: (type) => /* @__PURE__ */ jsxs31(Fragment38, {
2723
2763
  children: [
2724
2764
  "Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
2725
2765
  " ",
@@ -2738,7 +2778,7 @@ var webhookCustomDataOption = {
2738
2778
  };
2739
2779
 
2740
2780
  // src/options/x264-preset.tsx
2741
- import { jsx as jsx37, jsxs as jsxs31, Fragment as Fragment38 } from "react/jsx-runtime";
2781
+ import { jsx as jsx38, jsxs as jsxs32, Fragment as Fragment39 } from "react/jsx-runtime";
2742
2782
  var x264PresetOptions = [
2743
2783
  "ultrafast",
2744
2784
  "superfast",
@@ -2752,63 +2792,63 @@ var x264PresetOptions = [
2752
2792
  "placebo"
2753
2793
  ];
2754
2794
  var preset = null;
2755
- var cliFlag43 = "x264-preset";
2795
+ var cliFlag44 = "x264-preset";
2756
2796
  var DEFAULT_PRESET = "medium";
2757
2797
  var x264Option = {
2758
2798
  name: "x264 Preset",
2759
- cliFlag: cliFlag43,
2760
- description: () => /* @__PURE__ */ jsxs31(Fragment38, {
2799
+ cliFlag: cliFlag44,
2800
+ description: () => /* @__PURE__ */ jsxs32(Fragment39, {
2761
2801
  children: [
2762
2802
  "Sets a x264 preset profile. Only applies to videos rendered with",
2763
2803
  " ",
2764
- /* @__PURE__ */ jsx37("code", {
2804
+ /* @__PURE__ */ jsx38("code", {
2765
2805
  children: "h264"
2766
2806
  }),
2767
2807
  " codec.",
2768
- /* @__PURE__ */ jsx37("br", {}),
2808
+ /* @__PURE__ */ jsx38("br", {}),
2769
2809
  "Possible values: ",
2770
- /* @__PURE__ */ jsx37("code", {
2810
+ /* @__PURE__ */ jsx38("code", {
2771
2811
  children: "superfast"
2772
2812
  }),
2773
2813
  ", ",
2774
- /* @__PURE__ */ jsx37("code", {
2814
+ /* @__PURE__ */ jsx38("code", {
2775
2815
  children: "veryfast"
2776
2816
  }),
2777
2817
  ",",
2778
2818
  " ",
2779
- /* @__PURE__ */ jsx37("code", {
2819
+ /* @__PURE__ */ jsx38("code", {
2780
2820
  children: "faster"
2781
2821
  }),
2782
2822
  ", ",
2783
- /* @__PURE__ */ jsx37("code", {
2823
+ /* @__PURE__ */ jsx38("code", {
2784
2824
  children: "fast"
2785
2825
  }),
2786
2826
  ", ",
2787
- /* @__PURE__ */ jsx37("code", {
2827
+ /* @__PURE__ */ jsx38("code", {
2788
2828
  children: "medium"
2789
2829
  }),
2790
2830
  ",",
2791
2831
  " ",
2792
- /* @__PURE__ */ jsx37("code", {
2832
+ /* @__PURE__ */ jsx38("code", {
2793
2833
  children: "slow"
2794
2834
  }),
2795
2835
  ", ",
2796
- /* @__PURE__ */ jsx37("code", {
2836
+ /* @__PURE__ */ jsx38("code", {
2797
2837
  children: "slower"
2798
2838
  }),
2799
2839
  ", ",
2800
- /* @__PURE__ */ jsx37("code", {
2840
+ /* @__PURE__ */ jsx38("code", {
2801
2841
  children: "veryslow"
2802
2842
  }),
2803
2843
  ",",
2804
2844
  " ",
2805
- /* @__PURE__ */ jsx37("code", {
2845
+ /* @__PURE__ */ jsx38("code", {
2806
2846
  children: "placebo"
2807
2847
  }),
2808
2848
  ".",
2809
- /* @__PURE__ */ jsx37("br", {}),
2849
+ /* @__PURE__ */ jsx38("br", {}),
2810
2850
  "Default: ",
2811
- /* @__PURE__ */ jsx37("code", {
2851
+ /* @__PURE__ */ jsx38("code", {
2812
2852
  children: DEFAULT_PRESET
2813
2853
  })
2814
2854
  ]
@@ -2817,7 +2857,7 @@ var x264Option = {
2817
2857
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
2818
2858
  type: "fast",
2819
2859
  getValue: ({ commandLine }) => {
2820
- const value3 = commandLine[cliFlag43];
2860
+ const value3 = commandLine[cliFlag44];
2821
2861
  if (typeof value3 !== "undefined") {
2822
2862
  return { value: value3, source: "cli" };
2823
2863
  }
@@ -2875,7 +2915,8 @@ var allOptions = {
2875
2915
  chromeModeOption,
2876
2916
  apiKeyOption,
2877
2917
  audioLatencyHintOption,
2878
- enableCrossSiteIsolationOption
2918
+ enableCrossSiteIsolationOption,
2919
+ imageSequencePatternOption
2879
2920
  };
2880
2921
 
2881
2922
  // src/options/options-map.ts
@@ -2945,7 +2986,8 @@ var optionsMap = {
2945
2986
  timeoutInMilliseconds: delayRenderTimeoutInMillisecondsOption,
2946
2987
  binariesDirectory: binariesDirectoryOption,
2947
2988
  onBrowserDownload: onBrowserDownloadOption,
2948
- chromeMode: chromeModeOption
2989
+ chromeMode: chromeModeOption,
2990
+ imageSequencePattern: imageSequencePatternOption
2949
2991
  },
2950
2992
  renderMediaOnLambda: {
2951
2993
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,