@remotion/renderer 4.0.502 → 4.0.504

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