@remotion/renderer 4.0.535 → 4.0.536

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.
@@ -2374,158 +2374,24 @@ var experimentalKeepAudioContextAliveOption = {
2374
2374
  id: cliFlag37
2375
2375
  };
2376
2376
 
2377
- // src/options/experimental-sequence-activity.tsx
2378
- import { jsx as jsx35, Fragment as Fragment35 } from "react/jsx-runtime";
2379
- var experimentalSequenceActivityEnabled = false;
2380
- var configuredExperimentalSequenceActivityEnabled = null;
2381
- var cliFlag38 = "experimental-sequence-activity";
2382
- var experimentalSequenceActivityOption = {
2383
- name: "Enable experimental Sequence Activity",
2384
- addedIn: "4.0.535",
2385
- cliFlag: cliFlag38,
2386
- description: () => /* @__PURE__ */ jsx35(Fragment35, {
2387
- children: "Discover layers in nearby hidden scenes in the Remotion Studio before they become visible. This experimental feature may use more CPU. Disabled by default. Does not affect rendering."
2388
- }),
2389
- ssrName: null,
2390
- docLink: "https://www.remotion.dev/docs/options/experimental-sequence-activity",
2391
- type: false,
2392
- getValue: ({ commandLine }) => {
2393
- if (commandLine[cliFlag38] !== undefined && commandLine[cliFlag38] !== null) {
2394
- return {
2395
- value: commandLine[cliFlag38],
2396
- source: "cli"
2397
- };
2398
- }
2399
- return {
2400
- value: experimentalSequenceActivityEnabled,
2401
- source: "config"
2402
- };
2403
- },
2404
- setConfig(value) {
2405
- experimentalSequenceActivityEnabled = value;
2406
- configuredExperimentalSequenceActivityEnabled = value;
2407
- },
2408
- getConfigValue: () => configuredExperimentalSequenceActivityEnabled,
2409
- reset: () => {
2410
- experimentalSequenceActivityEnabled = false;
2411
- configuredExperimentalSequenceActivityEnabled = null;
2412
- },
2413
- id: cliFlag38
2414
- };
2415
-
2416
- // src/options/experimental-sequence-activity-limit.tsx
2417
- import { NoReactInternals as NoReactInternals4 } from "remotion/no-react";
2418
- import { jsx as jsx36, Fragment as Fragment36 } from "react/jsx-runtime";
2419
- var configuredLimit = null;
2420
- var cliFlag39 = "experimental-sequence-activity-limit";
2421
- var experimentalSequenceActivityLimitOption = {
2422
- name: "Experimental hidden Sequence Activity limit",
2423
- addedIn: "4.0.535",
2424
- cliFlag: cliFlag39,
2425
- id: cliFlag39,
2426
- description: () => /* @__PURE__ */ jsx36(Fragment36, {
2427
- children: "Limit nearby hidden scenes discovered by experimental Sequence Activity in the Remotion Studio, including nested sequences and their ancestors. Visible, premounted, and postmounted scenes always render. Defaults to 20. Must be a safe integer of at least -1. Set to 0 to disable hidden discovery, or -1 for unlimited discovery without admission delays. Only applies when experimental Sequence Activity is enabled. Does not affect rendering."
2428
- }),
2429
- ssrName: null,
2430
- docLink: "https://www.remotion.dev/docs/options/experimental-sequence-activity-limit",
2431
- type: 0,
2432
- getValue: ({ commandLine }) => {
2433
- if (commandLine[cliFlag39] !== undefined) {
2434
- const value = commandLine[cliFlag39];
2435
- if (!Number.isSafeInteger(value) || value < -1) {
2436
- throw new Error("Sequence Activity limit must be a safe integer of at least -1.");
2437
- }
2438
- return { value, source: "cli" };
2439
- }
2440
- return {
2441
- value: configuredLimit ?? NoReactInternals4.DEFAULT_SEQUENCE_ACTIVITY_LIMIT,
2442
- source: "config"
2443
- };
2444
- },
2445
- setConfig(value) {
2446
- if (!Number.isSafeInteger(value) || value < -1) {
2447
- throw new Error("Sequence Activity limit must be a safe integer of at least -1.");
2448
- }
2449
- configuredLimit = value;
2450
- },
2451
- getConfigValue: () => configuredLimit,
2452
- reset: () => {
2453
- configuredLimit = null;
2454
- }
2455
- };
2456
-
2457
- // src/options/experimental-tracks.tsx
2458
- import { jsx as jsx37, jsxs as jsxs26, Fragment as Fragment37 } from "react/jsx-runtime";
2459
- var experimentalTracksEnabled = false;
2460
- var configuredExperimentalTracksEnabled = null;
2461
- var cliFlag40 = "experimental-tracks";
2462
- var experimentalTracksOption = {
2463
- name: "Enable experimental timeline tracks",
2464
- addedIn: "4.0.534",
2465
- cliFlag: cliFlag40,
2466
- description: () => /* @__PURE__ */ jsxs26(Fragment37, {
2467
- children: [
2468
- "Enable experimental timeline tracks in the Remotion Studio. Group clips from ",
2469
- /* @__PURE__ */ jsx37("code", {
2470
- children: "<Track>"
2471
- }),
2472
- ", ",
2473
- /* @__PURE__ */ jsx37("code", {
2474
- children: "<Series>"
2475
- }),
2476
- " and",
2477
- " ",
2478
- /* @__PURE__ */ jsx37("code", {
2479
- children: "<TransitionSeries>"
2480
- }),
2481
- " on shared rows, with overlays on additional rows. Disabled by default."
2482
- ]
2483
- }),
2484
- ssrName: null,
2485
- docLink: "https://www.remotion.dev/docs/options/experimental-tracks",
2486
- type: false,
2487
- getValue: ({ commandLine }) => {
2488
- if (commandLine[cliFlag40] !== undefined && commandLine[cliFlag40] !== null) {
2489
- return {
2490
- value: commandLine[cliFlag40],
2491
- source: "cli"
2492
- };
2493
- }
2494
- return {
2495
- value: experimentalTracksEnabled,
2496
- source: "config"
2497
- };
2498
- },
2499
- setConfig(value) {
2500
- experimentalTracksEnabled = value;
2501
- configuredExperimentalTracksEnabled = value;
2502
- },
2503
- getConfigValue: () => configuredExperimentalTracksEnabled,
2504
- reset: () => {
2505
- experimentalTracksEnabled = false;
2506
- configuredExperimentalTracksEnabled = null;
2507
- },
2508
- id: cliFlag40
2509
- };
2510
-
2511
2377
  // src/options/folder-expiry.tsx
2512
- import { jsx as jsx38, jsxs as jsxs27, Fragment as Fragment38 } from "react/jsx-runtime";
2378
+ import { jsx as jsx35, jsxs as jsxs26, Fragment as Fragment35 } from "react/jsx-runtime";
2513
2379
  var enableFolderExpiry = null;
