@remotion/renderer 4.0.504 → 4.0.506

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.
@@ -1292,8 +1292,62 @@ var darkModeOption = {
1292
1292
  id: cliFlag18
1293
1293
  };
1294
1294
 
1295
- // src/options/default-editor.tsx
1295
+ // src/options/default-coding-agent.tsx
1296
1296
  import { jsx as jsx17, jsxs as jsxs12, Fragment as Fragment17 } from "react/jsx-runtime";
1297
+ var defaultCodingAgentIds = [
1298
+ "codex",
1299
+ "cursor",
1300
+ "github-copilot",
1301
+ "claude-code"
1302
+ ];
1303
+ var cliFlag19 = "coding-agent";
1304
+ var defaultCodingAgent = null;
1305
+ var validateDefaultCodingAgent = (value, source) => {
1306
+ if (value === null) {
1307
+ return null;
1308
+ }
1309
+ if (typeof value !== "string" || !defaultCodingAgentIds.includes(value)) {
1310
+ throw new TypeError(`${source} must be one of: ${defaultCodingAgentIds.join(", ")}. Received: ${JSON.stringify(value)}`);
1311
+ }
1312
+ return value;
1313
+ };
1314
+ var defaultCodingAgentOption = {
1315
+ name: "Default coding agent",
1316
+ cliFlag: cliFlag19,
1317
+ description: () => /* @__PURE__ */ jsxs12(Fragment17, {
1318
+ children: [
1319
+ "Set the default coding agent for Remotion Studio. Available coding agents:",
1320
+ " ",
1321
+ /* @__PURE__ */ jsx17("code", {
1322
+ children: defaultCodingAgentIds.join(", ")
1323
+ }),
1324
+ "."
1325
+ ]
1326
+ }),
1327
+ ssrName: null,
1328
+ docLink: "https://www.remotion.dev/docs/config#setdefaultcodingagent",
1329
+ type: null,
1330
+ getValue: ({ commandLine }) => {
1331
+ const cliValue = commandLine[cliFlag19];
1332
+ if (cliValue !== undefined && cliValue !== null) {
1333
+ return {
1334
+ value: validateDefaultCodingAgent(cliValue, `--${cliFlag19}`),
1335
+ source: "cli"
1336
+ };
1337
+ }
1338
+ return {
1339
+ value: defaultCodingAgent,
1340
+ source: "config"
1341
+ };
1342
+ },
1343
+ setConfig(value) {
1344
+ defaultCodingAgent = validateDefaultCodingAgent(value, "Config.setDefaultCodingAgent()");
1345
+ },
1346
+ id: cliFlag19
1347
+ };
1348
+
1349
+ // src/options/default-editor.tsx
1350
+ import { jsx as jsx18, jsxs as jsxs13, Fragment as Fragment18 } from "react/jsx-runtime";
1297
1351
  var defaultEditorIds = [
1298
1352
  "vscode",
1299
1353
  "cursor",
@@ -1306,7 +1360,7 @@ var defaultEditorIds = [
1306
1360
  var customEditorTargetPathPlaceholder = "%TARGET_PATH%";
1307
1361
  var customEditorLineNumberPlaceholder = "%LINE_NUMBER%";
1308
1362
  var customEditorColumnNumberPlaceholder = "%COLUMN_NUMBER%";
1309
- var cliFlag19 = "editor";
1363
+ var cliFlag20 = "editor";
1310
1364
  var defaultEditor = null;
1311
1365
  var validateBuiltInEditor = (value, source) => {
1312
1366
  if (typeof value !== "string" || !defaultEditorIds.includes(value)) {
@@ -1344,11 +1398,11 @@ var validateDefaultEditor = (value, source) => {
1344
1398
  };
1345
1399
  var defaultEditorOption = {
1346
1400
  name: "Default editor",
1347
- cliFlag: cliFlag19,
1348
- description: () => /* @__PURE__ */ jsxs12(Fragment17, {
1401
+ cliFlag: cliFlag20,
1402
+ description: () => /* @__PURE__ */ jsxs13(Fragment18, {
1349
1403
  children: [
1350
1404
  "Set the default editor for opening files from Remotion Studio. Available editors: ",
1351
- /* @__PURE__ */ jsx17("code", {
1405
+ /* @__PURE__ */ jsx18("code", {
1352
1406
  children: defaultEditorIds.join(", ")
1353
1407
  }),
1354
1408
  "."
@@ -1358,10 +1412,10 @@ var defaultEditorOption = {
1358
1412
  docLink: "https://www.remotion.dev/docs/studio/open-in-editor",
1359
1413
  type: null,
1360
1414
  getValue: ({ commandLine }) => {
1361
- const cliValue = commandLine[cliFlag19];
1415
+ const cliValue = commandLine[cliFlag20];
1362
1416
  if (cliValue !== undefined && cliValue !== null) {
1363
1417
  return {
1364
- value: validateBuiltInEditor(cliValue, `--${cliFlag19}`),
1418
+ value: validateBuiltInEditor(cliValue, `--${cliFlag20}`),
1365
1419
  source: "cli"
1366
1420
  };
1367
1421
  }
@@ -1373,41 +1427,41 @@ var defaultEditorOption = {
1373
1427
  setConfig(value) {
1374
1428
  defaultEditor = validateDefaultEditor(value, "Config.setDefaultEditor()");
1375
1429
  },
1376
- id: cliFlag19
1430
+ id: cliFlag20
1377
1431
  };
1378
1432
 
1379
1433
  // src/options/delete-after.tsx
1380
- import { jsx as jsx18, jsxs as jsxs13, Fragment as Fragment18 } from "react/jsx-runtime";
1381
- var cliFlag20 = "delete-after";
1434
+ import { jsx as jsx19, jsxs as jsxs14, Fragment as Fragment19 } from "react/jsx-runtime";
1435
+ var cliFlag21 = "delete-after";
1382
1436
  var deleteAfter = null;
1383
1437
  var deleteAfterOption = {
1384
1438
  name: "Lambda render expiration",
1385
- cliFlag: cliFlag20,
1439
+ cliFlag: cliFlag21,
1386
1440
  description: () => {
1387
- return /* @__PURE__ */ jsxs13(Fragment18, {
1441
+ return /* @__PURE__ */ jsxs14(Fragment19, {
1388
1442
  children: [
1389
1443
  "Automatically delete the render after a certain period. Accepted values are ",
1390
- /* @__PURE__ */ jsx18("code", {
1444
+ /* @__PURE__ */ jsx19("code", {
1391
1445
  children: "1-day"
1392
1446
  }),
1393
1447
  ", ",
1394
- /* @__PURE__ */ jsx18("code", {
1448
+ /* @__PURE__ */ jsx19("code", {
1395
1449
  children: "3-days"
1396
1450
  }),
1397
1451
  ", ",
1398
- /* @__PURE__ */ jsx18("code", {
1452
+ /* @__PURE__ */ jsx19("code", {
1399
1453
  children: "7-days"
1400
1454
  }),
1401
1455
  " and",
1402
1456
  " ",
1403
- /* @__PURE__ */ jsx18("code", {
1457
+ /* @__PURE__ */ jsx19("code", {
1404
1458
  children: "30-days"
1405
1459
  }),
1406
1460
  ".",
1407
- /* @__PURE__ */ jsx18("br", {}),
1461
+ /* @__PURE__ */ jsx19("br", {}),
1408
1462
  " For this to work, your bucket needs to have",
1409
1463
  " ",
1410
- /* @__PURE__ */ jsx18("a", {
1464
+ /* @__PURE__ */ jsx19("a", {
1411
1465
  href: "/docs/lambda/autodelete",
1412
1466
  children: "lifecycles enabled"
1413
1467
  }),
@@ -1419,10 +1473,10 @@ var deleteAfterOption = {
1419
1473
  docLink: "https://www.remotion.dev/docs/lambda/autodelete",
1420
1474
  type: "1-day",
1421
1475
  getValue: ({ commandLine }) => {
1422
- if (commandLine[cliFlag20] !== undefined) {
1476
+ if (commandLine[cliFlag21] !== undefined) {
1423
1477
  return {
1424
1478
  source: "cli",
1425
- value: commandLine[cliFlag20]
1479
+ value: commandLine[cliFlag21]
1426
1480
  };
1427
1481
  }
1428
1482
  if (deleteAfter !== null) {
@@ -1439,21 +1493,21 @@ var deleteAfterOption = {
1439
1493
  setConfig: (value) => {
1440
1494
  deleteAfter = value;
1441
1495
  },
1442
- id: cliFlag20
1496
+ id: cliFlag21
1443
1497
  };
1444
1498
 
1445
1499
  // src/options/disable-git-source.tsx
1446
1500
  var DEFAULT2 = false;
1447
- var cliFlag21 = "disable-git-source";
1501
+ var cliFlag22 = "disable-git-source";
1448
1502
  var disableGitSourceOption = {
1449
- cliFlag: cliFlag21,
1503
+ cliFlag: cliFlag22,
1450
1504
  description: () => `Disables the Git Source being connected to the Remotion Studio. Clicking on stack traces and certain menu items will be disabled.`,
1451
1505
  docLink: "https://remotion.dev/docs/bundle",
1452
1506
  getValue: ({ commandLine }) => {
1453
- if (commandLine[cliFlag21]) {
1507
+ if (commandLine[cliFlag22]) {
1454
1508
  return {
1455
1509
  source: "cli",
1456
- value: commandLine[cliFlag21]
1510
+ value: commandLine[cliFlag22]
1457
1511
  };
1458
1512
  }
1459
1513
  return {
@@ -1467,27 +1521,27 @@ var disableGitSourceOption = {
1467
1521
  },
1468
1522
  ssrName: "disableGitSource",
1469
1523
  type: false,
1470
- id: cliFlag21
1524
+ id: cliFlag22
1471
1525
  };
1472
1526
 
1473
1527
  // src/options/disable-web-security.tsx
1474
- import { jsx as jsx19, Fragment as Fragment19 } from "react/jsx-runtime";
1528
+ import { jsx as jsx20, Fragment as Fragment20 } from "react/jsx-runtime";
1475
1529
  var disableWebSecurity = false;
1476
- var cliFlag22 = "disable-web-security";
1530
+ var cliFlag23 = "disable-web-security";
1477
1531
  var disableWebSecurityOption = {
1478
1532
  name: "Disable web security",
1479
- cliFlag: cliFlag22,
1480
- description: () => /* @__PURE__ */ jsx19(Fragment19, {
1533
+ cliFlag: cliFlag23,
1534
+ description: () => /* @__PURE__ */ jsx20(Fragment20, {
1481
1535
  children: "This will most notably disable CORS in Chrome among other security features."
1482
1536
  }),
1483
1537
  ssrName: "disableWebSecurity",
1484
1538
  docLink: "https://www.remotion.dev/docs/chromium-flags#--disable-web-security",
1485
1539
  type: false,
1486
1540
  getValue: ({ commandLine }) => {
1487
- if (commandLine[cliFlag22] !== undefined && commandLine[cliFlag22] !== null) {
1541
+ if (commandLine[cliFlag23] !== undefined && commandLine[cliFlag23] !== null) {
1488
1542
  return {
1489
1543
  source: "cli",
1490
- value: Boolean(commandLine[cliFlag22])
1544
+ value: Boolean(commandLine[cliFlag23])
1491
1545
  };
1492
1546
  }
1493
1547
  if (disableWebSecurity) {
@@ -1504,26 +1558,26 @@ var disableWebSecurityOption = {
1504
1558
  setConfig: (value) => {
1505
1559
  disableWebSecurity = value;
1506
1560
  },
1507
- id: cliFlag22
1561
+ id: cliFlag23
1508
1562
  };
1509
1563
 
1510
1564
  // src/options/disallow-parallel-encoding.tsx
1511
- import { jsx as jsx20, Fragment as Fragment20 } from "react/jsx-runtime";
1565
+ import { jsx as jsx21, Fragment as Fragment21 } from "react/jsx-runtime";
1512
1566
  var disallowParallelEncoding = false;
1513
- var cliFlag23 = "disallow-parallel-encoding";
1567
+ var cliFlag24 = "disallow-parallel-encoding";
1514
1568
  var disallowParallelEncodingOption = {
1515
1569
  name: "Disallow parallel encoding",
1516
- cliFlag: cliFlag23,
1517
- description: () => /* @__PURE__ */ jsx20(Fragment20, {
1570
+ cliFlag: cliFlag24,
1571
+ description: () => /* @__PURE__ */ jsx21(Fragment21, {
1518
1572
  children: "Disallows the renderer from doing rendering frames and encoding at the same time. This makes the rendering process more memory-efficient, but possibly slower."
1519
1573
  }),
1520
1574
  ssrName: "disallowParallelEncoding",
1521
1575
  docLink: "https://www.remotion.dev/docs/config#setdisallowparallelencoding",
1522
1576
  type: false,
1523
1577
  getValue: ({ commandLine }) => {
1524
- if (commandLine[cliFlag23] !== undefined && commandLine[cliFlag23] !== null) {
1578
+ if (commandLine[cliFlag24] !== undefined && commandLine[cliFlag24] !== null) {
1525
1579
  return {
1526
- value: commandLine[cliFlag23],
1580
+ value: commandLine[cliFlag24],
1527
1581
  source: "cli"
1528
1582
  };
1529
1583
  }
@@ -1541,21 +1595,21 @@ var disallowParallelEncodingOption = {
1541
1595
  setConfig(value) {
1542
1596
  disallowParallelEncoding = value;
1543
1597
  },
1544
- id: cliFlag23
1598
+ id: cliFlag24
1545
1599
  };
1546
1600
 
1547
1601
  // src/options/enable-lambda-insights.tsx
1548
- import { jsx as jsx21, jsxs as jsxs14, Fragment as Fragment21 } from "react/jsx-runtime";
1549
- var cliFlag24 = "enable-lambda-insights";
1602
+ import { jsx as jsx22, jsxs as jsxs15, Fragment as Fragment22 } from "react/jsx-runtime";
1603
+ var cliFlag25 = "enable-lambda-insights";
1550
1604
  var option = false;
1551
1605
  var enableLambdaInsights = {
1552
1606
  name: "Enable Lambda Insights",
1553
- cliFlag: cliFlag24,
1554
- description: () => /* @__PURE__ */ jsxs14(Fragment21, {
1607
+ cliFlag: cliFlag25,
1608
+ description: () => /* @__PURE__ */ jsxs15(Fragment22, {
1555
1609
  children: [
1556
1610
  "Enable",
1557
1611
  " ",
1558
- /* @__PURE__ */ jsx21("a", {
1612
+ /* @__PURE__ */ jsx22("a", {
1559
1613
  href: "https://remotion.dev/docs/lambda/insights",
1560
1614
  children: "Lambda Insights in AWS CloudWatch"
1561
1615
  }),
@@ -1569,9 +1623,9 @@ var enableLambdaInsights = {
1569
1623
  option = value;
1570
1624
  },
1571
1625
  getValue: ({ commandLine }) => {
1572
- if (commandLine[cliFlag24] !== undefined) {
1626
+ if (commandLine[cliFlag25] !== undefined) {
1573
1627
  return {
1574
- value: commandLine[cliFlag24],
1628
+ value: commandLine[cliFlag25],
1575
1629
  source: "cli"
1576
1630
  };
1577
1631
  }
@@ -1586,41 +1640,41 @@ var enableLambdaInsights = {
1586
1640
  source: "default"
1587
1641
  };
1588
1642
  },
1589
- id: cliFlag24
1643
+ id: cliFlag25
1590
1644
  };
1591
1645
 
1592
1646
  // src/options/enable-multiprocess-on-linux.tsx
1593
- import { jsx as jsx22, jsxs as jsxs15, Fragment as Fragment22 } from "react/jsx-runtime";
1647
+ import { jsx as jsx23, jsxs as jsxs16, Fragment as Fragment23 } from "react/jsx-runtime";
1594
1648
  var DEFAULT_VALUE2 = true;
1595
1649
  var multiProcessOnLinux = DEFAULT_VALUE2;
1596
- var cliFlag25 = "enable-multiprocess-on-linux";
1650
+ var cliFlag26 = "enable-multiprocess-on-linux";
1597
1651
  var enableMultiprocessOnLinuxOption = {
1598
1652
  name: "Enable Multiprocess on Linux",
1599
- cliFlag: cliFlag25,
1600
- description: () => /* @__PURE__ */ jsxs15(Fragment22, {
1653
+ cliFlag: cliFlag26,
1654
+ description: () => /* @__PURE__ */ jsxs16(Fragment23, {
1601
1655
  children: [
1602
1656
  "Removes the ",
1603
- /* @__PURE__ */ jsx22("code", {
1657
+ /* @__PURE__ */ jsx23("code", {
1604
1658
  children: "--single-process"
1605
1659
  }),
1606
1660
  " flag that gets passed to Chromium on Linux by default. This will make the render faster because multiple processes can be used, but may cause issues with some Linux distributions or if window server libraries are missing.",
1607
- /* @__PURE__ */ jsx22("br", {}),
1661
+ /* @__PURE__ */ jsx23("br", {}),
1608
1662
  "Default: ",
1609
- /* @__PURE__ */ jsx22("code", {
1663
+ /* @__PURE__ */ jsx23("code", {
1610
1664
  children: "false"
1611
1665
  }),
1612
1666
  " until v4.0.136, then ",
1613
- /* @__PURE__ */ jsx22("code", {
1667
+ /* @__PURE__ */ jsx23("code", {
1614
1668
  children: "true"
1615
1669
  }),
1616
1670
  " from v4.0.137 on because newer Chrome versions ",
1617
1671
  "don't",
1618
1672
  " allow rendering with the ",
1619
- /* @__PURE__ */ jsx22("code", {
1673
+ /* @__PURE__ */ jsx23("code", {
1620
1674
  children: "--single-process"
1621
1675
  }),
1622
1676
  " flag. ",
1623
- /* @__PURE__ */ jsx22("br", {}),
1677
+ /* @__PURE__ */ jsx23("br", {}),
1624
1678
  "This flag will be removed in Remotion v5.0."
1625
1679
  ]
1626
1680
  }),
@@ -1628,10 +1682,10 @@ var enableMultiprocessOnLinuxOption = {
1628
1682
  docLink: "https://www.remotion.dev/docs/chromium-flags",
1629
1683
  type: false,
1630
1684
  getValue: ({ commandLine }) => {
1631
- if (commandLine[cliFlag25] !== undefined) {
1685
+ if (commandLine[cliFlag26] !== undefined) {
1632
1686
  return {
1633
1687
  source: "cli",
1634
- value: commandLine[cliFlag25]
1688
+ value: commandLine[cliFlag26]
1635
1689
  };
1636
1690
  }
1637
1691
  if (multiProcessOnLinux !== false) {
@@ -1648,23 +1702,23 @@ var enableMultiprocessOnLinuxOption = {
1648
1702
  setConfig: (value) => {
1649
1703
  multiProcessOnLinux = value;
1650
1704
  },
1651
- id: cliFlag25
1705
+ id: cliFlag26
1652
1706
  };
1653
1707
 
1654
1708
  // src/options/encoding-buffer-size.tsx
1655
- import { jsx as jsx23, jsxs as jsxs16, Fragment as Fragment23 } from "react/jsx-runtime";
1709
+ import { jsx as jsx24, jsxs as jsxs17, Fragment as Fragment24 } from "react/jsx-runtime";
1656
1710
  var encodingBufferSize = null;
1657
1711
  var setEncodingBufferSize = (bitrate) => {
1658
1712
  encodingBufferSize = bitrate;
1659
1713
  };
1660
- var cliFlag26 = "buffer-size";
1714
+ var cliFlag27 = "buffer-size";
1661
1715
  var encodingBufferSizeOption = {
1662
1716
  name: "FFmpeg -bufsize flag",
1663
- cliFlag: cliFlag26,
1664
- description: () => /* @__PURE__ */ jsxs16(Fragment23, {
1717
+ cliFlag: cliFlag27,
1718
+ description: () => /* @__PURE__ */ jsxs17(Fragment24, {
1665
1719
  children: [
1666
1720
  "The value for the ",
1667
- /* @__PURE__ */ jsx23("code", {
1721
+ /* @__PURE__ */ jsx24("code", {
1668
1722
  children: "-bufsize"
1669
1723
  }),
1670
1724
  " flag of FFmpeg. Should be used in conjunction with the encoding max rate flag."
@@ -1674,9 +1728,9 @@ var encodingBufferSizeOption = {
1674
1728
  docLink: "https://www.remotion.dev/docs/renderer/render-media#encodingbuffersize",
1675
1729
  type: "",
1676
1730
  getValue: ({ commandLine }) => {
1677
- if (commandLine[cliFlag26] !== undefined) {
1731
+ if (commandLine[cliFlag27] !== undefined) {
1678
1732
  return {
1679
- value: commandLine[cliFlag26],
1733
+ value: commandLine[cliFlag27],
1680
1734
  source: "cli"
1681
1735
  };
1682
1736
  }
@@ -1692,20 +1746,20 @@ var encodingBufferSizeOption = {
1692
1746
  };
1693
1747
  },
1694
1748
  setConfig: setEncodingBufferSize,
1695
- id: cliFlag26
1749
+ id: cliFlag27
1696
1750
  };
1697
1751
 
1698
1752
  // src/options/encoding-max-rate.tsx
1699
- import { jsx as jsx24, jsxs as jsxs17, Fragment as Fragment24 } from "react/jsx-runtime";
1753
+ import { jsx as jsx25, jsxs as jsxs18, Fragment as Fragment25 } from "react/jsx-runtime";
1700
1754
  var encodingMaxRate = null;
1701
- var cliFlag27 = "max-rate";
1755
+ var cliFlag28 = "max-rate";
1702
1756
  var encodingMaxRateOption = {
1703
1757
  name: "FFmpeg -maxrate flag",
1704
- cliFlag: cliFlag27,
1705
- description: () => /* @__PURE__ */ jsxs17(Fragment24, {
1758
+ cliFlag: cliFlag28,
1759
+ description: () => /* @__PURE__ */ jsxs18(Fragment25, {
1706
1760
  children: [
1707
1761
  "The value for the ",
1708
- /* @__PURE__ */ jsx24("code", {
1762
+ /* @__PURE__ */ jsx25("code", {
1709
1763
  children: "-maxrate"
1710
1764
  }),
1711
1765
  " flag of FFmpeg. Should be used in conjunction with the encoding buffer size flag."
@@ -1715,9 +1769,9 @@ var encodingMaxRateOption = {
1715
1769
  docLink: "https://www.remotion.dev/docs/renderer/render-media#encodingmaxrate",
1716
1770
  type: "",
1717
1771
  getValue: ({ commandLine }) => {
1718
- if (commandLine[cliFlag27] !== undefined) {
1772
+ if (commandLine[cliFlag28] !== undefined) {
1719
1773
  return {
1720
- value: commandLine[cliFlag27],
1774
+ value: commandLine[cliFlag28],
1721
1775
  source: "cli"
1722
1776
  };
1723
1777
  }
@@ -1735,25 +1789,25 @@ var encodingMaxRateOption = {
1735
1789
  setConfig: (newMaxRate) => {
1736
1790
  encodingMaxRate = newMaxRate;
1737
1791
  },
1738
- id: cliFlag27
1792
+ id: cliFlag28
1739
1793
  };
1740
1794
 
1741
1795
  // src/options/enforce-audio.tsx
1742
- import { jsx as jsx25, Fragment as Fragment25 } from "react/jsx-runtime";
1796
+ import { jsx as jsx26, Fragment as Fragment26 } from "react/jsx-runtime";
1743
1797
  var DEFAULT_ENFORCE_AUDIO_TRACK = false;
1744
1798
  var enforceAudioTrackState = DEFAULT_ENFORCE_AUDIO_TRACK;
1745
- var cliFlag28 = "enforce-audio-track";
1799
+ var cliFlag29 = "enforce-audio-track";
1746
1800
  var enforceAudioOption = {
1747
1801
  name: "Enforce Audio Track",
1748
- cliFlag: cliFlag28,
1749
- description: () => /* @__PURE__ */ jsx25(Fragment25, {
1802
+ cliFlag: cliFlag29,
1803
+ description: () => /* @__PURE__ */ jsx26(Fragment26, {
1750
1804
  children: "Render a silent audio track if there would be none otherwise."
1751
1805
  }),
1752
1806
  ssrName: "enforceAudioTrack",
1753
1807
  docLink: "https://www.remotion.dev/docs/config#setenforceaudiotrack-",
1754
1808
  type: false,
1755
1809
  getValue: ({ commandLine }) => {
1756
- if (commandLine[cliFlag28]) {
1810
+ if (commandLine[cliFlag29]) {
1757
1811
  return {
1758
1812
  source: "cli",
1759
1813
  value: true
@@ -1773,20 +1827,20 @@ var enforceAudioOption = {
1773
1827
  setConfig: (value) => {
1774
1828
  enforceAudioTrackState = value;
1775
1829
  },
1776
- id: cliFlag28
1830
+ id: cliFlag29
1777
1831
  };
1778
1832
 
1779
1833
  // src/options/env-file.tsx
1780
- import { jsx as jsx26, jsxs as jsxs18, Fragment as Fragment26 } from "react/jsx-runtime";
1781
- var cliFlag29 = "env-file";
1834
+ import { jsx as jsx27, jsxs as jsxs19, Fragment as Fragment27 } from "react/jsx-runtime";
1835
+ var cliFlag30 = "env-file";
1782
1836
  var envFileLocation = null;
1783
1837
  var envFileOption = {
1784
1838
  name: "Env File",
1785
- cliFlag: cliFlag29,
1786
- description: () => /* @__PURE__ */ jsxs18(Fragment26, {
1839
+ cliFlag: cliFlag30,
1840
+ description: () => /* @__PURE__ */ jsxs19(Fragment27, {
1787
1841
  children: [
1788
1842
  "Specify a location for a dotenv file. Default ",
1789
- /* @__PURE__ */ jsx26("code", {
1843
+ /* @__PURE__ */ jsx27("code", {
1790
1844
  children: ".env"
1791
1845
  }),
1792
1846
  "."
@@ -1795,10 +1849,10 @@ var envFileOption = {
1795
1849
  ssrName: null,
1796
1850
  docLink: "https://www.remotion.dev/docs/cli/render#--env-file",
1797
1851
  getValue: ({ commandLine }) => {
1798
- if (commandLine[cliFlag29] !== undefined) {
1852
+ if (commandLine[cliFlag30] !== undefined) {
1799
1853
  return {
1800
1854
  source: "cli",
1801
- value: commandLine[cliFlag29]
1855
+ value: commandLine[cliFlag30]
1802
1856
  };
1803
1857
  }
1804
1858
  if (envFileLocation !== null) {
@@ -1816,30 +1870,30 @@ var envFileOption = {
1816
1870
  envFileLocation = value;
1817
1871
  },
1818
1872
  type: "",
1819
- id: cliFlag29
1873
+ id: cliFlag30
1820
1874
  };
1821
1875
 
1822
1876
  // src/options/every-nth-frame.tsx
1823
- import { jsx as jsx27, jsxs as jsxs19, Fragment as Fragment27 } from "react/jsx-runtime";
1877
+ import { jsx as jsx28, jsxs as jsxs20, Fragment as Fragment28 } from "react/jsx-runtime";
1824
1878
  var DEFAULT_EVERY_NTH_FRAME = 1;
1825
1879
  var everyNthFrame = DEFAULT_EVERY_NTH_FRAME;
1826
- var cliFlag30 = "every-nth-frame";
1880
+ var cliFlag31 = "every-nth-frame";
1827
1881
  var everyNthFrameOption = {
1828
1882
  name: "Every nth frame",
1829
- cliFlag: cliFlag30,
1830
- description: () => /* @__PURE__ */ jsxs19(Fragment27, {
1883
+ cliFlag: cliFlag31,
1884
+ description: () => /* @__PURE__ */ jsxs20(Fragment28, {
1831
1885
  children: [
1832
1886
  "This option may only be set when rendering GIFs. It determines how many frames are rendered, while the other ones get skipped in order to lower the FPS of the GIF. For example, if the ",
1833
- /* @__PURE__ */ jsx27("code", {
1887
+ /* @__PURE__ */ jsx28("code", {
1834
1888
  children: "fps"
1835
1889
  }),
1836
1890
  " is 30, and",
1837
1891
  " ",
1838
- /* @__PURE__ */ jsx27("code", {
1892
+ /* @__PURE__ */ jsx28("code", {
1839
1893
  children: "everyNthFrame"
1840
1894
  }),
1841
1895
  " is 2, the FPS of the GIF is ",
1842
- /* @__PURE__ */ jsx27("code", {
1896
+ /* @__PURE__ */ jsx28("code", {
1843
1897
  children: "15"
1844
1898
  }),
1845
1899
  "."
@@ -1849,10 +1903,10 @@ var everyNthFrameOption = {
1849
1903
  docLink: "https://www.remotion.dev/docs/config#seteverynthframe",
1850
1904
  type: DEFAULT_EVERY_NTH_FRAME,
1851
1905
  getValue: ({ commandLine }) => {
1852
- if (commandLine[cliFlag30] !== undefined) {
1906
+ if (commandLine[cliFlag31] !== undefined) {
1853
1907
  return {
1854
1908
  source: "cli",
1855
- value: commandLine[cliFlag30]
1909
+ value: commandLine[cliFlag31]
1856
1910
  };
1857
1911
  }
1858
1912
  if (everyNthFrame !== DEFAULT_EVERY_NTH_FRAME) {
@@ -1869,26 +1923,26 @@ var everyNthFrameOption = {
1869
1923
  setConfig: (value) => {
1870
1924
  everyNthFrame = value;
1871
1925
  },
1872
- id: cliFlag30
1926
+ id: cliFlag31
1873
1927
  };
1874
1928
 
1875
1929
  // src/options/folder-expiry.tsx
1876
- import { jsx as jsx28, jsxs as jsxs20, Fragment as Fragment28 } from "react/jsx-runtime";
1930
+ import { jsx as jsx29, jsxs as jsxs21, Fragment as Fragment29 } from "react/jsx-runtime";
1877
1931
  var enableFolderExpiry = null;
1878
- var cliFlag31 = "enable-folder-expiry";
1932
+ var cliFlag32 = "enable-folder-expiry";
1879
1933
  var folderExpiryOption = {
1880
1934
  name: "Lambda render expiration",
1881
- cliFlag: cliFlag31,
1935
+ cliFlag: cliFlag32,
1882
1936
  description: () => {
1883
- return /* @__PURE__ */ jsxs20(Fragment28, {
1937
+ return /* @__PURE__ */ jsxs21(Fragment29, {
1884
1938
  children: [
1885
1939
  "When deploying sites, enable or disable S3 Lifecycle policies which allow for renders to auto-delete after a certain time. Default is",
1886
1940
  " ",
1887
- /* @__PURE__ */ jsx28("code", {
1941
+ /* @__PURE__ */ jsx29("code", {
1888
1942
  children: "null"
1889
1943
  }),
1890
1944
  ", which does not change any lifecycle policies of the S3 bucket. See: ",
1891
- /* @__PURE__ */ jsx28("a", {
1945
+ /* @__PURE__ */ jsx29("a", {
1892
1946
  href: "/docs/lambda/autodelete",
1893
1947
  children: "Lambda autodelete"
1894
1948
  }),
@@ -1900,10 +1954,10 @@ var folderExpiryOption = {
1900
1954
  docLink: "https://www.remotion.dev/docs/lambda/autodelete",
1901
1955
  type: false,
1902
1956
  getValue: ({ commandLine }) => {
1903
- if (commandLine[cliFlag31] !== undefined) {
1957
+ if (commandLine[cliFlag32] !== undefined) {
1904
1958
  return {
1905
1959
  source: "cli",
1906
- value: commandLine[cliFlag31]
1960
+ value: commandLine[cliFlag32]
1907
1961
  };
1908
1962
  }
1909
1963
  if (enableFolderExpiry !== null) {
@@ -1920,28 +1974,28 @@ var folderExpiryOption = {
1920
1974
  setConfig: (value) => {
1921
1975
  enableFolderExpiry = value;
1922
1976
  },
1923
- id: cliFlag31
1977
+ id: cliFlag32
1924
1978
  };
1925
1979
 
1926
1980
  // src/options/for-seamless-aac-concatenation.tsx
1927
- import { jsx as jsx29, jsxs as jsxs21, Fragment as Fragment29 } from "react/jsx-runtime";
1981
+ import { jsx as jsx30, jsxs as jsxs22, Fragment as Fragment30 } from "react/jsx-runtime";
1928
1982
  var DEFAULT3 = false;
1929
1983
  var forSeamlessAacConcatenation = DEFAULT3;
1930
- var cliFlag32 = "for-seamless-aac-concatenation";
1984
+ var cliFlag33 = "for-seamless-aac-concatenation";
1931
1985
  var forSeamlessAacConcatenationOption = {
1932
1986
  name: "For seamless AAC concatenation",
1933
- cliFlag: cliFlag32,
1934
- description: () => /* @__PURE__ */ jsxs21(Fragment29, {
1987
+ cliFlag: cliFlag33,
1988
+ description: () => /* @__PURE__ */ jsxs22(Fragment30, {
1935
1989
  children: [
1936
1990
  "If enabled, the audio is trimmed to the nearest AAC frame, which is required for seamless concatenation of AAC files. This is a requirement if you later want to combine multiple video snippets seamlessly.",
1937
- /* @__PURE__ */ jsx29("br", {}),
1938
- /* @__PURE__ */ jsx29("br", {}),
1991
+ /* @__PURE__ */ jsx30("br", {}),
1992
+ /* @__PURE__ */ jsx30("br", {}),
1939
1993
  " This option is used internally. There is currently no documentation yet for to concatenate the audio chunks."
1940
1994
  ]
1941
1995
  }),
1942
1996
  docLink: "https://remotion.dev/docs/renderer",
1943
1997
  getValue: ({ commandLine }) => {
1944
- if (commandLine[cliFlag32]) {
1998
+ if (commandLine[cliFlag33]) {
1945
1999
  return {
1946
2000
  source: "cli",
1947
2001
  value: true
@@ -1963,26 +2017,26 @@ var forSeamlessAacConcatenationOption = {
1963
2017
  },
1964
2018
  ssrName: "forSeamlessAacConcatenation",
1965
2019
  type: false,
1966
- id: cliFlag32
2020
+ id: cliFlag33
1967
2021
  };
1968
2022
 
1969
2023
  // src/options/force-new-studio.tsx
1970
- import { jsx as jsx30, Fragment as Fragment30 } from "react/jsx-runtime";
2024
+ import { jsx as jsx31, Fragment as Fragment31 } from "react/jsx-runtime";
1971
2025
  var forceNewEnabled = false;
1972
- var cliFlag33 = "force-new";
2026
+ var cliFlag34 = "force-new";
1973
2027
  var forceNewStudioOption = {
1974
2028
  name: "Force New Studio",
1975
- cliFlag: cliFlag33,
1976
- description: () => /* @__PURE__ */ jsx30(Fragment30, {
2029
+ cliFlag: cliFlag34,
2030
+ description: () => /* @__PURE__ */ jsx31(Fragment31, {
1977
2031
  children: "Forces starting a new Studio instance even if one is already running on the same port for the same project."
1978
2032
  }),
1979
2033
  ssrName: null,
1980
2034
  docLink: "https://www.remotion.dev/docs/config#setforcenewstudioenabled",
1981
2035
  type: false,
1982
2036
  getValue: ({ commandLine }) => {
1983
- if (commandLine[cliFlag33] !== undefined && commandLine[cliFlag33] !== null) {
2037
+ if (commandLine[cliFlag34] !== undefined && commandLine[cliFlag34] !== null) {
1984
2038
  return {
1985
- value: commandLine[cliFlag33],
2039
+ value: commandLine[cliFlag34],
1986
2040
  source: "cli"
1987
2041
  };
1988
2042
  }
@@ -1994,7 +2048,7 @@ var forceNewStudioOption = {
1994
2048
  setConfig(value) {
1995
2049
  forceNewEnabled = value;
1996
2050
  },
1997
- id: cliFlag33
2051
+ id: cliFlag34
1998
2052
  };
1999
2053
 
2000
2054
  // src/frame-range.ts
@@ -2113,8 +2167,8 @@ var validateSelectedFrames = ({
2113
2167
  };
2114
2168
 
2115
2169
  // src/options/frames.tsx
2116
- import { jsx as jsx31, jsxs as jsxs22, Fragment as Fragment31 } from "react/jsx-runtime";
2117
- var cliFlag34 = "frames";
2170
+ import { jsx as jsx32, jsxs as jsxs23, Fragment as Fragment32 } from "react/jsx-runtime";
2171
+ var cliFlag35 = "frames";
2118
2172
  var frameSelection = null;
2119
2173
  var parseFrameRangeFromCli = (newFrameRange) => {
2120
2174
  if (typeof newFrameRange === "number") {
@@ -2191,16 +2245,16 @@ var parseFrameRangeFromCli = (newFrameRange) => {
2191
2245
  };
2192
2246
  var framesOption = {
2193
2247
  name: "Frame Range",
2194
- cliFlag: cliFlag34,
2195
- description: () => /* @__PURE__ */ jsxs22(Fragment31, {
2248
+ cliFlag: cliFlag35,
2249
+ description: () => /* @__PURE__ */ jsxs23(Fragment32, {
2196
2250
  children: [
2197
2251
  "Render a subset of a video. Pass a single number to render a still, or a range (e.g. ",
2198
- /* @__PURE__ */ jsx31("code", {
2252
+ /* @__PURE__ */ jsx32("code", {
2199
2253
  children: "0-9"
2200
2254
  }),
2201
2255
  ") to render a subset of frames. Pass",
2202
2256
  " ",
2203
- /* @__PURE__ */ jsx31("code", {
2257
+ /* @__PURE__ */ jsx32("code", {
2204
2258
  children: "100-"
2205
2259
  }),
2206
2260
  " to render from frame 100 to the end."
@@ -2210,8 +2264,8 @@ var framesOption = {
2210
2264
  docLink: "https://www.remotion.dev/docs/config#setframerange",
2211
2265
  type: null,
2212
2266
  getValue: ({ commandLine }) => {
2213
- if (commandLine[cliFlag34] !== undefined) {
2214
- const value = parseFrameRangeFromCli(commandLine[cliFlag34]);
2267
+ if (commandLine[cliFlag35] !== undefined) {
2268
+ const value = parseFrameRangeFromCli(commandLine[cliFlag35]);
2215
2269
  if (typeof value === "object" && !Array.isArray(value)) {
2216
2270
  validateSelectedFrames({
2217
2271
  frames: value.frames,
@@ -2238,12 +2292,12 @@ var framesOption = {
2238
2292
  }
2239
2293
  frameSelection = value;
2240
2294
  },
2241
- id: cliFlag34
2295
+ id: cliFlag35
2242
2296
  };
2243
2297
 
2244
2298
  // src/options/gl.tsx
2245
2299
  import { NoReactInternals as NoReactInternals2 } from "remotion/no-react";
2246
- import { jsx as jsx32, jsxs as jsxs23, Fragment as Fragment32 } from "react/jsx-runtime";
2300
+ import { jsx as jsx33, jsxs as jsxs24, Fragment as Fragment33 } from "react/jsx-runtime";
2247
2301
  var validOpenGlRenderers = [
2248
2302
  "swangle",
2249
2303
  "angle",
@@ -2258,42 +2312,42 @@ var getDefaultOpenGlRenderer = (enableV5BreakingChanges) => {
2258
2312
  var DEFAULT_OPENGL_RENDERER = getDefaultOpenGlRenderer(NoReactInternals2.ENABLE_V5_BREAKING_CHANGES);
2259
2313
  var openGlRenderer = DEFAULT_OPENGL_RENDERER;
2260
2314
  var AngleChangelog = () => {
2261
- return /* @__PURE__ */ jsxs23("details", {
2315
+ return /* @__PURE__ */ jsxs24("details", {
2262
2316
  style: { fontSize: "0.9em", marginBottom: "1em" },
2263
2317
  children: [
2264
- /* @__PURE__ */ jsx32("summary", {
2318
+ /* @__PURE__ */ jsx33("summary", {
2265
2319
  children: "Changelog"
2266
2320
  }),
2267
- /* @__PURE__ */ jsxs23("ul", {
2321
+ /* @__PURE__ */ jsxs24("ul", {
2268
2322
  children: [
2269
- /* @__PURE__ */ jsxs23("li", {
2323
+ /* @__PURE__ */ jsxs24("li", {
2270
2324
  children: [
2271
2325
  "From Remotion v2.6.7 until v3.0.7, the default for Remotion Lambda was",
2272
2326
  " ",
2273
- /* @__PURE__ */ jsx32("code", {
2327
+ /* @__PURE__ */ jsx33("code", {
2274
2328
  children: "swiftshader"
2275
2329
  }),
2276
2330
  ", but from v3.0.8 the default is",
2277
2331
  " ",
2278
- /* @__PURE__ */ jsx32("code", {
2332
+ /* @__PURE__ */ jsx33("code", {
2279
2333
  children: "swangle"
2280
2334
  }),
2281
2335
  " (Swiftshader on Angle) since Chrome 101 added support for it."
2282
2336
  ]
2283
2337
  }),
2284
- /* @__PURE__ */ jsxs23("li", {
2338
+ /* @__PURE__ */ jsxs24("li", {
2285
2339
  children: [
2286
2340
  "From Remotion v2.4.3 until v2.6.6, the default was ",
2287
- /* @__PURE__ */ jsx32("code", {
2341
+ /* @__PURE__ */ jsx33("code", {
2288
2342
  children: "angle"
2289
2343
  }),
2290
2344
  ", however it turns out to have a small memory leak that could crash long Remotion renders."
2291
2345
  ]
2292
2346
  }),
2293
- NoReactInternals2.ENABLE_V5_BREAKING_CHANGES ? /* @__PURE__ */ jsxs23("li", {
2347
+ NoReactInternals2.ENABLE_V5_BREAKING_CHANGES ? /* @__PURE__ */ jsxs24("li", {
2294
2348
  children: [
2295
2349
  "From Remotion v5.0, the default is ",
2296
- /* @__PURE__ */ jsx32("code", {
2350
+ /* @__PURE__ */ jsx33("code", {
2297
2351
  children: "angle"
2298
2352
  }),
2299
2353
  ". If no compatible GPU is available, Chromium automatically falls back to SwiftShader."
@@ -2304,65 +2358,65 @@ var AngleChangelog = () => {
2304
2358
  ]
2305
2359
  });
2306
2360
  };
2307
- var cliFlag35 = "gl";
2361
+ var cliFlag36 = "gl";
2308
2362
  var glOption = {
2309
- cliFlag: cliFlag35,
2363
+ cliFlag: cliFlag36,
2310
2364
  docLink: "https://www.remotion.dev/docs/chromium-flags#--gl",
2311
2365
  name: "OpenGL renderer",
2312
2366
  type: "angle",
2313
2367
  ssrName: "gl",
2314
2368
  description: () => {
2315
- return /* @__PURE__ */ jsxs23(Fragment32, {
2369
+ return /* @__PURE__ */ jsxs24(Fragment33, {
2316
2370
  children: [
2317
- /* @__PURE__ */ jsx32(AngleChangelog, {}),
2318
- /* @__PURE__ */ jsxs23("p", {
2371
+ /* @__PURE__ */ jsx33(AngleChangelog, {}),
2372
+ /* @__PURE__ */ jsxs24("p", {
2319
2373
  children: [
2320
2374
  "Select the OpenGL renderer backend for Chromium. ",
2321
- /* @__PURE__ */ jsx32("br", {}),
2375
+ /* @__PURE__ */ jsx33("br", {}),
2322
2376
  "Accepted values:"
2323
2377
  ]
2324
2378
  }),
2325
- /* @__PURE__ */ jsxs23("ul", {
2379
+ /* @__PURE__ */ jsxs24("ul", {
2326
2380
  children: [
2327
- /* @__PURE__ */ jsx32("li", {
2328
- children: /* @__PURE__ */ jsx32("code", {
2381
+ /* @__PURE__ */ jsx33("li", {
2382
+ children: /* @__PURE__ */ jsx33("code", {
2329
2383
  children: '"angle"'
2330
2384
  })
2331
2385
  }),
2332
- /* @__PURE__ */ jsx32("li", {
2333
- children: /* @__PURE__ */ jsx32("code", {
2386
+ /* @__PURE__ */ jsx33("li", {
2387
+ children: /* @__PURE__ */ jsx33("code", {
2334
2388
  children: '"egl"'
2335
2389
  })
2336
2390
  }),
2337
- /* @__PURE__ */ jsx32("li", {
2338
- children: /* @__PURE__ */ jsx32("code", {
2391
+ /* @__PURE__ */ jsx33("li", {
2392
+ children: /* @__PURE__ */ jsx33("code", {
2339
2393
  children: '"swiftshader"'
2340
2394
  })
2341
2395
  }),
2342
- /* @__PURE__ */ jsx32("li", {
2343
- children: /* @__PURE__ */ jsx32("code", {
2396
+ /* @__PURE__ */ jsx33("li", {
2397
+ children: /* @__PURE__ */ jsx33("code", {
2344
2398
  children: '"swangle"'
2345
2399
  })
2346
2400
  }),
2347
- /* @__PURE__ */ jsxs23("li", {
2401
+ /* @__PURE__ */ jsxs24("li", {
2348
2402
  children: [
2349
- /* @__PURE__ */ jsx32("code", {
2403
+ /* @__PURE__ */ jsx33("code", {
2350
2404
  children: '"vulkan"'
2351
2405
  }),
2352
2406
  " (",
2353
- /* @__PURE__ */ jsx32("em", {
2407
+ /* @__PURE__ */ jsx33("em", {
2354
2408
  children: "from Remotion v4.0.41"
2355
2409
  }),
2356
2410
  ")"
2357
2411
  ]
2358
2412
  }),
2359
- /* @__PURE__ */ jsxs23("li", {
2413
+ /* @__PURE__ */ jsxs24("li", {
2360
2414
  children: [
2361
- /* @__PURE__ */ jsx32("code", {
2415
+ /* @__PURE__ */ jsx33("code", {
2362
2416
  children: '"angle-egl"'
2363
2417
  }),
2364
2418
  " (",
2365
- /* @__PURE__ */ jsx32("em", {
2419
+ /* @__PURE__ */ jsx33("em", {
2366
2420
  children: "from Remotion v4.0.51"
2367
2421
  }),
2368
2422
  ")"
@@ -2370,16 +2424,16 @@ var glOption = {
2370
2424
  })
2371
2425
  ]
2372
2426
  }),
2373
- /* @__PURE__ */ jsxs23("p", {
2427
+ /* @__PURE__ */ jsxs24("p", {
2374
2428
  children: [
2375
2429
  "The default is",
2376
2430
  " ",
2377
- /* @__PURE__ */ jsx32("code", {
2431
+ /* @__PURE__ */ jsx33("code", {
2378
2432
  children: DEFAULT_OPENGL_RENDERER === null ? "null" : `"${DEFAULT_OPENGL_RENDERER}"`
2379
2433
  }),
2380
2434
  DEFAULT_OPENGL_RENDERER === null ? ", letting Chrome decide" : ", with automatic fallback to SwiftShader if no compatible GPU is available",
2381
2435
  ", except on Lambda where the default is ",
2382
- /* @__PURE__ */ jsx32("code", {
2436
+ /* @__PURE__ */ jsx33("code", {
2383
2437
  children: '"swangle"'
2384
2438
  })
2385
2439
  ]
@@ -2388,10 +2442,10 @@ var glOption = {
2388
2442
  });
2389
2443
  },
2390
2444
  getValue: ({ commandLine }) => {
2391
- if (commandLine[cliFlag35]) {
2392
- validateOpenGlRenderer(commandLine[cliFlag35]);
2445
+ if (commandLine[cliFlag36]) {
2446
+ validateOpenGlRenderer(commandLine[cliFlag36]);
2393
2447
  return {
2394
- value: commandLine[cliFlag35],
2448
+ value: commandLine[cliFlag36],
2395
2449
  source: "cli"
2396
2450
  };
2397
2451
  }
@@ -2410,7 +2464,7 @@ var glOption = {
2410
2464
  validateOpenGlRenderer(value);
2411
2465
  openGlRenderer = value;
2412
2466
  },
2413
- id: cliFlag35
2467
+ id: cliFlag36
2414
2468
  };
2415
2469
  var validateOpenGlRenderer = (option2) => {
2416
2470
  if (option2 === null) {
@@ -2423,7 +2477,7 @@ var validateOpenGlRenderer = (option2) => {
2423
2477
  };
2424
2478
 
2425
2479
  // src/options/gop-size.tsx
2426
- import { jsx as jsx33, jsxs as jsxs24, Fragment as Fragment33 } from "react/jsx-runtime";
2480
+ import { jsx as jsx34, jsxs as jsxs25, Fragment as Fragment34 } from "react/jsx-runtime";
2427
2481
  var gopSize = null;
2428
2482
  var validateGopSize = (value) => {
2429
2483
  if (value === null) {
@@ -2433,14 +2487,14 @@ var validateGopSize = (value) => {
2433
2487
  throw new TypeError("The GOP size must be an integer greater than 0 or null.");
2434
2488
  }
2435
2489
  };
2436
- var cliFlag36 = "gop";
2490
+ var cliFlag37 = "gop";
2437
2491
  var gopSizeOption = {
2438
2492
  name: "GOP size",
2439
- cliFlag: cliFlag36,
2440
- description: () => /* @__PURE__ */ jsxs24(Fragment33, {
2493
+ cliFlag: cliFlag37,
2494
+ description: () => /* @__PURE__ */ jsxs25(Fragment34, {
2441
2495
  children: [
2442
2496
  "Set the maximum number of frames between two keyframes. This maps to FFmpeg's ",
2443
- /* @__PURE__ */ jsx33("code", {
2497
+ /* @__PURE__ */ jsx34("code", {
2444
2498
  children: "-g"
2445
2499
  }),
2446
2500
  " option. Default: Let the encoder decide."
@@ -2450,7 +2504,7 @@ var gopSizeOption = {
2450
2504
  docLink: "https://www.remotion.dev/docs/config#setgopsize",
2451
2505
  type: null,
2452
2506
  getValue: ({ commandLine }) => {
2453
- const value = commandLine[cliFlag36];
2507
+ const value = commandLine[cliFlag37];
2454
2508
  if (value !== undefined) {
2455
2509
  validateGopSize(value);
2456
2510
  return { value, source: "cli" };
@@ -2461,7 +2515,7 @@ var gopSizeOption = {
2461
2515
  validateGopSize(value);
2462
2516
  gopSize = value;
2463
2517
  },
2464
- id: cliFlag36
2518
+ id: cliFlag37
2465
2519
  };
2466
2520
 
2467
2521
  // src/options/hardware-acceleration.tsx
@@ -2470,11 +2524,11 @@ var hardwareAccelerationOptions = [
2470
2524
  "if-possible",
2471
2525
  "required"
2472
2526
  ];
2473
- var cliFlag37 = "hardware-acceleration";
2527
+ var cliFlag38 = "hardware-acceleration";
2474
2528
  var currentValue = null;
2475
2529
  var hardwareAccelerationOption = {
2476
2530
  name: "Hardware Acceleration",
2477
- cliFlag: cliFlag37,
2531
+ cliFlag: cliFlag38,
2478
2532
  description: () => `
2479
2533
  One of
2480
2534
  ${new Intl.ListFormat("en", { type: "disjunction" }).format(hardwareAccelerationOptions.map((a) => JSON.stringify(a)))}
@@ -2486,10 +2540,10 @@ var hardwareAccelerationOption = {
2486
2540
  docLink: "https://www.remotion.dev/docs/encoding",
2487
2541
  type: "disable",
2488
2542
  getValue: ({ commandLine }) => {
2489
- if (commandLine[cliFlag37] !== undefined) {
2490
- const value = commandLine[cliFlag37];
2543
+ if (commandLine[cliFlag38] !== undefined) {
2544
+ const value = commandLine[cliFlag38];
2491
2545
  if (!hardwareAccelerationOptions.includes(value)) {
2492
- throw new Error(`Invalid value for --${cliFlag37}: ${value}`);
2546
+ throw new Error(`Invalid value for --${cliFlag38}: ${value}`);
2493
2547
  }
2494
2548
  return {
2495
2549
  source: "cli",
@@ -2509,26 +2563,26 @@ var hardwareAccelerationOption = {
2509
2563
  },
2510
2564
  setConfig: (value) => {
2511
2565
  if (!hardwareAccelerationOptions.includes(value)) {
2512
- throw new Error(`Invalid value for --${cliFlag37}: ${value}`);
2566
+ throw new Error(`Invalid value for --${cliFlag38}: ${value}`);
2513
2567
  }
2514
2568
  currentValue = value;
2515
2569
  },
2516
- id: cliFlag37
2570
+ id: cliFlag38
2517
2571
  };
2518
2572
 
2519
2573
  // src/options/headless.tsx
2520
- import { jsx as jsx34, jsxs as jsxs25, Fragment as Fragment34 } from "react/jsx-runtime";
2574
+ import { jsx as jsx35, jsxs as jsxs26, Fragment as Fragment35 } from "react/jsx-runtime";
2521
2575
  var DEFAULT4 = true;
2522
2576
  var headlessMode = DEFAULT4;
2523
- var cliFlag38 = "disable-headless";
2577
+ var cliFlag39 = "disable-headless";
2524
2578
  var headlessOption = {
2525
2579
  name: "Disable Headless Mode",
2526
- cliFlag: cliFlag38,
2527
- description: () => /* @__PURE__ */ jsxs25(Fragment34, {
2580
+ cliFlag: cliFlag39,
2581
+ description: () => /* @__PURE__ */ jsxs26(Fragment35, {
2528
2582
  children: [
2529
2583
  "If disabled, the render will open an actual Chrome window where you can see the render happen. This requires",
2530
2584
  " ",
2531
- /* @__PURE__ */ jsx34("a", {
2585
+ /* @__PURE__ */ jsx35("a", {
2532
2586
  href: "/docs/miscellaneous/chrome-headless-shell",
2533
2587
  children: "Chrome for Testing"
2534
2588
  }),
@@ -2540,10 +2594,10 @@ var headlessOption = {
2540
2594
  docLink: "https://www.remotion.dev/docs/chromium-flags#--disable-headless",
2541
2595
  type: false,
2542
2596
  getValue: ({ commandLine }) => {
2543
- if (commandLine[cliFlag38] !== undefined && commandLine[cliFlag38] !== null) {
2597
+ if (commandLine[cliFlag39] !== undefined && commandLine[cliFlag39] !== null) {
2544
2598
  return {
2545
2599
  source: "cli",
2546
- value: !commandLine[cliFlag38]
2600
+ value: !commandLine[cliFlag39]
2547
2601
  };
2548
2602
  }
2549
2603
  if (headlessMode !== DEFAULT4) {
@@ -2560,27 +2614,27 @@ var headlessOption = {
2560
2614
  setConfig: (value) => {
2561
2615
  headlessMode = value;
2562
2616
  },
2563
- id: cliFlag38
2617
+ id: cliFlag39
2564
2618
  };
2565
2619
 
2566
2620
  // src/options/ignore-certificate-errors.tsx
2567
- import { jsx as jsx35, Fragment as Fragment35 } from "react/jsx-runtime";
2621
+ import { jsx as jsx36, Fragment as Fragment36 } from "react/jsx-runtime";
2568
2622
  var ignoreCertificateErrors = false;
2569
- var cliFlag39 = "ignore-certificate-errors";
2623
+ var cliFlag40 = "ignore-certificate-errors";
2570
2624
  var ignoreCertificateErrorsOption = {
2571
2625
  name: "Ignore certificate errors",
2572
- cliFlag: cliFlag39,
2573
- description: () => /* @__PURE__ */ jsx35(Fragment35, {
2626
+ cliFlag: cliFlag40,
2627
+ description: () => /* @__PURE__ */ jsx36(Fragment36, {
2574
2628
  children: "Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored."
2575
2629
  }),
2576
2630
  ssrName: "ignoreCertificateErrors",
2577
2631
  docLink: "https://www.remotion.dev/docs/chromium-flags#--ignore-certificate-errors",
2578
2632
  type: false,
2579
2633
  getValue: ({ commandLine }) => {
2580
- if (commandLine[cliFlag39] !== undefined && commandLine[cliFlag39] !== null) {
2634
+ if (commandLine[cliFlag40] !== undefined && commandLine[cliFlag40] !== null) {
2581
2635
  return {
2582
2636
  source: "cli",
2583
- value: Boolean(commandLine[cliFlag39])
2637
+ value: Boolean(commandLine[cliFlag40])
2584
2638
  };
2585
2639
  }
2586
2640
  if (ignoreCertificateErrors) {
@@ -2597,23 +2651,23 @@ var ignoreCertificateErrorsOption = {
2597
2651
  setConfig: (value) => {
2598
2652
  ignoreCertificateErrors = value;
2599
2653
  },
2600
- id: cliFlag39
2654
+ id: cliFlag40
2601
2655
  };
2602
2656
 
2603
2657
  // src/options/image-sequence.tsx
2604
- import { jsx as jsx36, jsxs as jsxs26, Fragment as Fragment36 } from "react/jsx-runtime";
2605
- var cliFlag40 = "sequence";
2658
+ import { jsx as jsx37, jsxs as jsxs27, Fragment as Fragment37 } from "react/jsx-runtime";
2659
+ var cliFlag41 = "sequence";
2606
2660
  var imageSequence = false;
2607
2661
  var imageSequenceOption = {
2608
2662
  name: "Image Sequence",
2609
- cliFlag: cliFlag40,
2610
- description: () => /* @__PURE__ */ jsxs26(Fragment36, {
2663
+ cliFlag: cliFlag41,
2664
+ description: () => /* @__PURE__ */ jsxs27(Fragment37, {
2611
2665
  children: [
2612
2666
  "Pass this flag to output an image sequence instead of a video. The default image format is JPEG. See",
2613
2667
  " ",
2614
- /* @__PURE__ */ jsx36("a", {
2668
+ /* @__PURE__ */ jsx37("a", {
2615
2669
  href: "/docs/config#setimagesequence",
2616
- children: /* @__PURE__ */ jsx36("code", {
2670
+ children: /* @__PURE__ */ jsx37("code", {
2617
2671
  children: "setImageSequence()"
2618
2672
  })
2619
2673
  }),
@@ -2624,10 +2678,10 @@ var imageSequenceOption = {
2624
2678
  ssrName: null,
2625
2679
  docLink: "https://www.remotion.dev/docs/config#setimagesequence",
2626
2680
  getValue: ({ commandLine }) => {
2627
- if (commandLine[cliFlag40] !== undefined && commandLine[cliFlag40] !== null) {
2681
+ if (commandLine[cliFlag41] !== undefined && commandLine[cliFlag41] !== null) {
2628
2682
  return {
2629
2683
  source: "cli",
2630
- value: Boolean(commandLine[cliFlag40])
2684
+ value: Boolean(commandLine[cliFlag41])
2631
2685
  };
2632
2686
  }
2633
2687
  return {
@@ -2639,25 +2693,25 @@ var imageSequenceOption = {
2639
2693
  imageSequence = value;
2640
2694
  },
2641
2695
  type: false,
2642
- id: cliFlag40
2696
+ id: cliFlag41
2643
2697
  };
2644
2698
 
2645
2699
  // src/options/image-sequence-pattern.tsx
2646
- import { jsx as jsx37, jsxs as jsxs27, Fragment as Fragment37 } from "react/jsx-runtime";
2647
- var cliFlag41 = "image-sequence-pattern";
2700
+ import { jsx as jsx38, jsxs as jsxs28, Fragment as Fragment38 } from "react/jsx-runtime";
2701
+ var cliFlag42 = "image-sequence-pattern";
2648
2702
  var currentImageSequencePattern = null;
2649
2703
  var imageSequencePatternOption = {
2650
2704
  name: "Image Sequence Pattern",
2651
- cliFlag: cliFlag41,
2705
+ cliFlag: cliFlag42,
2652
2706
  ssrName: "imageSequencePattern",
2653
- description: () => /* @__PURE__ */ jsxs27(Fragment37, {
2707
+ description: () => /* @__PURE__ */ jsxs28(Fragment38, {
2654
2708
  children: [
2655
2709
  "Pattern for naming image sequence files. Supports ",
2656
- /* @__PURE__ */ jsx37("code", {
2710
+ /* @__PURE__ */ jsx38("code", {
2657
2711
  children: "[frame]"
2658
2712
  }),
2659
2713
  " for the zero-padded frame number and ",
2660
- /* @__PURE__ */ jsx37("code", {
2714
+ /* @__PURE__ */ jsx38("code", {
2661
2715
  children: "[ext]"
2662
2716
  }),
2663
2717
  " for the file extension."
@@ -2673,7 +2727,7 @@ var imageSequencePatternOption = {
2673
2727
  };
2674
2728
  }
2675
2729
  return {
2676
- value: commandLine[cliFlag41],
2730
+ value: commandLine[cliFlag42],
2677
2731
  source: "cli"
2678
2732
  };
2679
2733
  },
@@ -2683,25 +2737,25 @@ var imageSequencePatternOption = {
2683
2737
  reset: () => {
2684
2738
  currentImageSequencePattern = null;
2685
2739
  },
2686
- id: cliFlag41
2740
+ id: cliFlag42
2687
2741
  };
2688
2742
 
2689
2743
  // src/options/interactivity.tsx
2690
- import { jsx as jsx38, Fragment as Fragment38 } from "react/jsx-runtime";
2744
+ import { jsx as jsx39, Fragment as Fragment39 } from "react/jsx-runtime";
2691
2745
  var interactivityEnabled = true;
2692
- var cliFlag42 = "disable-interactivity";
2746
+ var cliFlag43 = "disable-interactivity";
2693
2747
  var interactivityOption = {
2694
2748
  name: "Disable or enable Studio interactivity",
2695
- cliFlag: cliFlag42,
2696
- description: () => /* @__PURE__ */ jsx38(Fragment38, {
2749
+ cliFlag: cliFlag43,
2750
+ description: () => /* @__PURE__ */ jsx39(Fragment39, {
2697
2751
  children: "Enable or disable interactive editing in the Remotion Studio. When disabled, the Studio keeps previewing and source navigation available, but disables preview outlines, the sequence inspector, visual controls, timeline selection and timeline editing gestures."
2698
2752
  }),
2699
2753
  ssrName: null,
2700
2754
  docLink: "https://www.remotion.dev/docs/config#setinteractivityenabled",
2701
2755
  type: false,
2702
2756
  getValue: ({ commandLine }) => {
2703
- if (commandLine[cliFlag42] !== undefined && commandLine[cliFlag42] !== null) {
2704
- interactivityEnabled = commandLine[cliFlag42] === false;
2757
+ if (commandLine[cliFlag43] !== undefined && commandLine[cliFlag43] !== null) {
2758
+ interactivityEnabled = commandLine[cliFlag43] === false;
2705
2759
  return {
2706
2760
  value: interactivityEnabled,
2707
2761
  source: "cli"
@@ -2715,26 +2769,26 @@ var interactivityOption = {
2715
2769
  setConfig(value) {
2716
2770
  interactivityEnabled = value;
2717
2771
  },
2718
- id: cliFlag42
2772
+ id: cliFlag43
2719
2773
  };
2720
2774
 
2721
2775
  // src/options/ipv4.tsx
2722
- import { jsx as jsx39, Fragment as Fragment39 } from "react/jsx-runtime";
2776
+ import { jsx as jsx40, Fragment as Fragment40 } from "react/jsx-runtime";
2723
2777
  var forceIPv4 = false;
2724
- var cliFlag43 = "ipv4";
2778
+ var cliFlag44 = "ipv4";
2725
2779
  var ipv4Option = {
2726
2780
  name: "IPv4",
2727
- cliFlag: cliFlag43,
2728
- description: () => /* @__PURE__ */ jsx39(Fragment39, {
2781
+ cliFlag: cliFlag44,
2782
+ description: () => /* @__PURE__ */ jsx40(Fragment40, {
2729
2783
  children: "Forces Remotion to bind to an IPv4 interface for the Studio server."
2730
2784
  }),
2731
2785
  ssrName: null,
2732
2786
  docLink: "https://www.remotion.dev/docs/cli/studio",
2733
2787
  type: false,
2734
2788
  getValue: ({ commandLine }) => {
2735
- if (commandLine[cliFlag43] !== undefined && commandLine[cliFlag43] !== null) {
2789
+ if (commandLine[cliFlag44] !== undefined && commandLine[cliFlag44] !== null) {
2736
2790
  return {
2737
- value: commandLine[cliFlag43],
2791
+ value: commandLine[cliFlag44],
2738
2792
  source: "cli"
2739
2793
  };
2740
2794
  }
@@ -2746,25 +2800,25 @@ var ipv4Option = {
2746
2800
  setConfig(value) {
2747
2801
  forceIPv4 = value;
2748
2802
  },
2749
- id: cliFlag43
2803
+ id: cliFlag44
2750
2804
  };
2751
2805
 
2752
2806
  // src/options/is-production.tsx
2753
- import { jsx as jsx40, jsxs as jsxs28, Fragment as Fragment40 } from "react/jsx-runtime";
2754
- var cliFlag44 = "is-production";
2807
+ import { jsx as jsx41, jsxs as jsxs29, Fragment as Fragment41 } from "react/jsx-runtime";
2808
+ var cliFlag45 = "is-production";
2755
2809
  var currentIsProductionKey = null;
2756
2810
  var isProductionOption = {
2757
2811
  name: "Is Production",
2758
- cliFlag: cliFlag44,
2759
- description: () => /* @__PURE__ */ jsxs28(Fragment40, {
2812
+ cliFlag: cliFlag45,
2813
+ description: () => /* @__PURE__ */ jsxs29(Fragment41, {
2760
2814
  children: [
2761
2815
  "Pass ",
2762
- /* @__PURE__ */ jsx40("code", {
2816
+ /* @__PURE__ */ jsx41("code", {
2763
2817
  children: "false"
2764
2818
  }),
2765
2819
  " if this a development render to not count it as a billable render on remotion.pro. Only can be used in conjuction with",
2766
2820
  " ",
2767
- /* @__PURE__ */ jsx40("code", {
2821
+ /* @__PURE__ */ jsx41("code", {
2768
2822
  children: "licenseKey"
2769
2823
  }),
2770
2824
  "."
@@ -2773,10 +2827,10 @@ var isProductionOption = {
2773
2827
  ssrName: "isProduction",
2774
2828
  docLink: "https://www.remotion.dev/docs/licensing",
2775
2829
  getValue: ({ commandLine }) => {
2776
- if (commandLine[cliFlag44] !== undefined && commandLine[cliFlag44] !== null) {
2830
+ if (commandLine[cliFlag45] !== undefined && commandLine[cliFlag45] !== null) {
2777
2831
  return {
2778
2832
  source: "cli",
2779
- value: commandLine[cliFlag44]
2833
+ value: commandLine[cliFlag45]
2780
2834
  };
2781
2835
  }
2782
2836
  if (currentIsProductionKey !== null) {
@@ -2794,11 +2848,11 @@ var isProductionOption = {
2794
2848
  currentIsProductionKey = value;
2795
2849
  },
2796
2850
  type: false,
2797
- id: cliFlag44
2851
+ id: cliFlag45
2798
2852
  };
2799
2853
 
2800
2854
  // src/options/jpeg-quality.tsx
2801
- import { jsx as jsx41, Fragment as Fragment41 } from "react/jsx-runtime";
2855
+ import { jsx as jsx42, Fragment as Fragment42 } from "react/jsx-runtime";
2802
2856
  var defaultValue = DEFAULT_JPEG_QUALITY;
2803
2857
  var quality = defaultValue;
2804
2858
  var setJpegQuality = (q) => {
@@ -2809,11 +2863,11 @@ var setJpegQuality = (q) => {
2809
2863
  }
2810
2864
  quality = q;
2811
2865
  };
2812
- var cliFlag45 = "jpeg-quality";
2866
+ var cliFlag46 = "jpeg-quality";
2813
2867
  var jpegQualityOption = {
2814
2868
  name: "JPEG Quality",
2815
- cliFlag: cliFlag45,
2816
- description: () => /* @__PURE__ */ jsx41(Fragment41, {
2869
+ cliFlag: cliFlag46,
2870
+ description: () => /* @__PURE__ */ jsx42(Fragment42, {
2817
2871
  children: "Sets the quality of the generated JPEG images. Must be an integer between 0 and 100. Default: 80."
2818
2872
  }),
2819
2873
  ssrName: "jpegQuality",
@@ -2821,11 +2875,11 @@ var jpegQualityOption = {
2821
2875
  type: 0,
2822
2876
  setConfig: setJpegQuality,
2823
2877
  getValue: ({ commandLine }) => {
2824
- if (commandLine[cliFlag45] !== undefined) {
2825
- validateJpegQuality(commandLine[cliFlag45]);
2878
+ if (commandLine[cliFlag46] !== undefined) {
2879
+ validateJpegQuality(commandLine[cliFlag46]);
2826
2880
  return {
2827
2881
  source: "cli",
2828
- value: commandLine[cliFlag45]
2882
+ value: commandLine[cliFlag46]
2829
2883
  };
2830
2884
  }
2831
2885
  if (quality !== defaultValue) {
@@ -2839,25 +2893,25 @@ var jpegQualityOption = {
2839
2893
  value: defaultValue
2840
2894
  };
2841
2895
  },
2842
- id: cliFlag45
2896
+ id: cliFlag46
2843
2897
  };
2844
2898
 
2845
2899
  // src/options/keyboard-shortcuts.tsx
2846
- import { jsx as jsx42, Fragment as Fragment42 } from "react/jsx-runtime";
2900
+ import { jsx as jsx43, Fragment as Fragment43 } from "react/jsx-runtime";
2847
2901
  var keyboardShortcutsEnabled = true;
2848
- var cliFlag46 = "disable-keyboard-shortcuts";
2902
+ var cliFlag47 = "disable-keyboard-shortcuts";
2849
2903
  var keyboardShortcutsOption = {
2850
2904
  name: "Disable or Enable keyboard shortcuts",
2851
- cliFlag: cliFlag46,
2852
- description: () => /* @__PURE__ */ jsx42(Fragment42, {
2905
+ cliFlag: cliFlag47,
2906
+ description: () => /* @__PURE__ */ jsx43(Fragment43, {
2853
2907
  children: "Enable or disable keyboard shortcuts in the Remotion Studio."
2854
2908
  }),
2855
2909
  ssrName: null,
2856
2910
  docLink: "https://www.remotion.dev/docs/config#setkeyboardshortcutsenabled",
2857
2911
  type: false,
2858
2912
  getValue: ({ commandLine }) => {
2859
- if (commandLine[cliFlag46] !== undefined && commandLine[cliFlag46] !== null) {
2860
- keyboardShortcutsEnabled = commandLine[cliFlag46] === false;
2913
+ if (commandLine[cliFlag47] !== undefined && commandLine[cliFlag47] !== null) {
2914
+ keyboardShortcutsEnabled = commandLine[cliFlag47] === false;
2861
2915
  return {
2862
2916
  value: keyboardShortcutsEnabled,
2863
2917
  source: "cli"
@@ -2871,42 +2925,42 @@ var keyboardShortcutsOption = {
2871
2925
  setConfig(value) {
2872
2926
  keyboardShortcutsEnabled = value;
2873
2927
  },
2874
- id: cliFlag46
2928
+ id: cliFlag47
2875
2929
  };
2876
2930
 
2877
2931
  // src/options/latency-hint.tsx
2878
- import { jsx as jsx43, jsxs as jsxs29, Fragment as Fragment43 } from "react/jsx-runtime";
2879
- var cliFlag47 = "audio-latency-hint";
2932
+ import { jsx as jsx44, jsxs as jsxs30, Fragment as Fragment44 } from "react/jsx-runtime";
2933
+ var cliFlag48 = "audio-latency-hint";
2880
2934
  var value = null;
2881
2935
  var audioLatencyHintOption = {
2882
2936
  name: "Audio Latency Hint",
2883
- cliFlag: cliFlag47,
2884
- description: () => /* @__PURE__ */ jsxs29(Fragment43, {
2937
+ cliFlag: cliFlag48,
2938
+ description: () => /* @__PURE__ */ jsxs30(Fragment44, {
2885
2939
  children: [
2886
2940
  "Sets the",
2887
2941
  " ",
2888
- /* @__PURE__ */ jsx43("a", {
2942
+ /* @__PURE__ */ jsx44("a", {
2889
2943
  href: "https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext",
2890
2944
  children: "audio latency"
2891
2945
  }),
2892
2946
  " ",
2893
2947
  "hint for the global ",
2894
- /* @__PURE__ */ jsx43("code", {
2948
+ /* @__PURE__ */ jsx44("code", {
2895
2949
  children: "AudioContext"
2896
2950
  }),
2897
2951
  " context that Remotion uses to play audio.",
2898
- /* @__PURE__ */ jsx43("br", {}),
2952
+ /* @__PURE__ */ jsx44("br", {}),
2899
2953
  "Possible values: ",
2900
- /* @__PURE__ */ jsx43("code", {
2954
+ /* @__PURE__ */ jsx44("code", {
2901
2955
  children: "interactive"
2902
2956
  }),
2903
2957
  ", ",
2904
- /* @__PURE__ */ jsx43("code", {
2958
+ /* @__PURE__ */ jsx44("code", {
2905
2959
  children: "balanced"
2906
2960
  }),
2907
2961
  ",",
2908
2962
  " ",
2909
- /* @__PURE__ */ jsx43("code", {
2963
+ /* @__PURE__ */ jsx44("code", {
2910
2964
  children: "playback"
2911
2965
  })
2912
2966
  ]
@@ -2915,7 +2969,7 @@ var audioLatencyHintOption = {
2915
2969
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
2916
2970
  type: "playback",
2917
2971
  getValue: ({ commandLine }) => {
2918
- const val = commandLine[cliFlag47];
2972
+ const val = commandLine[cliFlag48];
2919
2973
  if (typeof val !== "undefined") {
2920
2974
  return { value: val, source: "cli" };
2921
2975
  }
@@ -2927,21 +2981,21 @@ var audioLatencyHintOption = {
2927
2981
  setConfig: (profile) => {
2928
2982
  value = profile;
2929
2983
  },
2930
- id: cliFlag47
2984
+ id: cliFlag48
2931
2985
  };
2932
2986
 
2933
2987
  // src/options/license-key.tsx
2934
- import { jsx as jsx44, jsxs as jsxs30, Fragment as Fragment44 } from "react/jsx-runtime";
2988
+ import { jsx as jsx45, jsxs as jsxs31, Fragment as Fragment45 } from "react/jsx-runtime";
2935
2989
  var currentLicenseKey = null;
2936
- var cliFlag48 = "license-key";
2990
+ var cliFlag49 = "license-key";
2937
2991
  var licenseKeyOption = {
2938
2992
  name: "License key",
2939
- cliFlag: cliFlag48,
2940
- description: () => /* @__PURE__ */ jsxs30(Fragment44, {
2993
+ cliFlag: cliFlag49,
2994
+ description: () => /* @__PURE__ */ jsxs31(Fragment45, {
2941
2995
  children: [
2942
2996
  "License key for sending a usage event using",
2943
2997
  " ",
2944
- /* @__PURE__ */ jsx44("code", {
2998
+ /* @__PURE__ */ jsx45("code", {
2945
2999
  children: "@remotion/licensing"
2946
3000
  }),
2947
3001
  "."
@@ -2951,10 +3005,10 @@ var licenseKeyOption = {
2951
3005
  docLink: "https://www.remotion.dev/docs/licensing",
2952
3006
  type: null,
2953
3007
  getValue: ({ commandLine }) => {
2954
- if (commandLine[cliFlag48] !== undefined) {
3008
+ if (commandLine[cliFlag49] !== undefined) {
2955
3009
  return {
2956
3010
  source: "cli",
2957
- value: commandLine[cliFlag48]
3011
+ value: commandLine[cliFlag49]
2958
3012
  };
2959
3013
  }
2960
3014
  return {
@@ -2965,47 +3019,47 @@ var licenseKeyOption = {
2965
3019
  setConfig: (value2) => {
2966
3020
  currentLicenseKey = value2;
2967
3021
  },
2968
- id: cliFlag48
3022
+ id: cliFlag49
2969
3023
  };
2970
3024
 
2971
3025
  // src/options/log-level.tsx
2972
- import { jsx as jsx45, jsxs as jsxs31, Fragment as Fragment45 } from "react/jsx-runtime";
3026
+ import { jsx as jsx46, jsxs as jsxs32, Fragment as Fragment46 } from "react/jsx-runtime";
2973
3027
  var logLevel = "info";
2974
- var cliFlag49 = "log";
3028
+ var cliFlag50 = "log";
2975
3029
  var logLevelOption = {
2976
- cliFlag: cliFlag49,
3030
+ cliFlag: cliFlag50,
2977
3031
  name: "Log Level",
2978
3032
  ssrName: "logLevel",
2979
- description: () => /* @__PURE__ */ jsxs31(Fragment45, {
3033
+ description: () => /* @__PURE__ */ jsxs32(Fragment46, {
2980
3034
  children: [
2981
3035
  "One of ",
2982
- /* @__PURE__ */ jsx45("code", {
3036
+ /* @__PURE__ */ jsx46("code", {
2983
3037
  children: "trace"
2984
3038
  }),
2985
3039
  ", ",
2986
- /* @__PURE__ */ jsx45("code", {
3040
+ /* @__PURE__ */ jsx46("code", {
2987
3041
  children: "verbose"
2988
3042
  }),
2989
3043
  ", ",
2990
- /* @__PURE__ */ jsx45("code", {
3044
+ /* @__PURE__ */ jsx46("code", {
2991
3045
  children: "info"
2992
3046
  }),
2993
3047
  ",",
2994
3048
  " ",
2995
- /* @__PURE__ */ jsx45("code", {
3049
+ /* @__PURE__ */ jsx46("code", {
2996
3050
  children: "warn"
2997
3051
  }),
2998
3052
  ", ",
2999
- /* @__PURE__ */ jsx45("code", {
3053
+ /* @__PURE__ */ jsx46("code", {
3000
3054
  children: "error"
3001
3055
  }),
3002
3056
  ".",
3003
- /* @__PURE__ */ jsx45("br", {}),
3057
+ /* @__PURE__ */ jsx46("br", {}),
3004
3058
  " Determines how much info is being logged to the console.",
3005
- /* @__PURE__ */ jsx45("br", {}),
3006
- /* @__PURE__ */ jsx45("br", {}),
3059
+ /* @__PURE__ */ jsx46("br", {}),
3060
+ /* @__PURE__ */ jsx46("br", {}),
3007
3061
  " Default ",
3008
- /* @__PURE__ */ jsx45("code", {
3062
+ /* @__PURE__ */ jsx46("code", {
3009
3063
  children: "info"
3010
3064
  }),
3011
3065
  "."
@@ -3013,11 +3067,11 @@ var logLevelOption = {
3013
3067
  }),
3014
3068
  docLink: "https://www.remotion.dev/docs/troubleshooting/debug-failed-render",
3015
3069
  getValue: ({ commandLine }) => {
3016
- if (commandLine[cliFlag49]) {
3017
- if (!isValidLogLevel(commandLine[cliFlag49])) {
3070
+ if (commandLine[cliFlag50]) {
3071
+ if (!isValidLogLevel(commandLine[cliFlag50])) {
3018
3072
  throw new Error(`Invalid \`--log\` value passed. Accepted values: ${logLevels.map((l) => `'${l}'`).join(", ")}.`);
3019
3073
  }
3020
- return { value: commandLine[cliFlag49], source: "cli" };
3074
+ return { value: commandLine[cliFlag50], source: "cli" };
3021
3075
  }
3022
3076
  if (logLevel !== "info") {
3023
3077
  return { value: logLevel, source: "config" };
@@ -3028,23 +3082,23 @@ var logLevelOption = {
3028
3082
  logLevel = newLogLevel;
3029
3083
  },
3030
3084
  type: "error",
3031
- id: cliFlag49
3085
+ id: cliFlag50
3032
3086
  };
3033
3087
 
3034
3088
  // src/options/metadata.tsx
3035
- import { jsx as jsx46, jsxs as jsxs32, Fragment as Fragment46 } from "react/jsx-runtime";
3089
+ import { jsx as jsx47, jsxs as jsxs33, Fragment as Fragment47 } from "react/jsx-runtime";
3036
3090
  var metadata = {};
3037
- var cliFlag50 = "metadata";
3091
+ var cliFlag51 = "metadata";
3038
3092
  var metadataOption = {
3039
3093
  name: "Metadata",
3040
- cliFlag: cliFlag50,
3094
+ cliFlag: cliFlag51,
3041
3095
  description: (mode) => {
3042
3096
  if (mode === "ssr") {
3043
- return /* @__PURE__ */ jsxs32(Fragment46, {
3097
+ return /* @__PURE__ */ jsxs33(Fragment47, {
3044
3098
  children: [
3045
3099
  "An object containing metadata to be embedded in the video. See",
3046
3100
  " ",
3047
- /* @__PURE__ */ jsx46("a", {
3101
+ /* @__PURE__ */ jsx47("a", {
3048
3102
  href: "/docs/metadata",
3049
3103
  children: "here"
3050
3104
  }),
@@ -3052,18 +3106,18 @@ var metadataOption = {
3052
3106
  ]
3053
3107
  });
3054
3108
  }
3055
- return /* @__PURE__ */ jsxs32(Fragment46, {
3109
+ return /* @__PURE__ */ jsxs33(Fragment47, {
3056
3110
  children: [
3057
3111
  "Metadata to be embedded in the video. See",
3058
3112
  " ",
3059
- /* @__PURE__ */ jsx46("a", {
3113
+ /* @__PURE__ */ jsx47("a", {
3060
3114
  href: "/docs/metadata",
3061
3115
  children: "here"
3062
3116
  }),
3063
3117
  " for which metadata is accepted.",
3064
- /* @__PURE__ */ jsx46("br", {}),
3118
+ /* @__PURE__ */ jsx47("br", {}),
3065
3119
  "The parameter must be in the format of ",
3066
- /* @__PURE__ */ jsx46("code", {
3120
+ /* @__PURE__ */ jsx47("code", {
3067
3121
  children: "--metadata key=value"
3068
3122
  }),
3069
3123
  " ",
@@ -3074,8 +3128,8 @@ var metadataOption = {
3074
3128
  docLink: "https://www.remotion.dev/docs/metadata",
3075
3129
  type: {},
3076
3130
  getValue: ({ commandLine }) => {
3077
- if (commandLine[cliFlag50] !== undefined) {
3078
- const val = commandLine[cliFlag50];
3131
+ if (commandLine[cliFlag51] !== undefined) {
3132
+ const val = commandLine[cliFlag51];
3079
3133
  const array = typeof val === "string" ? [val] : val;
3080
3134
  const keyValues = array.map((a) => {
3081
3135
  if (!a.includes("=")) {
@@ -3102,28 +3156,28 @@ var metadataOption = {
3102
3156
  metadata = newMetadata;
3103
3157
  },
3104
3158
  ssrName: "metadata",
3105
- id: cliFlag50
3159
+ id: cliFlag51
3106
3160
  };
3107
3161
 
3108
3162
  // src/options/mute.tsx
3109
- import { jsx as jsx47, Fragment as Fragment47 } from "react/jsx-runtime";
3163
+ import { jsx as jsx48, Fragment as Fragment48 } from "react/jsx-runtime";
3110
3164
  var DEFAULT_MUTED_STATE = false;
3111
3165
  var mutedState = DEFAULT_MUTED_STATE;
3112
- var cliFlag51 = "muted";
3166
+ var cliFlag52 = "muted";
3113
3167
  var mutedOption = {
3114
3168
  name: "Muted",
3115
- cliFlag: cliFlag51,
3116
- description: () => /* @__PURE__ */ jsx47(Fragment47, {
3169
+ cliFlag: cliFlag52,
3170
+ description: () => /* @__PURE__ */ jsx48(Fragment48, {
3117
3171
  children: "The Audio of the video will be omitted."
3118
3172
  }),
3119
3173
  ssrName: "muted",
3120
3174
  docLink: "https://www.remotion.dev/docs/audio/muting",
3121
3175
  type: false,
3122
3176
  getValue: ({ commandLine }) => {
3123
- if (commandLine[cliFlag51] !== null) {
3177
+ if (commandLine[cliFlag52] !== null) {
3124
3178
  return {
3125
3179
  source: "cli",
3126
- value: commandLine[cliFlag51]
3180
+ value: commandLine[cliFlag52]
3127
3181
  };
3128
3182
  }
3129
3183
  if (mutedState !== DEFAULT_MUTED_STATE) {
@@ -3143,17 +3197,17 @@ var mutedOption = {
3143
3197
  reset: () => {
3144
3198
  mutedState = DEFAULT_MUTED_STATE;
3145
3199
  },
3146
- id: cliFlag51
3200
+ id: cliFlag52
3147
3201
  };
3148
3202
 
3149
3203
  // src/options/no-open.tsx
3150
- import { jsx as jsx48, Fragment as Fragment48 } from "react/jsx-runtime";
3204
+ import { jsx as jsx49, Fragment as Fragment49 } from "react/jsx-runtime";
3151
3205
  var shouldOpenBrowser = true;
3152
- var cliFlag52 = "no-open";
3206
+ var cliFlag53 = "no-open";
3153
3207
  var noOpenOption = {
3154
3208
  name: "Disable browser auto-open",
3155
- cliFlag: cliFlag52,
3156
- description: () => /* @__PURE__ */ jsx48(Fragment48, {
3209
+ cliFlag: cliFlag53,
3210
+ description: () => /* @__PURE__ */ jsx49(Fragment49, {
3157
3211
  children: "If specified, Remotion will not open a browser window when starting the Studio."
3158
3212
  }),
3159
3213
  ssrName: null,
@@ -3175,54 +3229,54 @@ var noOpenOption = {
3175
3229
  reset: () => {
3176
3230
  shouldOpenBrowser = true;
3177
3231
  },
3178
- id: cliFlag52
3232
+ id: cliFlag53
3179
3233
  };
3180
3234
 
3181
3235
  // src/options/number-of-gif-loops.tsx
3182
- import { jsx as jsx49, jsxs as jsxs33, Fragment as Fragment49 } from "react/jsx-runtime";
3236
+ import { jsx as jsx50, jsxs as jsxs34, Fragment as Fragment50 } from "react/jsx-runtime";
3183
3237
  var currentLoop = null;
3184
3238
  var validate = (newLoop) => {
3185
3239
  if (newLoop !== null && typeof newLoop !== "number") {
3186
3240
  throw new Error("--number-of-gif-loops flag must be a number.");
3187
3241
  }
3188
3242
  };
3189
- var cliFlag53 = "number-of-gif-loops";
3243
+ var cliFlag54 = "number-of-gif-loops";
3190
3244
  var numberOfGifLoopsOption = {
3191
3245
  name: "Number of GIF loops",
3192
- cliFlag: cliFlag53,
3246
+ cliFlag: cliFlag54,
3193
3247
  description: () => {
3194
- return /* @__PURE__ */ jsxs33(Fragment49, {
3248
+ return /* @__PURE__ */ jsxs34(Fragment50, {
3195
3249
  children: [
3196
3250
  "Allows you to set the number of loops as follows:",
3197
- /* @__PURE__ */ jsxs33("ul", {
3251
+ /* @__PURE__ */ jsxs34("ul", {
3198
3252
  children: [
3199
- /* @__PURE__ */ jsxs33("li", {
3253
+ /* @__PURE__ */ jsxs34("li", {
3200
3254
  children: [
3201
- /* @__PURE__ */ jsx49("code", {
3255
+ /* @__PURE__ */ jsx50("code", {
3202
3256
  children: "null"
3203
3257
  }),
3204
3258
  " (or omitting in the CLI) plays the GIF indefinitely."
3205
3259
  ]
3206
3260
  }),
3207
- /* @__PURE__ */ jsxs33("li", {
3261
+ /* @__PURE__ */ jsxs34("li", {
3208
3262
  children: [
3209
- /* @__PURE__ */ jsx49("code", {
3263
+ /* @__PURE__ */ jsx50("code", {
3210
3264
  children: "0"
3211
3265
  }),
3212
3266
  " disables looping"
3213
3267
  ]
3214
3268
  }),
3215
- /* @__PURE__ */ jsxs33("li", {
3269
+ /* @__PURE__ */ jsxs34("li", {
3216
3270
  children: [
3217
- /* @__PURE__ */ jsx49("code", {
3271
+ /* @__PURE__ */ jsx50("code", {
3218
3272
  children: "1"
3219
3273
  }),
3220
3274
  " loops the GIF once (plays twice in total)"
3221
3275
  ]
3222
3276
  }),
3223
- /* @__PURE__ */ jsxs33("li", {
3277
+ /* @__PURE__ */ jsxs34("li", {
3224
3278
  children: [
3225
- /* @__PURE__ */ jsx49("code", {
3279
+ /* @__PURE__ */ jsx50("code", {
3226
3280
  children: "2"
3227
3281
  }),
3228
3282
  " loops the GIF twice (plays three times in total) and so on."
@@ -3237,10 +3291,10 @@ var numberOfGifLoopsOption = {
3237
3291
  docLink: "https://www.remotion.dev/docs/render-as-gif#changing-the-number-of-loops",
3238
3292
  type: 0,
3239
3293
  getValue: ({ commandLine }) => {
3240
- if (commandLine[cliFlag53] !== undefined) {
3241
- validate(commandLine[cliFlag53]);
3294
+ if (commandLine[cliFlag54] !== undefined) {
3295
+ validate(commandLine[cliFlag54]);
3242
3296
  return {
3243
- value: commandLine[cliFlag53],
3297
+ value: commandLine[cliFlag54],
3244
3298
  source: "cli"
3245
3299
  };
3246
3300
  }
@@ -3259,21 +3313,21 @@ var numberOfGifLoopsOption = {
3259
3313
  validate(newLoop);
3260
3314
  currentLoop = newLoop;
3261
3315
  },
3262
- id: cliFlag53
3316
+ id: cliFlag54
3263
3317
  };
3264
3318
 
3265
3319
  // src/options/number-of-shared-audio-tags.tsx
3266
- import { jsx as jsx50, jsxs as jsxs34, Fragment as Fragment50 } from "react/jsx-runtime";
3320
+ import { jsx as jsx51, jsxs as jsxs35, Fragment as Fragment51 } from "react/jsx-runtime";
3267
3321
  var numberOfSharedAudioTags = 0;
3268
- var cliFlag54 = "number-of-shared-audio-tags";
3322
+ var cliFlag55 = "number-of-shared-audio-tags";
3269
3323
  var numberOfSharedAudioTagsOption = {
3270
3324
  name: "Number of shared audio tags",
3271
- cliFlag: cliFlag54,
3272
- description: () => /* @__PURE__ */ jsxs34(Fragment50, {
3325
+ cliFlag: cliFlag55,
3326
+ description: () => /* @__PURE__ */ jsxs35(Fragment51, {
3273
3327
  children: [
3274
3328
  "Set number of shared audio tags. See",
3275
3329
  " ",
3276
- /* @__PURE__ */ jsx50("a", {
3330
+ /* @__PURE__ */ jsx51("a", {
3277
3331
  href: "https://www.remotion.dev/docs/player/autoplay#using-the-numberofsharedaudiotags-prop",
3278
3332
  children: "Using the numberOfSharedAudioTags prop"
3279
3333
  }),
@@ -3285,9 +3339,9 @@ var numberOfSharedAudioTagsOption = {
3285
3339
  docLink: "https://www.remotion.dev/docs/config#setnumberofsharedaudiotags",
3286
3340
  type: 0,
3287
3341
  getValue: ({ commandLine }) => {
3288
- if (commandLine[cliFlag54] !== undefined) {
3342
+ if (commandLine[cliFlag55] !== undefined) {
3289
3343
  return {
3290
- value: commandLine[cliFlag54],
3344
+ value: commandLine[cliFlag55],
3291
3345
  source: "cli"
3292
3346
  };
3293
3347
  }
@@ -3299,39 +3353,39 @@ var numberOfSharedAudioTagsOption = {
3299
3353
  setConfig(value2) {
3300
3354
  numberOfSharedAudioTags = value2;
3301
3355
  },
3302
- id: cliFlag54
3356
+ id: cliFlag55
3303
3357
  };
3304
3358
 
3305
3359
  // src/options/offthreadvideo-cache-size.tsx
3306
- import { jsx as jsx51, jsxs as jsxs35, Fragment as Fragment51 } from "react/jsx-runtime";
3360
+ import { jsx as jsx52, jsxs as jsxs36, Fragment as Fragment52 } from "react/jsx-runtime";
3307
3361
  var offthreadVideoCacheSizeInBytes = null;
3308
- var cliFlag55 = "offthreadvideo-cache-size-in-bytes";
3362
+ var cliFlag56 = "offthreadvideo-cache-size-in-bytes";
3309
3363
  var offthreadVideoCacheSizeInBytesOption = {
3310
3364
  name: "OffthreadVideo cache size",
3311
- cliFlag: cliFlag55,
3312
- description: () => /* @__PURE__ */ jsxs35(Fragment51, {
3365
+ cliFlag: cliFlag56,
3366
+ description: () => /* @__PURE__ */ jsxs36(Fragment52, {
3313
3367
  children: [
3314
3368
  "From v4.0, Remotion has a cache for",
3315
3369
  " ",
3316
- /* @__PURE__ */ jsx51("a", {
3370
+ /* @__PURE__ */ jsx52("a", {
3317
3371
  href: "https://remotion.dev/docs/offthreadvideo",
3318
- children: /* @__PURE__ */ jsx51("code", {
3372
+ children: /* @__PURE__ */ jsx52("code", {
3319
3373
  children: "<OffthreadVideo>"
3320
3374
  })
3321
3375
  }),
3322
3376
  " ",
3323
3377
  "frames. The default is ",
3324
- /* @__PURE__ */ jsx51("code", {
3378
+ /* @__PURE__ */ jsx52("code", {
3325
3379
  children: "null"
3326
3380
  }),
3327
3381
  ", corresponding to half of the system memory available when the render starts.",
3328
- /* @__PURE__ */ jsx51("br", {}),
3382
+ /* @__PURE__ */ jsx52("br", {}),
3329
3383
  " 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.",
3330
- /* @__PURE__ */ jsx51("br", {}),
3384
+ /* @__PURE__ */ jsx52("br", {}),
3331
3385
  "The used value will be printed when running in verbose mode.",
3332
- /* @__PURE__ */ jsx51("br", {}),
3386
+ /* @__PURE__ */ jsx52("br", {}),
3333
3387
  "Default: ",
3334
- /* @__PURE__ */ jsx51("code", {
3388
+ /* @__PURE__ */ jsx52("code", {
3335
3389
  children: "null"
3336
3390
  })
3337
3391
  ]
@@ -3340,10 +3394,10 @@ var offthreadVideoCacheSizeInBytesOption = {
3340
3394
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
3341
3395
  type: 0,
3342
3396
  getValue: ({ commandLine }) => {
3343
- if (commandLine[cliFlag55] !== undefined) {
3397
+ if (commandLine[cliFlag56] !== undefined) {
3344
3398
  return {
3345
3399
  source: "cli",
3346
- value: commandLine[cliFlag55]
3400
+ value: commandLine[cliFlag56]
3347
3401
  };
3348
3402
  }
3349
3403
  if (offthreadVideoCacheSizeInBytes !== null) {
@@ -3360,22 +3414,22 @@ var offthreadVideoCacheSizeInBytesOption = {
3360
3414
  setConfig: (size) => {
3361
3415
  offthreadVideoCacheSizeInBytes = size ?? null;
3362
3416
  },
3363
- id: cliFlag55
3417
+ id: cliFlag56
3364
3418
  };
3365
3419
 
3366
3420
  // src/options/offthreadvideo-threads.tsx
3367
- import { jsx as jsx52, jsxs as jsxs36, Fragment as Fragment52 } from "react/jsx-runtime";
3421
+ import { jsx as jsx53, jsxs as jsxs37, Fragment as Fragment53 } from "react/jsx-runtime";
3368
3422
  var value2 = null;
3369
- var cliFlag56 = "offthreadvideo-video-threads";
3423
+ var cliFlag57 = "offthreadvideo-video-threads";
3370
3424
  var offthreadVideoThreadsOption = {
3371
3425
  name: "OffthreadVideo threads",
3372
- cliFlag: cliFlag56,
3373
- description: () => /* @__PURE__ */ jsxs36(Fragment52, {
3426
+ cliFlag: cliFlag57,
3427
+ description: () => /* @__PURE__ */ jsxs37(Fragment53, {
3374
3428
  children: [
3375
3429
  "The number of threads that",
3376
- /* @__PURE__ */ jsx52("a", {
3430
+ /* @__PURE__ */ jsx53("a", {
3377
3431
  href: "https://remotion.dev/docs/offthreadvideo",
3378
- children: /* @__PURE__ */ jsx52("code", {
3432
+ children: /* @__PURE__ */ jsx53("code", {
3379
3433
  children: "<OffthreadVideo>"
3380
3434
  })
3381
3435
  }),
@@ -3390,10 +3444,10 @@ var offthreadVideoThreadsOption = {
3390
3444
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
3391
3445
  type: 0,
3392
3446
  getValue: ({ commandLine }) => {
3393
- if (commandLine[cliFlag56] !== undefined) {
3447
+ if (commandLine[cliFlag57] !== undefined) {
3394
3448
  return {
3395
3449
  source: "cli",
3396
- value: commandLine[cliFlag56]
3450
+ value: commandLine[cliFlag57]
3397
3451
  };
3398
3452
  }
3399
3453
  if (value2 !== null) {
@@ -3410,21 +3464,21 @@ var offthreadVideoThreadsOption = {
3410
3464
  setConfig: (size) => {
3411
3465
  value2 = size ?? null;
3412
3466
  },
3413
- id: cliFlag56
3467
+ id: cliFlag57
3414
3468
  };
3415
3469
  var DEFAULT_RENDER_FRAMES_OFFTHREAD_VIDEO_THREADS = 2;
3416
3470
 
3417
3471
  // src/options/on-browser-download.tsx
3418
- import { jsx as jsx53, jsxs as jsxs37, Fragment as Fragment53 } from "react/jsx-runtime";
3419
- var cliFlag57 = "on-browser-download";
3472
+ import { jsx as jsx54, jsxs as jsxs38, Fragment as Fragment54 } from "react/jsx-runtime";
3473
+ var cliFlag58 = "on-browser-download";
3420
3474
  var onBrowserDownloadOption = {
3421
3475
  name: "Browser download callback function",
3422
- cliFlag: cliFlag57,
3423
- description: () => /* @__PURE__ */ jsxs37(Fragment53, {
3476
+ cliFlag: cliFlag58,
3477
+ description: () => /* @__PURE__ */ jsxs38(Fragment54, {
3424
3478
  children: [
3425
3479
  "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.",
3426
3480
  " ",
3427
- /* @__PURE__ */ jsx53("a", {
3481
+ /* @__PURE__ */ jsx54("a", {
3428
3482
  href: "/docs/renderer/ensure-browser#onbrowserdownload",
3429
3483
  children: "See here for how to use this option."
3430
3484
  })
@@ -3439,26 +3493,26 @@ var onBrowserDownloadOption = {
3439
3493
  setConfig: () => {
3440
3494
  throw new Error("does not support config file");
3441
3495
  },
3442
- id: cliFlag57
3496
+ id: cliFlag58
3443
3497
  };
3444
3498
 
3445
3499
  // src/options/out-dir.tsx
3446
- import { jsx as jsx54, jsxs as jsxs38, Fragment as Fragment54 } from "react/jsx-runtime";
3447
- var cliFlag58 = "out-dir";
3500
+ import { jsx as jsx55, jsxs as jsxs39, Fragment as Fragment55 } from "react/jsx-runtime";
3501
+ var cliFlag59 = "out-dir";
3448
3502
  var currentOutDir = null;
3449
3503
  var outDirOption = {
3450
3504
  name: "Output Directory",
3451
- cliFlag: cliFlag58,
3505
+ cliFlag: cliFlag59,
3452
3506
  description: () => {
3453
- return /* @__PURE__ */ jsxs38(Fragment54, {
3507
+ return /* @__PURE__ */ jsxs39(Fragment55, {
3454
3508
  children: [
3455
3509
  "Define the location of the resulting bundle. By default it is a folder called ",
3456
- /* @__PURE__ */ jsx54("code", {
3510
+ /* @__PURE__ */ jsx55("code", {
3457
3511
  children: "build"
3458
3512
  }),
3459
3513
  ", adjacent to the",
3460
3514
  " ",
3461
- /* @__PURE__ */ jsx54("a", {
3515
+ /* @__PURE__ */ jsx55("a", {
3462
3516
  href: "/docs/terminology/remotion-root",
3463
3517
  children: "Remotion Root"
3464
3518
  }),
@@ -3469,10 +3523,10 @@ var outDirOption = {
3469
3523
  ssrName: "outDir",
3470
3524
  docLink: "https://www.remotion.dev/docs/cli/bundle#--out-dir",
3471
3525
  getValue: ({ commandLine }) => {
3472
- if (commandLine[cliFlag58] !== undefined) {
3526
+ if (commandLine[cliFlag59] !== undefined) {
3473
3527
  return {
3474
3528
  source: "cli",
3475
- value: commandLine[cliFlag58]
3529
+ value: commandLine[cliFlag59]
3476
3530
  };
3477
3531
  }
3478
3532
  if (currentOutDir !== null) {
@@ -3490,7 +3544,7 @@ var outDirOption = {
3490
3544
  currentOutDir = value3;
3491
3545
  },
3492
3546
  type: "",
3493
- id: cliFlag58
3547
+ id: cliFlag59
3494
3548
  };
3495
3549
 
3496
3550
  // src/validate.ts
@@ -3500,21 +3554,21 @@ var validateDimension = NoReactInternals3.validateDimension;
3500
3554
  var validateDurationInFrames = NoReactInternals3.validateDurationInFrames;
3501
3555
 
3502
3556
  // src/options/override-duration.tsx
3503
- import { jsx as jsx55, Fragment as Fragment55 } from "react/jsx-runtime";
3557
+ import { jsx as jsx56, Fragment as Fragment56 } from "react/jsx-runtime";
3504
3558
  var currentDuration = null;
3505
- var cliFlag59 = "duration";
3559
+ var cliFlag60 = "duration";
3506
3560
  var overrideDurationOption = {
3507
3561
  name: "Override Duration",
3508
- cliFlag: cliFlag59,
3509
- description: () => /* @__PURE__ */ jsx55(Fragment55, {
3562
+ cliFlag: cliFlag60,
3563
+ description: () => /* @__PURE__ */ jsx56(Fragment56, {
3510
3564
  children: "Overrides the duration in frames of the composition."
3511
3565
  }),
3512
3566
  ssrName: null,
3513
3567
  docLink: "https://www.remotion.dev/docs/config#overrideduration",
3514
3568
  type: null,
3515
3569
  getValue: ({ commandLine }) => {
3516
- if (commandLine[cliFlag59] !== undefined) {
3517
- const value3 = commandLine[cliFlag59];
3570
+ if (commandLine[cliFlag60] !== undefined) {
3571
+ const value3 = commandLine[cliFlag60];
3518
3572
  validateDurationInFrames(value3, {
3519
3573
  component: "in --duration flag",
3520
3574
  allowFloats: false
@@ -3545,25 +3599,25 @@ var overrideDurationOption = {
3545
3599
  reset: () => {
3546
3600
  currentDuration = null;
3547
3601
  },
3548
- id: cliFlag59
3602
+ id: cliFlag60
3549
3603
  };
3550
3604
 
3551
3605
  // src/options/override-fps.tsx
3552
- import { jsx as jsx56, Fragment as Fragment56 } from "react/jsx-runtime";
3606
+ import { jsx as jsx57, Fragment as Fragment57 } from "react/jsx-runtime";
3553
3607
  var currentFps = null;
3554
- var cliFlag60 = "fps";
3608
+ var cliFlag61 = "fps";
3555
3609
  var overrideFpsOption = {
3556
3610
  name: "Override FPS",
3557
- cliFlag: cliFlag60,
3558
- description: () => /* @__PURE__ */ jsx56(Fragment56, {
3611
+ cliFlag: cliFlag61,
3612
+ description: () => /* @__PURE__ */ jsx57(Fragment57, {
3559
3613
  children: "Overrides the frames per second of the composition."
3560
3614
  }),
3561
3615
  ssrName: null,
3562
3616
  docLink: "https://www.remotion.dev/docs/config#overridefps",
3563
3617
  type: null,
3564
- getValue: ({ commandLine }) => {
3565
- if (commandLine[cliFlag60] !== undefined) {
3566
- const value3 = commandLine[cliFlag60];
3618
+ getValue: ({ commandLine }) => {
3619
+ if (commandLine[cliFlag61] !== undefined) {
3620
+ const value3 = commandLine[cliFlag61];
3567
3621
  validateFps(value3, "in --fps flag", false);
3568
3622
  return {
3569
3623
  source: "cli",
@@ -3588,25 +3642,25 @@ var overrideFpsOption = {
3588
3642
  reset: () => {
3589
3643
  currentFps = null;
3590
3644
  },
3591
- id: cliFlag60
3645
+ id: cliFlag61
3592
3646
  };
3593
3647
 
3594
3648
  // src/options/override-height.tsx
3595
- import { jsx as jsx57, Fragment as Fragment57 } from "react/jsx-runtime";
3649
+ import { jsx as jsx58, Fragment as Fragment58 } from "react/jsx-runtime";
3596
3650
  var currentHeight = null;
3597
- var cliFlag61 = "height";
3651
+ var cliFlag62 = "height";
3598
3652
  var overrideHeightOption = {
3599
3653
  name: "Override Height",
3600
- cliFlag: cliFlag61,
3601
- description: () => /* @__PURE__ */ jsx57(Fragment57, {
3654
+ cliFlag: cliFlag62,
3655
+ description: () => /* @__PURE__ */ jsx58(Fragment58, {
3602
3656
  children: "Overrides the height of the composition."
3603
3657
  }),
3604
3658
  ssrName: null,
3605
3659
  docLink: "https://www.remotion.dev/docs/config#overrideheight",
3606
3660
  type: null,
3607
3661
  getValue: ({ commandLine }) => {
3608
- if (commandLine[cliFlag61] !== undefined) {
3609
- const value3 = commandLine[cliFlag61];
3662
+ if (commandLine[cliFlag62] !== undefined) {
3663
+ const value3 = commandLine[cliFlag62];
3610
3664
  validateDimension(value3, "height", "in --height flag");
3611
3665
  return {
3612
3666
  source: "cli",
@@ -3631,25 +3685,25 @@ var overrideHeightOption = {
3631
3685
  reset: () => {
3632
3686
  currentHeight = null;
3633
3687
  },
3634
- id: cliFlag61
3688
+ id: cliFlag62
3635
3689
  };
3636
3690
 
3637
3691
  // src/options/override-width.tsx
3638
- import { jsx as jsx58, Fragment as Fragment58 } from "react/jsx-runtime";
3692
+ import { jsx as jsx59, Fragment as Fragment59 } from "react/jsx-runtime";
3639
3693
  var currentWidth = null;
3640
- var cliFlag62 = "width";
3694
+ var cliFlag63 = "width";
3641
3695
  var overrideWidthOption = {
3642
3696
  name: "Override Width",
3643
- cliFlag: cliFlag62,
3644
- description: () => /* @__PURE__ */ jsx58(Fragment58, {
3697
+ cliFlag: cliFlag63,
3698
+ description: () => /* @__PURE__ */ jsx59(Fragment59, {
3645
3699
  children: "Overrides the width of the composition."
3646
3700
  }),
3647
3701
  ssrName: null,
3648
3702
  docLink: "https://www.remotion.dev/docs/config#overridewidth",
3649
3703
  type: null,
3650
3704
  getValue: ({ commandLine }) => {
3651
- if (commandLine[cliFlag62] !== undefined) {
3652
- const value3 = commandLine[cliFlag62];
3705
+ if (commandLine[cliFlag63] !== undefined) {
3706
+ const value3 = commandLine[cliFlag63];
3653
3707
  validateDimension(value3, "width", "in --width flag");
3654
3708
  return {
3655
3709
  source: "cli",
@@ -3674,13 +3728,13 @@ var overrideWidthOption = {
3674
3728
  reset: () => {
3675
3729
  currentWidth = null;
3676
3730
  },
3677
- id: cliFlag62
3731
+ id: cliFlag63
3678
3732
  };
3679
3733
 
3680
3734
  // src/options/overwrite.tsx
3681
- import { jsx as jsx59, jsxs as jsxs39, Fragment as Fragment59 } from "react/jsx-runtime";
3735
+ import { jsx as jsx60, jsxs as jsxs40, Fragment as Fragment60 } from "react/jsx-runtime";
3682
3736
  var shouldOverwrite = null;
3683
- var cliFlag63 = "overwrite";
3737
+ var cliFlag64 = "overwrite";
3684
3738
  var validate2 = (value3) => {
3685
3739
  if (typeof value3 !== "boolean") {
3686
3740
  throw new Error(`overwriteExisting must be a boolean but got ${typeof value3} (${value3})`);
@@ -3688,15 +3742,15 @@ var validate2 = (value3) => {
3688
3742
  };
3689
3743
  var overwriteOption = {
3690
3744
  name: "Overwrite output",
3691
- cliFlag: cliFlag63,
3692
- description: () => /* @__PURE__ */ jsxs39(Fragment59, {
3745
+ cliFlag: cliFlag64,
3746
+ description: () => /* @__PURE__ */ jsxs40(Fragment60, {
3693
3747
  children: [
3694
3748
  "If set to ",
3695
- /* @__PURE__ */ jsx59("code", {
3749
+ /* @__PURE__ */ jsx60("code", {
3696
3750
  children: "false"
3697
3751
  }),
3698
3752
  ", will prevent rendering to a path that already exists. Default is ",
3699
- /* @__PURE__ */ jsx59("code", {
3753
+ /* @__PURE__ */ jsx60("code", {
3700
3754
  children: "true"
3701
3755
  }),
3702
3756
  "."
@@ -3706,11 +3760,11 @@ var overwriteOption = {
3706
3760
  docLink: "https://www.remotion.dev/docs/config#setoverwriteoutput",
3707
3761
  type: false,
3708
3762
  getValue: ({ commandLine }, defaultValue2) => {
3709
- if (commandLine[cliFlag63] !== undefined && commandLine[cliFlag63] !== null) {
3710
- validate2(commandLine[cliFlag63]);
3763
+ if (commandLine[cliFlag64] !== undefined && commandLine[cliFlag64] !== null) {
3764
+ validate2(commandLine[cliFlag64]);
3711
3765
  return {
3712
3766
  source: "cli",
3713
- value: commandLine[cliFlag63]
3767
+ value: commandLine[cliFlag64]
3714
3768
  };
3715
3769
  }
3716
3770
  if (shouldOverwrite !== null) {
@@ -3731,36 +3785,36 @@ var overwriteOption = {
3731
3785
  reset: () => {
3732
3786
  shouldOverwrite = null;
3733
3787
  },
3734
- id: cliFlag63
3788
+ id: cliFlag64
3735
3789
  };
3736
3790
 
3737
3791
  // src/options/package-manager.tsx
3738
- import { jsx as jsx60, jsxs as jsxs40, Fragment as Fragment60 } from "react/jsx-runtime";
3739
- var cliFlag64 = "package-manager";
3792
+ import { jsx as jsx61, jsxs as jsxs41, Fragment as Fragment61 } from "react/jsx-runtime";
3793
+ var cliFlag65 = "package-manager";
3740
3794
  var currentPackageManager = null;
3741
3795
  var packageManagerOption = {
3742
3796
  name: "Package Manager",
3743
- cliFlag: cliFlag64,
3797
+ cliFlag: cliFlag65,
3744
3798
  description: () => {
3745
- return /* @__PURE__ */ jsxs40(Fragment60, {
3799
+ return /* @__PURE__ */ jsxs41(Fragment61, {
3746
3800
  children: [
3747
3801
  "Forces a specific package manager to be used. By default, Remotion will auto-detect the package manager based on your lockfile.",
3748
- /* @__PURE__ */ jsx60("br", {}),
3802
+ /* @__PURE__ */ jsx61("br", {}),
3749
3803
  "Acceptable values are ",
3750
- /* @__PURE__ */ jsx60("code", {
3804
+ /* @__PURE__ */ jsx61("code", {
3751
3805
  children: "npm"
3752
3806
  }),
3753
3807
  ", ",
3754
- /* @__PURE__ */ jsx60("code", {
3808
+ /* @__PURE__ */ jsx61("code", {
3755
3809
  children: "yarn"
3756
3810
  }),
3757
3811
  ",",
3758
3812
  " ",
3759
- /* @__PURE__ */ jsx60("code", {
3813
+ /* @__PURE__ */ jsx61("code", {
3760
3814
  children: "pnpm"
3761
3815
  }),
3762
3816
  " and ",
3763
- /* @__PURE__ */ jsx60("code", {
3817
+ /* @__PURE__ */ jsx61("code", {
3764
3818
  children: "bun"
3765
3819
  }),
3766
3820
  "."
@@ -3770,10 +3824,10 @@ var packageManagerOption = {
3770
3824
  ssrName: "packageManager",
3771
3825
  docLink: "https://www.remotion.dev/docs/cli/upgrade#--package-manager",
3772
3826
  getValue: ({ commandLine }) => {
3773
- if (commandLine[cliFlag64] !== undefined) {
3827
+ if (commandLine[cliFlag65] !== undefined) {
3774
3828
  return {
3775
3829
  source: "cli",
3776
- value: commandLine[cliFlag64]
3830
+ value: commandLine[cliFlag65]
3777
3831
  };
3778
3832
  }
3779
3833
  if (currentPackageManager !== null) {
@@ -3791,7 +3845,7 @@ var packageManagerOption = {
3791
3845
  currentPackageManager = value3;
3792
3846
  },
3793
3847
  type: "",
3794
- id: cliFlag64
3848
+ id: cliFlag65
3795
3849
  };
3796
3850
 
3797
3851
  // src/pixel-format.ts
@@ -3814,17 +3868,17 @@ var validPixelFormatsForCodec = (codec) => {
3814
3868
  };
3815
3869
 
3816
3870
  // src/options/pixel-format.tsx
3817
- import { jsx as jsx61, jsxs as jsxs41, Fragment as Fragment61 } from "react/jsx-runtime";
3871
+ import { jsx as jsx62, jsxs as jsxs42, Fragment as Fragment62 } from "react/jsx-runtime";
3818
3872
  var currentPixelFormat = DEFAULT_PIXEL_FORMAT;
3819
- var cliFlag65 = "pixel-format";
3873
+ var cliFlag66 = "pixel-format";
3820
3874
  var pixelFormatOption = {
3821
3875
  name: "Pixel format",
3822
- cliFlag: cliFlag65,
3823
- description: () => /* @__PURE__ */ jsxs41(Fragment61, {
3876
+ cliFlag: cliFlag66,
3877
+ description: () => /* @__PURE__ */ jsxs42(Fragment62, {
3824
3878
  children: [
3825
3879
  "Sets the pixel format in FFmpeg. See",
3826
3880
  " ",
3827
- /* @__PURE__ */ jsx61("a", {
3881
+ /* @__PURE__ */ jsx62("a", {
3828
3882
  href: "https://trac.ffmpeg.org/wiki/Chroma%20Subsampling",
3829
3883
  children: "the FFmpeg docs for an explanation"
3830
3884
  }),
@@ -3843,10 +3897,10 @@ var pixelFormatOption = {
3843
3897
  value: options.uiPixelFormat
3844
3898
  };
3845
3899
  }
3846
- if (commandLine[cliFlag65] !== undefined) {
3900
+ if (commandLine[cliFlag66] !== undefined) {
3847
3901
  return {
3848
3902
  source: "from --pixel-format flag",
3849
- value: commandLine[cliFlag65]
3903
+ value: commandLine[cliFlag66]
3850
3904
  };
3851
3905
  }
3852
3906
  if (options && options.compositionDefaultPixelFormat !== null) {
@@ -3872,26 +3926,26 @@ var pixelFormatOption = {
3872
3926
  }
3873
3927
  currentPixelFormat = value3;
3874
3928
  },
3875
- id: cliFlag65
3929
+ id: cliFlag66
3876
3930
  };
3877
3931
 
3878
3932
  // src/options/port.tsx
3879
- import { jsx as jsx62, Fragment as Fragment62 } from "react/jsx-runtime";
3880
- var cliFlag66 = "port";
3933
+ import { jsx as jsx63, Fragment as Fragment63 } from "react/jsx-runtime";
3934
+ var cliFlag67 = "port";
3881
3935
  var currentPort = null;
3882
3936
  var portOption = {
3883
3937
  name: "Port",
3884
- cliFlag: cliFlag66,
3885
- description: () => /* @__PURE__ */ jsx62(Fragment62, {
3938
+ cliFlag: cliFlag67,
3939
+ description: () => /* @__PURE__ */ jsx63(Fragment63, {
3886
3940
  children: "Set a custom HTTP server port for the Studio or the render process. If not defined, Remotion will try to find a free port."
3887
3941
  }),
3888
3942
  ssrName: null,
3889
3943
  docLink: "https://www.remotion.dev/docs/config#setstudioport",
3890
3944
  getValue: ({ commandLine }) => {
3891
- if (commandLine[cliFlag66] !== undefined) {
3945
+ if (commandLine[cliFlag67] !== undefined) {
3892
3946
  return {
3893
3947
  source: "cli",
3894
- value: commandLine[cliFlag66]
3948
+ value: commandLine[cliFlag67]
3895
3949
  };
3896
3950
  }
3897
3951
  if (currentPort !== null) {
@@ -3909,25 +3963,25 @@ var portOption = {
3909
3963
  currentPort = value3;
3910
3964
  },
3911
3965
  type: 0,
3912
- id: cliFlag66
3966
+ id: cliFlag67
3913
3967
  };
3914
3968
 
3915
3969
  // src/options/prefer-lossless.tsx
3916
- import { jsx as jsx63, jsxs as jsxs42, Fragment as Fragment63 } from "react/jsx-runtime";
3917
- var cliFlag67 = "prefer-lossless";
3970
+ import { jsx as jsx64, jsxs as jsxs43, Fragment as Fragment64 } from "react/jsx-runtime";
3971
+ var cliFlag68 = "prefer-lossless";
3918
3972
  var input = false;
3919
3973
  var preferLosslessAudioOption = {
3920
3974
  name: "Prefer lossless",
3921
- cliFlag: cliFlag67,
3922
- description: () => /* @__PURE__ */ jsxs42(Fragment63, {
3975
+ cliFlag: cliFlag68,
3976
+ description: () => /* @__PURE__ */ jsxs43(Fragment64, {
3923
3977
  children: [
3924
3978
  "Uses a lossless audio codec, if one is available for the codec. If you set",
3925
- /* @__PURE__ */ jsx63("code", {
3979
+ /* @__PURE__ */ jsx64("code", {
3926
3980
  children: "audioCodec"
3927
3981
  }),
3928
3982
  ", it takes priority over",
3929
3983
  " ",
3930
- /* @__PURE__ */ jsx63("code", {
3984
+ /* @__PURE__ */ jsx64("code", {
3931
3985
  children: "preferLossless"
3932
3986
  }),
3933
3987
  "."
@@ -3937,7 +3991,7 @@ var preferLosslessAudioOption = {
3937
3991
  type: false,
3938
3992
  ssrName: "preferLossless",
3939
3993
  getValue: ({ commandLine }) => {
3940
- if (commandLine[cliFlag67]) {
3994
+ if (commandLine[cliFlag68]) {
3941
3995
  return { value: true, source: "cli" };
3942
3996
  }
3943
3997
  if (input === true) {
@@ -3948,20 +4002,20 @@ var preferLosslessAudioOption = {
3948
4002
  setConfig: (val) => {
3949
4003
  input = val;
3950
4004
  },
3951
- id: cliFlag67
4005
+ id: cliFlag68
3952
4006
  };
3953
4007
 
3954
4008
  // src/options/preview-sample-rate.tsx
3955
- import { jsx as jsx64, jsxs as jsxs43, Fragment as Fragment64 } from "react/jsx-runtime";
3956
- var cliFlag68 = "preview-sample-rate";
4009
+ import { jsx as jsx65, jsxs as jsxs44, Fragment as Fragment65 } from "react/jsx-runtime";
4010
+ var cliFlag69 = "preview-sample-rate";
3957
4011
  var currentPreviewSampleRate = null;
3958
4012
  var previewSampleRateOption = {
3959
4013
  name: "Preview Sample Rate",
3960
- cliFlag: cliFlag68,
3961
- description: () => /* @__PURE__ */ jsxs43(Fragment64, {
4014
+ cliFlag: cliFlag69,
4015
+ description: () => /* @__PURE__ */ jsxs44(Fragment65, {
3962
4016
  children: [
3963
4017
  "Controls the sample rate used for audio playback during preview. When unset, Remotion uses ",
3964
- /* @__PURE__ */ jsx64("code", {
4018
+ /* @__PURE__ */ jsx65("code", {
3965
4019
  children: "48000"
3966
4020
  }),
3967
4021
  " Hz."
@@ -3971,8 +4025,8 @@ var previewSampleRateOption = {
3971
4025
  docLink: "https://www.remotion.dev/docs/config#setpreviewsamplerate",
3972
4026
  type: null,
3973
4027
  getValue: ({ commandLine }) => {
3974
- if (commandLine[cliFlag68] !== undefined) {
3975
- return { value: commandLine[cliFlag68], source: "cli" };
4028
+ if (commandLine[cliFlag69] !== undefined) {
4029
+ return { value: commandLine[cliFlag69], source: "cli" };
3976
4030
  }
3977
4031
  if (currentPreviewSampleRate !== null) {
3978
4032
  return { value: currentPreviewSampleRate, source: "config file" };
@@ -3982,19 +4036,19 @@ var previewSampleRateOption = {
3982
4036
  setConfig: (value3) => {
3983
4037
  currentPreviewSampleRate = value3;
3984
4038
  },
3985
- id: cliFlag68
4039
+ id: cliFlag69
3986
4040
  };
3987
4041
 
3988
4042
  // src/options/props.tsx
3989
- import { jsx as jsx65, jsxs as jsxs44, Fragment as Fragment65 } from "react/jsx-runtime";
3990
- var cliFlag69 = "props";
4043
+ import { jsx as jsx66, jsxs as jsxs45, Fragment as Fragment66 } from "react/jsx-runtime";
4044
+ var cliFlag70 = "props";
3991
4045
  var propsOption = {
3992
4046
  name: "Input Props",
3993
- cliFlag: cliFlag69,
3994
- description: () => /* @__PURE__ */ jsxs44(Fragment65, {
4047
+ cliFlag: cliFlag70,
4048
+ description: () => /* @__PURE__ */ jsxs45(Fragment66, {
3995
4049
  children: [
3996
4050
  "Input Props to pass to the selected composition of your video. Must be a serialized JSON string (",
3997
- /* @__PURE__ */ jsxs44("code", {
4051
+ /* @__PURE__ */ jsxs45("code", {
3998
4052
  children: [
3999
4053
  "--props='",
4000
4054
  "{",
@@ -4004,7 +4058,7 @@ var propsOption = {
4004
4058
  ]
4005
4059
  }),
4006
4060
  ") or a path to a JSON file (",
4007
- /* @__PURE__ */ jsx65("code", {
4061
+ /* @__PURE__ */ jsx66("code", {
4008
4062
  children: "./path/to/props.json"
4009
4063
  }),
4010
4064
  ")."
@@ -4013,10 +4067,10 @@ var propsOption = {
4013
4067
  ssrName: null,
4014
4068
  docLink: "https://www.remotion.dev/docs/passing-props#passing-input-props-in-the-cli",
4015
4069
  getValue: ({ commandLine }) => {
4016
- if (commandLine[cliFlag69] !== undefined) {
4070
+ if (commandLine[cliFlag70] !== undefined) {
4017
4071
  return {
4018
4072
  source: "cli",
4019
- value: commandLine[cliFlag69]
4073
+ value: commandLine[cliFlag70]
4020
4074
  };
4021
4075
  }
4022
4076
  return {
@@ -4028,11 +4082,11 @@ var propsOption = {
4028
4082
  throw new Error("setProps is not supported. Pass --props via the CLI instead.");
4029
4083
  },
4030
4084
  type: "",
4031
- id: cliFlag69
4085
+ id: cliFlag70
4032
4086
  };
4033
4087
 
4034
4088
  // src/options/prores-profile.tsx
4035
- import { jsx as jsx66, jsxs as jsxs45, Fragment as Fragment66 } from "react/jsx-runtime";
4089
+ import { jsx as jsx67, jsxs as jsxs46, Fragment as Fragment67 } from "react/jsx-runtime";
4036
4090
  var validProResProfiles = [
4037
4091
  "4444-xq",
4038
4092
  "4444",
@@ -4042,14 +4096,14 @@ var validProResProfiles = [
4042
4096
  "proxy"
4043
4097
  ];
4044
4098
  var proResProfile;
4045
- var cliFlag70 = "prores-profile";
4099
+ var cliFlag71 = "prores-profile";
4046
4100
  var proResProfileOption = {
4047
4101
  name: "ProRes profile",
4048
- cliFlag: cliFlag70,
4049
- description: () => /* @__PURE__ */ jsxs45(Fragment66, {
4102
+ cliFlag: cliFlag71,
4103
+ description: () => /* @__PURE__ */ jsxs46(Fragment67, {
4050
4104
  children: [
4051
4105
  "Set the ProRes profile. This option is only valid if the codec has been set to ",
4052
- /* @__PURE__ */ jsx66("code", {
4106
+ /* @__PURE__ */ jsx67("code", {
4053
4107
  children: "prores"
4054
4108
  }),
4055
4109
  ". Possible values:",
@@ -4057,12 +4111,12 @@ var proResProfileOption = {
4057
4111
  validProResProfiles.map((p) => `"${p}"`).join(", "),
4058
4112
  ". Default:",
4059
4113
  " ",
4060
- /* @__PURE__ */ jsx66("code", {
4114
+ /* @__PURE__ */ jsx67("code", {
4061
4115
  children: '"hq"'
4062
4116
  }),
4063
4117
  ". See",
4064
4118
  " ",
4065
- /* @__PURE__ */ jsx66("a", {
4119
+ /* @__PURE__ */ jsx67("a", {
4066
4120
  href: "https://video.stackexchange.com/a/14715",
4067
4121
  children: "here"
4068
4122
  }),
@@ -4079,10 +4133,10 @@ var proResProfileOption = {
4079
4133
  value: options.uiProResProfile
4080
4134
  };
4081
4135
  }
4082
- if (commandLine[cliFlag70] !== undefined) {
4136
+ if (commandLine[cliFlag71] !== undefined) {
4083
4137
  return {
4084
4138
  source: "from --prores-profile flag",
4085
- value: String(commandLine[cliFlag70])
4139
+ value: String(commandLine[cliFlag71])
4086
4140
  };
4087
4141
  }
4088
4142
  if (options && options.compositionDefaultProResProfile !== null) {
@@ -4105,24 +4159,24 @@ var proResProfileOption = {
4105
4159
  setConfig: (value3) => {
4106
4160
  proResProfile = value3;
4107
4161
  },
4108
- id: cliFlag70
4162
+ id: cliFlag71
4109
4163
  };
4110
4164
 
4111
4165
  // src/options/public-dir.tsx
4112
- import { jsx as jsx67, jsxs as jsxs46, Fragment as Fragment67 } from "react/jsx-runtime";
4113
- var cliFlag71 = "public-dir";
4166
+ import { jsx as jsx68, jsxs as jsxs47, Fragment as Fragment68 } from "react/jsx-runtime";
4167
+ var cliFlag72 = "public-dir";
4114
4168
  var currentPublicDir = null;
4115
4169
  var publicDirOption = {
4116
4170
  name: "Public Directory",
4117
- cliFlag: cliFlag71,
4171
+ cliFlag: cliFlag72,
4118
4172
  description: () => {
4119
- return /* @__PURE__ */ jsxs46(Fragment67, {
4173
+ return /* @__PURE__ */ jsxs47(Fragment68, {
4120
4174
  children: [
4121
4175
  "Define the location of the",
4122
4176
  " ",
4123
- /* @__PURE__ */ jsx67("a", {
4177
+ /* @__PURE__ */ jsx68("a", {
4124
4178
  href: "/docs/terminology/public-dir",
4125
- children: /* @__PURE__ */ jsx67("code", {
4179
+ children: /* @__PURE__ */ jsx68("code", {
4126
4180
  children: "public/ directory"
4127
4181
  })
4128
4182
  }),
@@ -4133,10 +4187,10 @@ var publicDirOption = {
4133
4187
  ssrName: "publicDir",
4134
4188
  docLink: "https://www.remotion.dev/docs/terminology/public-dir",
4135
4189
  getValue: ({ commandLine }) => {
4136
- if (commandLine[cliFlag71] !== undefined) {
4190
+ if (commandLine[cliFlag72] !== undefined) {
4137
4191
  return {
4138
4192
  source: "cli",
4139
- value: commandLine[cliFlag71]
4193
+ value: commandLine[cliFlag72]
4140
4194
  };
4141
4195
  }
4142
4196
  if (currentPublicDir !== null) {
@@ -4154,20 +4208,20 @@ var publicDirOption = {
4154
4208
  currentPublicDir = value3;
4155
4209
  },
4156
4210
  type: "",
4157
- id: cliFlag71
4211
+ id: cliFlag72
4158
4212
  };
4159
4213
 
4160
4214
  // src/options/public-license-key.tsx
4161
- import { jsx as jsx68, jsxs as jsxs47, Fragment as Fragment68 } from "react/jsx-runtime";
4162
- var cliFlag72 = "public-license-key";
4215
+ import { jsx as jsx69, jsxs as jsxs48, Fragment as Fragment69 } from "react/jsx-runtime";
4216
+ var cliFlag73 = "public-license-key";
4163
4217
  var currentPublicLicenseKey = null;
4164
4218
  var publicLicenseKeyOption = {
4165
4219
  name: "Public License Key",
4166
- cliFlag: cliFlag72,
4167
- description: () => /* @__PURE__ */ jsxs47(Fragment68, {
4220
+ cliFlag: cliFlag73,
4221
+ description: () => /* @__PURE__ */ jsxs48(Fragment69, {
4168
4222
  children: [
4169
4223
  "The public license key for your company license, obtained from the License keys page on ",
4170
- /* @__PURE__ */ jsx68("a", {
4224
+ /* @__PURE__ */ jsx69("a", {
4171
4225
  href: "https://remotion.pro/dashboard",
4172
4226
  children: "remotion.pro"
4173
4227
  }),
@@ -4177,10 +4231,10 @@ var publicLicenseKeyOption = {
4177
4231
  ssrName: "publicLicenseKey",
4178
4232
  docLink: "https://www.remotion.dev/docs/licensing",
4179
4233
  getValue: ({ commandLine }) => {
4180
- if (commandLine[cliFlag72] !== undefined) {
4234
+ if (commandLine[cliFlag73] !== undefined) {
4181
4235
  return {
4182
4236
  source: "cli",
4183
- value: commandLine[cliFlag72]
4237
+ value: commandLine[cliFlag73]
4184
4238
  };
4185
4239
  }
4186
4240
  if (currentPublicLicenseKey !== null) {
@@ -4201,25 +4255,25 @@ var publicLicenseKeyOption = {
4201
4255
  currentPublicLicenseKey = value3;
4202
4256
  },
4203
4257
  type: null,
4204
- id: cliFlag72
4258
+ id: cliFlag73
4205
4259
  };
4206
4260
 
4207
4261
  // src/options/public-path.tsx
4208
- import { jsx as jsx69, jsxs as jsxs48, Fragment as Fragment69 } from "react/jsx-runtime";
4209
- var cliFlag73 = "public-path";
4262
+ import { jsx as jsx70, jsxs as jsxs49, Fragment as Fragment70 } from "react/jsx-runtime";
4263
+ var cliFlag74 = "public-path";
4210
4264
  var currentPublicPath = null;
4211
4265
  var publicPathOption = {
4212
4266
  name: "Public Path",
4213
- cliFlag: cliFlag73,
4267
+ cliFlag: cliFlag74,
4214
4268
  description: () => {
4215
- return /* @__PURE__ */ jsxs48(Fragment69, {
4269
+ return /* @__PURE__ */ jsxs49(Fragment70, {
4216
4270
  children: [
4217
4271
  "The path of the URL where the bundle is going to be hosted. By default it is ",
4218
- /* @__PURE__ */ jsx69("code", {
4272
+ /* @__PURE__ */ jsx70("code", {
4219
4273
  children: "./"
4220
4274
  }),
4221
4275
  ", making the bundle relocatable. Set an absolute path such as ",
4222
- /* @__PURE__ */ jsx69("code", {
4276
+ /* @__PURE__ */ jsx70("code", {
4223
4277
  children: "/sites/my-site/"
4224
4278
  }),
4225
4279
  " to host the bundle at a fixed location."
@@ -4229,10 +4283,10 @@ var publicPathOption = {
4229
4283
  ssrName: "publicPath",
4230
4284
  docLink: "https://www.remotion.dev/docs/renderer",
4231
4285
  getValue: ({ commandLine }) => {
4232
- if (commandLine[cliFlag73] !== undefined) {
4286
+ if (commandLine[cliFlag74] !== undefined) {
4233
4287
  return {
4234
4288
  source: "cli",
4235
- value: commandLine[cliFlag73]
4289
+ value: commandLine[cliFlag74]
4236
4290
  };
4237
4291
  }
4238
4292
  if (currentPublicPath !== null) {
@@ -4250,29 +4304,29 @@ var publicPathOption = {
4250
4304
  currentPublicPath = value3;
4251
4305
  },
4252
4306
  type: "",
4253
- id: cliFlag73
4307
+ id: cliFlag74
4254
4308
  };
4255
4309
 
4256
4310
  // src/options/repro.tsx
4257
- import { jsx as jsx70, Fragment as Fragment70 } from "react/jsx-runtime";
4311
+ import { jsx as jsx71, Fragment as Fragment71 } from "react/jsx-runtime";
4258
4312
  var enableRepro = false;
4259
4313
  var setRepro = (should) => {
4260
4314
  enableRepro = should;
4261
4315
  };
4262
- var cliFlag74 = "repro";
4316
+ var cliFlag75 = "repro";
4263
4317
  var reproOption = {
4264
4318
  name: "Create reproduction",
4265
- cliFlag: cliFlag74,
4266
- description: () => /* @__PURE__ */ jsx70(Fragment70, {
4319
+ cliFlag: cliFlag75,
4320
+ description: () => /* @__PURE__ */ jsx71(Fragment71, {
4267
4321
  children: "Create a ZIP that you can submit to Remotion if asked for a reproduction."
4268
4322
  }),
4269
4323
  ssrName: "repro",
4270
4324
  docLink: "https://www.remotion.dev/docs/render-media#repro",
4271
4325
  type: false,
4272
4326
  getValue: ({ commandLine }) => {
4273
- if (commandLine[cliFlag74] !== undefined && commandLine[cliFlag74] !== null) {
4327
+ if (commandLine[cliFlag75] !== undefined && commandLine[cliFlag75] !== null) {
4274
4328
  return {
4275
- value: commandLine[cliFlag74],
4329
+ value: commandLine[cliFlag75],
4276
4330
  source: "cli"
4277
4331
  };
4278
4332
  }
@@ -4288,26 +4342,26 @@ var reproOption = {
4288
4342
  };
4289
4343
  },
4290
4344
  setConfig: setRepro,
4291
- id: cliFlag74
4345
+ id: cliFlag75
4292
4346
  };
4293
4347
 
4294
4348
  // src/options/rspack.tsx
4295
- import { jsx as jsx71, Fragment as Fragment71 } from "react/jsx-runtime";
4349
+ import { jsx as jsx72, Fragment as Fragment72 } from "react/jsx-runtime";
4296
4350
  var rspackEnabled = false;
4297
- var cliFlag75 = "rspack";
4351
+ var cliFlag76 = "rspack";
4298
4352
  var rspackOption = {
4299
4353
  name: "Rspack",
4300
- cliFlag: cliFlag75,
4301
- description: () => /* @__PURE__ */ jsx71(Fragment71, {
4354
+ cliFlag: cliFlag76,
4355
+ description: () => /* @__PURE__ */ jsx72(Fragment72, {
4302
4356
  children: "Uses Rspack instead of Webpack as the bundler for the Studio or bundle."
4303
4357
  }),
4304
4358
  ssrName: null,
4305
4359
  docLink: null,
4306
4360
  type: false,
4307
4361
  getValue: ({ commandLine }) => {
4308
- if (commandLine[cliFlag75] !== undefined && commandLine[cliFlag75] !== null) {
4362
+ if (commandLine[cliFlag76] !== undefined && commandLine[cliFlag76] !== null) {
4309
4363
  return {
4310
- value: commandLine[cliFlag75],
4364
+ value: commandLine[cliFlag76],
4311
4365
  source: "cli"
4312
4366
  };
4313
4367
  }
@@ -4319,21 +4373,21 @@ var rspackOption = {
4319
4373
  setConfig(value3) {
4320
4374
  rspackEnabled = value3;
4321
4375
  },
4322
- id: cliFlag75
4376
+ id: cliFlag76
4323
4377
  };
4324
4378
 
4325
4379
  // src/options/runs.tsx
4326
- import { jsx as jsx72, jsxs as jsxs49, Fragment as Fragment72 } from "react/jsx-runtime";
4380
+ import { jsx as jsx73, jsxs as jsxs50, Fragment as Fragment73 } from "react/jsx-runtime";
4327
4381
  var DEFAULT_RUNS = 3;
4328
4382
  var currentRuns = DEFAULT_RUNS;
4329
- var cliFlag76 = "runs";
4383
+ var cliFlag77 = "runs";
4330
4384
  var runsOption = {
4331
4385
  name: "Benchmark runs",
4332
- cliFlag: cliFlag76,
4333
- description: () => /* @__PURE__ */ jsxs49(Fragment72, {
4386
+ cliFlag: cliFlag77,
4387
+ description: () => /* @__PURE__ */ jsxs50(Fragment73, {
4334
4388
  children: [
4335
4389
  "Specify how many times the video should be rendered during a benchmark. Default ",
4336
- /* @__PURE__ */ jsx72("code", {
4390
+ /* @__PURE__ */ jsx73("code", {
4337
4391
  children: DEFAULT_RUNS
4338
4392
  }),
4339
4393
  "."
@@ -4343,10 +4397,10 @@ var runsOption = {
4343
4397
  docLink: "https://www.remotion.dev/docs/cli/benchmark#--runs",
4344
4398
  type: DEFAULT_RUNS,
4345
4399
  getValue: ({ commandLine }) => {
4346
- if (commandLine[cliFlag76] !== undefined) {
4347
- const value3 = Number(commandLine[cliFlag76]);
4400
+ if (commandLine[cliFlag77] !== undefined) {
4401
+ const value3 = Number(commandLine[cliFlag77]);
4348
4402
  if (isNaN(value3) || value3 < 1) {
4349
- throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag76]}`);
4403
+ throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag77]}`);
4350
4404
  }
4351
4405
  return { value: value3, source: "cli" };
4352
4406
  }
@@ -4361,21 +4415,21 @@ var runsOption = {
4361
4415
  }
4362
4416
  currentRuns = value3;
4363
4417
  },
4364
- id: cliFlag76
4418
+ id: cliFlag77
4365
4419
  };
4366
4420
 
4367
4421
  // src/options/sample-rate.tsx
4368
- import { jsx as jsx73, jsxs as jsxs50, Fragment as Fragment73 } from "react/jsx-runtime";
4369
- var cliFlag77 = "sample-rate";
4422
+ import { jsx as jsx74, jsxs as jsxs51, Fragment as Fragment74 } from "react/jsx-runtime";
4423
+ var cliFlag78 = "sample-rate";
4370
4424
  var currentSampleRate = 48000;
4371
4425
  var sampleRateOption = {
4372
4426
  name: "Sample Rate",
4373
- cliFlag: cliFlag77,
4374
- description: () => /* @__PURE__ */ jsxs50(Fragment73, {
4427
+ cliFlag: cliFlag78,
4428
+ description: () => /* @__PURE__ */ jsxs51(Fragment74, {
4375
4429
  children: [
4376
4430
  "Controls the sample rate of the output audio. The default is",
4377
4431
  " ",
4378
- /* @__PURE__ */ jsx73("code", {
4432
+ /* @__PURE__ */ jsx74("code", {
4379
4433
  children: "48000"
4380
4434
  }),
4381
4435
  " Hz. Match this to your source audio to avoid resampling artifacts."
@@ -4385,8 +4439,8 @@ var sampleRateOption = {
4385
4439
  docLink: "https://www.remotion.dev/docs/sample-rate",
4386
4440
  type: 48000,
4387
4441
  getValue: ({ commandLine }, compositionSampleRate) => {
4388
- if (commandLine[cliFlag77] !== undefined) {
4389
- return { value: commandLine[cliFlag77], source: "cli" };
4442
+ if (commandLine[cliFlag78] !== undefined) {
4443
+ return { value: commandLine[cliFlag78], source: "cli" };
4390
4444
  }
4391
4445
  if (currentSampleRate !== 48000) {
4392
4446
  return { value: currentSampleRate, source: "config file" };
@@ -4402,13 +4456,13 @@ var sampleRateOption = {
4402
4456
  setConfig: (value3) => {
4403
4457
  currentSampleRate = value3;
4404
4458
  },
4405
- id: cliFlag77
4459
+ id: cliFlag78
4406
4460
  };
4407
4461
 
4408
4462
  // src/options/scale.tsx
4409
- import { jsx as jsx74, jsxs as jsxs51, Fragment as Fragment74 } from "react/jsx-runtime";
4463
+ import { jsx as jsx75, jsxs as jsxs52, Fragment as Fragment75 } from "react/jsx-runtime";
4410
4464
  var currentScale = 1;
4411
- var cliFlag78 = "scale";
4465
+ var cliFlag79 = "scale";
4412
4466
  var validateScale = (value3) => {
4413
4467
  if (typeof value3 !== "number") {
4414
4468
  throw new Error("scale must be a number.");
@@ -4416,15 +4470,15 @@ var validateScale = (value3) => {
4416
4470
  };
4417
4471
  var scaleOption = {
4418
4472
  name: "Scale",
4419
- cliFlag: cliFlag78,
4420
- description: () => /* @__PURE__ */ jsxs51(Fragment74, {
4473
+ cliFlag: cliFlag79,
4474
+ description: () => /* @__PURE__ */ jsxs52(Fragment75, {
4421
4475
  children: [
4422
4476
  "Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
4423
- /* @__PURE__ */ jsx74("code", {
4477
+ /* @__PURE__ */ jsx75("code", {
4424
4478
  children: "1.5"
4425
4479
  }),
4426
4480
  ". See ",
4427
- /* @__PURE__ */ jsx74("a", {
4481
+ /* @__PURE__ */ jsx75("a", {
4428
4482
  href: "https://www.remotion.dev/docs/scaling",
4429
4483
  children: "Scaling"
4430
4484
  }),
@@ -4435,11 +4489,11 @@ var scaleOption = {
4435
4489
  docLink: "https://www.remotion.dev/docs/scaling",
4436
4490
  type: 0,
4437
4491
  getValue: ({ commandLine }) => {
4438
- if (commandLine[cliFlag78] !== undefined) {
4439
- validateScale(commandLine[cliFlag78]);
4492
+ if (commandLine[cliFlag79] !== undefined) {
4493
+ validateScale(commandLine[cliFlag79]);
4440
4494
  return {
4441
4495
  source: "cli",
4442
- value: commandLine[cliFlag78]
4496
+ value: commandLine[cliFlag79]
4443
4497
  };
4444
4498
  }
4445
4499
  if (currentScale !== null) {
@@ -4456,22 +4510,22 @@ var scaleOption = {
4456
4510
  setConfig: (scale) => {
4457
4511
  currentScale = scale;
4458
4512
  },
4459
- id: cliFlag78
4513
+ id: cliFlag79
4460
4514
  };
4461
4515
 
4462
4516
  // src/options/skip-skills.tsx
4463
- import { jsx as jsx75, Fragment as Fragment75 } from "react/jsx-runtime";
4464
- var cliFlag79 = "skip-skills";
4517
+ import { jsx as jsx76, Fragment as Fragment76 } from "react/jsx-runtime";
4518
+ var cliFlag80 = "skip-skills";
4465
4519
  var skipSkillsOption = {
4466
4520
  name: "Skip Skills",
4467
- cliFlag: cliFlag79,
4468
- description: () => /* @__PURE__ */ jsx75(Fragment75, {
4521
+ cliFlag: cliFlag80,
4522
+ description: () => /* @__PURE__ */ jsx76(Fragment76, {
4469
4523
  children: "Do not update installed Remotion Agent Skills while upgrading Remotion."
4470
4524
  }),
4471
4525
  ssrName: null,
4472
4526
  docLink: "https://www.remotion.dev/docs/cli/upgrade#--skip-skills",
4473
4527
  getValue: ({ commandLine }) => {
4474
- if (commandLine[cliFlag79]) {
4528
+ if (commandLine[cliFlag80]) {
4475
4529
  return {
4476
4530
  source: "cli",
4477
4531
  value: true
@@ -4486,13 +4540,13 @@ var skipSkillsOption = {
4486
4540
  throw new Error("Cannot skip updating skills via config file");
4487
4541
  },
4488
4542
  type: false,
4489
- id: cliFlag79
4543
+ id: cliFlag80
4490
4544
  };
4491
4545
 
4492
4546
  // src/options/still-frame.tsx
4493
4547
  import { NoReactInternals as NoReactInternals4 } from "remotion/no-react";
4494
- import { jsx as jsx76, jsxs as jsxs52, Fragment as Fragment76 } from "react/jsx-runtime";
4495
- var cliFlag80 = "frame";
4548
+ import { jsx as jsx77, jsxs as jsxs53, Fragment as Fragment77 } from "react/jsx-runtime";
4549
+ var cliFlag81 = "frame";
4496
4550
  var currentFrame = null;
4497
4551
  var validate3 = (frame) => {
4498
4552
  NoReactInternals4.validateFrame({
@@ -4503,17 +4557,17 @@ var validate3 = (frame) => {
4503
4557
  };
4504
4558
  var stillFrameOption = {
4505
4559
  name: "Frame",
4506
- cliFlag: cliFlag80,
4507
- description: () => /* @__PURE__ */ jsxs52(Fragment76, {
4560
+ cliFlag: cliFlag81,
4561
+ description: () => /* @__PURE__ */ jsxs53(Fragment77, {
4508
4562
  children: [
4509
4563
  "Which frame should be rendered when rendering a still. Default",
4510
4564
  " ",
4511
- /* @__PURE__ */ jsx76("code", {
4565
+ /* @__PURE__ */ jsx77("code", {
4512
4566
  children: "0"
4513
4567
  }),
4514
4568
  ". From v3.2.27, negative values are allowed, with",
4515
4569
  " ",
4516
- /* @__PURE__ */ jsx76("code", {
4570
+ /* @__PURE__ */ jsx77("code", {
4517
4571
  children: "-1"
4518
4572
  }),
4519
4573
  " being the last frame."
@@ -4522,8 +4576,8 @@ var stillFrameOption = {
4522
4576
  ssrName: "frame",
4523
4577
  docLink: "https://www.remotion.dev/docs/cli/still#--frame",
4524
4578
  getValue: ({ commandLine }) => {
4525
- if (commandLine[cliFlag80] !== undefined) {
4526
- const frame = Number(commandLine[cliFlag80]);
4579
+ if (commandLine[cliFlag81] !== undefined) {
4580
+ const frame = Number(commandLine[cliFlag81]);
4527
4581
  validate3(frame);
4528
4582
  return {
4529
4583
  source: "cli",
@@ -4548,24 +4602,24 @@ var stillFrameOption = {
4548
4602
  currentFrame = value3;
4549
4603
  },
4550
4604
  type: 0,
4551
- id: cliFlag80
4605
+ id: cliFlag81
4552
4606
  };
4553
4607
 
4554
4608
  // src/options/still-image-format.tsx
4555
- import { jsx as jsx77, jsxs as jsxs53, Fragment as Fragment77 } from "react/jsx-runtime";
4609
+ import { jsx as jsx78, jsxs as jsxs54, Fragment as Fragment78 } from "react/jsx-runtime";
4556
4610
  var currentStillImageFormat = null;
4557
- var cliFlag81 = "image-format";
4611
+ var cliFlag82 = "image-format";
4558
4612
  var stillImageFormatOption = {
4559
4613
  name: "Still Image Format",
4560
- cliFlag: cliFlag81,
4561
- description: () => /* @__PURE__ */ jsxs53(Fragment77, {
4614
+ cliFlag: cliFlag82,
4615
+ description: () => /* @__PURE__ */ jsxs54(Fragment78, {
4562
4616
  children: [
4563
4617
  "The image format to use when rendering a still. Must be one of",
4564
4618
  " ",
4565
4619
  validStillImageFormats.map((f) => `"${f}"`).join(", "),
4566
4620
  ". Default:",
4567
4621
  " ",
4568
- /* @__PURE__ */ jsx77("code", {
4622
+ /* @__PURE__ */ jsx78("code", {
4569
4623
  children: '"png"'
4570
4624
  }),
4571
4625
  "."
@@ -4575,8 +4629,8 @@ var stillImageFormatOption = {
4575
4629
  docLink: "https://www.remotion.dev/docs/renderer/render-still#imageformat",
4576
4630
  type: null,
4577
4631
  getValue: ({ commandLine }) => {
4578
- if (commandLine[cliFlag81] !== undefined) {
4579
- const value3 = commandLine[cliFlag81];
4632
+ if (commandLine[cliFlag82] !== undefined) {
4633
+ const value3 = commandLine[cliFlag82];
4580
4634
  if (!validStillImageFormats.includes(value3)) {
4581
4635
  throw new Error(`Invalid still image format: ${value3}. Must be one of: ${validStillImageFormats.join(", ")}`);
4582
4636
  }
@@ -4614,16 +4668,16 @@ var stillImageFormatOption = {
4614
4668
 
4615
4669
  // src/options/throw-if-site-exists.tsx
4616
4670
  var DEFAULT5 = false;
4617
- var cliFlag82 = "throw-if-site-exists";
4671
+ var cliFlag83 = "throw-if-site-exists";
4618
4672
  var throwIfSiteExistsOption = {
4619
- cliFlag: cliFlag82,
4673
+ cliFlag: cliFlag83,
4620
4674
  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.`,
4621
4675
  docLink: "https://remotion.dev/docs/lambda/deploy-site",
4622
4676
  getValue: ({ commandLine }) => {
4623
- if (commandLine[cliFlag82]) {
4677
+ if (commandLine[cliFlag83]) {
4624
4678
  return {
4625
4679
  source: "cli",
4626
- value: commandLine[cliFlag82]
4680
+ value: commandLine[cliFlag83]
4627
4681
  };
4628
4682
  }
4629
4683
  return {
@@ -4637,41 +4691,41 @@ var throwIfSiteExistsOption = {
4637
4691
  },
4638
4692
  ssrName: "throwIfSiteExists",
4639
4693
  type: false,
4640
- id: cliFlag82
4694
+ id: cliFlag83
4641
4695
  };
4642
4696
 
4643
4697
  // src/options/timeout.tsx
4644
- import { jsx as jsx78, jsxs as jsxs54, Fragment as Fragment78 } from "react/jsx-runtime";
4698
+ import { jsx as jsx79, jsxs as jsxs55, Fragment as Fragment79 } from "react/jsx-runtime";
4645
4699
  var currentTimeout = DEFAULT_TIMEOUT;
4646
4700
  var validate4 = (value3) => {
4647
4701
  if (typeof value3 !== "number") {
4648
4702
  throw new Error("--timeout flag / setDelayRenderTimeoutInMilliseconds() must be a number, but got " + JSON.stringify(value3));
4649
4703
  }
4650
4704
  };
4651
- var cliFlag83 = "timeout";
4705
+ var cliFlag84 = "timeout";
4652
4706
  var delayRenderTimeoutInMillisecondsOption = {
4653
4707
  name: "delayRender() timeout",
4654
- cliFlag: cliFlag83,
4655
- description: () => /* @__PURE__ */ jsxs54(Fragment78, {
4708
+ cliFlag: cliFlag84,
4709
+ description: () => /* @__PURE__ */ jsxs55(Fragment79, {
4656
4710
  children: [
4657
4711
  "A number describing how long the render may take to resolve all",
4658
4712
  " ",
4659
- /* @__PURE__ */ jsx78("a", {
4713
+ /* @__PURE__ */ jsx79("a", {
4660
4714
  href: "https://remotion.dev/docs/delay-render",
4661
- children: /* @__PURE__ */ jsx78("code", {
4715
+ children: /* @__PURE__ */ jsx79("code", {
4662
4716
  children: "delayRender()"
4663
4717
  })
4664
4718
  }),
4665
4719
  " ",
4666
4720
  "calls",
4667
4721
  " ",
4668
- /* @__PURE__ */ jsx78("a", {
4722
+ /* @__PURE__ */ jsx79("a", {
4669
4723
  style: { fontSize: "inherit" },
4670
4724
  href: "https://remotion.dev/docs/timeout",
4671
4725
  children: "before it times out"
4672
4726
  }),
4673
4727
  ". Default: ",
4674
- /* @__PURE__ */ jsx78("code", {
4728
+ /* @__PURE__ */ jsx79("code", {
4675
4729
  children: "30000"
4676
4730
  })
4677
4731
  ]
@@ -4680,10 +4734,10 @@ var delayRenderTimeoutInMillisecondsOption = {
4680
4734
  docLink: "https://www.remotion.dev/docs/timeout",
4681
4735
  type: 0,
4682
4736
  getValue: ({ commandLine }) => {
4683
- if (commandLine[cliFlag83] !== undefined) {
4737
+ if (commandLine[cliFlag84] !== undefined) {
4684
4738
  return {
4685
4739
  source: "cli",
4686
- value: commandLine[cliFlag83]
4740
+ value: commandLine[cliFlag84]
4687
4741
  };
4688
4742
  }
4689
4743
  if (currentTimeout !== null) {
@@ -4702,27 +4756,27 @@ var delayRenderTimeoutInMillisecondsOption = {
4702
4756
  validate4(value3);
4703
4757
  currentTimeout = value3;
4704
4758
  },
4705
- id: cliFlag83
4759
+ id: cliFlag84
4706
4760
  };
4707
4761
 
4708
4762
  // src/options/user-agent.tsx
4709
- import { jsx as jsx79, Fragment as Fragment79 } from "react/jsx-runtime";
4763
+ import { jsx as jsx80, Fragment as Fragment80 } from "react/jsx-runtime";
4710
4764
  var userAgent = null;
4711
- var cliFlag84 = "user-agent";
4765
+ var cliFlag85 = "user-agent";
4712
4766
  var userAgentOption = {
4713
4767
  name: "User agent",
4714
- cliFlag: cliFlag84,
4715
- description: () => /* @__PURE__ */ jsx79(Fragment79, {
4768
+ cliFlag: cliFlag85,
4769
+ description: () => /* @__PURE__ */ jsx80(Fragment80, {
4716
4770
  children: "Lets you set a custom user agent that the headless Chrome browser assumes."
4717
4771
  }),
4718
4772
  ssrName: "userAgent",
4719
4773
  docLink: "https://www.remotion.dev/docs/chromium-flags#--user-agent",
4720
4774
  type: null,
4721
4775
  getValue: ({ commandLine }) => {
4722
- if (commandLine[cliFlag84] !== undefined) {
4776
+ if (commandLine[cliFlag85] !== undefined) {
4723
4777
  return {
4724
4778
  source: "cli",
4725
- value: commandLine[cliFlag84]
4779
+ value: commandLine[cliFlag85]
4726
4780
  };
4727
4781
  }
4728
4782
  if (userAgent !== null) {
@@ -4739,25 +4793,25 @@ var userAgentOption = {
4739
4793
  setConfig: (value3) => {
4740
4794
  userAgent = value3;
4741
4795
  },
4742
- id: cliFlag84
4796
+ id: cliFlag85
4743
4797
  };
4744
4798
 
4745
4799
  // src/options/version-flag.tsx
4746
- import { jsx as jsx80, Fragment as Fragment80 } from "react/jsx-runtime";
4747
- var cliFlag85 = "version";
4800
+ import { jsx as jsx81, Fragment as Fragment81 } from "react/jsx-runtime";
4801
+ var cliFlag86 = "version";
4748
4802
  var versionFlagOption = {
4749
4803
  name: "Version",
4750
- cliFlag: cliFlag85,
4751
- description: () => /* @__PURE__ */ jsx80(Fragment80, {
4804
+ cliFlag: cliFlag86,
4805
+ description: () => /* @__PURE__ */ jsx81(Fragment81, {
4752
4806
  children: "Install a specific version. Also enables downgrading to an older version."
4753
4807
  }),
4754
4808
  ssrName: null,
4755
4809
  docLink: "https://www.remotion.dev/docs/cli/upgrade#--version",
4756
4810
  getValue: ({ commandLine }) => {
4757
- if (commandLine[cliFlag85] !== undefined) {
4811
+ if (commandLine[cliFlag86] !== undefined) {
4758
4812
  return {
4759
4813
  source: "cli",
4760
- value: String(commandLine[cliFlag85])
4814
+ value: String(commandLine[cliFlag86])
4761
4815
  };
4762
4816
  }
4763
4817
  return {
@@ -4769,30 +4823,30 @@ var versionFlagOption = {
4769
4823
  throw new Error("Cannot set version via config file");
4770
4824
  },
4771
4825
  type: "",
4772
- id: cliFlag85
4826
+ id: cliFlag86
4773
4827
  };
4774
4828
 
4775
4829
  // src/options/video-bitrate.tsx
4776
- import { jsx as jsx81, jsxs as jsxs55, Fragment as Fragment81 } from "react/jsx-runtime";
4830
+ import { jsx as jsx82, jsxs as jsxs56, Fragment as Fragment82 } from "react/jsx-runtime";
4777
4831
  var videoBitrate = null;
4778
- var cliFlag86 = "video-bitrate";
4832
+ var cliFlag87 = "video-bitrate";
4779
4833
  var videoBitrateOption = {
4780
4834
  name: "Video Bitrate",
4781
- cliFlag: cliFlag86,
4782
- description: () => /* @__PURE__ */ jsxs55(Fragment81, {
4835
+ cliFlag: cliFlag87,
4836
+ description: () => /* @__PURE__ */ jsxs56(Fragment82, {
4783
4837
  children: [
4784
4838
  "Specify the target bitrate for the generated video. The syntax for FFmpeg",
4785
4839
  "'",
4786
4840
  "s",
4787
- /* @__PURE__ */ jsx81("code", {
4841
+ /* @__PURE__ */ jsx82("code", {
4788
4842
  children: "-b:v"
4789
4843
  }),
4790
4844
  " parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ",
4791
- /* @__PURE__ */ jsx81("code", {
4845
+ /* @__PURE__ */ jsx82("code", {
4792
4846
  children: "512K"
4793
4847
  }),
4794
4848
  " for 512 kbps, ",
4795
- /* @__PURE__ */ jsx81("code", {
4849
+ /* @__PURE__ */ jsx82("code", {
4796
4850
  children: "1M"
4797
4851
  }),
4798
4852
  " for 1 Mbps."
@@ -4802,10 +4856,10 @@ var videoBitrateOption = {
4802
4856
  docLink: "https://www.remotion.dev/docs/renderer/render-media#videobitrate",
4803
4857
  type: "",
4804
4858
  getValue: ({ commandLine }) => {
4805
- if (commandLine[cliFlag86] !== undefined) {
4859
+ if (commandLine[cliFlag87] !== undefined) {
4806
4860
  return {
4807
4861
  source: "cli",
4808
- value: commandLine[cliFlag86]
4862
+ value: commandLine[cliFlag87]
4809
4863
  };
4810
4864
  }
4811
4865
  if (videoBitrate !== null) {
@@ -4822,33 +4876,33 @@ var videoBitrateOption = {
4822
4876
  setConfig: (bitrate) => {
4823
4877
  videoBitrate = bitrate;
4824
4878
  },
4825
- id: cliFlag86
4879
+ id: cliFlag87
4826
4880
  };
4827
4881
 
4828
4882
  // src/options/video-cache-size.tsx
4829
- import { jsx as jsx82, jsxs as jsxs56, Fragment as Fragment82 } from "react/jsx-runtime";
4883
+ import { jsx as jsx83, jsxs as jsxs57, Fragment as Fragment83 } from "react/jsx-runtime";
4830
4884
  var mediaCacheSizeInBytes = null;
4831
- var cliFlag87 = "media-cache-size-in-bytes";
4885
+ var cliFlag88 = "media-cache-size-in-bytes";
4832
4886
  var mediaCacheSizeInBytesOption = {
4833
4887
  name: "@remotion/media cache size",
4834
- cliFlag: cliFlag87,
4835
- description: () => /* @__PURE__ */ jsxs56(Fragment82, {
4888
+ cliFlag: cliFlag88,
4889
+ description: () => /* @__PURE__ */ jsxs57(Fragment83, {
4836
4890
  children: [
4837
4891
  "Specify the maximum size of the cache that ",
4838
- /* @__PURE__ */ jsx82("code", {
4892
+ /* @__PURE__ */ jsx83("code", {
4839
4893
  children: "<Video>"
4840
4894
  }),
4841
4895
  " and",
4842
4896
  " ",
4843
- /* @__PURE__ */ jsx82("code", {
4897
+ /* @__PURE__ */ jsx83("code", {
4844
4898
  children: "<Audio>"
4845
4899
  }),
4846
4900
  " from ",
4847
- /* @__PURE__ */ jsx82("code", {
4901
+ /* @__PURE__ */ jsx83("code", {
4848
4902
  children: "@remotion/media"
4849
4903
  }),
4850
4904
  " may use combined, in bytes. ",
4851
- /* @__PURE__ */ jsx82("br", {}),
4905
+ /* @__PURE__ */ jsx83("br", {}),
4852
4906
  "The default is half of the available system memory when the render starts."
4853
4907
  ]
4854
4908
  }),
@@ -4856,10 +4910,10 @@ var mediaCacheSizeInBytesOption = {
4856
4910
  docLink: "https://www.remotion.dev/docs/media/video#setting-the-cache-size",
4857
4911
  type: 0,
4858
4912
  getValue: ({ commandLine }) => {
4859
- if (commandLine[cliFlag87] !== undefined) {
4913
+ if (commandLine[cliFlag88] !== undefined) {
4860
4914
  return {
4861
4915
  source: "cli",
4862
- value: commandLine[cliFlag87]
4916
+ value: commandLine[cliFlag88]
4863
4917
  };
4864
4918
  }
4865
4919
  if (mediaCacheSizeInBytes !== null) {
@@ -4876,7 +4930,7 @@ var mediaCacheSizeInBytesOption = {
4876
4930
  setConfig: (size) => {
4877
4931
  mediaCacheSizeInBytes = size ?? null;
4878
4932
  },
4879
- id: cliFlag87
4933
+ id: cliFlag88
4880
4934
  };
4881
4935
 
4882
4936
  // src/path-normalize.ts
@@ -4995,7 +5049,7 @@ var getExtensionOfFilename = (filename) => {
4995
5049
  };
4996
5050
 
4997
5051
  // src/options/video-codec.tsx
4998
- import { jsx as jsx83, Fragment as Fragment83 } from "react/jsx-runtime";
5052
+ import { jsx as jsx84, Fragment as Fragment84 } from "react/jsx-runtime";
4999
5053
  var codec;
5000
5054
  var setCodec = (newCodec) => {
5001
5055
  if (newCodec === undefined) {
@@ -5019,11 +5073,11 @@ var deriveCodecsFromFilename = (extension) => {
5019
5073
  possible: makeFileExtensionMap()[extension] ?? []
5020
5074
  };
5021
5075
  };
5022
- var cliFlag88 = "codec";
5076
+ var cliFlag89 = "codec";
5023
5077
  var videoCodecOption = {
5024
5078
  name: "Codec",
5025
- cliFlag: cliFlag88,
5026
- description: () => /* @__PURE__ */ jsx83(Fragment83, {
5079
+ cliFlag: cliFlag89,
5080
+ description: () => /* @__PURE__ */ jsx84(Fragment84, {
5027
5081
  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."
5028
5082
  }),
5029
5083
  ssrName: "codec",
@@ -5046,7 +5100,7 @@ var videoCodecOption = {
5046
5100
  if (derivedDownloadCodecs.possible.length > 0 && derivedOutNameCodecs.possible.length > 0 && derivedDownloadCodecs.possible.join("") !== derivedOutNameCodecs.possible.join("")) {
5047
5101
  throw new TypeError(`The download name is ${downloadName} but the output name is ${outName}. The file extensions must match`);
5048
5102
  }
5049
- const cliArgument = commandLine[cliFlag88];
5103
+ const cliArgument = commandLine[cliFlag89];
5050
5104
  if (cliArgument) {
5051
5105
  if (derivedDownloadCodecs.possible.length > 0 && derivedDownloadCodecs.possible.indexOf(cliArgument) === -1) {
5052
5106
  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.`);
@@ -5095,24 +5149,24 @@ var videoCodecOption = {
5095
5149
  reset: () => {
5096
5150
  codec = undefined;
5097
5151
  },
5098
- id: cliFlag88
5152
+ id: cliFlag89
5099
5153
  };
5100
5154
 
5101
5155
  // src/options/video-image-format.tsx
5102
- import { jsx as jsx84, jsxs as jsxs57, Fragment as Fragment84 } from "react/jsx-runtime";
5156
+ import { jsx as jsx85, jsxs as jsxs58, Fragment as Fragment85 } from "react/jsx-runtime";
5103
5157
  var currentVideoImageFormat = null;
5104
- var cliFlag89 = "image-format";
5158
+ var cliFlag90 = "image-format";
5105
5159
  var videoImageFormatOption = {
5106
5160
  name: "Video Image Format",
5107
- cliFlag: cliFlag89,
5108
- description: () => /* @__PURE__ */ jsxs57(Fragment84, {
5161
+ cliFlag: cliFlag90,
5162
+ description: () => /* @__PURE__ */ jsxs58(Fragment85, {
5109
5163
  children: [
5110
5164
  "The image format to use when rendering frames for a video. Must be one of",
5111
5165
  " ",
5112
5166
  validVideoImageFormats.map((f) => `"${f}"`).join(", "),
5113
5167
  ". Default:",
5114
5168
  " ",
5115
- /* @__PURE__ */ jsx84("code", {
5169
+ /* @__PURE__ */ jsx85("code", {
5116
5170
  children: '"jpeg"'
5117
5171
  }),
5118
5172
  ". JPEG is faster, but does not support transparency."
@@ -5128,8 +5182,8 @@ var videoImageFormatOption = {
5128
5182
  value: options.uiVideoImageFormat
5129
5183
  };
5130
5184
  }
5131
- if (commandLine[cliFlag89] !== undefined) {
5132
- const value3 = commandLine[cliFlag89];
5185
+ if (commandLine[cliFlag90] !== undefined) {
5186
+ const value3 = commandLine[cliFlag90];
5133
5187
  if (!validVideoImageFormats.includes(value3)) {
5134
5188
  throw new Error(`Invalid video image format: ${value3}. Must be one of: ${validVideoImageFormats.join(", ")}`);
5135
5189
  }
@@ -5193,12 +5247,12 @@ var videoImageFormatOption = {
5193
5247
  };
5194
5248
 
5195
5249
  // src/options/webhook-custom-data.tsx
5196
- import { jsxs as jsxs58, Fragment as Fragment85 } from "react/jsx-runtime";
5197
- var cliFlag90 = "webhook-custom-data";
5250
+ import { jsxs as jsxs59, Fragment as Fragment86 } from "react/jsx-runtime";
5251
+ var cliFlag91 = "webhook-custom-data";
5198
5252
  var webhookCustomDataOption = {
5199
5253
  name: "Webhook custom data",
5200
- cliFlag: cliFlag90,
5201
- description: (type) => /* @__PURE__ */ jsxs58(Fragment85, {
5254
+ cliFlag: cliFlag91,
5255
+ description: (type) => /* @__PURE__ */ jsxs59(Fragment86, {
5202
5256
  children: [
5203
5257
  "Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
5204
5258
  " ",
@@ -5214,24 +5268,24 @@ var webhookCustomDataOption = {
5214
5268
  setConfig: () => {
5215
5269
  throw new Error("Not implemented");
5216
5270
  },
5217
- id: cliFlag90
5271
+ id: cliFlag91
5218
5272
  };
5219
5273
 
5220
5274
  // src/options/webpack-poll.tsx
5221
- import { jsx as jsx85, Fragment as Fragment86 } from "react/jsx-runtime";
5222
- var cliFlag91 = "webpack-poll";
5275
+ import { jsx as jsx86, Fragment as Fragment87 } from "react/jsx-runtime";
5276
+ var cliFlag92 = "webpack-poll";
5223
5277
  var webpackPolling = null;
5224
5278
  var webpackPollOption = {
5225
5279
  name: "Webpack Polling",
5226
- cliFlag: cliFlag91,
5227
- description: () => /* @__PURE__ */ jsx85(Fragment86, {
5280
+ cliFlag: cliFlag92,
5281
+ description: () => /* @__PURE__ */ jsx86(Fragment87, {
5228
5282
  children: "Enables Webpack polling instead of the file system event listeners for hot reloading. This is useful if you are inside a virtual machine or have a remote file system. Pass a value in milliseconds."
5229
5283
  }),
5230
5284
  ssrName: null,
5231
5285
  docLink: "https://www.remotion.dev/docs/config#setwebpackpollinginmilliseconds",
5232
5286
  getValue: ({ commandLine }) => {
5233
- if (commandLine[cliFlag91] !== undefined) {
5234
- const val = commandLine[cliFlag91];
5287
+ if (commandLine[cliFlag92] !== undefined) {
5288
+ const val = commandLine[cliFlag92];
5235
5289
  if (typeof val !== "number") {
5236
5290
  throw new TypeError(`Webpack polling must be a number, got ${JSON.stringify(val)}`);
5237
5291
  }
@@ -5258,11 +5312,11 @@ var webpackPollOption = {
5258
5312
  webpackPolling = value3;
5259
5313
  },
5260
5314
  type: 0,
5261
- id: cliFlag91
5315
+ id: cliFlag92
5262
5316
  };
5263
5317
 
5264
5318
  // src/options/x264-preset.tsx
5265
- import { jsx as jsx86, jsxs as jsxs59, Fragment as Fragment87 } from "react/jsx-runtime";
5319
+ import { jsx as jsx87, jsxs as jsxs60, Fragment as Fragment88 } from "react/jsx-runtime";
5266
5320
  var x264PresetOptions = [
5267
5321
  "ultrafast",
5268
5322
  "superfast",
@@ -5276,63 +5330,63 @@ var x264PresetOptions = [
5276
5330
  "placebo"
5277
5331
  ];
5278
5332
  var preset = null;
5279
- var cliFlag92 = "x264-preset";
5333
+ var cliFlag93 = "x264-preset";
5280
5334
  var DEFAULT_PRESET = "medium";
5281
5335
  var x264Option = {
5282
5336
  name: "x264 Preset",
5283
- cliFlag: cliFlag92,
5284
- description: () => /* @__PURE__ */ jsxs59(Fragment87, {
5337
+ cliFlag: cliFlag93,
5338
+ description: () => /* @__PURE__ */ jsxs60(Fragment88, {
5285
5339
  children: [
5286
5340
  "Sets a x264 preset profile. Only applies to videos rendered with",
5287
5341
  " ",
5288
- /* @__PURE__ */ jsx86("code", {
5342
+ /* @__PURE__ */ jsx87("code", {
5289
5343
  children: "h264"
5290
5344
  }),
5291
5345
  " codec.",
5292
- /* @__PURE__ */ jsx86("br", {}),
5346
+ /* @__PURE__ */ jsx87("br", {}),
5293
5347
  "Possible values: ",
5294
- /* @__PURE__ */ jsx86("code", {
5348
+ /* @__PURE__ */ jsx87("code", {
5295
5349
  children: "superfast"
5296
5350
  }),
5297
5351
  ", ",
5298
- /* @__PURE__ */ jsx86("code", {
5352
+ /* @__PURE__ */ jsx87("code", {
5299
5353
  children: "veryfast"
5300
5354
  }),
5301
5355
  ",",
5302
5356
  " ",
5303
- /* @__PURE__ */ jsx86("code", {
5357
+ /* @__PURE__ */ jsx87("code", {
5304
5358
  children: "faster"
5305
5359
  }),
5306
5360
  ", ",
5307
- /* @__PURE__ */ jsx86("code", {
5361
+ /* @__PURE__ */ jsx87("code", {
5308
5362
  children: "fast"
5309
5363
  }),
5310
5364
  ", ",
5311
- /* @__PURE__ */ jsx86("code", {
5365
+ /* @__PURE__ */ jsx87("code", {
5312
5366
  children: "medium"
5313
5367
  }),
5314
5368
  ",",
5315
5369
  " ",
5316
- /* @__PURE__ */ jsx86("code", {
5370
+ /* @__PURE__ */ jsx87("code", {
5317
5371
  children: "slow"
5318
5372
  }),
5319
5373
  ", ",
5320
- /* @__PURE__ */ jsx86("code", {
5374
+ /* @__PURE__ */ jsx87("code", {
5321
5375
  children: "slower"
5322
5376
  }),
5323
5377
  ", ",
5324
- /* @__PURE__ */ jsx86("code", {
5378
+ /* @__PURE__ */ jsx87("code", {
5325
5379
  children: "veryslow"
5326
5380
  }),
5327
5381
  ",",
5328
5382
  " ",
5329
- /* @__PURE__ */ jsx86("code", {
5383
+ /* @__PURE__ */ jsx87("code", {
5330
5384
  children: "placebo"
5331
5385
  }),
5332
5386
  ".",
5333
- /* @__PURE__ */ jsx86("br", {}),
5387
+ /* @__PURE__ */ jsx87("br", {}),
5334
5388
  "Default: ",
5335
- /* @__PURE__ */ jsx86("code", {
5389
+ /* @__PURE__ */ jsx87("code", {
5336
5390
  children: DEFAULT_PRESET
5337
5391
  })
5338
5392
  ]
@@ -5341,7 +5395,7 @@ var x264Option = {
5341
5395
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
5342
5396
  type: "fast",
5343
5397
  getValue: ({ commandLine }) => {
5344
- const value3 = commandLine[cliFlag92];
5398
+ const value3 = commandLine[cliFlag93];
5345
5399
  if (typeof value3 !== "undefined") {
5346
5400
  return { value: value3, source: "cli" };
5347
5401
  }
@@ -5353,7 +5407,7 @@ var x264Option = {
5353
5407
  setConfig: (profile) => {
5354
5408
  preset = profile;
5355
5409
  },
5356
- id: cliFlag92
5410
+ id: cliFlag93
5357
5411
  };
5358
5412
 
5359
5413
  // src/options/index.tsx
@@ -5418,6 +5472,7 @@ var allOptions = {
5418
5472
  imageSequencePatternOption,
5419
5473
  mediaCacheSizeInBytesOption,
5420
5474
  darkModeOption,
5475
+ defaultCodingAgentOption,
5421
5476
  defaultEditorOption,
5422
5477
  publicLicenseKeyOption,
5423
5478
  isProductionOption,
@@ -5692,6 +5747,7 @@ var BrowserSafeApis = {
5692
5747
  };
5693
5748
  export {
5694
5749
  defaultEditorIds,
5750
+ defaultCodingAgentIds,
5695
5751
  customEditorTargetPathPlaceholder,
5696
5752
  customEditorLineNumberPlaceholder,
5697
5753
  customEditorColumnNumberPlaceholder,