2514
- var cliFlag41 = "enable-folder-expiry";
2380
+ var cliFlag38 = "enable-folder-expiry";
2515
2381
  var folderExpiryOption = {
2516
2382
  name: "Lambda render expiration",
2517
2383
  addedIn: "4.0.32",
2518
- cliFlag: cliFlag41,
2384
+ cliFlag: cliFlag38,
2519
2385
  description: () => {
2520
- return /* @__PURE__ */ jsxs27(Fragment38, {
2386
+ return /* @__PURE__ */ jsxs26(Fragment35, {
2521
2387
  children: [
2522
2388
  "When deploying sites, enable or disable S3 Lifecycle policies which allow for renders to auto-delete after a certain time. Default is",
2523
2389
  " ",
2524
- /* @__PURE__ */ jsx38("code", {
2390
+ /* @__PURE__ */ jsx35("code", {
2525
2391
  children: "null"
2526
2392
  }),
2527
2393
  ", which does not change any lifecycle policies of the S3 bucket. See: ",
2528
- /* @__PURE__ */ jsx38("a", {
2394
+ /* @__PURE__ */ jsx35("a", {
2529
2395
  href: "/docs/lambda/autodelete",
2530
2396
  children: "Lambda autodelete"
2531
2397
  }),
@@ -2537,10 +2403,10 @@ var folderExpiryOption = {
2537
2403
  docLink: "https://www.remotion.dev/docs/options/enable-folder-expiry",
2538
2404
  type: false,
2539
2405
  getValue: ({ commandLine }) => {
2540
- if (commandLine[cliFlag41] !== undefined) {
2406
+ if (commandLine[cliFlag38] !== undefined) {
2541
2407
  return {
2542
2408
  source: "cli",
2543
- value: commandLine[cliFlag41]
2409
+ value: commandLine[cliFlag38]
2544
2410
  };
2545
2411
  }
2546
2412
  if (enableFolderExpiry !== null) {
@@ -2557,29 +2423,29 @@ var folderExpiryOption = {
2557
2423
  setConfig: (value) => {
2558
2424
  enableFolderExpiry = value;
2559
2425
  },
2560
- id: cliFlag41
2426
+ id: cliFlag38
2561
2427
  };
2562
2428
 
2563
2429
  // src/options/for-seamless-aac-concatenation.tsx
2564
- import { jsx as jsx39, jsxs as jsxs28, Fragment as Fragment39 } from "react/jsx-runtime";
2430
+ import { jsx as jsx36, jsxs as jsxs27, Fragment as Fragment36 } from "react/jsx-runtime";
2565
2431
  var DEFAULT3 = false;
2566
2432
  var forSeamlessAacConcatenation = DEFAULT3;
2567
- var cliFlag42 = "for-seamless-aac-concatenation";
2433
+ var cliFlag39 = "for-seamless-aac-concatenation";
2568
2434
  var forSeamlessAacConcatenationOption = {
2569
2435
  name: "For seamless AAC concatenation",
2570
2436
  addedIn: "4.0.123",
2571
- cliFlag: cliFlag42,
2572
- description: () => /* @__PURE__ */ jsxs28(Fragment39, {
2437
+ cliFlag: cliFlag39,
2438
+ description: () => /* @__PURE__ */ jsxs27(Fragment36, {
2573
2439
  children: [
2574
2440
  "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.",
2575
- /* @__PURE__ */ jsx39("br", {}),
2576
- /* @__PURE__ */ jsx39("br", {}),
2441
+ /* @__PURE__ */ jsx36("br", {}),
2442
+ /* @__PURE__ */ jsx36("br", {}),
2577
2443
  " This option is used internally. There is currently no documentation yet for to concatenate the audio chunks."
2578
2444
  ]
2579
2445
  }),
2580
2446
  docLink: "https://www.remotion.dev/docs/options/for-seamless-aac-concatenation",
2581
2447
  getValue: ({ commandLine }) => {
2582
- if (commandLine[cliFlag42]) {
2448
+ if (commandLine[cliFlag39]) {
2583
2449
  return {
2584
2450
  source: "cli",
2585
2451
  value: true
@@ -2601,27 +2467,27 @@ var forSeamlessAacConcatenationOption = {
2601
2467
  },
2602
2468
  ssrName: "forSeamlessAacConcatenation",
2603
2469
  type: false,
2604
- id: cliFlag42
2470
+ id: cliFlag39
2605
2471
  };
2606
2472
 
2607
2473
  // src/options/force-new-studio.tsx
2608
- import { jsx as jsx40, Fragment as Fragment40 } from "react/jsx-runtime";
2474
+ import { jsx as jsx37, Fragment as Fragment37 } from "react/jsx-runtime";
2609
2475
  var forceNewEnabled = false;
2610
- var cliFlag43 = "force-new";
2476
+ var cliFlag40 = "force-new";
2611
2477
  var forceNewStudioOption = {
2612
2478
  name: "Force New Studio",
2613
2479
  addedIn: "4.0.421",
2614
- cliFlag: cliFlag43,
2615
- description: () => /* @__PURE__ */ jsx40(Fragment40, {
2480
+ cliFlag: cliFlag40,
2481
+ description: () => /* @__PURE__ */ jsx37(Fragment37, {
2616
2482
  children: "Forces starting a new Studio instance even if one is already running on the same port for the same project."
2617
2483
  }),
2618
2484
  ssrName: null,
2619
2485
  docLink: "https://www.remotion.dev/docs/options/force-new",
2620
2486
  type: false,
2621
2487
  getValue: ({ commandLine }) => {
2622
- if (commandLine[cliFlag43] !== undefined && commandLine[cliFlag43] !== null) {
2488
+ if (commandLine[cliFlag40] !== undefined && commandLine[cliFlag40] !== null) {
2623
2489
  return {
2624
- value: commandLine[cliFlag43],
2490
+ value: commandLine[cliFlag40],
2625
2491
  source: "cli"
2626
2492
  };
2627
2493
  }
@@ -2633,7 +2499,7 @@ var forceNewStudioOption = {
2633
2499
  setConfig(value) {
2634
2500
  forceNewEnabled = value;
2635
2501
  },
2636
- id: cliFlag43
2502
+ id: cliFlag40
2637
2503
  };
2638
2504
 
2639
2505
  // src/frame-range.ts
@@ -2752,8 +2618,8 @@ var validateSelectedFrames = ({
2752
2618
  };
2753
2619
 
2754
2620
  // src/options/frames.tsx
2755
- import { jsx as jsx41, jsxs as jsxs29, Fragment as Fragment41 } from "react/jsx-runtime";
2756
- var cliFlag44 = "frames";
2621
+ import { jsx as jsx38, jsxs as jsxs28, Fragment as Fragment38 } from "react/jsx-runtime";
2622
+ var cliFlag41 = "frames";
2757
2623
  var frameSelection = null;
2758
2624
  var parseFrameRangeFromCli = (newFrameRange) => {
2759
2625
  if (typeof newFrameRange === "number") {
@@ -2831,16 +2697,16 @@ var parseFrameRangeFromCli = (newFrameRange) => {
2831
2697
  var framesOption = {
2832
2698
  name: "Frame Range",
2833
2699
  addedIn: "2.0.0",
2834
- cliFlag: cliFlag44,
2835
- description: () => /* @__PURE__ */ jsxs29(Fragment41, {
2700
+ cliFlag: cliFlag41,
2701
+ description: () => /* @__PURE__ */ jsxs28(Fragment38, {
2836
2702
  children: [
2837
2703
  "Render a subset of a video. Pass a single number to render a still, or a range (e.g. ",
2838
- /* @__PURE__ */ jsx41("code", {
2704
+ /* @__PURE__ */ jsx38("code", {
2839
2705
  children: "0-9"
2840
2706
  }),
2841
2707
  ") to render a subset of frames. Pass",
2842
2708
  " ",
2843
- /* @__PURE__ */ jsx41("code", {
2709
+ /* @__PURE__ */ jsx38("code", {
2844
2710
  children: "100-"
2845
2711
  }),
2846
2712
  " to render from frame 100 to the end."
@@ -2850,8 +2716,8 @@ var framesOption = {
2850
2716
  docLink: "https://www.remotion.dev/docs/options/frames",
2851
2717
  type: null,
2852
2718
  getValue: ({ commandLine }) => {
2853
- if (commandLine[cliFlag44] !== undefined) {
2854
- const value = parseFrameRangeFromCli(commandLine[cliFlag44]);
2719
+ if (commandLine[cliFlag41] !== undefined) {
2720
+ const value = parseFrameRangeFromCli(commandLine[cliFlag41]);
2855
2721
  if (typeof value === "object" && !Array.isArray(value)) {
2856
2722
  validateSelectedFrames({
2857
2723
  frames: value.frames,
@@ -2878,12 +2744,12 @@ var framesOption = {
2878
2744
  }
2879
2745
  frameSelection = value;
2880
2746
  },
2881
- id: cliFlag44
2747
+ id: cliFlag41
2882
2748
  };
2883
2749
 
2884
2750
  // src/options/gl.tsx
2885
- import { NoReactInternals as NoReactInternals5 } from "remotion/no-react";
2886
- import { jsx as jsx42, jsxs as jsxs30, Fragment as Fragment42 } from "react/jsx-runtime";
2751
+ import { NoReactInternals as NoReactInternals4 } from "remotion/no-react";
2752
+ import { jsx as jsx39, jsxs as jsxs29, Fragment as Fragment39 } from "react/jsx-runtime";
2887
2753
  var validOpenGlRenderers = [
2888
2754
  "swangle",
2889
2755
  "angle",
@@ -2895,45 +2761,45 @@ var validOpenGlRenderers = [
2895
2761
  var getDefaultOpenGlRenderer = (enableV5BreakingChanges) => {
2896
2762
  return enableV5BreakingChanges ? "angle" : null;
2897
2763
  };
2898
- var DEFAULT_OPENGL_RENDERER = getDefaultOpenGlRenderer(NoReactInternals5.ENABLE_V5_BREAKING_CHANGES);
2764
+ var DEFAULT_OPENGL_RENDERER = getDefaultOpenGlRenderer(NoReactInternals4.ENABLE_V5_BREAKING_CHANGES);
2899
2765
  var openGlRenderer = DEFAULT_OPENGL_RENDERER;
2900
2766
  var AngleChangelog = () => {
2901
- return /* @__PURE__ */ jsxs30("details", {
2767
+ return /* @__PURE__ */ jsxs29("details", {
2902
2768
  style: { fontSize: "0.9em", marginBottom: "1em" },
2903
2769
  children: [
2904
- /* @__PURE__ */ jsx42("summary", {
2770
+ /* @__PURE__ */ jsx39("summary", {
2905
2771
  children: "Changelog"
2906
2772
  }),
2907
- /* @__PURE__ */ jsxs30("ul", {
2773
+ /* @__PURE__ */ jsxs29("ul", {
2908
2774
  children: [
2909
- /* @__PURE__ */ jsxs30("li", {
2775
+ /* @__PURE__ */ jsxs29("li", {
2910
2776
  children: [
2911
2777
  "From Remotion v2.6.7 until v3.0.7, the default for Remotion Lambda was",
2912
2778
  " ",
2913
- /* @__PURE__ */ jsx42("code", {
2779
+ /* @__PURE__ */ jsx39("code", {
2914
2780
  children: "swiftshader"
2915
2781
  }),
2916
2782
  ", but from v3.0.8 the default is",
2917
2783
  " ",
2918
- /* @__PURE__ */ jsx42("code", {
2784
+ /* @__PURE__ */ jsx39("code", {
2919
2785
  children: "swangle"
2920
2786
  }),
2921
2787
  " (Swiftshader on Angle) since Chrome 101 added support for it."
2922
2788
  ]
2923
2789
  }),
2924
- /* @__PURE__ */ jsxs30("li", {
2790
+ /* @__PURE__ */ jsxs29("li", {
2925
2791
  children: [
2926
2792
  "From Remotion v2.4.3 until v2.6.6, the default was ",
2927
- /* @__PURE__ */ jsx42("code", {
2793
+ /* @__PURE__ */ jsx39("code", {
2928
2794
  children: "angle"
2929
2795
  }),
2930
2796
  ", however it turns out to have a small memory leak that could crash long Remotion renders."
2931
2797
  ]
2932
2798
  }),
2933
- NoReactInternals5.ENABLE_V5_BREAKING_CHANGES ? /* @__PURE__ */ jsxs30("li", {
2799
+ NoReactInternals4.ENABLE_V5_BREAKING_CHANGES ? /* @__PURE__ */ jsxs29("li", {
2934
2800
  children: [
2935
2801
  "From Remotion v5.0, the default is ",
2936
- /* @__PURE__ */ jsx42("code", {
2802
+ /* @__PURE__ */ jsx39("code", {
2937
2803
  children: "angle"
2938
2804
  }),
2939
2805
  ". If no compatible GPU is available, Chromium automatically falls back to SwiftShader."
@@ -2944,66 +2810,66 @@ var AngleChangelog = () => {
2944
2810
  ]
2945
2811
  });
2946
2812
  };
2947
- var cliFlag45 = "gl";
2813
+ var cliFlag42 = "gl";
2948
2814
  var glOption = {
2949
- cliFlag: cliFlag45,
2815
+ cliFlag: cliFlag42,
2950
2816
  docLink: "https://www.remotion.dev/docs/options/gl",
2951
2817
  name: "OpenGL renderer",
2952
2818
  addedIn: "2.6.5",
2953
2819
  type: "angle",
2954
2820
  ssrName: "gl",
2955
2821
  description: () => {
2956
- return /* @__PURE__ */ jsxs30(Fragment42, {
2822
+ return /* @__PURE__ */ jsxs29(Fragment39, {
2957
2823
  children: [
2958
- /* @__PURE__ */ jsx42(AngleChangelog, {}),
2959
- /* @__PURE__ */ jsxs30("p", {
2824
+ /* @__PURE__ */ jsx39(AngleChangelog, {}),
2825
+ /* @__PURE__ */ jsxs29("p", {
2960
2826
  children: [
2961
2827
  "Select the OpenGL renderer backend for Chromium. ",
2962
- /* @__PURE__ */ jsx42("br", {}),
2828
+ /* @__PURE__ */ jsx39("br", {}),
2963
2829
  "Accepted values:"
2964
2830
  ]
2965
2831
  }),
2966
- /* @__PURE__ */ jsxs30("ul", {
2832
+ /* @__PURE__ */ jsxs29("ul", {
2967
2833
  children: [
2968
- /* @__PURE__ */ jsx42("li", {
2969
- children: /* @__PURE__ */ jsx42("code", {
2834
+ /* @__PURE__ */ jsx39("li", {
2835
+ children: /* @__PURE__ */ jsx39("code", {
2970
2836
  children: '"angle"'
2971
2837
  })
2972
2838
  }),
2973
- /* @__PURE__ */ jsx42("li", {
2974
- children: /* @__PURE__ */ jsx42("code", {
2839
+ /* @__PURE__ */ jsx39("li", {
2840
+ children: /* @__PURE__ */ jsx39("code", {
2975
2841
  children: '"egl"'
2976
2842
  })
2977
2843
  }),
2978
- /* @__PURE__ */ jsx42("li", {
2979
- children: /* @__PURE__ */ jsx42("code", {
2844
+ /* @__PURE__ */ jsx39("li", {
2845
+ children: /* @__PURE__ */ jsx39("code", {
2980
2846
  children: '"swiftshader"'
2981
2847
  })
2982
2848
  }),
2983
- /* @__PURE__ */ jsx42("li", {
2984
- children: /* @__PURE__ */ jsx42("code", {
2849
+ /* @__PURE__ */ jsx39("li", {
2850
+ children: /* @__PURE__ */ jsx39("code", {
2985
2851
  children: '"swangle"'
2986
2852
  })
2987
2853
  }),
2988
- /* @__PURE__ */ jsxs30("li", {
2854
+ /* @__PURE__ */ jsxs29("li", {
2989
2855
  children: [
2990
- /* @__PURE__ */ jsx42("code", {
2856
+ /* @__PURE__ */ jsx39("code", {
2991
2857
  children: '"vulkan"'
2992
2858
  }),
2993
2859
  " (",
2994
- /* @__PURE__ */ jsx42("em", {
2860
+ /* @__PURE__ */ jsx39("em", {
2995
2861
  children: "from Remotion v4.0.41"
2996
2862
  }),
2997
2863
  ")"
2998
2864
  ]
2999
2865
  }),
3000
- /* @__PURE__ */ jsxs30("li", {
2866
+ /* @__PURE__ */ jsxs29("li", {
3001
2867
  children: [
3002
- /* @__PURE__ */ jsx42("code", {
2868
+ /* @__PURE__ */ jsx39("code", {
3003
2869
  children: '"angle-egl"'
3004
2870
  }),
3005
2871
  " (",
3006
- /* @__PURE__ */ jsx42("em", {
2872
+ /* @__PURE__ */ jsx39("em", {
3007
2873
  children: "from Remotion v4.0.51"
3008
2874
  }),
3009
2875
  ")"
@@ -3011,16 +2877,16 @@ var glOption = {
3011
2877
  })
3012
2878
  ]
3013
2879
  }),
3014
- /* @__PURE__ */ jsxs30("p", {
2880
+ /* @__PURE__ */ jsxs29("p", {
3015
2881
  children: [
3016
2882
  "The default is",
3017
2883
  " ",
3018
- /* @__PURE__ */ jsx42("code", {
2884
+ /* @__PURE__ */ jsx39("code", {
3019
2885
  children: DEFAULT_OPENGL_RENDERER === null ? "null" : `"${DEFAULT_OPENGL_RENDERER}"`
3020
2886
  }),
3021
2887
  DEFAULT_OPENGL_RENDERER === null ? ", letting Chrome decide" : ", with automatic fallback to SwiftShader if no compatible GPU is available",
3022
2888
  ", except on Lambda where the default is ",
3023
- /* @__PURE__ */ jsx42("code", {
2889
+ /* @__PURE__ */ jsx39("code", {
3024
2890
  children: '"swangle"'
3025
2891
  })
3026
2892
  ]
@@ -3029,10 +2895,10 @@ var glOption = {
3029
2895
  });
3030
2896
  },
3031
2897
  getValue: ({ commandLine }) => {
3032
- if (commandLine[cliFlag45]) {
3033
- validateOpenGlRenderer(commandLine[cliFlag45]);
2898
+ if (commandLine[cliFlag42]) {
2899
+ validateOpenGlRenderer(commandLine[cliFlag42]);
3034
2900
  return {
3035
- value: commandLine[cliFlag45],
2901
+ value: commandLine[cliFlag42],
3036
2902
  source: "cli"
3037
2903
  };
3038
2904
  }
@@ -3051,7 +2917,7 @@ var glOption = {
3051
2917
  validateOpenGlRenderer(value);
3052
2918
  openGlRenderer = value;
3053
2919
  },
3054
- id: cliFlag45
2920
+ id: cliFlag42
3055
2921
  };
3056
2922
  var validateOpenGlRenderer = (option) => {
3057
2923
  if (option === null) {
@@ -3064,7 +2930,7 @@ var validateOpenGlRenderer = (option) => {
3064
2930
  };
3065
2931
 
3066
2932
  // src/options/gop-size.tsx
3067
- import { jsx as jsx43, jsxs as jsxs31, Fragment as Fragment43 } from "react/jsx-runtime";
2933
+ import { jsx as jsx40, jsxs as jsxs30, Fragment as Fragment40 } from "react/jsx-runtime";
3068
2934
  var gopSize = null;
3069
2935
  var validateGopSize = (value) => {
3070
2936
  if (value === null) {
@@ -3074,15 +2940,15 @@ var validateGopSize = (value) => {
3074
2940
  throw new TypeError("The GOP size must be an integer greater than 0 or null.");
3075
2941
  }
3076
2942
  };
3077
- var cliFlag46 = "gop";
2943
+ var cliFlag43 = "gop";
3078
2944
  var gopSizeOption = {
3079
2945
  name: "GOP size",
3080
2946
  addedIn: "4.0.466",
3081
- cliFlag: cliFlag46,
3082
- description: () => /* @__PURE__ */ jsxs31(Fragment43, {
2947
+ cliFlag: cliFlag43,
2948
+ description: () => /* @__PURE__ */ jsxs30(Fragment40, {
3083
2949
  children: [
3084
2950
  "Set the maximum number of frames between two keyframes. This maps to FFmpeg's ",
3085
- /* @__PURE__ */ jsx43("code", {
2951
+ /* @__PURE__ */ jsx40("code", {
3086
2952
  children: "-g"
3087
2953
  }),
3088
2954
  " option. Default: Let the encoder decide."
@@ -3092,7 +2958,7 @@ var gopSizeOption = {
3092
2958
  docLink: "https://www.remotion.dev/docs/options/gop",
3093
2959
  type: null,
3094
2960
  getValue: ({ commandLine }) => {
3095
- const value = commandLine[cliFlag46];
2961
+ const value = commandLine[cliFlag43];
3096
2962
  if (value !== undefined) {
3097
2963
  validateGopSize(value);
3098
2964
  return { value, source: "cli" };
@@ -3103,7 +2969,7 @@ var gopSizeOption = {
3103
2969
  validateGopSize(value);
3104
2970
  gopSize = value;
3105
2971
  },
3106
- id: cliFlag46
2972
+ id: cliFlag43
3107
2973
  };
3108
2974
 
3109
2975
  // src/options/hardware-acceleration.tsx
@@ -3112,12 +2978,12 @@ var hardwareAccelerationOptions = [
3112
2978
  "if-possible",
3113
2979
  "required"
3114
2980
  ];
3115
- var cliFlag47 = "hardware-acceleration";
2981
+ var cliFlag44 = "hardware-acceleration";
3116
2982
  var currentValue = null;
3117
2983
  var hardwareAccelerationOption = {
3118
2984
  name: "Hardware Acceleration",
3119
2985
  addedIn: "4.0.228",
3120
- cliFlag: cliFlag47,
2986
+ cliFlag: cliFlag44,
3121
2987
  description: () => `
3122
2988
  One of
3123
2989
  ${new Intl.ListFormat("en", { type: "disjunction" }).format(hardwareAccelerationOptions.map((a) => JSON.stringify(a)))}
@@ -3129,10 +2995,10 @@ var hardwareAccelerationOption = {
3129
2995
  docLink: "https://www.remotion.dev/docs/options/hardware-acceleration",
3130
2996
  type: "disable",
3131
2997
  getValue: ({ commandLine }) => {
3132
- if (commandLine[cliFlag47] !== undefined) {
3133
- const value = commandLine[cliFlag47];
2998
+ if (commandLine[cliFlag44] !== undefined) {
2999
+ const value = commandLine[cliFlag44];
3134
3000
  if (!hardwareAccelerationOptions.includes(value)) {
3135
- throw new Error(`Invalid value for --${cliFlag47}: ${value}`);
3001
+ throw new Error(`Invalid value for --${cliFlag44}: ${value}`);
3136
3002
  }
3137
3003
  return {
3138
3004
  source: "cli",
@@ -3152,27 +3018,27 @@ var hardwareAccelerationOption = {
3152
3018
  },
3153
3019
  setConfig: (value) => {
3154
3020
  if (!hardwareAccelerationOptions.includes(value)) {
3155
- throw new Error(`Invalid value for --${cliFlag47}: ${value}`);
3021
+ throw new Error(`Invalid value for --${cliFlag44}: ${value}`);
3156
3022
  }
3157
3023
  currentValue = value;
3158
3024
  },
3159
- id: cliFlag47
3025
+ id: cliFlag44
3160
3026
  };
3161
3027
 
3162
3028
  // src/options/headless.tsx
3163
- import { jsx as jsx44, jsxs as jsxs32, Fragment as Fragment44 } from "react/jsx-runtime";
3029
+ import { jsx as jsx41, jsxs as jsxs31, Fragment as Fragment41 } from "react/jsx-runtime";
3164
3030
  var DEFAULT4 = true;
3165
3031
  var headlessMode = DEFAULT4;
3166
- var cliFlag48 = "disable-headless";
3032
+ var cliFlag45 = "disable-headless";
3167
3033
  var headlessOption = {
3168
3034
  name: "Disable Headless Mode",
3169
3035
  addedIn: "2.6.5",
3170
- cliFlag: cliFlag48,
3171
- description: () => /* @__PURE__ */ jsxs32(Fragment44, {
3036
+ cliFlag: cliFlag45,
3037
+ description: () => /* @__PURE__ */ jsxs31(Fragment41, {
3172
3038
  children: [
3173
3039
  "If disabled, the render will open an actual Chrome window where you can see the render happen. This requires",
3174
3040
  " ",
3175
- /* @__PURE__ */ jsx44("a", {
3041
+ /* @__PURE__ */ jsx41("a", {
3176
3042
  href: "/docs/miscellaneous/chrome-headless-shell",
3177
3043
  children: "Chrome for Testing"
3178
3044
  }),
@@ -3184,10 +3050,10 @@ var headlessOption = {
3184
3050
  docLink: "https://www.remotion.dev/docs/options/disable-headless",
3185
3051
  type: false,
3186
3052
  getValue: ({ commandLine }) => {
3187
- if (commandLine[cliFlag48] !== undefined && commandLine[cliFlag48] !== null) {
3053
+ if (commandLine[cliFlag45] !== undefined && commandLine[cliFlag45] !== null) {
3188
3054
  return {
3189
3055
  source: "cli",
3190
- value: !commandLine[cliFlag48]
3056
+ value: !commandLine[cliFlag45]
3191
3057
  };
3192
3058
  }
3193
3059
  if (headlessMode !== DEFAULT4) {
@@ -3204,28 +3070,28 @@ var headlessOption = {
3204
3070
  setConfig: (value) => {
3205
3071
  headlessMode = value;
3206
3072
  },
3207
- id: cliFlag48
3073
+ id: cliFlag45
3208
3074
  };
3209
3075
 
3210
3076
  // src/options/ignore-certificate-errors.tsx
3211
- import { jsx as jsx45, Fragment as Fragment45 } from "react/jsx-runtime";
3077
+ import { jsx as jsx42, Fragment as Fragment42 } from "react/jsx-runtime";
3212
3078
  var ignoreCertificateErrors = false;
3213
- var cliFlag49 = "ignore-certificate-errors";
3079
+ var cliFlag46 = "ignore-certificate-errors";
3214
3080
  var ignoreCertificateErrorsOption = {
3215
3081
  name: "Ignore certificate errors",
3216
3082
  addedIn: "2.6.5",
3217
- cliFlag: cliFlag49,
3218
- description: () => /* @__PURE__ */ jsx45(Fragment45, {
3083
+ cliFlag: cliFlag46,
3084
+ description: () => /* @__PURE__ */ jsx42(Fragment42, {
3219
3085
  children: "Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored."
3220
3086
  }),
3221
3087
  ssrName: "ignoreCertificateErrors",
3222
3088
  docLink: "https://www.remotion.dev/docs/options/ignore-certificate-errors",
3223
3089
  type: false,
3224
3090
  getValue: ({ commandLine }) => {
3225
- if (commandLine[cliFlag49] !== undefined && commandLine[cliFlag49] !== null) {
3091
+ if (commandLine[cliFlag46] !== undefined && commandLine[cliFlag46] !== null) {
3226
3092
  return {
3227
3093
  source: "cli",
3228
- value: Boolean(commandLine[cliFlag49])
3094
+ value: Boolean(commandLine[cliFlag46])
3229
3095
  };
3230
3096
  }
3231
3097
  if (ignoreCertificateErrors) {
@@ -3242,24 +3108,24 @@ var ignoreCertificateErrorsOption = {
3242
3108
  setConfig: (value) => {
3243
3109
  ignoreCertificateErrors = value;
3244
3110
  },
3245
- id: cliFlag49
3111
+ id: cliFlag46
3246
3112
  };
3247
3113
 
3248
3114
  // src/options/image-sequence.tsx
3249
- import { jsx as jsx46, jsxs as jsxs33, Fragment as Fragment46 } from "react/jsx-runtime";
3250
- var cliFlag50 = "sequence";
3115
+ import { jsx as jsx43, jsxs as jsxs32, Fragment as Fragment43 } from "react/jsx-runtime";
3116
+ var cliFlag47 = "sequence";
3251
3117
  var imageSequence = false;
3252
3118
  var imageSequenceOption = {
3253
3119
  name: "Image Sequence",
3254
3120
  addedIn: "1.4.0",
3255
- cliFlag: cliFlag50,
3256
- description: () => /* @__PURE__ */ jsxs33(Fragment46, {
3121
+ cliFlag: cliFlag47,
3122
+ description: () => /* @__PURE__ */ jsxs32(Fragment43, {
3257
3123
  children: [
3258
3124
  "Pass this flag to output an image sequence instead of a video. The default image format is JPEG. See",
3259
3125
  " ",
3260
- /* @__PURE__ */ jsx46("a", {
3126
+ /* @__PURE__ */ jsx43("a", {
3261
3127
  href: "/docs/config#setimagesequence",
3262
- children: /* @__PURE__ */ jsx46("code", {
3128
+ children: /* @__PURE__ */ jsx43("code", {
3263
3129
  children: "setImageSequence()"
3264
3130
  })
3265
3131
  }),
@@ -3270,10 +3136,10 @@ var imageSequenceOption = {
3270
3136
  ssrName: null,
3271
3137
  docLink: "https://www.remotion.dev/docs/options/sequence",
3272
3138
  getValue: ({ commandLine }) => {
3273
- if (commandLine[cliFlag50] !== undefined && commandLine[cliFlag50] !== null) {
3139
+ if (commandLine[cliFlag47] !== undefined && commandLine[cliFlag47] !== null) {
3274
3140
  return {
3275
3141
  source: "cli",
3276
- value: Boolean(commandLine[cliFlag50])
3142
+ value: Boolean(commandLine[cliFlag47])
3277
3143
  };
3278
3144
  }
3279
3145
  return {
@@ -3285,26 +3151,26 @@ var imageSequenceOption = {
3285
3151
  imageSequence = value;
3286
3152
  },
3287
3153
  type: false,
3288
- id: cliFlag50
3154
+ id: cliFlag47
3289
3155
  };
3290
3156
 
3291
3157
  // src/options/image-sequence-pattern.tsx
3292
- import { jsx as jsx47, jsxs as jsxs34, Fragment as Fragment47 } from "react/jsx-runtime";
3293
- var cliFlag51 = "image-sequence-pattern";
3158
+ import { jsx as jsx44, jsxs as jsxs33, Fragment as Fragment44 } from "react/jsx-runtime";
3159
+ var cliFlag48 = "image-sequence-pattern";
3294
3160
  var currentImageSequencePattern = null;
3295
3161
  var imageSequencePatternOption = {
3296
3162
  name: "Image Sequence Pattern",
3297
3163
  addedIn: "4.0.313",
3298
- cliFlag: cliFlag51,
3164
+ cliFlag: cliFlag48,
3299
3165
  ssrName: "imageSequencePattern",
3300
- description: () => /* @__PURE__ */ jsxs34(Fragment47, {
3166
+ description: () => /* @__PURE__ */ jsxs33(Fragment44, {
3301
3167
  children: [
3302
3168
  "Pattern for naming image sequence files. Supports ",
3303
- /* @__PURE__ */ jsx47("code", {
3169
+ /* @__PURE__ */ jsx44("code", {
3304
3170
  children: "[frame]"
3305
3171
  }),
3306
3172
  " for the zero-padded frame number and ",
3307
- /* @__PURE__ */ jsx47("code", {
3173
+ /* @__PURE__ */ jsx44("code", {
3308
3174
  children: "[ext]"
3309
3175
  }),
3310
3176
  " for the file extension."
@@ -3313,9 +3179,9 @@ var imageSequencePatternOption = {
3313
3179
  docLink: "https://www.remotion.dev/docs/options/image-sequence-pattern",
3314
3180
  type: "string",
3315
3181
  getValue: ({ commandLine }) => {
3316
- if (commandLine[cliFlag51] !== undefined) {
3182
+ if (commandLine[cliFlag48] !== undefined) {
3317
3183
  return {
3318
- value: commandLine[cliFlag51],
3184
+ value: commandLine[cliFlag48],
3319
3185
  source: "cli"
3320
3186
  };
3321
3187
  }
@@ -3336,27 +3202,27 @@ var imageSequencePatternOption = {
3336
3202
  reset: () => {
3337
3203
  currentImageSequencePattern = null;
3338
3204
  },
3339
- id: cliFlag51
3205
+ id: cliFlag48
3340
3206
  };
3341
3207
 
3342
3208
  // src/options/interactivity.tsx
3343
- import { jsx as jsx48, Fragment as Fragment48 } from "react/jsx-runtime";
3209
+ import { jsx as jsx45, Fragment as Fragment45 } from "react/jsx-runtime";
3344
3210
  var interactivityEnabled = true;
3345
3211
  var configuredInteractivityEnabled = null;
3346
- var cliFlag52 = "disable-interactivity";
3212
+ var cliFlag49 = "disable-interactivity";
3347
3213
  var interactivityOption = {
3348
3214
  name: "Disable or enable Studio interactivity",
3349
3215
  addedIn: "4.0.487",
3350
- cliFlag: cliFlag52,
3351
- description: () => /* @__PURE__ */ jsx48(Fragment48, {
3216
+ cliFlag: cliFlag49,
3217
+ description: () => /* @__PURE__ */ jsx45(Fragment45, {
3352
3218
  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."
3353
3219
  }),
3354
3220
  ssrName: null,
3355
3221
  docLink: "https://www.remotion.dev/docs/options/disable-interactivity",
3356
3222
  type: false,
3357
3223
  getValue: ({ commandLine }) => {
3358
- if (commandLine[cliFlag52] !== undefined && commandLine[cliFlag52] !== null) {
3359
- interactivityEnabled = commandLine[cliFlag52] === false;
3224
+ if (commandLine[cliFlag49] !== undefined && commandLine[cliFlag49] !== null) {
3225
+ interactivityEnabled = commandLine[cliFlag49] === false;
3360
3226
  return {
3361
3227
  value: interactivityEnabled,
3362
3228
  source: "cli"
@@ -3376,27 +3242,27 @@ var interactivityOption = {
3376
3242
  interactivityEnabled = true;
3377
3243
  configuredInteractivityEnabled = null;
3378
3244
  },
3379
- id: cliFlag52
3245
+ id: cliFlag49
3380
3246
  };
3381
3247
 
3382
3248
  // src/options/ipv4.tsx
3383
- import { jsx as jsx49, Fragment as Fragment49 } from "react/jsx-runtime";
3249
+ import { jsx as jsx46, Fragment as Fragment46 } from "react/jsx-runtime";
3384
3250
  var forceIPv4 = false;
3385
- var cliFlag53 = "ipv4";
3251
+ var cliFlag50 = "ipv4";
3386
3252
  var ipv4Option = {
3387
3253
  name: "IPv4",
3388
3254
  addedIn: "4.0.125",
3389
- cliFlag: cliFlag53,
3390
- description: () => /* @__PURE__ */ jsx49(Fragment49, {
3255
+ cliFlag: cliFlag50,
3256
+ description: () => /* @__PURE__ */ jsx46(Fragment46, {
3391
3257
  children: "Forces Remotion to bind to an IPv4 interface for the Studio server."
3392
3258
  }),
3393
3259
  ssrName: null,
3394
3260
  docLink: "https://www.remotion.dev/docs/options/ipv4",
3395
3261
  type: false,
3396
3262
  getValue: ({ commandLine }) => {
3397
- if (commandLine[cliFlag53] !== undefined && commandLine[cliFlag53] !== null) {
3263
+ if (commandLine[cliFlag50] !== undefined && commandLine[cliFlag50] !== null) {
3398
3264
  return {
3399
- value: commandLine[cliFlag53],
3265
+ value: commandLine[cliFlag50],
3400
3266
  source: "cli"
3401
3267
  };
3402
3268
  }
@@ -3408,26 +3274,26 @@ var ipv4Option = {
3408
3274
  setConfig(value) {
3409
3275
  forceIPv4 = value;
3410
3276
  },
3411
- id: cliFlag53
3277
+ id: cliFlag50
3412
3278
  };
3413
3279
 
3414
3280
  // src/options/is-production.tsx
3415
- import { jsx as jsx50, jsxs as jsxs35, Fragment as Fragment50 } from "react/jsx-runtime";
3416
- var cliFlag54 = "is-production";
3281
+ import { jsx as jsx47, jsxs as jsxs34, Fragment as Fragment47 } from "react/jsx-runtime";
3282
+ var cliFlag51 = "is-production";
3417
3283
  var currentIsProductionKey = null;
3418
3284
  var isProductionOption = {
3419
3285
  name: "Is Production",
3420
3286
  addedIn: "4.0.409",
3421
- cliFlag: cliFlag54,
3422
- description: () => /* @__PURE__ */ jsxs35(Fragment50, {
3287
+ cliFlag: cliFlag51,
3288
+ description: () => /* @__PURE__ */ jsxs34(Fragment47, {
3423
3289
  children: [
3424
3290
  "Pass ",
3425
- /* @__PURE__ */ jsx50("code", {
3291
+ /* @__PURE__ */ jsx47("code", {
3426
3292
  children: "false"
3427
3293
  }),
3428
3294
  " if this a development render to not count it as a billable render on remotion.pro. Only can be used in conjuction with",
3429
3295
  " ",
3430
- /* @__PURE__ */ jsx50("code", {
3296
+ /* @__PURE__ */ jsx47("code", {
3431
3297
  children: "licenseKey"
3432
3298
  }),
3433
3299
  "."
@@ -3436,10 +3302,10 @@ var isProductionOption = {
3436
3302
  ssrName: "isProduction",
3437
3303
  docLink: "https://www.remotion.dev/docs/options/is-production",
3438
3304
  getValue: ({ commandLine }) => {
3439
- if (commandLine[cliFlag54] !== undefined && commandLine[cliFlag54] !== null) {
3305
+ if (commandLine[cliFlag51] !== undefined && commandLine[cliFlag51] !== null) {
3440
3306
  return {
3441
3307
  source: "cli",
3442
- value: commandLine[cliFlag54]
3308
+ value: commandLine[cliFlag51]
3443
3309
  };
3444
3310
  }
3445
3311
  if (currentIsProductionKey !== null) {
@@ -3457,11 +3323,11 @@ var isProductionOption = {
3457
3323
  currentIsProductionKey = value;
3458
3324
  },
3459
3325
  type: false,
3460
- id: cliFlag54
3326
+ id: cliFlag51
3461
3327
  };
3462
3328
 
3463
3329
  // src/options/jpeg-quality.tsx
3464
- import { jsx as jsx51, jsxs as jsxs36, Fragment as Fragment51 } from "react/jsx-runtime";
3330
+ import { jsx as jsx48, jsxs as jsxs35, Fragment as Fragment48 } from "react/jsx-runtime";
3465
3331
  var defaultValue = DEFAULT_JPEG_QUALITY;
3466
3332
  var quality = defaultValue;
3467
3333
  var setJpegQuality = (q) => {
@@ -3472,18 +3338,18 @@ var setJpegQuality = (q) => {
3472
3338
  }
3473
3339
  quality = q;
3474
3340
  };
3475
- var cliFlag55 = "jpeg-quality";
3341
+ var cliFlag52 = "jpeg-quality";
3476
3342
  var jpegQualityOption = {
3477
3343
  name: "JPEG Quality",
3478
3344
  addedIn: "4.0.0",
3479
- cliFlag: cliFlag55,
3480
- description: () => /* @__PURE__ */ jsxs36(Fragment51, {
3345
+ cliFlag: cliFlag52,
3346
+ description: () => /* @__PURE__ */ jsxs35(Fragment48, {
3481
3347
  children: [
3482
3348
  "Sets the quality of the generated JPEG images. Must be an integer between 0 and 100. Default: 80.",
3483
- /* @__PURE__ */ jsx51("br", {}),
3349
+ /* @__PURE__ */ jsx48("br", {}),
3484
3350
  "This option has no effect when",
3485
3351
  " ",
3486
- /* @__PURE__ */ jsx51("a", {
3352
+ /* @__PURE__ */ jsx48("a", {
3487
3353
  href: "/docs/shared-memory-capture",
3488
3354
  children: "shared-memory capture"
3489
3355
  }),
@@ -3495,11 +3361,11 @@ var jpegQualityOption = {
3495
3361
  type: 0,
3496
3362
  setConfig: setJpegQuality,
3497
3363
  getValue: ({ commandLine }) => {
3498
- if (commandLine[cliFlag55] !== undefined) {
3499
- validateJpegQuality(commandLine[cliFlag55]);
3364
+ if (commandLine[cliFlag52] !== undefined) {
3365
+ validateJpegQuality(commandLine[cliFlag52]);
3500
3366
  return {
3501
3367
  source: "cli",
3502
- value: commandLine[cliFlag55]
3368
+ value: commandLine[cliFlag52]
3503
3369
  };
3504
3370
  }
3505
3371
  if (quality !== defaultValue) {
@@ -3513,27 +3379,27 @@ var jpegQualityOption = {
3513
3379
  value: defaultValue
3514
3380
  };
3515
3381
  },
3516
- id: cliFlag55
3382
+ id: cliFlag52
3517
3383
  };
3518
3384
 
3519
3385
  // src/options/keyboard-shortcuts.tsx
3520
- import { jsx as jsx52, Fragment as Fragment52 } from "react/jsx-runtime";
3386
+ import { jsx as jsx49, Fragment as Fragment49 } from "react/jsx-runtime";
3521
3387
  var keyboardShortcutsEnabled = true;
3522
3388
  var configuredKeyboardShortcutsEnabled = null;
3523
- var cliFlag56 = "disable-keyboard-shortcuts";
3389
+ var cliFlag53 = "disable-keyboard-shortcuts";
3524
3390
  var keyboardShortcutsOption = {
3525
3391
  name: "Disable or Enable keyboard shortcuts",
3526
3392
  addedIn: "3.2.11",
3527
- cliFlag: cliFlag56,
3528
- description: () => /* @__PURE__ */ jsx52(Fragment52, {
3393
+ cliFlag: cliFlag53,
3394
+ description: () => /* @__PURE__ */ jsx49(Fragment49, {
3529
3395
  children: "Enable or disable keyboard shortcuts in the Remotion Studio."
3530
3396
  }),
3531
3397
  ssrName: null,
3532
3398
  docLink: "https://www.remotion.dev/docs/options/disable-keyboard-shortcuts",
3533
3399
  type: false,
3534
3400
  getValue: ({ commandLine }) => {
3535
- if (commandLine[cliFlag56] !== undefined && commandLine[cliFlag56] !== null) {
3536
- keyboardShortcutsEnabled = commandLine[cliFlag56] === false;
3401
+ if (commandLine[cliFlag53] !== undefined && commandLine[cliFlag53] !== null) {
3402
+ keyboardShortcutsEnabled = commandLine[cliFlag53] === false;
3537
3403
  return {
3538
3404
  value: keyboardShortcutsEnabled,
3539
3405
  source: "cli"
@@ -3553,43 +3419,43 @@ var keyboardShortcutsOption = {
3553
3419
  keyboardShortcutsEnabled = true;
3554
3420
  configuredKeyboardShortcutsEnabled = null;
3555
3421
  },
3556
- id: cliFlag56
3422
+ id: cliFlag53
3557
3423
  };
3558
3424
 
3559
3425
  // src/options/latency-hint.tsx
3560
- import { jsx as jsx53, jsxs as jsxs37, Fragment as Fragment53 } from "react/jsx-runtime";
3561
- var cliFlag57 = "audio-latency-hint";
3426
+ import { jsx as jsx50, jsxs as jsxs36, Fragment as Fragment50 } from "react/jsx-runtime";
3427
+ var cliFlag54 = "audio-latency-hint";
3562
3428
  var value = null;
3563
3429
  var audioLatencyHintOption = {
3564
3430
  name: "Audio Latency Hint",
3565
3431
  addedIn: "4.0.303",
3566
- cliFlag: cliFlag57,
3567
- description: () => /* @__PURE__ */ jsxs37(Fragment53, {
3432
+ cliFlag: cliFlag54,
3433
+ description: () => /* @__PURE__ */ jsxs36(Fragment50, {
3568
3434
  children: [
3569
3435
  "Sets the",
3570
3436
  " ",
3571
- /* @__PURE__ */ jsx53("a", {
3437
+ /* @__PURE__ */ jsx50("a", {
3572
3438
  href: "https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext",
3573
3439
  children: "audio latency"
3574
3440
  }),
3575
3441
  " ",
3576
3442
  "hint for the global ",
3577
- /* @__PURE__ */ jsx53("code", {
3443
+ /* @__PURE__ */ jsx50("code", {
3578
3444
  children: "AudioContext"
3579
3445
  }),
3580
3446
  " context that Remotion uses to play audio.",
3581
- /* @__PURE__ */ jsx53("br", {}),
3447
+ /* @__PURE__ */ jsx50("br", {}),
3582
3448
  "Possible values: ",
3583
- /* @__PURE__ */ jsx53("code", {
3449
+ /* @__PURE__ */ jsx50("code", {
3584
3450
  children: "interactive"
3585
3451
  }),
3586
3452
  ", ",
3587
- /* @__PURE__ */ jsx53("code", {
3453
+ /* @__PURE__ */ jsx50("code", {
3588
3454
  children: "balanced"
3589
3455
  }),
3590
3456
  ",",
3591
3457
  " ",
3592
- /* @__PURE__ */ jsx53("code", {
3458
+ /* @__PURE__ */ jsx50("code", {
3593
3459
  children: "playback"
3594
3460
  })
3595
3461
  ]
@@ -3598,7 +3464,7 @@ var audioLatencyHintOption = {
3598
3464
  docLink: "https://www.remotion.dev/docs/options/audio-latency-hint",
3599
3465
  type: "playback",
3600
3466
  getValue: ({ commandLine }) => {
3601
- const val = commandLine[cliFlag57];
3467
+ const val = commandLine[cliFlag54];
3602
3468
  if (typeof val !== "undefined") {
3603
3469
  return { value: val, source: "cli" };
3604
3470
  }
@@ -3614,22 +3480,22 @@ var audioLatencyHintOption = {
3614
3480
  reset: () => {
3615
3481
  value = null;
3616
3482
  },
3617
- id: cliFlag57
3483
+ id: cliFlag54
3618
3484
  };
3619
3485
 
3620
3486
  // src/options/license-key.tsx
3621
- import { jsx as jsx54, jsxs as jsxs38, Fragment as Fragment54 } from "react/jsx-runtime";
3487
+ import { jsx as jsx51, jsxs as jsxs37, Fragment as Fragment51 } from "react/jsx-runtime";
3622
3488
  var currentLicenseKey = null;
3623
- var cliFlag58 = "license-key";
3489
+ var cliFlag55 = "license-key";
3624
3490
  var licenseKeyOption = {
3625
3491
  name: "License key",
3626
3492
  addedIn: "4.0.409",
3627
- cliFlag: cliFlag58,
3628
- description: () => /* @__PURE__ */ jsxs38(Fragment54, {
3493
+ cliFlag: cliFlag55,
3494
+ description: () => /* @__PURE__ */ jsxs37(Fragment51, {
3629
3495
  children: [
3630
3496
  "License key for sending a usage event using",
3631
3497
  " ",
3632
- /* @__PURE__ */ jsx54("code", {
3498
+ /* @__PURE__ */ jsx51("code", {
3633
3499
  children: "@remotion/licensing"
3634
3500
  }),
3635
3501
  "."
@@ -3639,10 +3505,10 @@ var licenseKeyOption = {
3639
3505
  docLink: "https://www.remotion.dev/docs/options/license-key",
3640
3506
  type: null,
3641
3507
  getValue: ({ commandLine }) => {
3642
- if (commandLine[cliFlag58] !== undefined) {
3508
+ if (commandLine[cliFlag55] !== undefined) {
3643
3509
  return {
3644
3510
  source: "cli",
3645
- value: commandLine[cliFlag58]
3511
+ value: commandLine[cliFlag55]
3646
3512
  };
3647
3513
  }
3648
3514
  return {
@@ -3653,49 +3519,49 @@ var licenseKeyOption = {
3653
3519
  setConfig: (value) => {
3654
3520
  currentLicenseKey = value;
3655
3521
  },
3656
- id: cliFlag58
3522
+ id: cliFlag55
3657
3523
  };
3658
3524
 
3659
3525
  // src/options/log-level.tsx
3660
- import { jsx as jsx55, jsxs as jsxs39, Fragment as Fragment55 } from "react/jsx-runtime";
3526
+ import { jsx as jsx52, jsxs as jsxs38, Fragment as Fragment52 } from "react/jsx-runtime";
3661
3527
  var logLevel = "info";
3662
3528
  var configuredLogLevel = null;
3663
- var cliFlag59 = "log";
3529
+ var cliFlag56 = "log";
3664
3530
  var logLevelOption = {
3665
- cliFlag: cliFlag59,
3531
+ cliFlag: cliFlag56,
3666
3532
  name: "Log Level",
3667
3533
  addedIn: "2.0.1",
3668
3534
  ssrName: "logLevel",
3669
- description: () => /* @__PURE__ */ jsxs39(Fragment55, {
3535
+ description: () => /* @__PURE__ */ jsxs38(Fragment52, {
3670
3536
  children: [
3671
3537
  "One of ",
3672
- /* @__PURE__ */ jsx55("code", {
3538
+ /* @__PURE__ */ jsx52("code", {
3673
3539
  children: "trace"
3674
3540
  }),
3675
3541
  ", ",
3676
- /* @__PURE__ */ jsx55("code", {
3542
+ /* @__PURE__ */ jsx52("code", {
3677
3543
  children: "verbose"
3678
3544
  }),
3679
3545
  ", ",
3680
- /* @__PURE__ */ jsx55("code", {
3546
+ /* @__PURE__ */ jsx52("code", {
3681
3547
  children: "info"
3682
3548
  }),
3683
3549
  ",",
3684
3550
  " ",
3685
- /* @__PURE__ */ jsx55("code", {
3551
+ /* @__PURE__ */ jsx52("code", {
3686
3552
  children: "warn"
3687
3553
  }),
3688
3554
  ", ",
3689
- /* @__PURE__ */ jsx55("code", {
3555
+ /* @__PURE__ */ jsx52("code", {
3690
3556
  children: "error"
3691
3557
  }),
3692
3558
  ".",
3693
- /* @__PURE__ */ jsx55("br", {}),
3559
+ /* @__PURE__ */ jsx52("br", {}),
3694
3560
  " Determines how much info is being logged to the console.",
3695
- /* @__PURE__ */ jsx55("br", {}),
3696
- /* @__PURE__ */ jsx55("br", {}),
3561
+ /* @__PURE__ */ jsx52("br", {}),
3562
+ /* @__PURE__ */ jsx52("br", {}),
3697
3563
  " Default ",
3698
- /* @__PURE__ */ jsx55("code", {
3564
+ /* @__PURE__ */ jsx52("code", {
3699
3565
  children: "info"
3700
3566
  }),
3701
3567
  "."
@@ -3703,11 +3569,11 @@ var logLevelOption = {
3703
3569
  }),
3704
3570
  docLink: "https://www.remotion.dev/docs/options/log",
3705
3571
  getValue: ({ commandLine }) => {
3706
- if (commandLine[cliFlag59]) {
3707
- if (!isValidLogLevel(commandLine[cliFlag59])) {
3572
+ if (commandLine[cliFlag56]) {
3573
+ if (!isValidLogLevel(commandLine[cliFlag56])) {
3708
3574
  throw new Error(`Invalid \`--log\` value passed. Accepted values: ${logLevels.map((l) => `'${l}'`).join(", ")}.`);
3709
3575
  }
3710
- return { value: commandLine[cliFlag59], source: "cli" };
3576
+ return { value: commandLine[cliFlag56], source: "cli" };
3711
3577
  }
3712
3578
  if (logLevel !== "info") {
3713
3579
  return { value: logLevel, source: "config" };
@@ -3724,24 +3590,24 @@ var logLevelOption = {
3724
3590
  configuredLogLevel = null;
3725
3591
  },
3726
3592
  type: "error",
3727
- id: cliFlag59
3593
+ id: cliFlag56
3728
3594
  };
3729
3595
 
3730
3596
  // src/options/metadata.tsx
3731
- import { jsx as jsx56, jsxs as jsxs40, Fragment as Fragment56 } from "react/jsx-runtime";
3597
+ import { jsx as jsx53, jsxs as jsxs39, Fragment as Fragment53 } from "react/jsx-runtime";
3732
3598
  var metadata = {};
3733
- var cliFlag60 = "metadata";
3599
+ var cliFlag57 = "metadata";
3734
3600
  var metadataOption = {
3735
3601
  name: "Metadata",
3736
3602
  addedIn: "4.0.216",
3737
- cliFlag: cliFlag60,
3603
+ cliFlag: cliFlag57,
3738
3604
  description: (mode) => {
3739
3605
  if (mode === "ssr") {
3740
- return /* @__PURE__ */ jsxs40(Fragment56, {
3606
+ return /* @__PURE__ */ jsxs39(Fragment53, {
3741
3607
  children: [
3742
3608
  "An object containing metadata to be embedded in the video. See",
3743
3609
  " ",
3744
- /* @__PURE__ */ jsx56("a", {
3610
+ /* @__PURE__ */ jsx53("a", {
3745
3611
  href: "/docs/metadata",
3746
3612
  children: "here"
3747
3613
  }),
@@ -3749,18 +3615,18 @@ var metadataOption = {
3749
3615
  ]
3750
3616
  });
3751
3617
  }
3752
- return /* @__PURE__ */ jsxs40(Fragment56, {
3618
+ return /* @__PURE__ */ jsxs39(Fragment53, {
3753
3619
  children: [
3754
3620
  "Metadata to be embedded in the video. See",
3755
3621
  " ",
3756
- /* @__PURE__ */ jsx56("a", {
3622
+ /* @__PURE__ */ jsx53("a", {
3757
3623
  href: "/docs/metadata",
3758
3624
  children: "here"
3759
3625
  }),
3760
3626
  " for which metadata is accepted.",
3761
- /* @__PURE__ */ jsx56("br", {}),
3627
+ /* @__PURE__ */ jsx53("br", {}),
3762
3628
  "The parameter must be in the format of ",
3763
- /* @__PURE__ */ jsx56("code", {
3629
+ /* @__PURE__ */ jsx53("code", {
3764
3630
  children: "--metadata key=value"
3765
3631
  }),
3766
3632
  " ",
@@ -3771,8 +3637,8 @@ var metadataOption = {
3771
3637
  docLink: "https://www.remotion.dev/docs/options/metadata",
3772
3638
  type: {},
3773
3639
  getValue: ({ commandLine }) => {
3774
- if (commandLine[cliFlag60] !== undefined) {
3775
- const val = commandLine[cliFlag60];
3640
+ if (commandLine[cliFlag57] !== undefined) {
3641
+ const val = commandLine[cliFlag57];
3776
3642
  const array = typeof val === "string" ? [val] : val;
3777
3643
  const keyValues = array.map((a) => {
3778
3644
  if (!a.includes("=")) {
@@ -3799,29 +3665,29 @@ var metadataOption = {
3799
3665
  metadata = newMetadata;
3800
3666
  },
3801
3667
  ssrName: "metadata",
3802
- id: cliFlag60
3668
+ id: cliFlag57
3803
3669
  };
3804
3670
 
3805
3671
  // src/options/mute.tsx
3806
- import { jsx as jsx57, Fragment as Fragment57 } from "react/jsx-runtime";
3672
+ import { jsx as jsx54, Fragment as Fragment54 } from "react/jsx-runtime";
3807
3673
  var DEFAULT_MUTED_STATE = false;
3808
3674
  var mutedState = DEFAULT_MUTED_STATE;
3809
- var cliFlag61 = "muted";
3675
+ var cliFlag58 = "muted";
3810
3676
  var mutedOption = {
3811
3677
  name: "Muted",
3812
3678
  addedIn: "3.2.1",
3813
- cliFlag: cliFlag61,
3814
- description: () => /* @__PURE__ */ jsx57(Fragment57, {
3679
+ cliFlag: cliFlag58,
3680
+ description: () => /* @__PURE__ */ jsx54(Fragment54, {
3815
3681
  children: "The Audio of the video will be omitted."
3816
3682
  }),
3817
3683
  ssrName: "muted",
3818
3684
  docLink: "https://www.remotion.dev/docs/options/muted",
3819
3685
  type: false,
3820
3686
  getValue: ({ commandLine }) => {
3821
- if (commandLine[cliFlag61] !== null) {
3687
+ if (commandLine[cliFlag58] !== null) {
3822
3688
  return {
3823
3689
  source: "cli",
3824
- value: commandLine[cliFlag61]
3690
+ value: commandLine[cliFlag58]
3825
3691
  };
3826
3692
  }
3827
3693
  if (mutedState !== DEFAULT_MUTED_STATE) {
@@ -3841,18 +3707,18 @@ var mutedOption = {
3841
3707
  reset: () => {
3842
3708
  mutedState = DEFAULT_MUTED_STATE;
3843
3709
  },
3844
- id: cliFlag61
3710
+ id: cliFlag58
3845
3711
  };
3846
3712
 
3847
3713
  // src/options/no-open.tsx
3848
- import { jsx as jsx58, Fragment as Fragment58 } from "react/jsx-runtime";
3714
+ import { jsx as jsx55, Fragment as Fragment55 } from "react/jsx-runtime";
3849
3715
  var shouldOpenBrowser = true;
3850
- var cliFlag62 = "no-open";
3716
+ var cliFlag59 = "no-open";
3851
3717
  var noOpenOption = {
3852
3718
  name: "Disable browser auto-open",
3853
3719
  addedIn: "3.3.19",
3854
- cliFlag: cliFlag62,
3855
- description: () => /* @__PURE__ */ jsx58(Fragment58, {
3720
+ cliFlag: cliFlag59,
3721
+ description: () => /* @__PURE__ */ jsx55(Fragment55, {
3856
3722
  children: "If specified, Remotion will not open a browser window when starting the Studio."
3857
3723
  }),
3858
3724
  ssrName: null,
@@ -3874,55 +3740,55 @@ var noOpenOption = {
3874
3740
  reset: () => {
3875
3741
  shouldOpenBrowser = true;
3876
3742
  },
3877
- id: cliFlag62
3743
+ id: cliFlag59
3878
3744
  };
3879
3745
 
3880
3746
  // src/options/number-of-gif-loops.tsx
3881
- import { jsx as jsx59, jsxs as jsxs41, Fragment as Fragment59 } from "react/jsx-runtime";
3747
+ import { jsx as jsx56, jsxs as jsxs40, Fragment as Fragment56 } from "react/jsx-runtime";
3882
3748
  var currentLoop = null;
3883
3749
  var validate = (newLoop) => {
3884
3750
  if (newLoop !== null && typeof newLoop !== "number") {
3885
3751
  throw new Error("--number-of-gif-loops flag must be a number.");
3886
3752
  }
3887
3753
  };
3888
- var cliFlag63 = "number-of-gif-loops";
3754
+ var cliFlag60 = "number-of-gif-loops";
3889
3755
  var numberOfGifLoopsOption = {
3890
3756
  name: "Number of GIF loops",
3891
3757
  addedIn: "3.1.0",
3892
- cliFlag: cliFlag63,
3758
+ cliFlag: cliFlag60,
3893
3759
  description: () => {
3894
- return /* @__PURE__ */ jsxs41(Fragment59, {
3760
+ return /* @__PURE__ */ jsxs40(Fragment56, {
3895
3761
  children: [
3896
3762
  "Allows you to set the number of loops as follows:",
3897
- /* @__PURE__ */ jsxs41("ul", {
3763
+ /* @__PURE__ */ jsxs40("ul", {
3898
3764
  children: [
3899
- /* @__PURE__ */ jsxs41("li", {
3765
+ /* @__PURE__ */ jsxs40("li", {
3900
3766
  children: [
3901
- /* @__PURE__ */ jsx59("code", {
3767
+ /* @__PURE__ */ jsx56("code", {
3902
3768
  children: "null"
3903
3769
  }),
3904
3770
  " (or omitting in the CLI) plays the GIF indefinitely."
3905
3771
  ]
3906
3772
  }),
3907
- /* @__PURE__ */ jsxs41("li", {
3773
+ /* @__PURE__ */ jsxs40("li", {
3908
3774
  children: [
3909
- /* @__PURE__ */ jsx59("code", {
3775
+ /* @__PURE__ */ jsx56("code", {
3910
3776
  children: "0"
3911
3777
  }),
3912
3778
  " disables looping"
3913
3779
  ]
3914
3780
  }),
3915
- /* @__PURE__ */ jsxs41("li", {
3781
+ /* @__PURE__ */ jsxs40("li", {
3916
3782
  children: [
3917
- /* @__PURE__ */ jsx59("code", {
3783
+ /* @__PURE__ */ jsx56("code", {
3918
3784
  children: "1"
3919
3785
  }),
3920
3786
  " loops the GIF once (plays twice in total)"
3921
3787
  ]
3922
3788
  }),
3923
- /* @__PURE__ */ jsxs41("li", {
3789
+ /* @__PURE__ */ jsxs40("li", {
3924
3790
  children: [
3925
- /* @__PURE__ */ jsx59("code", {
3791
+ /* @__PURE__ */ jsx56("code", {
3926
3792
  children: "2"
3927
3793
  }),
3928
3794
  " loops the GIF twice (plays three times in total) and so on."
@@ -3937,10 +3803,10 @@ var numberOfGifLoopsOption = {
3937
3803
  docLink: "https://www.remotion.dev/docs/options/number-of-gif-loops",
3938
3804
  type: 0,
3939
3805
  getValue: ({ commandLine }) => {
3940
- if (commandLine[cliFlag63] !== undefined) {
3941
- validate(commandLine[cliFlag63]);
3806
+ if (commandLine[cliFlag60] !== undefined) {
3807
+ validate(commandLine[cliFlag60]);
3942
3808
  return {
3943
- value: commandLine[cliFlag63],
3809
+ value: commandLine[cliFlag60],
3944
3810
  source: "cli"
3945
3811
  };
3946
3812
  }
@@ -3959,23 +3825,23 @@ var numberOfGifLoopsOption = {
3959
3825
  validate(newLoop);
3960
3826
  currentLoop = newLoop;
3961
3827
  },
3962
- id: cliFlag63
3828
+ id: cliFlag60
3963
3829
  };
3964
3830
 
3965
3831
  // src/options/number-of-shared-audio-tags.tsx
3966
- import { jsx as jsx60, jsxs as jsxs42, Fragment as Fragment60 } from "react/jsx-runtime";
3832
+ import { jsx as jsx57, jsxs as jsxs41, Fragment as Fragment57 } from "react/jsx-runtime";
3967
3833
  var numberOfSharedAudioTags = 0;
3968
3834
  var configuredNumberOfSharedAudioTags = null;
3969
- var cliFlag64 = "number-of-shared-audio-tags";
3835
+ var cliFlag61 = "number-of-shared-audio-tags";
3970
3836
  var numberOfSharedAudioTagsOption = {
3971
3837
  name: "Number of shared audio tags",
3972
3838
  addedIn: "3.3.2",
3973
- cliFlag: cliFlag64,
3974
- description: () => /* @__PURE__ */ jsxs42(Fragment60, {
3839
+ cliFlag: cliFlag61,
3840
+ description: () => /* @__PURE__ */ jsxs41(Fragment57, {
3975
3841
  children: [
3976
3842
  "Set number of shared audio tags. See",
3977
3843
  " ",
3978
- /* @__PURE__ */ jsx60("a", {
3844
+ /* @__PURE__ */ jsx57("a", {
3979
3845
  href: "https://www.remotion.dev/docs/player/autoplay#using-the-numberofsharedaudiotags-prop",
3980
3846
  children: "Using the numberOfSharedAudioTags prop"
3981
3847
  }),
@@ -3987,9 +3853,9 @@ var numberOfSharedAudioTagsOption = {
3987
3853
  docLink: "https://www.remotion.dev/docs/options/number-of-shared-audio-tags",
3988
3854
  type: 0,
3989
3855
  getValue: ({ commandLine }) => {
3990
- if (commandLine[cliFlag64] !== undefined) {
3856
+ if (commandLine[cliFlag61] !== undefined) {
3991
3857
  return {
3992
- value: commandLine[cliFlag64],
3858
+ value: commandLine[cliFlag61],
3993
3859
  source: "cli"
3994
3860
  };
3995
3861
  }
@@ -4007,40 +3873,40 @@ var numberOfSharedAudioTagsOption = {
4007
3873
  numberOfSharedAudioTags = 0;
4008
3874
  configuredNumberOfSharedAudioTags = null;
4009
3875
  },
4010
- id: cliFlag64
3876
+ id: cliFlag61
4011
3877
  };
4012
3878
 
4013
3879
  // src/options/offthreadvideo-cache-size.tsx
4014
- import { jsx as jsx61, jsxs as jsxs43, Fragment as Fragment61 } from "react/jsx-runtime";
3880
+ import { jsx as jsx58, jsxs as jsxs42, Fragment as Fragment58 } from "react/jsx-runtime";
4015
3881
  var offthreadVideoCacheSizeInBytes = null;
4016
- var cliFlag65 = "offthreadvideo-cache-size-in-bytes";
3882
+ var cliFlag62 = "offthreadvideo-cache-size-in-bytes";
4017
3883
  var offthreadVideoCacheSizeInBytesOption = {
4018
3884
  name: "OffthreadVideo cache size",
4019
3885
  addedIn: "4.0.23",
4020
- cliFlag: cliFlag65,
4021
- description: () => /* @__PURE__ */ jsxs43(Fragment61, {
3886
+ cliFlag: cliFlag62,
3887
+ description: () => /* @__PURE__ */ jsxs42(Fragment58, {
4022
3888
  children: [
4023
3889
  "From v4.0, Remotion has a cache for",
4024
3890
  " ",
4025
- /* @__PURE__ */ jsx61("a", {
3891
+ /* @__PURE__ */ jsx58("a", {
4026
3892
  href: "https://remotion.dev/docs/offthreadvideo",
4027
- children: /* @__PURE__ */ jsx61("code", {
3893
+ children: /* @__PURE__ */ jsx58("code", {
4028
3894
  children: "<OffthreadVideo>"
4029
3895
  })
4030
3896
  }),
4031
3897
  " ",
4032
3898
  "frames. The default is ",
4033
- /* @__PURE__ */ jsx61("code", {
3899
+ /* @__PURE__ */ jsx58("code", {
4034
3900
  children: "null"
4035
3901
  }),
4036
3902
  ", corresponding to half of the system memory available when the render starts.",
4037
- /* @__PURE__ */ jsx61("br", {}),
3903
+ /* @__PURE__ */ jsx58("br", {}),
4038
3904
  " 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.",
4039
- /* @__PURE__ */ jsx61("br", {}),
3905
+ /* @__PURE__ */ jsx58("br", {}),
4040
3906
  "The used value will be printed when running in verbose mode.",
4041
- /* @__PURE__ */ jsx61("br", {}),
3907
+ /* @__PURE__ */ jsx58("br", {}),
4042
3908
  "Default: ",
4043
- /* @__PURE__ */ jsx61("code", {
3909
+ /* @__PURE__ */ jsx58("code", {
4044
3910
  children: "null"
4045
3911
  })
4046
3912
  ]
@@ -4049,10 +3915,10 @@ var offthreadVideoCacheSizeInBytesOption = {
4049
3915
  docLink: "https://www.remotion.dev/docs/options/offthreadvideo-cache-size-in-bytes",
4050
3916
  type: 0,
4051
3917
  getValue: ({ commandLine }) => {
4052
- if (commandLine[cliFlag65] !== undefined) {
3918
+ if (commandLine[cliFlag62] !== undefined) {
4053
3919
  return {
4054
3920
  source: "cli",
4055
- value: commandLine[cliFlag65]
3921
+ value: commandLine[cliFlag62]
4056
3922
  };
4057
3923
  }
4058
3924
  if (offthreadVideoCacheSizeInBytes !== null) {
@@ -4069,23 +3935,23 @@ var offthreadVideoCacheSizeInBytesOption = {
4069
3935
  setConfig: (size) => {
4070
3936
  offthreadVideoCacheSizeInBytes = size ?? null;
4071
3937
  },
4072
- id: cliFlag65
3938
+ id: cliFlag62
4073
3939
  };
4074
3940
 
4075
3941
  // src/options/offthreadvideo-threads.tsx
4076
- import { jsx as jsx62, jsxs as jsxs44, Fragment as Fragment62 } from "react/jsx-runtime";
3942
+ import { jsx as jsx59, jsxs as jsxs43, Fragment as Fragment59 } from "react/jsx-runtime";
4077
3943
  var value2 = null;
4078
- var cliFlag66 = "offthreadvideo-video-threads";
3944
+ var cliFlag63 = "offthreadvideo-video-threads";
4079
3945
  var offthreadVideoThreadsOption = {
4080
3946
  name: "OffthreadVideo threads",
4081
3947
  addedIn: "4.0.261",
4082
- cliFlag: cliFlag66,
4083
- description: () => /* @__PURE__ */ jsxs44(Fragment62, {
3948
+ cliFlag: cliFlag63,
3949
+ description: () => /* @__PURE__ */ jsxs43(Fragment59, {
4084
3950
  children: [
4085
3951
  "The number of threads that",
4086
- /* @__PURE__ */ jsx62("a", {
3952
+ /* @__PURE__ */ jsx59("a", {
4087
3953
  href: "https://remotion.dev/docs/offthreadvideo",
4088
- children: /* @__PURE__ */ jsx62("code", {
3954
+ children: /* @__PURE__ */ jsx59("code", {
4089
3955
  children: "<OffthreadVideo>"
4090
3956
  })
4091
3957
  }),
@@ -4100,10 +3966,10 @@ var offthreadVideoThreadsOption = {
4100
3966
  docLink: "https://www.remotion.dev/docs/options/offthreadvideo-video-threads",
4101
3967
  type: 0,
4102
3968
  getValue: ({ commandLine }) => {
4103
- if (commandLine[cliFlag66] !== undefined) {
3969
+ if (commandLine[cliFlag63] !== undefined) {
4104
3970
  return {
4105
3971
  source: "cli",
4106
- value: commandLine[cliFlag66]
3972
+ value: commandLine[cliFlag63]
4107
3973
  };
4108
3974
  }
4109
3975
  if (value2 !== null) {
@@ -4120,22 +3986,22 @@ var offthreadVideoThreadsOption = {
4120
3986
  setConfig: (size) => {
4121
3987
  value2 = size ?? null;
4122
3988
  },
4123
- id: cliFlag66
3989
+ id: cliFlag63
4124
3990
  };
4125
3991
  var DEFAULT_RENDER_FRAMES_OFFTHREAD_VIDEO_THREADS = 2;
4126
3992
 
4127
3993
  // src/options/on-browser-download.tsx
4128
- import { jsx as jsx63, jsxs as jsxs45, Fragment as Fragment63 } from "react/jsx-runtime";
4129
- var cliFlag67 = "on-browser-download";
3994
+ import { jsx as jsx60, jsxs as jsxs44, Fragment as Fragment60 } from "react/jsx-runtime";
3995
+ var cliFlag64 = "on-browser-download";
4130
3996
  var onBrowserDownloadOption = {
4131
3997
  name: "Browser download callback function",
4132
3998
  addedIn: "4.0.137",
4133
- cliFlag: cliFlag67,
4134
- description: () => /* @__PURE__ */ jsxs45(Fragment63, {
3999
+ cliFlag: cliFlag64,
4000
+ description: () => /* @__PURE__ */ jsxs44(Fragment60, {
4135
4001
  children: [
4136
4002
  "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.",
4137
4003
  " ",
4138
- /* @__PURE__ */ jsx63("a", {
4004
+ /* @__PURE__ */ jsx60("a", {
4139
4005
  href: "/docs/renderer/ensure-browser#onbrowserdownload",
4140
4006
  children: "See here for how to use this option."
4141
4007
  })
@@ -4150,27 +4016,27 @@ var onBrowserDownloadOption = {
4150
4016
  setConfig: () => {
4151
4017
  throw new Error("does not support config file");
4152
4018
  },
4153
- id: cliFlag67
4019
+ id: cliFlag64
4154
4020
  };
4155
4021
 
4156
4022
  // src/options/out-dir.tsx
4157
- import { jsx as jsx64, jsxs as jsxs46, Fragment as Fragment64 } from "react/jsx-runtime";
4158
- var cliFlag68 = "out-dir";
4023
+ import { jsx as jsx61, jsxs as jsxs45, Fragment as Fragment61 } from "react/jsx-runtime";
4024
+ var cliFlag65 = "out-dir";
4159
4025
  var currentOutDir = null;
4160
4026
  var outDirOption = {
4161
4027
  name: "Output Directory",
4162
4028
  addedIn: "4.0.426",
4163
- cliFlag: cliFlag68,
4029
+ cliFlag: cliFlag65,
4164
4030
  description: () => {
4165
- return /* @__PURE__ */ jsxs46(Fragment64, {
4031
+ return /* @__PURE__ */ jsxs45(Fragment61, {
4166
4032
  children: [
4167
4033
  "Define the location of the resulting bundle. By default it is a folder called ",
4168
- /* @__PURE__ */ jsx64("code", {
4034
+ /* @__PURE__ */ jsx61("code", {
4169
4035
  children: "build"
4170
4036
  }),
4171
4037
  ", adjacent to the",
4172
4038
  " ",
4173
- /* @__PURE__ */ jsx64("a", {
4039
+ /* @__PURE__ */ jsx61("a", {
4174
4040
  href: "/docs/terminology/remotion-root",
4175
4041
  children: "Remotion Root"
4176
4042
  }),
@@ -4181,10 +4047,10 @@ var outDirOption = {
4181
4047
  ssrName: "outDir",
4182
4048
  docLink: "https://www.remotion.dev/docs/options/out-dir",
4183
4049
  getValue: ({ commandLine }) => {
4184
- if (commandLine[cliFlag68] !== undefined) {
4050
+ if (commandLine[cliFlag65] !== undefined) {
4185
4051
  return {
4186
4052
  source: "cli",
4187
- value: commandLine[cliFlag68]
4053
+ value: commandLine[cliFlag65]
4188
4054
  };
4189
4055
  }
4190
4056
  if (currentOutDir !== null) {
@@ -4202,32 +4068,32 @@ var outDirOption = {
4202
4068
  currentOutDir = value;
4203
4069
  },
4204
4070
  type: "",
4205
- id: cliFlag68
4071
+ id: cliFlag65
4206
4072
  };
4207
4073
 
4208
4074
  // src/validate.ts
4209
- import { NoReactInternals as NoReactInternals6 } from "remotion/no-react";
4210
- var validateFps = NoReactInternals6.validateFps;
4211
- var validateDimension = NoReactInternals6.validateDimension;
4212
- var validateDurationInFrames = NoReactInternals6.validateDurationInFrames;
4075
+ import { NoReactInternals as NoReactInternals5 } from "remotion/no-react";
4076
+ var validateFps = NoReactInternals5.validateFps;
4077
+ var validateDimension = NoReactInternals5.validateDimension;
4078
+ var validateDurationInFrames = NoReactInternals5.validateDurationInFrames;
4213
4079
 
4214
4080
  // src/options/override-duration.tsx
4215
- import { jsx as jsx65, Fragment as Fragment65 } from "react/jsx-runtime";
4081
+ import { jsx as jsx62, Fragment as Fragment62 } from "react/jsx-runtime";
4216
4082
  var currentDuration = null;
4217
- var cliFlag69 = "duration";
4083
+ var cliFlag66 = "duration";
4218
4084
  var overrideDurationOption = {
4219
4085
  name: "Override Duration",
4220
4086
  addedIn: "4.0.424",
4221
- cliFlag: cliFlag69,
4222
- description: () => /* @__PURE__ */ jsx65(Fragment65, {
4087
+ cliFlag: cliFlag66,
4088
+ description: () => /* @__PURE__ */ jsx62(Fragment62, {
4223
4089
  children: "Overrides the duration in frames of the composition."
4224
4090
  }),
4225
4091
  ssrName: null,
4226
4092
  docLink: "https://www.remotion.dev/docs/options/duration",
4227
4093
  type: null,
4228
4094
  getValue: ({ commandLine }) => {
4229
- if (commandLine[cliFlag69] !== undefined) {
4230
- const value = commandLine[cliFlag69];
4095
+ if (commandLine[cliFlag66] !== undefined) {
4096
+ const value = commandLine[cliFlag66];
4231
4097
  validateDurationInFrames(value, {
4232
4098
  component: "in --duration flag",
4233
4099
  allowFloats: false
@@ -4258,26 +4124,26 @@ var overrideDurationOption = {
4258
4124
  reset: () => {
4259
4125
  currentDuration = null;
4260
4126
  },
4261
- id: cliFlag69
4127
+ id: cliFlag66
4262
4128
  };
4263
4129
 
4264
4130
  // src/options/override-fps.tsx
4265
- import { jsx as jsx66, Fragment as Fragment66 } from "react/jsx-runtime";
4131
+ import { jsx as jsx63, Fragment as Fragment63 } from "react/jsx-runtime";
4266
4132
  var currentFps = null;
4267
- var cliFlag70 = "fps";
4133
+ var cliFlag67 = "fps";
4268
4134
  var overrideFpsOption = {
4269
4135
  name: "Override FPS",
4270
4136
  addedIn: "4.0.424",
4271
- cliFlag: cliFlag70,
4272
- description: () => /* @__PURE__ */ jsx66(Fragment66, {
4137
+ cliFlag: cliFlag67,
4138
+ description: () => /* @__PURE__ */ jsx63(Fragment63, {
4273
4139
  children: "Overrides the frames per second of the composition."
4274
4140
  }),
4275
4141
  ssrName: null,
4276
4142
  docLink: "https://www.remotion.dev/docs/options/fps",
4277
4143
  type: null,
4278
4144
  getValue: ({ commandLine }) => {
4279
- if (commandLine[cliFlag70] !== undefined) {
4280
- const value = commandLine[cliFlag70];
4145
+ if (commandLine[cliFlag67] !== undefined) {
4146
+ const value = commandLine[cliFlag67];
4281
4147
  validateFps(value, "in --fps flag", false);
4282
4148
  return {
4283
4149
  source: "cli",
@@ -4302,26 +4168,26 @@ var overrideFpsOption = {
4302
4168
  reset: () => {
4303
4169
  currentFps = null;
4304
4170
  },
4305
- id: cliFlag70
4171
+ id: cliFlag67
4306
4172
  };
4307
4173
 
4308
4174
  // src/options/override-height.tsx
4309
- import { jsx as jsx67, Fragment as Fragment67 } from "react/jsx-runtime";
4175
+ import { jsx as jsx64, Fragment as Fragment64 } from "react/jsx-runtime";
4310
4176
  var currentHeight = null;
4311
- var cliFlag71 = "height";
4177
+ var cliFlag68 = "height";
4312
4178
  var overrideHeightOption = {
4313
4179
  name: "Override Height",
4314
4180
  addedIn: "3.2.40",
4315
- cliFlag: cliFlag71,
4316
- description: () => /* @__PURE__ */ jsx67(Fragment67, {
4181
+ cliFlag: cliFlag68,
4182
+ description: () => /* @__PURE__ */ jsx64(Fragment64, {
4317
4183
  children: "Overrides the height of the composition."
4318
4184
  }),
4319
4185
  ssrName: null,
4320
4186
  docLink: "https://www.remotion.dev/docs/options/height",
4321
4187
  type: null,
4322
4188
  getValue: ({ commandLine }) => {
4323
- if (commandLine[cliFlag71] !== undefined) {
4324
- const value = commandLine[cliFlag71];
4189
+ if (commandLine[cliFlag68] !== undefined) {
4190
+ const value = commandLine[cliFlag68];
4325
4191
  validateDimension(value, "height", "in --height flag");
4326
4192
  return {
4327
4193
  source: "cli",
@@ -4346,26 +4212,26 @@ var overrideHeightOption = {
4346
4212
  reset: () => {
4347
4213
  currentHeight = null;
4348
4214
  },
4349
- id: cliFlag71
4215
+ id: cliFlag68
4350
4216
  };
4351
4217
 
4352
4218
  // src/options/override-width.tsx
4353
- import { jsx as jsx68, Fragment as Fragment68 } from "react/jsx-runtime";
4219
+ import { jsx as jsx65, Fragment as Fragment65 } from "react/jsx-runtime";
4354
4220
  var currentWidth = null;
4355
- var cliFlag72 = "width";
4221
+ var cliFlag69 = "width";
4356
4222
  var overrideWidthOption = {
4357
4223
  name: "Override Width",
4358
4224
  addedIn: "3.2.40",
4359
- cliFlag: cliFlag72,
4360
- description: () => /* @__PURE__ */ jsx68(Fragment68, {
4225
+ cliFlag: cliFlag69,
4226
+ description: () => /* @__PURE__ */ jsx65(Fragment65, {
4361
4227
  children: "Overrides the width of the composition."
4362
4228
  }),
4363
4229
  ssrName: null,
4364
4230
  docLink: "https://www.remotion.dev/docs/options/width",
4365
4231
  type: null,
4366
4232
  getValue: ({ commandLine }) => {
4367
- if (commandLine[cliFlag72] !== undefined) {
4368
- const value = commandLine[cliFlag72];
4233
+ if (commandLine[cliFlag69] !== undefined) {
4234
+ const value = commandLine[cliFlag69];
4369
4235
  validateDimension(value, "width", "in --width flag");
4370
4236
  return {
4371
4237
  source: "cli",
@@ -4390,13 +4256,13 @@ var overrideWidthOption = {
4390
4256
  reset: () => {
4391
4257
  currentWidth = null;
4392
4258
  },
4393
- id: cliFlag72
4259
+ id: cliFlag69
4394
4260
  };
4395
4261
 
4396
4262
  // src/options/overwrite.tsx
4397
- import { jsx as jsx69, jsxs as jsxs47, Fragment as Fragment69 } from "react/jsx-runtime";
4263
+ import { jsx as jsx66, jsxs as jsxs46, Fragment as Fragment66 } from "react/jsx-runtime";
4398
4264
  var shouldOverwrite = null;
4399
- var cliFlag73 = "overwrite";
4265
+ var cliFlag70 = "overwrite";
4400
4266
  var validate2 = (value) => {
4401
4267
  if (typeof value !== "boolean") {
4402
4268
  throw new Error(`overwriteExisting must be a boolean but got ${typeof value} (${value})`);
@@ -4405,15 +4271,15 @@ var validate2 = (value) => {
4405
4271
  var overwriteOption = {
4406
4272
  name: "Overwrite output",
4407
4273
  addedIn: "1.0.0",
4408
- cliFlag: cliFlag73,
4409
- description: () => /* @__PURE__ */ jsxs47(Fragment69, {
4274
+ cliFlag: cliFlag70,
4275
+ description: () => /* @__PURE__ */ jsxs46(Fragment66, {
4410
4276
  children: [
4411
4277
  "If set to ",
4412
- /* @__PURE__ */ jsx69("code", {
4278
+ /* @__PURE__ */ jsx66("code", {
4413
4279
  children: "false"
4414
4280
  }),
4415
4281
  ", will prevent rendering to a path that already exists. Default is ",
4416
- /* @__PURE__ */ jsx69("code", {
4282
+ /* @__PURE__ */ jsx66("code", {
4417
4283
  children: "true"
4418
4284
  }),
4419
4285
  "."
@@ -4423,11 +4289,11 @@ var overwriteOption = {
4423
4289
  docLink: "https://www.remotion.dev/docs/options/overwrite",
4424
4290
  type: false,
4425
4291
  getValue: ({ commandLine }, defaultValue) => {
4426
- if (commandLine[cliFlag73] !== undefined && commandLine[cliFlag73] !== null) {
4427
- validate2(commandLine[cliFlag73]);
4292
+ if (commandLine[cliFlag70] !== undefined && commandLine[cliFlag70] !== null) {
4293
+ validate2(commandLine[cliFlag70]);
4428
4294
  return {
4429
4295
  source: "cli",
4430
- value: commandLine[cliFlag73]
4296
+ value: commandLine[cliFlag70]
4431
4297
  };
4432
4298
  }
4433
4299
  if (shouldOverwrite !== null) {
@@ -4448,41 +4314,41 @@ var overwriteOption = {
4448
4314
  reset: () => {
4449
4315
  shouldOverwrite = null;
4450
4316
  },
4451
- id: cliFlag73
4317
+ id: cliFlag70
4452
4318
  };
4453
4319
 
4454
4320
  // src/options/package-manager.tsx
4455
- import { jsx as jsx70, jsxs as jsxs48, Fragment as Fragment70 } from "react/jsx-runtime";
4456
- var cliFlag74 = "package-manager";
4321
+ import { jsx as jsx67, jsxs as jsxs47, Fragment as Fragment67 } from "react/jsx-runtime";
4322
+ var cliFlag71 = "package-manager";
4457
4323
  var currentPackageManager = null;
4458
4324
  var packageManagerOption = {
4459
4325
  name: "Package Manager",
4460
4326
  addedIn: "3.2.33",
4461
- cliFlag: cliFlag74,
4327
+ cliFlag: cliFlag71,
4462
4328
  description: () => {
4463
- return /* @__PURE__ */ jsxs48(Fragment70, {
4329
+ return /* @__PURE__ */ jsxs47(Fragment67, {
4464
4330
  children: [
4465
4331
  "Forces a specific package manager to be used. By default, Remotion will auto-detect the package manager based on your lockfile.",
4466
- /* @__PURE__ */ jsx70("br", {}),
4332
+ /* @__PURE__ */ jsx67("br", {}),
4467
4333
  "Acceptable values are ",
4468
- /* @__PURE__ */ jsx70("code", {
4334
+ /* @__PURE__ */ jsx67("code", {
4469
4335
  children: "npm"
4470
4336
  }),
4471
4337
  ", ",
4472
- /* @__PURE__ */ jsx70("code", {
4338
+ /* @__PURE__ */ jsx67("code", {
4473
4339
  children: "yarn"
4474
4340
  }),
4475
4341
  ",",
4476
4342
  " ",
4477
- /* @__PURE__ */ jsx70("code", {
4343
+ /* @__PURE__ */ jsx67("code", {
4478
4344
  children: "pnpm"
4479
4345
  }),
4480
4346
  ", ",
4481
- /* @__PURE__ */ jsx70("code", {
4347
+ /* @__PURE__ */ jsx67("code", {
4482
4348
  children: "bun"
4483
4349
  }),
4484
4350
  " and ",
4485
- /* @__PURE__ */ jsx70("code", {
4351
+ /* @__PURE__ */ jsx67("code", {
4486
4352
  children: "nub"
4487
4353
  }),
4488
4354
  "."
@@ -4492,10 +4358,10 @@ var packageManagerOption = {
4492
4358
  ssrName: "packageManager",
4493
4359
  docLink: "https://www.remotion.dev/docs/options/package-manager",
4494
4360
  getValue: ({ commandLine }) => {
4495
- if (commandLine[cliFlag74] !== undefined) {
4361
+ if (commandLine[cliFlag71] !== undefined) {
4496
4362
  return {
4497
4363
  source: "cli",
4498
- value: commandLine[cliFlag74]
4364
+ value: commandLine[cliFlag71]
4499
4365
  };
4500
4366
  }
4501
4367
  if (currentPackageManager !== null) {
@@ -4513,7 +4379,7 @@ var packageManagerOption = {
4513
4379
  currentPackageManager = value;
4514
4380
  },
4515
4381
  type: "",
4516
- id: cliFlag74
4382
+ id: cliFlag71
4517
4383
  };
4518
4384
 
4519
4385
  // src/pixel-format.ts
@@ -4536,18 +4402,18 @@ var validPixelFormatsForCodec = (codec) => {
4536
4402
  };
4537
4403
 
4538
4404
  // src/options/pixel-format.tsx
4539
- import { jsx as jsx71, jsxs as jsxs49, Fragment as Fragment71 } from "react/jsx-runtime";
4405
+ import { jsx as jsx68, jsxs as jsxs48, Fragment as Fragment68 } from "react/jsx-runtime";
4540
4406
  var currentPixelFormat = DEFAULT_PIXEL_FORMAT;
4541
- var cliFlag75 = "pixel-format";
4407
+ var cliFlag72 = "pixel-format";
4542
4408
  var pixelFormatOption = {
4543
4409
  name: "Pixel format",
4544
4410
  addedIn: "1.4.0",
4545
- cliFlag: cliFlag75,
4546
- description: () => /* @__PURE__ */ jsxs49(Fragment71, {
4411
+ cliFlag: cliFlag72,
4412
+ description: () => /* @__PURE__ */ jsxs48(Fragment68, {
4547
4413
  children: [
4548
4414
  "Sets the pixel format in FFmpeg. See",
4549
4415
  " ",
4550
- /* @__PURE__ */ jsx71("a", {
4416
+ /* @__PURE__ */ jsx68("a", {
4551
4417
  href: "https://trac.ffmpeg.org/wiki/Chroma%20Subsampling",
4552
4418
  children: "the FFmpeg docs for an explanation"
4553
4419
  }),
@@ -4566,10 +4432,10 @@ var pixelFormatOption = {
4566
4432
  value: options.uiPixelFormat
4567
4433
  };
4568
4434
  }
4569
- if (commandLine[cliFlag75] !== undefined) {
4435
+ if (commandLine[cliFlag72] !== undefined) {
4570
4436
  return {
4571
4437
  source: "from --pixel-format flag",
4572
- value: commandLine[cliFlag75]
4438
+ value: commandLine[cliFlag72]
4573
4439
  };
4574
4440
  }
4575
4441
  if (options && options.compositionDefaultPixelFormat !== null) {
@@ -4595,27 +4461,27 @@ var pixelFormatOption = {
4595
4461
  }
4596
4462
  currentPixelFormat = value;
4597
4463
  },
4598
- id: cliFlag75
4464
+ id: cliFlag72
4599
4465
  };
4600
4466
 
4601
4467
  // src/options/port.tsx
4602
- import { jsx as jsx72, Fragment as Fragment72 } from "react/jsx-runtime";
4603
- var cliFlag76 = "port";
4468
+ import { jsx as jsx69, Fragment as Fragment69 } from "react/jsx-runtime";
4469
+ var cliFlag73 = "port";
4604
4470
  var currentPort = null;
4605
4471
  var portOption = {
4606
4472
  name: "Port",
4607
4473
  addedIn: "2.1.3",
4608
- cliFlag: cliFlag76,
4609
- description: () => /* @__PURE__ */ jsx72(Fragment72, {
4474
+ cliFlag: cliFlag73,
4475
+ description: () => /* @__PURE__ */ jsx69(Fragment69, {
4610
4476
  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."
4611
4477
  }),
4612
4478
  ssrName: null,
4613
4479
  docLink: "https://www.remotion.dev/docs/options/port",
4614
4480
  getValue: ({ commandLine }) => {
4615
- if (commandLine[cliFlag76] !== undefined) {
4481
+ if (commandLine[cliFlag73] !== undefined) {
4616
4482
  return {
4617
4483
  source: "cli",
4618
- value: commandLine[cliFlag76]
4484
+ value: commandLine[cliFlag73]
4619
4485
  };
4620
4486
  }
4621
4487
  if (currentPort !== null) {
@@ -4633,26 +4499,26 @@ var portOption = {
4633
4499
  currentPort = value;
4634
4500
  },
4635
4501
  type: 0,
4636
- id: cliFlag76
4502
+ id: cliFlag73
4637
4503
  };
4638
4504
 
4639
4505
  // src/options/prefer-lossless.tsx
4640
- import { jsx as jsx73, jsxs as jsxs50, Fragment as Fragment73 } from "react/jsx-runtime";
4641
- var cliFlag77 = "prefer-lossless";
4506
+ import { jsx as jsx70, jsxs as jsxs49, Fragment as Fragment70 } from "react/jsx-runtime";
4507
+ var cliFlag74 = "prefer-lossless";
4642
4508
  var input = false;
4643
4509
  var preferLosslessAudioOption = {
4644
4510
  name: "Prefer lossless",
4645
4511
  addedIn: "4.0.123",
4646
- cliFlag: cliFlag77,
4647
- description: () => /* @__PURE__ */ jsxs50(Fragment73, {
4512
+ cliFlag: cliFlag74,
4513
+ description: () => /* @__PURE__ */ jsxs49(Fragment70, {
4648
4514
  children: [
4649
4515
  "Uses a lossless audio codec, if one is available for the codec. If you set",
4650
- /* @__PURE__ */ jsx73("code", {
4516
+ /* @__PURE__ */ jsx70("code", {
4651
4517
  children: "audioCodec"
4652
4518
  }),
4653
4519
  ", it takes priority over",
4654
4520
  " ",
4655
- /* @__PURE__ */ jsx73("code", {
4521
+ /* @__PURE__ */ jsx70("code", {
4656
4522
  children: "preferLossless"
4657
4523
  }),
4658
4524
  "."
@@ -4662,7 +4528,7 @@ var preferLosslessAudioOption = {
4662
4528
  type: false,
4663
4529
  ssrName: "preferLossless",
4664
4530
  getValue: ({ commandLine }) => {
4665
- if (commandLine[cliFlag77]) {
4531
+ if (commandLine[cliFlag74]) {
4666
4532
  return { value: true, source: "cli" };
4667
4533
  }
4668
4534
  if (input === true) {
@@ -4673,21 +4539,21 @@ var preferLosslessAudioOption = {
4673
4539
  setConfig: (val) => {
4674
4540
  input = val;
4675
4541
  },
4676
- id: cliFlag77
4542
+ id: cliFlag74
4677
4543
  };
4678
4544
 
4679
4545
  // src/options/preview-sample-rate.tsx
4680
- import { jsx as jsx74, jsxs as jsxs51, Fragment as Fragment74 } from "react/jsx-runtime";
4681
- var cliFlag78 = "preview-sample-rate";
4546
+ import { jsx as jsx71, jsxs as jsxs50, Fragment as Fragment71 } from "react/jsx-runtime";
4547
+ var cliFlag75 = "preview-sample-rate";
4682
4548
  var currentPreviewSampleRate = null;
4683
4549
  var previewSampleRateOption = {
4684
4550
  name: "Preview Sample Rate",
4685
4551
  addedIn: "4.0.470",
4686
- cliFlag: cliFlag78,
4687
- description: () => /* @__PURE__ */ jsxs51(Fragment74, {
4552
+ cliFlag: cliFlag75,
4553
+ description: () => /* @__PURE__ */ jsxs50(Fragment71, {
4688
4554
  children: [
4689
4555
  "Controls the sample rate used for audio playback during preview. When unset, Remotion uses ",
4690
- /* @__PURE__ */ jsx74("code", {
4556
+ /* @__PURE__ */ jsx71("code", {
4691
4557
  children: "48000"
4692
4558
  }),
4693
4559
  " Hz."
@@ -4697,8 +4563,8 @@ var previewSampleRateOption = {
4697
4563
  docLink: "https://www.remotion.dev/docs/options/preview-sample-rate",
4698
4564
  type: null,
4699
4565
  getValue: ({ commandLine }) => {
4700
- if (commandLine[cliFlag78] !== undefined) {
4701
- return { value: commandLine[cliFlag78], source: "cli" };
4566
+ if (commandLine[cliFlag75] !== undefined) {
4567
+ return { value: commandLine[cliFlag75], source: "cli" };
4702
4568
  }
4703
4569
  if (currentPreviewSampleRate !== null) {
4704
4570
  return { value: currentPreviewSampleRate, source: "config file" };
@@ -4708,20 +4574,20 @@ var previewSampleRateOption = {
4708
4574
  setConfig: (value) => {
4709
4575
  currentPreviewSampleRate = value;
4710
4576
  },
4711
- id: cliFlag78
4577
+ id: cliFlag75
4712
4578
  };
4713
4579
 
4714
4580
  // src/options/props.tsx
4715
- import { jsx as jsx75, jsxs as jsxs52, Fragment as Fragment75 } from "react/jsx-runtime";
4716
- var cliFlag79 = "props";
4581
+ import { jsx as jsx72, jsxs as jsxs51, Fragment as Fragment72 } from "react/jsx-runtime";
4582
+ var cliFlag76 = "props";
4717
4583
  var propsOption = {
4718
4584
  name: "Input Props",
4719
4585
  addedIn: "1.0.0",
4720
- cliFlag: cliFlag79,
4721
- description: () => /* @__PURE__ */ jsxs52(Fragment75, {
4586
+ cliFlag: cliFlag76,
4587
+ description: () => /* @__PURE__ */ jsxs51(Fragment72, {
4722
4588
  children: [
4723
4589
  "Input Props to pass to the selected composition of your video. Must be a serialized JSON string (",
4724
- /* @__PURE__ */ jsxs52("code", {
4590
+ /* @__PURE__ */ jsxs51("code", {
4725
4591
  children: [
4726
4592
  "--props='",
4727
4593
  "{",
@@ -4731,7 +4597,7 @@ var propsOption = {
4731
4597
  ]
4732
4598
  }),
4733
4599
  ") or a path to a JSON file (",
4734
- /* @__PURE__ */ jsx75("code", {
4600
+ /* @__PURE__ */ jsx72("code", {
4735
4601
  children: "./path/to/props.json"
4736
4602
  }),
4737
4603
  ")."
@@ -4740,10 +4606,10 @@ var propsOption = {
4740
4606
  ssrName: null,
4741
4607
  docLink: "https://www.remotion.dev/docs/options/props",
4742
4608
  getValue: ({ commandLine }) => {
4743
- if (commandLine[cliFlag79] !== undefined) {
4609
+ if (commandLine[cliFlag76] !== undefined) {
4744
4610
  return {
4745
4611
  source: "cli",
4746
- value: commandLine[cliFlag79]
4612
+ value: commandLine[cliFlag76]
4747
4613
  };
4748
4614
  }
4749
4615
  return {
@@ -4755,11 +4621,11 @@ var propsOption = {
4755
4621
  throw new Error("setProps is not supported. Pass --props via the CLI instead.");
4756
4622
  },
4757
4623
  type: "",
4758
- id: cliFlag79
4624
+ id: cliFlag76
4759
4625
  };
4760
4626
 
4761
4627
  // src/options/prores-profile.tsx
4762
- import { jsx as jsx76, jsxs as jsxs53, Fragment as Fragment76 } from "react/jsx-runtime";
4628
+ import { jsx as jsx73, jsxs as jsxs52, Fragment as Fragment73 } from "react/jsx-runtime";
4763
4629
  var validProResProfiles = [
4764
4630
  "4444-xq",
4765
4631
  "4444",
@@ -4769,15 +4635,15 @@ var validProResProfiles = [
4769
4635
  "proxy"
4770
4636
  ];
4771
4637
  var proResProfile;
4772
- var cliFlag80 = "prores-profile";
4638
+ var cliFlag77 = "prores-profile";
4773
4639
  var proResProfileOption = {
4774
4640
  name: "ProRes profile",
4775
4641
  addedIn: "2.1.6",
4776
- cliFlag: cliFlag80,
4777
- description: () => /* @__PURE__ */ jsxs53(Fragment76, {
4642
+ cliFlag: cliFlag77,
4643
+ description: () => /* @__PURE__ */ jsxs52(Fragment73, {
4778
4644
  children: [
4779
4645
  "Set the ProRes profile. This option is only valid if the codec has been set to ",
4780
- /* @__PURE__ */ jsx76("code", {
4646
+ /* @__PURE__ */ jsx73("code", {
4781
4647
  children: "prores"
4782
4648
  }),
4783
4649
  ". Possible values:",
@@ -4785,12 +4651,12 @@ var proResProfileOption = {
4785
4651
  validProResProfiles.map((p) => `"${p}"`).join(", "),
4786
4652
  ". Default:",
4787
4653
  " ",
4788
- /* @__PURE__ */ jsx76("code", {
4654
+ /* @__PURE__ */ jsx73("code", {
4789
4655
  children: '"hq"'
4790
4656
  }),
4791
4657
  ". See",
4792
4658
  " ",
4793
- /* @__PURE__ */ jsx76("a", {
4659
+ /* @__PURE__ */ jsx73("a", {
4794
4660
  href: "https://video.stackexchange.com/a/14715",
4795
4661
  children: "here"
4796
4662
  }),
@@ -4807,10 +4673,10 @@ var proResProfileOption = {
4807
4673
  value: options.uiProResProfile
4808
4674
  };
4809
4675
  }
4810
- if (commandLine[cliFlag80] !== undefined) {
4676
+ if (commandLine[cliFlag77] !== undefined) {
4811
4677
  return {
4812
4678
  source: "from --prores-profile flag",
4813
- value: String(commandLine[cliFlag80])
4679
+ value: String(commandLine[cliFlag77])
4814
4680
  };
4815
4681
  }
4816
4682
  if (options && options.compositionDefaultProResProfile !== null) {
@@ -4833,25 +4699,25 @@ var proResProfileOption = {
4833
4699
  setConfig: (value) => {
4834
4700
  proResProfile = value;
4835
4701
  },
4836
- id: cliFlag80
4702
+ id: cliFlag77
4837
4703
  };
4838
4704
 
4839
4705
  // src/options/public-dir.tsx
4840
- import { jsx as jsx77, jsxs as jsxs54, Fragment as Fragment77 } from "react/jsx-runtime";
4841
- var cliFlag81 = "public-dir";
4706
+ import { jsx as jsx74, jsxs as jsxs53, Fragment as Fragment74 } from "react/jsx-runtime";
4707
+ var cliFlag78 = "public-dir";
4842
4708
  var currentPublicDir = null;
4843
4709
  var publicDirOption = {
4844
4710
  name: "Public Directory",
4845
4711
  addedIn: "3.2.13",
4846
- cliFlag: cliFlag81,
4712
+ cliFlag: cliFlag78,
4847
4713
  description: () => {
4848
- return /* @__PURE__ */ jsxs54(Fragment77, {
4714
+ return /* @__PURE__ */ jsxs53(Fragment74, {
4849
4715
  children: [
4850
4716
  "Define the location of the",
4851
4717
  " ",
4852
- /* @__PURE__ */ jsx77("a", {
4718
+ /* @__PURE__ */ jsx74("a", {
4853
4719
  href: "/docs/terminology/public-dir",
4854
- children: /* @__PURE__ */ jsx77("code", {
4720
+ children: /* @__PURE__ */ jsx74("code", {
4855
4721
  children: "public/ directory"
4856
4722
  })
4857
4723
  }),
@@ -4862,10 +4728,10 @@ var publicDirOption = {
4862
4728
  ssrName: "publicDir",
4863
4729
  docLink: "https://www.remotion.dev/docs/options/public-dir",
4864
4730
  getValue: ({ commandLine }) => {
4865
- if (commandLine[cliFlag81] !== undefined) {
4731
+ if (commandLine[cliFlag78] !== undefined) {
4866
4732
  return {
4867
4733
  source: "cli",
4868
- value: commandLine[cliFlag81]
4734
+ value: commandLine[cliFlag78]
4869
4735
  };
4870
4736
  }
4871
4737
  if (currentPublicDir !== null) {
@@ -4883,21 +4749,21 @@ var publicDirOption = {
4883
4749
  currentPublicDir = value;
4884
4750
  },
4885
4751
  type: "",
4886
- id: cliFlag81
4752
+ id: cliFlag78
4887
4753
  };
4888
4754
 
4889
4755
  // src/options/public-license-key.tsx
4890
- import { jsx as jsx78, jsxs as jsxs55, Fragment as Fragment78 } from "react/jsx-runtime";
4891
- var cliFlag82 = "public-license-key";
4756
+ import { jsx as jsx75, jsxs as jsxs54, Fragment as Fragment75 } from "react/jsx-runtime";
4757
+ var cliFlag79 = "public-license-key";
4892
4758
  var currentPublicLicenseKey = null;
4893
4759
  var publicLicenseKeyOption = {
4894
4760
  name: "Public License Key",
4895
4761
  addedIn: "4.0.398",
4896
- cliFlag: cliFlag82,
4897
- description: () => /* @__PURE__ */ jsxs55(Fragment78, {
4762
+ cliFlag: cliFlag79,
4763
+ description: () => /* @__PURE__ */ jsxs54(Fragment75, {
4898
4764
  children: [
4899
4765
  "The public license key for your company license, obtained from the License keys page on ",
4900
- /* @__PURE__ */ jsx78("a", {
4766
+ /* @__PURE__ */ jsx75("a", {
4901
4767
  href: "https://remotion.pro/dashboard",
4902
4768
  children: "remotion.pro"
4903
4769
  }),
@@ -4907,10 +4773,10 @@ var publicLicenseKeyOption = {
4907
4773
  ssrName: "publicLicenseKey",
4908
4774
  docLink: "https://www.remotion.dev/docs/options/public-license-key",
4909
4775
  getValue: ({ commandLine }) => {
4910
- if (commandLine[cliFlag82] !== undefined) {
4776
+ if (commandLine[cliFlag79] !== undefined) {
4911
4777
  return {
4912
4778
  source: "cli",
4913
- value: commandLine[cliFlag82]
4779
+ value: commandLine[cliFlag79]
4914
4780
  };
4915
4781
  }
4916
4782
  if (currentPublicLicenseKey !== null) {
@@ -4931,26 +4797,26 @@ var publicLicenseKeyOption = {
4931
4797
  currentPublicLicenseKey = value;
4932
4798
  },
4933
4799
  type: null,
4934
- id: cliFlag82
4800
+ id: cliFlag79
4935
4801
  };
4936
4802
 
4937
4803
  // src/options/public-path.tsx
4938
- import { jsx as jsx79, jsxs as jsxs56, Fragment as Fragment79 } from "react/jsx-runtime";
4939
- var cliFlag83 = "public-path";
4804
+ import { jsx as jsx76, jsxs as jsxs55, Fragment as Fragment76 } from "react/jsx-runtime";
4805
+ var cliFlag80 = "public-path";
4940
4806
  var currentPublicPath = null;
4941
4807
  var publicPathOption = {
4942
4808
  name: "Public Path",
4943
4809
  addedIn: "4.0.127",
4944
- cliFlag: cliFlag83,
4810
+ cliFlag: cliFlag80,
4945
4811
  description: () => {
4946
- return /* @__PURE__ */ jsxs56(Fragment79, {
4812
+ return /* @__PURE__ */ jsxs55(Fragment76, {
4947
4813
  children: [
4948
4814
  "The path of the URL where the bundle is going to be hosted. By default it is ",
4949
- /* @__PURE__ */ jsx79("code", {
4815
+ /* @__PURE__ */ jsx76("code", {
4950
4816
  children: "./"
4951
4817
  }),
4952
4818
  ", making the bundle relocatable. Set an absolute path such as ",
4953
- /* @__PURE__ */ jsx79("code", {
4819
+ /* @__PURE__ */ jsx76("code", {
4954
4820
  children: "/sites/my-site/"
4955
4821
  }),
4956
4822
  " to host the bundle at a fixed location."
@@ -4960,10 +4826,10 @@ var publicPathOption = {
4960
4826
  ssrName: "publicPath",
4961
4827
  docLink: "https://www.remotion.dev/docs/options/public-path",
4962
4828
  getValue: ({ commandLine }) => {
4963
- if (commandLine[cliFlag83] !== undefined) {
4829
+ if (commandLine[cliFlag80] !== undefined) {
4964
4830
  return {
4965
4831
  source: "cli",
4966
- value: commandLine[cliFlag83]
4832
+ value: commandLine[cliFlag80]
4967
4833
  };
4968
4834
  }
4969
4835
  if (currentPublicPath !== null) {
@@ -4981,30 +4847,30 @@ var publicPathOption = {
4981
4847
  currentPublicPath = value;
4982
4848
  },
4983
4849
  type: "",
4984
- id: cliFlag83
4850
+ id: cliFlag80
4985
4851
  };
4986
4852
 
4987
4853
  // src/options/repro.tsx
4988
- import { jsx as jsx80, Fragment as Fragment80 } from "react/jsx-runtime";
4854
+ import { jsx as jsx77, Fragment as Fragment77 } from "react/jsx-runtime";
4989
4855
  var enableRepro = false;
4990
4856
  var setRepro = (should) => {
4991
4857
  enableRepro = should;
4992
4858
  };
4993
- var cliFlag84 = "repro";
4859
+ var cliFlag81 = "repro";
4994
4860
  var reproOption = {
4995
4861
  name: "Create reproduction",
4996
4862
  addedIn: "4.0.88",
4997
- cliFlag: cliFlag84,
4998
- description: () => /* @__PURE__ */ jsx80(Fragment80, {
4863
+ cliFlag: cliFlag81,
4864
+ description: () => /* @__PURE__ */ jsx77(Fragment77, {
4999
4865
  children: "Create a ZIP that you can submit to Remotion if asked for a reproduction."
5000
4866
  }),
5001
4867
  ssrName: "repro",
5002
4868
  docLink: "https://www.remotion.dev/docs/options/repro",
5003
4869
  type: false,
5004
4870
  getValue: ({ commandLine }) => {
5005
- if (commandLine[cliFlag84] !== undefined && commandLine[cliFlag84] !== null) {
4871
+ if (commandLine[cliFlag81] !== undefined && commandLine[cliFlag81] !== null) {
5006
4872
  return {
5007
- value: commandLine[cliFlag84],
4873
+ value: commandLine[cliFlag81],
5008
4874
  source: "cli"
5009
4875
  };
5010
4876
  }
@@ -5020,28 +4886,28 @@ var reproOption = {
5020
4886
  };
5021
4887
  },
5022
4888
  setConfig: setRepro,
5023
- id: cliFlag84
4889
+ id: cliFlag81
5024
4890
  };
5025
4891
 
5026
4892
  // src/options/rspack.tsx
5027
- import { jsx as jsx81, Fragment as Fragment81 } from "react/jsx-runtime";
4893
+ import { jsx as jsx78, Fragment as Fragment78 } from "react/jsx-runtime";
5028
4894
  var rspackEnabled = false;
5029
4895
  var configuredRspackEnabled = null;
5030
- var cliFlag85 = "rspack";
4896
+ var cliFlag82 = "rspack";
5031
4897
  var rspackOption = {
5032
4898
  name: "Rspack",
5033
4899
  addedIn: "4.0.502",
5034
- cliFlag: cliFlag85,
5035
- description: () => /* @__PURE__ */ jsx81(Fragment81, {
4900
+ cliFlag: cliFlag82,
4901
+ description: () => /* @__PURE__ */ jsx78(Fragment78, {
5036
4902
  children: "Uses Rspack instead of Webpack as the bundler for the Studio or bundle."
5037
4903
  }),
5038
4904
  ssrName: null,
5039
4905
  docLink: "https://www.remotion.dev/docs/options/rspack",
5040
4906
  type: false,
5041
4907
  getValue: ({ commandLine }) => {
5042
- if (commandLine[cliFlag85] !== undefined && commandLine[cliFlag85] !== null) {
4908
+ if (commandLine[cliFlag82] !== undefined && commandLine[cliFlag82] !== null) {
5043
4909
  return {
5044
- value: commandLine[cliFlag85],
4910
+ value: commandLine[cliFlag82],
5045
4911
  source: "cli"
5046
4912
  };
5047
4913
  }
@@ -5059,22 +4925,22 @@ var rspackOption = {
5059
4925
  rspackEnabled = false;
5060
4926
  configuredRspackEnabled = null;
5061
4927
  },
5062
- id: cliFlag85
4928
+ id: cliFlag82
5063
4929
  };
5064
4930
 
5065
4931
  // src/options/runs.tsx
5066
- import { jsx as jsx82, jsxs as jsxs57, Fragment as Fragment82 } from "react/jsx-runtime";
4932
+ import { jsx as jsx79, jsxs as jsxs56, Fragment as Fragment79 } from "react/jsx-runtime";
5067
4933
  var DEFAULT_RUNS = 3;
5068
4934
  var currentRuns = DEFAULT_RUNS;
5069
- var cliFlag86 = "runs";
4935
+ var cliFlag83 = "runs";
5070
4936
  var runsOption = {
5071
4937
  name: "Benchmark runs",
5072
4938
  addedIn: "3.2.28",
5073
- cliFlag: cliFlag86,
5074
- description: () => /* @__PURE__ */ jsxs57(Fragment82, {
4939
+ cliFlag: cliFlag83,
4940
+ description: () => /* @__PURE__ */ jsxs56(Fragment79, {
5075
4941
  children: [
5076
4942
  "Specify how many times the video should be rendered during a benchmark. Default ",
5077
- /* @__PURE__ */ jsx82("code", {
4943
+ /* @__PURE__ */ jsx79("code", {
5078
4944
  children: DEFAULT_RUNS
5079
4945
  }),
5080
4946
  "."
@@ -5084,10 +4950,10 @@ var runsOption = {
5084
4950
  docLink: "https://www.remotion.dev/docs/options/runs",
5085
4951
  type: DEFAULT_RUNS,
5086
4952
  getValue: ({ commandLine }) => {
5087
- if (commandLine[cliFlag86] !== undefined) {
5088
- const value = Number(commandLine[cliFlag86]);
4953
+ if (commandLine[cliFlag83] !== undefined) {
4954
+ const value = Number(commandLine[cliFlag83]);
5089
4955
  if (isNaN(value) || value < 1) {
5090
- throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag86]}`);
4956
+ throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag83]}`);
5091
4957
  }
5092
4958
  return { value, source: "cli" };
5093
4959
  }
@@ -5102,22 +4968,22 @@ var runsOption = {
5102
4968
  }
5103
4969
  currentRuns = value;
5104
4970
  },
5105
- id: cliFlag86
4971
+ id: cliFlag83
5106
4972
  };
5107
4973
 
5108
4974
  // src/options/sample-rate.tsx
5109
- import { jsx as jsx83, jsxs as jsxs58, Fragment as Fragment83 } from "react/jsx-runtime";
5110
- var cliFlag87 = "sample-rate";
4975
+ import { jsx as jsx80, jsxs as jsxs57, Fragment as Fragment80 } from "react/jsx-runtime";
4976
+ var cliFlag84 = "sample-rate";
5111
4977
  var currentSampleRate = 48000;
5112
4978
  var sampleRateOption = {
5113
4979
  name: "Sample Rate",
5114
4980
  addedIn: "4.0.448",
5115
- cliFlag: cliFlag87,
5116
- description: () => /* @__PURE__ */ jsxs58(Fragment83, {
4981
+ cliFlag: cliFlag84,
4982
+ description: () => /* @__PURE__ */ jsxs57(Fragment80, {
5117
4983
  children: [
5118
4984
  "Controls the sample rate of the output audio. The default is",
5119
4985
  " ",
5120
- /* @__PURE__ */ jsx83("code", {
4986
+ /* @__PURE__ */ jsx80("code", {
5121
4987
  children: "48000"
5122
4988
  }),
5123
4989
  " Hz. Match this to your source audio to avoid resampling artifacts."
@@ -5127,8 +4993,8 @@ var sampleRateOption = {
5127
4993
  docLink: "https://www.remotion.dev/docs/options/sample-rate",
5128
4994
  type: 48000,
5129
4995
  getValue: ({ commandLine }, compositionSampleRate) => {
5130
- if (commandLine[cliFlag87] !== undefined) {
5131
- return { value: commandLine[cliFlag87], source: "cli" };
4996
+ if (commandLine[cliFlag84] !== undefined) {
4997
+ return { value: commandLine[cliFlag84], source: "cli" };
5132
4998
  }
5133
4999
  if (currentSampleRate !== 48000) {
5134
5000
  return { value: currentSampleRate, source: "config file" };
@@ -5144,13 +5010,13 @@ var sampleRateOption = {
5144
5010
  setConfig: (value) => {
5145
5011
  currentSampleRate = value;
5146
5012
  },
5147
- id: cliFlag87
5013
+ id: cliFlag84
5148
5014
  };
5149
5015
 
5150
5016
  // src/options/scale.tsx
5151
- import { jsx as jsx84, jsxs as jsxs59, Fragment as Fragment84 } from "react/jsx-runtime";
5017
+ import { jsx as jsx81, jsxs as jsxs58, Fragment as Fragment81 } from "react/jsx-runtime";
5152
5018
  var currentScale = 1;
5153
- var cliFlag88 = "scale";
5019
+ var cliFlag85 = "scale";
5154
5020
  var validateScale = (value) => {
5155
5021
  if (typeof value !== "number") {
5156
5022
  throw new Error("scale must be a number.");
@@ -5159,15 +5025,15 @@ var validateScale = (value) => {
5159
5025
  var scaleOption = {
5160
5026
  name: "Scale",
5161
5027
  addedIn: "2.6.7",
5162
- cliFlag: cliFlag88,
5163
- description: () => /* @__PURE__ */ jsxs59(Fragment84, {
5028
+ cliFlag: cliFlag85,
5029
+ description: () => /* @__PURE__ */ jsxs58(Fragment81, {
5164
5030
  children: [
5165
5031
  "Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
5166
- /* @__PURE__ */ jsx84("code", {
5032
+ /* @__PURE__ */ jsx81("code", {
5167
5033
  children: "1.5"
5168
5034
  }),
5169
5035
  ". See ",
5170
- /* @__PURE__ */ jsx84("a", {
5036
+ /* @__PURE__ */ jsx81("a", {
5171
5037
  href: "https://www.remotion.dev/docs/scaling",
5172
5038
  children: "Scaling"
5173
5039
  }),
@@ -5178,11 +5044,11 @@ var scaleOption = {
5178
5044
  docLink: "https://www.remotion.dev/docs/options/scale",
5179
5045
  type: 0,
5180
5046
  getValue: ({ commandLine }) => {
5181
- if (commandLine[cliFlag88] !== undefined) {
5182
- validateScale(commandLine[cliFlag88]);
5047
+ if (commandLine[cliFlag85] !== undefined) {
5048
+ validateScale(commandLine[cliFlag85]);
5183
5049
  return {
5184
5050
  source: "cli",
5185
- value: commandLine[cliFlag88]
5051
+ value: commandLine[cliFlag85]
5186
5052
  };
5187
5053
  }
5188
5054
  if (currentScale !== null) {
@@ -5199,23 +5065,114 @@ var scaleOption = {
5199
5065
  setConfig: (scale) => {
5200
5066
  currentScale = scale;
5201
5067
  },
5202
- id: cliFlag88
5068
+ id: cliFlag85
5069
+ };
5070
+
5071
+ // src/options/sequence-activity-limit.tsx
5072
+ import { NoReactInternals as NoReactInternals6 } from "remotion/no-react";
5073
+ import { jsx as jsx82, jsxs as jsxs59, Fragment as Fragment82 } from "react/jsx-runtime";
5074
+ var configuredLimit = null;
5075
+ var cliFlag86 = "sequence-activity-limit";
5076
+ var sequenceActivityLimitOption = {
5077
+ name: "Sequence Activity limit",
5078
+ addedIn: "4.0.536",
5079
+ cliFlag: cliFlag86,
5080
+ id: cliFlag86,
5081
+ description: () => /* @__PURE__ */ jsxs59(Fragment82, {
5082
+ children: [
5083
+ "Limit hidden scenes discovered by Sequence Activity in the Remotion Studio, including nested sequences and their ancestors. Visible, premounted, and postmounted scenes always render. Defaults to",
5084
+ " ",
5085
+ /* @__PURE__ */ jsx82("code", {
5086
+ children: "Infinity"
5087
+ }),
5088
+ " for unlimited discovery without admission delays. Must be a non-negative safe integer or ",
5089
+ /* @__PURE__ */ jsx82("code", {
5090
+ children: "Infinity"
5091
+ }),
5092
+ ". Set to 0 to disable Sequence Activity. Finite limits prioritize nearby scenes. Does not affect rendering."
5093
+ ]
5094
+ }),
5095
+ ssrName: null,
5096
+ docLink: "https://www.remotion.dev/docs/options/sequence-activity-limit",
5097
+ type: 0,
5098
+ getValue: ({ commandLine }) => {
5099
+ if (commandLine[cliFlag86] !== undefined) {
5100
+ const value = commandLine[cliFlag86] === "Infinity" ? Infinity : commandLine[cliFlag86];
5101
+ if (value !== Infinity && (!Number.isSafeInteger(value) || value < 0)) {
5102
+ throw new Error("Sequence Activity limit must be a non-negative safe integer or Infinity.");
5103
+ }
5104
+ return { value, source: "cli" };
5105
+ }
5106
+ return {
5107
+ value: configuredLimit ?? NoReactInternals6.DEFAULT_SEQUENCE_ACTIVITY_LIMIT,
5108
+ source: "config"
5109
+ };
5110
+ },
5111
+ setConfig(value) {
5112
+ if (value !== Infinity && (!Number.isSafeInteger(value) || value < 0)) {
5113
+ throw new Error("Sequence Activity limit must be a non-negative safe integer or Infinity.");
5114
+ }
5115
+ configuredLimit = value;
5116
+ },
5117
+ getConfigValue: () => configuredLimit,
5118
+ reset: () => {
5119
+ configuredLimit = null;
5120
+ }
5121
+ };
5122
+
5123
+ // src/options/show-layer-frame-numbers.tsx
5124
+ import { jsx as jsx83, jsxs as jsxs60, Fragment as Fragment83 } from "react/jsx-runtime";
5125
+ var configuredShowLayerFrameNumbers = null;
5126
+ var cliFlag87 = "show-layer-frame-numbers";
5127
+ var showLayerFrameNumbersOption = {
5128
+ name: "Show frame numbers of layer",
5129
+ addedIn: "4.0.535",
5130
+ cliFlag: cliFlag87,
5131
+ id: cliFlag87,
5132
+ description: () => /* @__PURE__ */ jsxs60(Fragment83, {
5133
+ children: [
5134
+ "Show the current frame number inside sequence layers in the Studio timeline. Defaults to ",
5135
+ /* @__PURE__ */ jsx83("code", {
5136
+ children: "false"
5137
+ }),
5138
+ "."
5139
+ ]
5140
+ }),
5141
+ ssrName: null,
5142
+ docLink: "https://www.remotion.dev/docs/options/show-layer-frame-numbers",
5143
+ type: false,
5144
+ getValue: ({ commandLine }) => {
5145
+ if (commandLine[cliFlag87] !== undefined && commandLine[cliFlag87] !== null) {
5146
+ return { value: commandLine[cliFlag87], source: "cli" };
5147
+ }
5148
+ return { value: configuredShowLayerFrameNumbers ?? false, source: "config" };
5149
+ },
5150
+ setConfig(value) {
5151
+ if (typeof value !== "boolean") {
5152
+ throw new Error("Config.setShowLayerFrameNumbers() expects a boolean");
5153
+ }
5154
+ configuredShowLayerFrameNumbers = value;
5155
+ },
5156
+ getConfigValue: () => configuredShowLayerFrameNumbers,
5157
+ reset: () => {
5158
+ configuredShowLayerFrameNumbers = null;
5159
+ }
5203
5160
  };
5204
5161
 
5205
5162
  // src/options/show-premounting.tsx
5206
- import { jsx as jsx85, jsxs as jsxs60, Fragment as Fragment85 } from "react/jsx-runtime";
5163
+ import { jsx as jsx84, jsxs as jsxs61, Fragment as Fragment84 } from "react/jsx-runtime";
5207
5164
  var configuredShowPremounting = null;
5208
- var cliFlag89 = "show-premounting";
5165
+ var cliFlag88 = "show-premounting";
5209
5166
  var showPremountingOption = {
5210
5167
  name: "Show premounting in the Studio timeline",
5211
5168
  addedIn: "4.0.535",
5212
- cliFlag: cliFlag89,
5213
- id: cliFlag89,
5214
- description: () => /* @__PURE__ */ jsxs60(Fragment85, {
5169
+ cliFlag: cliFlag88,
5170
+ id: cliFlag88,
5171
+ description: () => /* @__PURE__ */ jsxs61(Fragment84, {
5215
5172
  children: [
5216
5173
  "Show premounting indicators in the Studio timeline. Defaults to",
5217
5174
  " ",
5218
- /* @__PURE__ */ jsx85("code", {
5175
+ /* @__PURE__ */ jsx84("code", {
5219
5176
  children: "false"
5220
5177
  }),
5221
5178
  "."
@@ -5225,8 +5182,8 @@ var showPremountingOption = {
5225
5182
  docLink: "https://www.remotion.dev/docs/options/show-premounting",
5226
5183
  type: true,
5227
5184
  getValue: ({ commandLine }) => {
5228
- if (commandLine[cliFlag89] !== undefined && commandLine[cliFlag89] !== null) {
5229
- return { value: commandLine[cliFlag89], source: "cli" };
5185
+ if (commandLine[cliFlag88] !== undefined && commandLine[cliFlag88] !== null) {
5186
+ return { value: commandLine[cliFlag88], source: "cli" };
5230
5187
  }
5231
5188
  return { value: configuredShowPremounting ?? false, source: "config" };
5232
5189
  },
@@ -5243,19 +5200,19 @@ var showPremountingOption = {
5243
5200
  };
5244
5201
 
5245
5202
  // src/options/skip-skills.tsx
5246
- import { jsx as jsx86, Fragment as Fragment86 } from "react/jsx-runtime";
5247
- var cliFlag90 = "skip-skills";
5203
+ import { jsx as jsx85, Fragment as Fragment85 } from "react/jsx-runtime";
5204
+ var cliFlag89 = "skip-skills";
5248
5205
  var skipSkillsOption = {
5249
5206
  name: "Skip Skills",
5250
5207
  addedIn: "4.0.503",
5251
- cliFlag: cliFlag90,
5252
- description: () => /* @__PURE__ */ jsx86(Fragment86, {
5208
+ cliFlag: cliFlag89,
5209
+ description: () => /* @__PURE__ */ jsx85(Fragment85, {
5253
5210
  children: "Do not update installed Remotion Agent Skills while upgrading Remotion."
5254
5211
  }),
5255
5212
  ssrName: null,
5256
5213
  docLink: "https://www.remotion.dev/docs/options/skip-skills",
5257
5214
  getValue: ({ commandLine }) => {
5258
- if (commandLine[cliFlag90]) {
5215
+ if (commandLine[cliFlag89]) {
5259
5216
  return {
5260
5217
  source: "cli",
5261
5218
  value: true
@@ -5270,13 +5227,13 @@ var skipSkillsOption = {
5270
5227
  throw new Error("Cannot skip updating skills via config file");
5271
5228
  },
5272
5229
  type: false,
5273
- id: cliFlag90
5230
+ id: cliFlag89
5274
5231
  };
5275
5232
 
5276
5233
  // src/options/still-frame.tsx
5277
5234
  import { NoReactInternals as NoReactInternals7 } from "remotion/no-react";
5278
- import { jsx as jsx87, jsxs as jsxs61, Fragment as Fragment87 } from "react/jsx-runtime";
5279
- var cliFlag91 = "frame";
5235
+ import { jsx as jsx86, jsxs as jsxs62, Fragment as Fragment86 } from "react/jsx-runtime";
5236
+ var cliFlag90 = "frame";
5280
5237
  var currentFrame = null;
5281
5238
  var validate3 = (frame) => {
5282
5239
  NoReactInternals7.validateFrame({
@@ -5288,17 +5245,17 @@ var validate3 = (frame) => {
5288
5245
  var stillFrameOption = {
5289
5246
  name: "Frame",
5290
5247
  addedIn: "2.3.0",
5291
- cliFlag: cliFlag91,
5292
- description: () => /* @__PURE__ */ jsxs61(Fragment87, {
5248
+ cliFlag: cliFlag90,
5249
+ description: () => /* @__PURE__ */ jsxs62(Fragment86, {
5293
5250
  children: [
5294
5251
  "Which frame should be rendered when rendering a still. Default",
5295
5252
  " ",
5296
- /* @__PURE__ */ jsx87("code", {
5253
+ /* @__PURE__ */ jsx86("code", {
5297
5254
  children: "0"
5298
5255
  }),
5299
5256
  ". From v3.2.27, negative values are allowed, with",
5300
5257
  " ",
5301
- /* @__PURE__ */ jsx87("code", {
5258
+ /* @__PURE__ */ jsx86("code", {
5302
5259
  children: "-1"
5303
5260
  }),
5304
5261
  " being the last frame."
@@ -5307,8 +5264,8 @@ var stillFrameOption = {
5307
5264
  ssrName: "frame",
5308
5265
  docLink: "https://www.remotion.dev/docs/options/frame",
5309
5266
  getValue: ({ commandLine }) => {
5310
- if (commandLine[cliFlag91] !== undefined) {
5311
- const frame = Number(commandLine[cliFlag91]);
5267
+ if (commandLine[cliFlag90] !== undefined) {
5268
+ const frame = Number(commandLine[cliFlag90]);
5312
5269
  validate3(frame);
5313
5270
  return {
5314
5271
  source: "cli",
@@ -5333,25 +5290,25 @@ var stillFrameOption = {
5333
5290
  currentFrame = value;
5334
5291
  },
5335
5292
  type: 0,
5336
- id: cliFlag91
5293
+ id: cliFlag90
5337
5294
  };
5338
5295
 
5339
5296
  // src/options/still-image-format.tsx
5340
- import { jsx as jsx88, jsxs as jsxs62, Fragment as Fragment88 } from "react/jsx-runtime";
5297
+ import { jsx as jsx87, jsxs as jsxs63, Fragment as Fragment87 } from "react/jsx-runtime";
5341
5298
  var currentStillImageFormat = null;
5342
- var cliFlag92 = "image-format";
5299
+ var cliFlag91 = "image-format";
5343
5300
  var stillImageFormatOption = {
5344
5301
  name: "Still Image Format",
5345
5302
  addedIn: "2.3.0",
5346
- cliFlag: cliFlag92,
5347
- description: () => /* @__PURE__ */ jsxs62(Fragment88, {
5303
+ cliFlag: cliFlag91,
5304
+ description: () => /* @__PURE__ */ jsxs63(Fragment87, {
5348
5305
  children: [
5349
5306
  "The image format to use when rendering a still. Must be one of",
5350
5307
  " ",
5351
5308
  validStillImageFormats.map((f) => `"${f}"`).join(", "),
5352
5309
  ". Default:",
5353
5310
  " ",
5354
- /* @__PURE__ */ jsx88("code", {
5311
+ /* @__PURE__ */ jsx87("code", {
5355
5312
  children: '"png"'
5356
5313
  }),
5357
5314
  "."
@@ -5361,8 +5318,8 @@ var stillImageFormatOption = {
5361
5318
  docLink: "https://www.remotion.dev/docs/options/still-image-format",
5362
5319
  type: null,
5363
5320
  getValue: ({ commandLine }) => {
5364
- if (commandLine[cliFlag92] !== undefined) {
5365
- const value = commandLine[cliFlag92];
5321
+ if (commandLine[cliFlag91] !== undefined) {
5322
+ const value = commandLine[cliFlag91];
5366
5323
  if (!validStillImageFormats.includes(value)) {
5367
5324
  throw new Error(`Invalid still image format: ${value}. Must be one of: ${validStillImageFormats.join(", ")}`);
5368
5325
  }
@@ -5400,16 +5357,16 @@ var stillImageFormatOption = {
5400
5357
 
5401
5358
  // src/options/throw-if-site-exists.tsx
5402
5359
  var DEFAULT5 = false;
5403
- var cliFlag93 = "throw-if-site-exists";
5360
+ var cliFlag92 = "throw-if-site-exists";
5404
5361
  var throwIfSiteExistsOption = {
5405
- cliFlag: cliFlag93,
5362
+ cliFlag: cliFlag92,
5406
5363
  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.`,
5407
5364
  docLink: "https://www.remotion.dev/docs/options/throw-if-site-exists",
5408
5365
  getValue: ({ commandLine }) => {
5409
- if (commandLine[cliFlag93]) {
5366
+ if (commandLine[cliFlag92]) {
5410
5367
  return {
5411
5368
  source: "cli",
5412
- value: commandLine[cliFlag93]
5369
+ value: commandLine[cliFlag92]
5413
5370
  };
5414
5371
  }
5415
5372
  return {
@@ -5424,42 +5381,42 @@ var throwIfSiteExistsOption = {
5424
5381
  },
5425
5382
  ssrName: "throwIfSiteExists",
5426
5383
  type: false,
5427
- id: cliFlag93
5384
+ id: cliFlag92
5428
5385
  };
5429
5386
 
5430
5387
  // src/options/timeout.tsx
5431
- import { jsx as jsx89, jsxs as jsxs63, Fragment as Fragment89 } from "react/jsx-runtime";
5388
+ import { jsx as jsx88, jsxs as jsxs64, Fragment as Fragment88 } from "react/jsx-runtime";
5432
5389
  var currentTimeout = DEFAULT_TIMEOUT;
5433
5390
  var validate4 = (value) => {
5434
5391
  if (typeof value !== "number") {
5435
5392
  throw new Error("--timeout flag / setDelayRenderTimeoutInMilliseconds() must be a number, but got " + JSON.stringify(value));
5436
5393
  }
5437
5394
  };
5438
- var cliFlag94 = "timeout";
5395
+ var cliFlag93 = "timeout";
5439
5396
  var delayRenderTimeoutInMillisecondsOption = {
5440
5397
  name: "delayRender() timeout",
5441
5398
  addedIn: "2.6.3",
5442
- cliFlag: cliFlag94,
5443
- description: () => /* @__PURE__ */ jsxs63(Fragment89, {
5399
+ cliFlag: cliFlag93,
5400
+ description: () => /* @__PURE__ */ jsxs64(Fragment88, {
5444
5401
  children: [
5445
5402
  "A number describing how long the render may take to resolve all",
5446
5403
  " ",
5447
- /* @__PURE__ */ jsx89("a", {
5404
+ /* @__PURE__ */ jsx88("a", {
5448
5405
  href: "https://remotion.dev/docs/delay-render",
5449
- children: /* @__PURE__ */ jsx89("code", {
5406
+ children: /* @__PURE__ */ jsx88("code", {
5450
5407
  children: "delayRender()"
5451
5408
  })
5452
5409
  }),
5453
5410
  " ",
5454
5411
  "calls",
5455
5412
  " ",
5456
- /* @__PURE__ */ jsx89("a", {
5413
+ /* @__PURE__ */ jsx88("a", {
5457
5414
  style: { fontSize: "inherit" },
5458
5415
  href: "https://remotion.dev/docs/timeout",
5459
5416
  children: "before it times out"
5460
5417
  }),
5461
5418
  ". Default: ",
5462
- /* @__PURE__ */ jsx89("code", {
5419
+ /* @__PURE__ */ jsx88("code", {
5463
5420
  children: "30000"
5464
5421
  })
5465
5422
  ]
@@ -5468,10 +5425,10 @@ var delayRenderTimeoutInMillisecondsOption = {
5468
5425
  docLink: "https://www.remotion.dev/docs/options/timeout",
5469
5426
  type: 0,
5470
5427
  getValue: ({ commandLine }) => {
5471
- if (commandLine[cliFlag94] !== undefined) {
5428
+ if (commandLine[cliFlag93] !== undefined) {
5472
5429
  return {
5473
5430
  source: "cli",
5474
- value: commandLine[cliFlag94]
5431
+ value: commandLine[cliFlag93]
5475
5432
  };
5476
5433
  }
5477
5434
  if (currentTimeout !== null) {
@@ -5490,28 +5447,28 @@ var delayRenderTimeoutInMillisecondsOption = {
5490
5447
  validate4(value);
5491
5448
  currentTimeout = value;
5492
5449
  },
5493
- id: cliFlag94
5450
+ id: cliFlag93
5494
5451
  };
5495
5452
 
5496
5453
  // src/options/user-agent.tsx
5497
- import { jsx as jsx90, Fragment as Fragment90 } from "react/jsx-runtime";
5454
+ import { jsx as jsx89, Fragment as Fragment89 } from "react/jsx-runtime";
5498
5455
  var userAgent = null;
5499
- var cliFlag95 = "user-agent";
5456
+ var cliFlag94 = "user-agent";
5500
5457
  var userAgentOption = {
5501
5458
  name: "User agent",
5502
5459
  addedIn: "3.3.83",
5503
- cliFlag: cliFlag95,
5504
- description: () => /* @__PURE__ */ jsx90(Fragment90, {
5460
+ cliFlag: cliFlag94,
5461
+ description: () => /* @__PURE__ */ jsx89(Fragment89, {
5505
5462
  children: "Lets you set a custom user agent that the headless Chrome browser assumes."
5506
5463
  }),
5507
5464
  ssrName: "userAgent",
5508
5465
  docLink: "https://www.remotion.dev/docs/options/user-agent",
5509
5466
  type: null,
5510
5467
  getValue: ({ commandLine }) => {
5511
- if (commandLine[cliFlag95] !== undefined) {
5468
+ if (commandLine[cliFlag94] !== undefined) {
5512
5469
  return {
5513
5470
  source: "cli",
5514
- value: commandLine[cliFlag95]
5471
+ value: commandLine[cliFlag94]
5515
5472
  };
5516
5473
  }
5517
5474
  if (userAgent !== null) {
@@ -5528,26 +5485,26 @@ var userAgentOption = {
5528
5485
  setConfig: (value) => {
5529
5486
  userAgent = value;
5530
5487
  },
5531
- id: cliFlag95
5488
+ id: cliFlag94
5532
5489
  };
5533
5490
 
5534
5491
  // src/options/version-flag.tsx
5535
- import { jsx as jsx91, Fragment as Fragment91 } from "react/jsx-runtime";
5536
- var cliFlag96 = "version";
5492
+ import { jsx as jsx90, Fragment as Fragment90 } from "react/jsx-runtime";
5493
+ var cliFlag95 = "version";
5537
5494
  var versionFlagOption = {
5538
5495
  name: "Version",
5539
5496
  addedIn: "4.0.15",
5540
- cliFlag: cliFlag96,
5541
- description: () => /* @__PURE__ */ jsx91(Fragment91, {
5497
+ cliFlag: cliFlag95,
5498
+ description: () => /* @__PURE__ */ jsx90(Fragment90, {
5542
5499
  children: "Install a specific version. Also enables downgrading to an older version."
5543
5500
  }),
5544
5501
  ssrName: null,
5545
5502
  docLink: "https://www.remotion.dev/docs/options/version",
5546
5503
  getValue: ({ commandLine }) => {
5547
- if (commandLine[cliFlag96] !== undefined) {
5504
+ if (commandLine[cliFlag95] !== undefined) {
5548
5505
  return {
5549
5506
  source: "cli",
5550
- value: String(commandLine[cliFlag96])
5507
+ value: String(commandLine[cliFlag95])
5551
5508
  };
5552
5509
  }
5553
5510
  return {
@@ -5559,31 +5516,31 @@ var versionFlagOption = {
5559
5516
  throw new Error("Cannot set version via config file");
5560
5517
  },
5561
5518
  type: "",
5562
- id: cliFlag96
5519
+ id: cliFlag95
5563
5520
  };
5564
5521
 
5565
5522
  // src/options/video-bitrate.tsx
5566
- import { jsx as jsx92, jsxs as jsxs64, Fragment as Fragment92 } from "react/jsx-runtime";
5523
+ import { jsx as jsx91, jsxs as jsxs65, Fragment as Fragment91 } from "react/jsx-runtime";
5567
5524
  var videoBitrate = null;
5568
- var cliFlag97 = "video-bitrate";
5525
+ var cliFlag96 = "video-bitrate";
5569
5526
  var videoBitrateOption = {
5570
5527
  name: "Video Bitrate",
5571
5528
  addedIn: "3.2.32",
5572
- cliFlag: cliFlag97,
5573
- description: () => /* @__PURE__ */ jsxs64(Fragment92, {
5529
+ cliFlag: cliFlag96,
5530
+ description: () => /* @__PURE__ */ jsxs65(Fragment91, {
5574
5531
  children: [
5575
5532
  "Specify the target bitrate for the generated video. The syntax for FFmpeg",
5576
5533
  "'",
5577
5534
  "s",
5578
- /* @__PURE__ */ jsx92("code", {
5535
+ /* @__PURE__ */ jsx91("code", {
5579
5536
  children: "-b:v"
5580
5537
  }),
5581
5538
  " parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ",
5582
- /* @__PURE__ */ jsx92("code", {
5539
+ /* @__PURE__ */ jsx91("code", {
5583
5540
  children: "512K"
5584
5541
  }),
5585
5542
  " for 512 kbps, ",
5586
- /* @__PURE__ */ jsx92("code", {
5543
+ /* @__PURE__ */ jsx91("code", {
5587
5544
  children: "1M"
5588
5545
  }),
5589
5546
  " for 1 Mbps."
@@ -5593,10 +5550,10 @@ var videoBitrateOption = {
5593
5550
  docLink: "https://www.remotion.dev/docs/options/video-bitrate",
5594
5551
  type: "",
5595
5552
  getValue: ({ commandLine }) => {
5596
- if (commandLine[cliFlag97] !== undefined) {
5553
+ if (commandLine[cliFlag96] !== undefined) {
5597
5554
  return {
5598
5555
  source: "cli",
5599
- value: commandLine[cliFlag97]
5556
+ value: commandLine[cliFlag96]
5600
5557
  };
5601
5558
  }
5602
5559
  if (videoBitrate !== null) {
@@ -5613,35 +5570,35 @@ var videoBitrateOption = {
5613
5570
  setConfig: (bitrate) => {
5614
5571
  videoBitrate = bitrate;
5615
5572
  },
5616
- id: cliFlag97
5573
+ id: cliFlag96
5617
5574
  };
5618
5575
 
5619
5576
  // src/options/video-cache-size.tsx
5620
- import { jsx as jsx93, jsxs as jsxs65, Fragment as Fragment93 } from "react/jsx-runtime";
5577
+ import { jsx as jsx92, jsxs as jsxs66, Fragment as Fragment92 } from "react/jsx-runtime";
5621
5578
  var mediaCacheSizeInBytes = null;
5622
- var cliFlag98 = "media-cache-size-in-bytes";
5579
+ var cliFlag97 = "media-cache-size-in-bytes";
5623
5580
  var mediaCacheSizeInBytesOption = {
5624
5581
  name: "@remotion/media cache size",
5625
5582
  addedIn: "4.0.352",
5626
- cliFlag: cliFlag98,
5627
- description: () => /* @__PURE__ */ jsxs65(Fragment93, {
5583
+ cliFlag: cliFlag97,
5584
+ description: () => /* @__PURE__ */ jsxs66(Fragment92, {
5628
5585
  children: [
5629
5586
  "Specify the memory budget for decoded media cached by",
5630
5587
  " ",
5631
- /* @__PURE__ */ jsx93("code", {
5588
+ /* @__PURE__ */ jsx92("code", {
5632
5589
  children: "<Video>"
5633
5590
  }),
5634
5591
  " and ",
5635
- /* @__PURE__ */ jsx93("code", {
5592
+ /* @__PURE__ */ jsx92("code", {
5636
5593
  children: "<Audio>"
5637
5594
  }),
5638
5595
  " from",
5639
5596
  " ",
5640
- /* @__PURE__ */ jsx93("code", {
5597
+ /* @__PURE__ */ jsx92("code", {
5641
5598
  children: "@remotion/media"
5642
5599
  }),
5643
5600
  ", in bytes. This value also determines the maximum read cache size for each distinct media source. It is not a limit on total memory usage. ",
5644
- /* @__PURE__ */ jsx93("br", {}),
5601
+ /* @__PURE__ */ jsx92("br", {}),
5645
5602
  "The default is half of the available system memory when the render starts."
5646
5603
  ]
5647
5604
  }),
@@ -5649,10 +5606,10 @@ var mediaCacheSizeInBytesOption = {
5649
5606
  docLink: "https://www.remotion.dev/docs/options/media-cache-size-in-bytes",
5650
5607
  type: 0,
5651
5608
  getValue: ({ commandLine }) => {
5652
- if (commandLine[cliFlag98] !== undefined) {
5609
+ if (commandLine[cliFlag97] !== undefined) {
5653
5610
  return {
5654
5611
  source: "cli",
5655
- value: commandLine[cliFlag98]
5612
+ value: commandLine[cliFlag97]
5656
5613
  };
5657
5614
  }
5658
5615
  if (mediaCacheSizeInBytes !== null) {
@@ -5669,11 +5626,11 @@ var mediaCacheSizeInBytesOption = {
5669
5626
  setConfig: (size) => {
5670
5627
  mediaCacheSizeInBytes = size ?? null;
5671
5628
  },
5672
- id: cliFlag98
5629
+ id: cliFlag97
5673
5630
  };
5674
5631
 
5675
5632
  // src/options/video-codec.tsx
5676
- import { jsx as jsx94, Fragment as Fragment94 } from "react/jsx-runtime";
5633
+ import { jsx as jsx93, Fragment as Fragment93 } from "react/jsx-runtime";
5677
5634
  var codec;
5678
5635
  var setCodec = (newCodec) => {
5679
5636
  if (newCodec === undefined) {
@@ -5698,12 +5655,12 @@ var deriveCodecsFromFilename = (extension) => {
5698
5655
  possible: makeFileExtensionMap()[normalizedExtension] ?? []
5699
5656
  };
5700
5657
  };
5701
- var cliFlag99 = "codec";
5658
+ var cliFlag98 = "codec";
5702
5659
  var videoCodecOption = {
5703
5660
  name: "Codec",
5704
5661
  addedIn: "1.4.0",
5705
- cliFlag: cliFlag99,
5706
- description: () => /* @__PURE__ */ jsx94(Fragment94, {
5662
+ cliFlag: cliFlag98,
5663
+ description: () => /* @__PURE__ */ jsx93(Fragment93, {
5707
5664
  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."
5708
5665
  }),
5709
5666
  ssrName: "codec",
@@ -5726,7 +5683,7 @@ var videoCodecOption = {
5726
5683
  if (derivedDownloadCodecs.possible.length > 0 && derivedOutNameCodecs.possible.length > 0 && derivedDownloadCodecs.possible.join("") !== derivedOutNameCodecs.possible.join("")) {
5727
5684
  throw new TypeError(`The download name is ${downloadName} but the output name is ${outName}. The file extensions must match`);
5728
5685
  }
5729
- const cliArgument = commandLine[cliFlag99];
5686
+ const cliArgument = commandLine[cliFlag98];
5730
5687
  if (cliArgument) {
5731
5688
  if (derivedDownloadCodecs.possible.length > 0 && derivedDownloadCodecs.possible.indexOf(cliArgument) === -1) {
5732
5689
  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.`);
@@ -5775,31 +5732,31 @@ var videoCodecOption = {
5775
5732
  reset: () => {
5776
5733
  codec = undefined;
5777
5734
  },
5778
- id: cliFlag99
5735
+ id: cliFlag98
5779
5736
  };
5780
5737
 
5781
5738
  // src/options/video-image-format.tsx
5782
- import { jsx as jsx95, jsxs as jsxs66, Fragment as Fragment95 } from "react/jsx-runtime";
5739
+ import { jsx as jsx94, jsxs as jsxs67, Fragment as Fragment94 } from "react/jsx-runtime";
5783
5740
  var currentVideoImageFormat = null;
5784
- var cliFlag100 = "image-format";
5741
+ var cliFlag99 = "image-format";
5785
5742
  var videoImageFormatOption = {
5786
5743
  name: "Video Image Format",
5787
5744
  addedIn: "1.4.0",
5788
- cliFlag: cliFlag100,
5789
- description: () => /* @__PURE__ */ jsxs66(Fragment95, {
5745
+ cliFlag: cliFlag99,
5746
+ description: () => /* @__PURE__ */ jsxs67(Fragment94, {
5790
5747
  children: [
5791
5748
  "The image format to use when rendering frames for a video. Must be one of",
5792
5749
  " ",
5793
5750
  validVideoImageFormats.map((f) => `"${f}"`).join(", "),
5794
5751
  ". Default:",
5795
5752
  " ",
5796
- /* @__PURE__ */ jsx95("code", {
5753
+ /* @__PURE__ */ jsx94("code", {
5797
5754
  children: '"jpeg"'
5798
5755
  }),
5799
5756
  ". JPEG is faster, but does not support transparency.",
5800
- /* @__PURE__ */ jsx95("br", {}),
5757
+ /* @__PURE__ */ jsx94("br", {}),
5801
5758
  "When ",
5802
- /* @__PURE__ */ jsx95("a", {
5759
+ /* @__PURE__ */ jsx94("a", {
5803
5760
  href: "/docs/shared-memory-capture",
5804
5761
  children: "shared-memory capture"
5805
5762
  }),
@@ -5816,8 +5773,8 @@ var videoImageFormatOption = {
5816
5773
  value: options.uiVideoImageFormat
5817
5774
  };
5818
5775
  }
5819
- if (commandLine[cliFlag100] !== undefined) {
5820
- const value = commandLine[cliFlag100];
5776
+ if (commandLine[cliFlag99] !== undefined) {
5777
+ const value = commandLine[cliFlag99];
5821
5778
  if (!validVideoImageFormats.includes(value)) {
5822
5779
  throw new Error(`Invalid video image format: ${value}. Must be one of: ${validVideoImageFormats.join(", ")}`);
5823
5780
  }
@@ -5881,13 +5838,13 @@ var videoImageFormatOption = {
5881
5838
  };
5882
5839
 
5883
5840
  // src/options/webhook-custom-data.tsx
5884
- import { jsxs as jsxs67, Fragment as Fragment96 } from "react/jsx-runtime";
5885
- var cliFlag101 = "webhook-custom-data";
5841
+ import { jsxs as jsxs68, Fragment as Fragment95 } from "react/jsx-runtime";
5842
+ var cliFlag100 = "webhook-custom-data";
5886
5843
  var webhookCustomDataOption = {
5887
5844
  name: "Webhook custom data",
5888
5845
  addedIn: "4.0.25",
5889
- cliFlag: cliFlag101,
5890
- description: (type) => /* @__PURE__ */ jsxs67(Fragment96, {
5846
+ cliFlag: cliFlag100,
5847
+ description: (type) => /* @__PURE__ */ jsxs68(Fragment95, {
5891
5848
  children: [
5892
5849
  "Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
5893
5850
  " ",
@@ -5903,25 +5860,25 @@ var webhookCustomDataOption = {
5903
5860
  setConfig: () => {
5904
5861
  throw new Error("Not implemented");
5905
5862
  },
5906
- id: cliFlag101
5863
+ id: cliFlag100
5907
5864
  };
5908
5865
 
5909
5866
  // src/options/webpack-poll.tsx
5910
- import { jsx as jsx96, Fragment as Fragment97 } from "react/jsx-runtime";
5911
- var cliFlag102 = "webpack-poll";
5867
+ import { jsx as jsx95, Fragment as Fragment96 } from "react/jsx-runtime";
5868
+ var cliFlag101 = "webpack-poll";
5912
5869
  var webpackPolling = null;
5913
5870
  var webpackPollOption = {
5914
5871
  name: "Webpack Polling",
5915
5872
  addedIn: "3.3.11",
5916
- cliFlag: cliFlag102,
5917
- description: () => /* @__PURE__ */ jsx96(Fragment97, {
5873
+ cliFlag: cliFlag101,
5874
+ description: () => /* @__PURE__ */ jsx95(Fragment96, {
5918
5875
  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."
5919
5876
  }),
5920
5877
  ssrName: null,
5921
5878
  docLink: "https://www.remotion.dev/docs/options/webpack-poll",
5922
5879
  getValue: ({ commandLine }) => {
5923
- if (commandLine[cliFlag102] !== undefined) {
5924
- const val = commandLine[cliFlag102];
5880
+ if (commandLine[cliFlag101] !== undefined) {
5881
+ const val = commandLine[cliFlag101];
5925
5882
  if (typeof val !== "number") {
5926
5883
  throw new TypeError(`Webpack polling must be a number, got ${JSON.stringify(val)}`);
5927
5884
  }
@@ -5948,11 +5905,11 @@ var webpackPollOption = {
5948
5905
  webpackPolling = value;
5949
5906
  },
5950
5907
  type: 0,
5951
- id: cliFlag102
5908
+ id: cliFlag101
5952
5909
  };
5953
5910
 
5954
5911
  // src/options/x264-preset.tsx
5955
- import { jsx as jsx97, jsxs as jsxs68, Fragment as Fragment98 } from "react/jsx-runtime";
5912
+ import { jsx as jsx96, jsxs as jsxs69, Fragment as Fragment97 } from "react/jsx-runtime";
5956
5913
  var x264PresetOptions = [
5957
5914
  "ultrafast",
5958
5915
  "superfast",
@@ -5966,64 +5923,64 @@ var x264PresetOptions = [
5966
5923
  "placebo"
5967
5924
  ];
5968
5925
  var preset = null;
5969
- var cliFlag103 = "x264-preset";
5926
+ var cliFlag102 = "x264-preset";
5970
5927
  var DEFAULT_PRESET = "medium";
5971
5928
  var x264Option = {
5972
5929
  name: "x264 Preset",
5973
5930
  addedIn: "4.0.22",
5974
- cliFlag: cliFlag103,
5975
- description: () => /* @__PURE__ */ jsxs68(Fragment98, {
5931
+ cliFlag: cliFlag102,
5932
+ description: () => /* @__PURE__ */ jsxs69(Fragment97, {
5976
5933
  children: [
5977
5934
  "Sets a x264 preset profile. Only applies to videos rendered with",
5978
5935
  " ",
5979
- /* @__PURE__ */ jsx97("code", {
5936
+ /* @__PURE__ */ jsx96("code", {
5980
5937
  children: "h264"
5981
5938
  }),
5982
5939
  " codec.",
5983
- /* @__PURE__ */ jsx97("br", {}),
5940
+ /* @__PURE__ */ jsx96("br", {}),
5984
5941
  "Possible values: ",
5985
- /* @__PURE__ */ jsx97("code", {
5942
+ /* @__PURE__ */ jsx96("code", {
5986
5943
  children: "superfast"
5987
5944
  }),
5988
5945
  ", ",
5989
- /* @__PURE__ */ jsx97("code", {
5946
+ /* @__PURE__ */ jsx96("code", {
5990
5947
  children: "veryfast"
5991
5948
  }),
5992
5949
  ",",
5993
5950
  " ",
5994
- /* @__PURE__ */ jsx97("code", {
5951
+ /* @__PURE__ */ jsx96("code", {
5995
5952
  children: "faster"
5996
5953
  }),
5997
5954
  ", ",
5998
- /* @__PURE__ */ jsx97("code", {
5955
+ /* @__PURE__ */ jsx96("code", {
5999
5956
  children: "fast"
6000
5957
  }),
6001
5958
  ", ",
6002
- /* @__PURE__ */ jsx97("code", {
5959
+ /* @__PURE__ */ jsx96("code", {
6003
5960
  children: "medium"
6004
5961
  }),
6005
5962
  ",",
6006
5963
  " ",
6007
- /* @__PURE__ */ jsx97("code", {
5964
+ /* @__PURE__ */ jsx96("code", {
6008
5965
  children: "slow"
6009
5966
  }),
6010
5967
  ", ",
6011
- /* @__PURE__ */ jsx97("code", {
5968
+ /* @__PURE__ */ jsx96("code", {
6012
5969
  children: "slower"
6013
5970
  }),
6014
5971
  ", ",
6015
- /* @__PURE__ */ jsx97("code", {
5972
+ /* @__PURE__ */ jsx96("code", {
6016
5973
  children: "veryslow"
6017
5974
  }),
6018
5975
  ",",
6019
5976
  " ",
6020
- /* @__PURE__ */ jsx97("code", {
5977
+ /* @__PURE__ */ jsx96("code", {
6021
5978
  children: "placebo"
6022
5979
  }),
6023
5980
  ".",
6024
- /* @__PURE__ */ jsx97("br", {}),
5981
+ /* @__PURE__ */ jsx96("br", {}),
6025
5982
  "Default: ",
6026
- /* @__PURE__ */ jsx97("code", {
5983
+ /* @__PURE__ */ jsx96("code", {
6027
5984
  children: DEFAULT_PRESET
6028
5985
  })
6029
5986
  ]
@@ -6032,7 +5989,7 @@ var x264Option = {
6032
5989
  docLink: "https://www.remotion.dev/docs/options/x264-preset",
6033
5990
  type: "fast",
6034
5991
  getValue: ({ commandLine }) => {
6035
- const value = commandLine[cliFlag103];
5992
+ const value = commandLine[cliFlag102];
6036
5993
  if (typeof value !== "undefined") {
6037
5994
  return { value, source: "cli" };
6038
5995
  }
@@ -6044,11 +6001,12 @@ var x264Option = {
6044
6001
  setConfig: (profile) => {
6045
6002
  preset = profile;
6046
6003
  },
6047
- id: cliFlag103
6004
+ id: cliFlag102
6048
6005
  };
6049
6006
 
6050
6007
  // src/options/index.tsx
6051
6008
  var allOptions = {
6009
+ showLayerFrameNumbersOption,
6052
6010
  showPremountingOption,
6053
6011
  allowHtmlInCanvasOption,
6054
6012
  audioCodecOption,
@@ -6125,9 +6083,7 @@ var allOptions = {
6125
6083
  framesOption,
6126
6084
  forceNewStudioOption,
6127
6085
  experimentalKeepAudioContextAliveOption,
6128
- experimentalTracksOption,
6129
- experimentalSequenceActivityOption,
6130
- experimentalSequenceActivityLimitOption,
6086
+ sequenceActivityLimitOption,
6131
6087
  numberOfSharedAudioTagsOption,
6132
6088
  ipv4Option,
6133
6089
  stillImageFormatOption,