@remotion/renderer 4.0.487 → 4.0.489

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.
@@ -2560,23 +2560,55 @@ var imageSequencePatternOption = {
2560
2560
  id: cliFlag42
2561
2561
  };
2562
2562
 
2563
- // src/options/ipv4.tsx
2563
+ // src/options/interactivity.tsx
2564
2564
  import { jsx as jsx39, Fragment as Fragment39 } from "react/jsx-runtime";
2565
+ var interactivityEnabled = true;
2566
+ var cliFlag43 = "disable-interactivity";
2567
+ var interactivityOption = {
2568
+ name: "Disable or enable Studio interactivity",
2569
+ cliFlag: cliFlag43,
2570
+ description: () => /* @__PURE__ */ jsx39(Fragment39, {
2571
+ 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."
2572
+ }),
2573
+ ssrName: null,
2574
+ docLink: "https://www.remotion.dev/docs/config#setinteractivityenabled",
2575
+ type: false,
2576
+ getValue: ({ commandLine }) => {
2577
+ if (commandLine[cliFlag43] !== undefined && commandLine[cliFlag43] !== null) {
2578
+ interactivityEnabled = commandLine[cliFlag43] === false;
2579
+ return {
2580
+ value: interactivityEnabled,
2581
+ source: "cli"
2582
+ };
2583
+ }
2584
+ return {
2585
+ value: interactivityEnabled,
2586
+ source: "config"
2587
+ };
2588
+ },
2589
+ setConfig(value) {
2590
+ interactivityEnabled = value;
2591
+ },
2592
+ id: cliFlag43
2593
+ };
2594
+
2595
+ // src/options/ipv4.tsx
2596
+ import { jsx as jsx40, Fragment as Fragment40 } from "react/jsx-runtime";
2565
2597
  var forceIPv4 = false;
2566
- var cliFlag43 = "ipv4";
2598
+ var cliFlag44 = "ipv4";
2567
2599
  var ipv4Option = {
2568
2600
  name: "IPv4",
2569
- cliFlag: cliFlag43,
2570
- description: () => /* @__PURE__ */ jsx39(Fragment39, {
2601
+ cliFlag: cliFlag44,
2602
+ description: () => /* @__PURE__ */ jsx40(Fragment40, {
2571
2603
  children: "Forces Remotion to bind to an IPv4 interface for the Studio server."
2572
2604
  }),
2573
2605
  ssrName: null,
2574
2606
  docLink: "https://www.remotion.dev/docs/cli/studio",
2575
2607
  type: false,
2576
2608
  getValue: ({ commandLine }) => {
2577
- if (commandLine[cliFlag43] !== undefined && commandLine[cliFlag43] !== null) {
2609
+ if (commandLine[cliFlag44] !== undefined && commandLine[cliFlag44] !== null) {
2578
2610
  return {
2579
- value: commandLine[cliFlag43],
2611
+ value: commandLine[cliFlag44],
2580
2612
  source: "cli"
2581
2613
  };
2582
2614
  }
@@ -2588,25 +2620,25 @@ var ipv4Option = {
2588
2620
  setConfig(value) {
2589
2621
  forceIPv4 = value;
2590
2622
  },
2591
- id: cliFlag43
2623
+ id: cliFlag44
2592
2624
  };
2593
2625
 
2594
2626
  // src/options/is-production.tsx
2595
- import { jsx as jsx40, jsxs as jsxs28, Fragment as Fragment40 } from "react/jsx-runtime";
2596
- var cliFlag44 = "is-production";
2627
+ import { jsx as jsx41, jsxs as jsxs28, Fragment as Fragment41 } from "react/jsx-runtime";
2628
+ var cliFlag45 = "is-production";
2597
2629
  var currentIsProductionKey = null;
2598
2630
  var isProductionOption = {
2599
2631
  name: "Is Production",
2600
- cliFlag: cliFlag44,
2601
- description: () => /* @__PURE__ */ jsxs28(Fragment40, {
2632
+ cliFlag: cliFlag45,
2633
+ description: () => /* @__PURE__ */ jsxs28(Fragment41, {
2602
2634
  children: [
2603
2635
  "Pass ",
2604
- /* @__PURE__ */ jsx40("code", {
2636
+ /* @__PURE__ */ jsx41("code", {
2605
2637
  children: "false"
2606
2638
  }),
2607
2639
  " if this a development render to not count it as a billable render on remotion.pro. Only can be used in conjuction with",
2608
2640
  " ",
2609
- /* @__PURE__ */ jsx40("code", {
2641
+ /* @__PURE__ */ jsx41("code", {
2610
2642
  children: "licenseKey"
2611
2643
  }),
2612
2644
  "."
@@ -2615,10 +2647,10 @@ var isProductionOption = {
2615
2647
  ssrName: "isProduction",
2616
2648
  docLink: "https://www.remotion.dev/docs/licensing",
2617
2649
  getValue: ({ commandLine }) => {
2618
- if (commandLine[cliFlag44] !== undefined && commandLine[cliFlag44] !== null) {
2650
+ if (commandLine[cliFlag45] !== undefined && commandLine[cliFlag45] !== null) {
2619
2651
  return {
2620
2652
  source: "cli",
2621
- value: commandLine[cliFlag44]
2653
+ value: commandLine[cliFlag45]
2622
2654
  };
2623
2655
  }
2624
2656
  if (currentIsProductionKey !== null) {
@@ -2636,11 +2668,11 @@ var isProductionOption = {
2636
2668
  currentIsProductionKey = value;
2637
2669
  },
2638
2670
  type: false,
2639
- id: cliFlag44
2671
+ id: cliFlag45
2640
2672
  };
2641
2673
 
2642
2674
  // src/options/jpeg-quality.tsx
2643
- import { jsx as jsx41, Fragment as Fragment41 } from "react/jsx-runtime";
2675
+ import { jsx as jsx42, Fragment as Fragment42 } from "react/jsx-runtime";
2644
2676
  var defaultValue = DEFAULT_JPEG_QUALITY;
2645
2677
  var quality = defaultValue;
2646
2678
  var setJpegQuality = (q) => {
@@ -2651,11 +2683,11 @@ var setJpegQuality = (q) => {
2651
2683
  }
2652
2684
  quality = q;
2653
2685
  };
2654
- var cliFlag45 = "jpeg-quality";
2686
+ var cliFlag46 = "jpeg-quality";
2655
2687
  var jpegQualityOption = {
2656
2688
  name: "JPEG Quality",
2657
- cliFlag: cliFlag45,
2658
- description: () => /* @__PURE__ */ jsx41(Fragment41, {
2689
+ cliFlag: cliFlag46,
2690
+ description: () => /* @__PURE__ */ jsx42(Fragment42, {
2659
2691
  children: "Sets the quality of the generated JPEG images. Must be an integer between 0 and 100. Default: 80."
2660
2692
  }),
2661
2693
  ssrName: "jpegQuality",
@@ -2663,11 +2695,11 @@ var jpegQualityOption = {
2663
2695
  type: 0,
2664
2696
  setConfig: setJpegQuality,
2665
2697
  getValue: ({ commandLine }) => {
2666
- if (commandLine[cliFlag45] !== undefined) {
2667
- validateJpegQuality(commandLine[cliFlag45]);
2698
+ if (commandLine[cliFlag46] !== undefined) {
2699
+ validateJpegQuality(commandLine[cliFlag46]);
2668
2700
  return {
2669
2701
  source: "cli",
2670
- value: commandLine[cliFlag45]
2702
+ value: commandLine[cliFlag46]
2671
2703
  };
2672
2704
  }
2673
2705
  if (quality !== defaultValue) {
@@ -2681,25 +2713,25 @@ var jpegQualityOption = {
2681
2713
  value: defaultValue
2682
2714
  };
2683
2715
  },
2684
- id: cliFlag45
2716
+ id: cliFlag46
2685
2717
  };
2686
2718
 
2687
2719
  // src/options/keyboard-shortcuts.tsx
2688
- import { jsx as jsx42, Fragment as Fragment42 } from "react/jsx-runtime";
2720
+ import { jsx as jsx43, Fragment as Fragment43 } from "react/jsx-runtime";
2689
2721
  var keyboardShortcutsEnabled = true;
2690
- var cliFlag46 = "disable-keyboard-shortcuts";
2722
+ var cliFlag47 = "disable-keyboard-shortcuts";
2691
2723
  var keyboardShortcutsOption = {
2692
2724
  name: "Disable or Enable keyboard shortcuts",
2693
- cliFlag: cliFlag46,
2694
- description: () => /* @__PURE__ */ jsx42(Fragment42, {
2725
+ cliFlag: cliFlag47,
2726
+ description: () => /* @__PURE__ */ jsx43(Fragment43, {
2695
2727
  children: "Enable or disable keyboard shortcuts in the Remotion Studio."
2696
2728
  }),
2697
2729
  ssrName: null,
2698
2730
  docLink: "https://www.remotion.dev/docs/config#setkeyboardshortcutsenabled",
2699
2731
  type: false,
2700
2732
  getValue: ({ commandLine }) => {
2701
- if (commandLine[cliFlag46] !== undefined && commandLine[cliFlag46] !== null) {
2702
- keyboardShortcutsEnabled = commandLine[cliFlag46] === false;
2733
+ if (commandLine[cliFlag47] !== undefined && commandLine[cliFlag47] !== null) {
2734
+ keyboardShortcutsEnabled = commandLine[cliFlag47] === false;
2703
2735
  return {
2704
2736
  value: keyboardShortcutsEnabled,
2705
2737
  source: "cli"
@@ -2713,42 +2745,42 @@ var keyboardShortcutsOption = {
2713
2745
  setConfig(value) {
2714
2746
  keyboardShortcutsEnabled = value;
2715
2747
  },
2716
- id: cliFlag46
2748
+ id: cliFlag47
2717
2749
  };
2718
2750
 
2719
2751
  // src/options/latency-hint.tsx
2720
- import { jsx as jsx43, jsxs as jsxs29, Fragment as Fragment43 } from "react/jsx-runtime";
2721
- var cliFlag47 = "audio-latency-hint";
2752
+ import { jsx as jsx44, jsxs as jsxs29, Fragment as Fragment44 } from "react/jsx-runtime";
2753
+ var cliFlag48 = "audio-latency-hint";
2722
2754
  var value = null;
2723
2755
  var audioLatencyHintOption = {
2724
2756
  name: "Audio Latency Hint",
2725
- cliFlag: cliFlag47,
2726
- description: () => /* @__PURE__ */ jsxs29(Fragment43, {
2757
+ cliFlag: cliFlag48,
2758
+ description: () => /* @__PURE__ */ jsxs29(Fragment44, {
2727
2759
  children: [
2728
2760
  "Sets the",
2729
2761
  " ",
2730
- /* @__PURE__ */ jsx43("a", {
2762
+ /* @__PURE__ */ jsx44("a", {
2731
2763
  href: "https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext",
2732
2764
  children: "audio latency"
2733
2765
  }),
2734
2766
  " ",
2735
2767
  "hint for the global ",
2736
- /* @__PURE__ */ jsx43("code", {
2768
+ /* @__PURE__ */ jsx44("code", {
2737
2769
  children: "AudioContext"
2738
2770
  }),
2739
2771
  " context that Remotion uses to play audio.",
2740
- /* @__PURE__ */ jsx43("br", {}),
2772
+ /* @__PURE__ */ jsx44("br", {}),
2741
2773
  "Possible values: ",
2742
- /* @__PURE__ */ jsx43("code", {
2774
+ /* @__PURE__ */ jsx44("code", {
2743
2775
  children: "interactive"
2744
2776
  }),
2745
2777
  ", ",
2746
- /* @__PURE__ */ jsx43("code", {
2778
+ /* @__PURE__ */ jsx44("code", {
2747
2779
  children: "balanced"
2748
2780
  }),
2749
2781
  ",",
2750
2782
  " ",
2751
- /* @__PURE__ */ jsx43("code", {
2783
+ /* @__PURE__ */ jsx44("code", {
2752
2784
  children: "playback"
2753
2785
  })
2754
2786
  ]
@@ -2757,7 +2789,7 @@ var audioLatencyHintOption = {
2757
2789
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
2758
2790
  type: "playback",
2759
2791
  getValue: ({ commandLine }) => {
2760
- const val = commandLine[cliFlag47];
2792
+ const val = commandLine[cliFlag48];
2761
2793
  if (typeof val !== "undefined") {
2762
2794
  return { value: val, source: "cli" };
2763
2795
  }
@@ -2769,21 +2801,21 @@ var audioLatencyHintOption = {
2769
2801
  setConfig: (profile) => {
2770
2802
  value = profile;
2771
2803
  },
2772
- id: cliFlag47
2804
+ id: cliFlag48
2773
2805
  };
2774
2806
 
2775
2807
  // src/options/license-key.tsx
2776
- import { jsx as jsx44, jsxs as jsxs30, Fragment as Fragment44 } from "react/jsx-runtime";
2808
+ import { jsx as jsx45, jsxs as jsxs30, Fragment as Fragment45 } from "react/jsx-runtime";
2777
2809
  var currentLicenseKey = null;
2778
- var cliFlag48 = "license-key";
2810
+ var cliFlag49 = "license-key";
2779
2811
  var licenseKeyOption = {
2780
2812
  name: "License key",
2781
- cliFlag: cliFlag48,
2782
- description: () => /* @__PURE__ */ jsxs30(Fragment44, {
2813
+ cliFlag: cliFlag49,
2814
+ description: () => /* @__PURE__ */ jsxs30(Fragment45, {
2783
2815
  children: [
2784
2816
  "License key for sending a usage event using",
2785
2817
  " ",
2786
- /* @__PURE__ */ jsx44("code", {
2818
+ /* @__PURE__ */ jsx45("code", {
2787
2819
  children: "@remotion/licensing"
2788
2820
  }),
2789
2821
  "."
@@ -2793,10 +2825,10 @@ var licenseKeyOption = {
2793
2825
  docLink: "https://www.remotion.dev/docs/licensing",
2794
2826
  type: null,
2795
2827
  getValue: ({ commandLine }) => {
2796
- if (commandLine[cliFlag48] !== undefined) {
2828
+ if (commandLine[cliFlag49] !== undefined) {
2797
2829
  return {
2798
2830
  source: "cli",
2799
- value: commandLine[cliFlag48]
2831
+ value: commandLine[cliFlag49]
2800
2832
  };
2801
2833
  }
2802
2834
  return {
@@ -2807,47 +2839,47 @@ var licenseKeyOption = {
2807
2839
  setConfig: (value2) => {
2808
2840
  currentLicenseKey = value2;
2809
2841
  },
2810
- id: cliFlag48
2842
+ id: cliFlag49
2811
2843
  };
2812
2844
 
2813
2845
  // src/options/log-level.tsx
2814
- import { jsx as jsx45, jsxs as jsxs31, Fragment as Fragment45 } from "react/jsx-runtime";
2846
+ import { jsx as jsx46, jsxs as jsxs31, Fragment as Fragment46 } from "react/jsx-runtime";
2815
2847
  var logLevel = "info";
2816
- var cliFlag49 = "log";
2848
+ var cliFlag50 = "log";
2817
2849
  var logLevelOption = {
2818
- cliFlag: cliFlag49,
2850
+ cliFlag: cliFlag50,
2819
2851
  name: "Log Level",
2820
2852
  ssrName: "logLevel",
2821
- description: () => /* @__PURE__ */ jsxs31(Fragment45, {
2853
+ description: () => /* @__PURE__ */ jsxs31(Fragment46, {
2822
2854
  children: [
2823
2855
  "One of ",
2824
- /* @__PURE__ */ jsx45("code", {
2856
+ /* @__PURE__ */ jsx46("code", {
2825
2857
  children: "trace"
2826
2858
  }),
2827
2859
  ", ",
2828
- /* @__PURE__ */ jsx45("code", {
2860
+ /* @__PURE__ */ jsx46("code", {
2829
2861
  children: "verbose"
2830
2862
  }),
2831
2863
  ", ",
2832
- /* @__PURE__ */ jsx45("code", {
2864
+ /* @__PURE__ */ jsx46("code", {
2833
2865
  children: "info"
2834
2866
  }),
2835
2867
  ",",
2836
2868
  " ",
2837
- /* @__PURE__ */ jsx45("code", {
2869
+ /* @__PURE__ */ jsx46("code", {
2838
2870
  children: "warn"
2839
2871
  }),
2840
2872
  ", ",
2841
- /* @__PURE__ */ jsx45("code", {
2873
+ /* @__PURE__ */ jsx46("code", {
2842
2874
  children: "error"
2843
2875
  }),
2844
2876
  ".",
2845
- /* @__PURE__ */ jsx45("br", {}),
2877
+ /* @__PURE__ */ jsx46("br", {}),
2846
2878
  " Determines how much info is being logged to the console.",
2847
- /* @__PURE__ */ jsx45("br", {}),
2848
- /* @__PURE__ */ jsx45("br", {}),
2879
+ /* @__PURE__ */ jsx46("br", {}),
2880
+ /* @__PURE__ */ jsx46("br", {}),
2849
2881
  " Default ",
2850
- /* @__PURE__ */ jsx45("code", {
2882
+ /* @__PURE__ */ jsx46("code", {
2851
2883
  children: "info"
2852
2884
  }),
2853
2885
  "."
@@ -2855,11 +2887,11 @@ var logLevelOption = {
2855
2887
  }),
2856
2888
  docLink: "https://www.remotion.dev/docs/troubleshooting/debug-failed-render",
2857
2889
  getValue: ({ commandLine }) => {
2858
- if (commandLine[cliFlag49]) {
2859
- if (!isValidLogLevel(commandLine[cliFlag49])) {
2890
+ if (commandLine[cliFlag50]) {
2891
+ if (!isValidLogLevel(commandLine[cliFlag50])) {
2860
2892
  throw new Error(`Invalid \`--log\` value passed. Accepted values: ${logLevels.map((l) => `'${l}'`).join(", ")}.`);
2861
2893
  }
2862
- return { value: commandLine[cliFlag49], source: "cli" };
2894
+ return { value: commandLine[cliFlag50], source: "cli" };
2863
2895
  }
2864
2896
  if (logLevel !== "info") {
2865
2897
  return { value: logLevel, source: "config" };
@@ -2870,23 +2902,23 @@ var logLevelOption = {
2870
2902
  logLevel = newLogLevel;
2871
2903
  },
2872
2904
  type: "error",
2873
- id: cliFlag49
2905
+ id: cliFlag50
2874
2906
  };
2875
2907
 
2876
2908
  // src/options/metadata.tsx
2877
- import { jsx as jsx46, jsxs as jsxs32, Fragment as Fragment46 } from "react/jsx-runtime";
2909
+ import { jsx as jsx47, jsxs as jsxs32, Fragment as Fragment47 } from "react/jsx-runtime";
2878
2910
  var metadata = {};
2879
- var cliFlag50 = "metadata";
2911
+ var cliFlag51 = "metadata";
2880
2912
  var metadataOption = {
2881
2913
  name: "Metadata",
2882
- cliFlag: cliFlag50,
2914
+ cliFlag: cliFlag51,
2883
2915
  description: (mode) => {
2884
2916
  if (mode === "ssr") {
2885
- return /* @__PURE__ */ jsxs32(Fragment46, {
2917
+ return /* @__PURE__ */ jsxs32(Fragment47, {
2886
2918
  children: [
2887
2919
  "An object containing metadata to be embedded in the video. See",
2888
2920
  " ",
2889
- /* @__PURE__ */ jsx46("a", {
2921
+ /* @__PURE__ */ jsx47("a", {
2890
2922
  href: "/docs/metadata",
2891
2923
  children: "here"
2892
2924
  }),
@@ -2894,18 +2926,18 @@ var metadataOption = {
2894
2926
  ]
2895
2927
  });
2896
2928
  }
2897
- return /* @__PURE__ */ jsxs32(Fragment46, {
2929
+ return /* @__PURE__ */ jsxs32(Fragment47, {
2898
2930
  children: [
2899
2931
  "Metadata to be embedded in the video. See",
2900
2932
  " ",
2901
- /* @__PURE__ */ jsx46("a", {
2933
+ /* @__PURE__ */ jsx47("a", {
2902
2934
  href: "/docs/metadata",
2903
2935
  children: "here"
2904
2936
  }),
2905
2937
  " for which metadata is accepted.",
2906
- /* @__PURE__ */ jsx46("br", {}),
2938
+ /* @__PURE__ */ jsx47("br", {}),
2907
2939
  "The parameter must be in the format of ",
2908
- /* @__PURE__ */ jsx46("code", {
2940
+ /* @__PURE__ */ jsx47("code", {
2909
2941
  children: "--metadata key=value"
2910
2942
  }),
2911
2943
  " ",
@@ -2916,8 +2948,8 @@ var metadataOption = {
2916
2948
  docLink: "https://www.remotion.dev/docs/metadata",
2917
2949
  type: {},
2918
2950
  getValue: ({ commandLine }) => {
2919
- if (commandLine[cliFlag50] !== undefined) {
2920
- const val = commandLine[cliFlag50];
2951
+ if (commandLine[cliFlag51] !== undefined) {
2952
+ const val = commandLine[cliFlag51];
2921
2953
  const array = typeof val === "string" ? [val] : val;
2922
2954
  const keyValues = array.map((a) => {
2923
2955
  if (!a.includes("=")) {
@@ -2944,28 +2976,28 @@ var metadataOption = {
2944
2976
  metadata = newMetadata;
2945
2977
  },
2946
2978
  ssrName: "metadata",
2947
- id: cliFlag50
2979
+ id: cliFlag51
2948
2980
  };
2949
2981
 
2950
2982
  // src/options/mute.tsx
2951
- import { jsx as jsx47, Fragment as Fragment47 } from "react/jsx-runtime";
2983
+ import { jsx as jsx48, Fragment as Fragment48 } from "react/jsx-runtime";
2952
2984
  var DEFAULT_MUTED_STATE = false;
2953
2985
  var mutedState = DEFAULT_MUTED_STATE;
2954
- var cliFlag51 = "muted";
2986
+ var cliFlag52 = "muted";
2955
2987
  var mutedOption = {
2956
2988
  name: "Muted",
2957
- cliFlag: cliFlag51,
2958
- description: () => /* @__PURE__ */ jsx47(Fragment47, {
2989
+ cliFlag: cliFlag52,
2990
+ description: () => /* @__PURE__ */ jsx48(Fragment48, {
2959
2991
  children: "The Audio of the video will be omitted."
2960
2992
  }),
2961
2993
  ssrName: "muted",
2962
2994
  docLink: "https://www.remotion.dev/docs/audio/muting",
2963
2995
  type: false,
2964
2996
  getValue: ({ commandLine }) => {
2965
- if (commandLine[cliFlag51] !== null) {
2997
+ if (commandLine[cliFlag52] !== null) {
2966
2998
  return {
2967
2999
  source: "cli",
2968
- value: commandLine[cliFlag51]
3000
+ value: commandLine[cliFlag52]
2969
3001
  };
2970
3002
  }
2971
3003
  if (mutedState !== DEFAULT_MUTED_STATE) {
@@ -2982,17 +3014,17 @@ var mutedOption = {
2982
3014
  setConfig: () => {
2983
3015
  mutedState = true;
2984
3016
  },
2985
- id: cliFlag51
3017
+ id: cliFlag52
2986
3018
  };
2987
3019
 
2988
3020
  // src/options/no-open.tsx
2989
- import { jsx as jsx48, Fragment as Fragment48 } from "react/jsx-runtime";
3021
+ import { jsx as jsx49, Fragment as Fragment49 } from "react/jsx-runtime";
2990
3022
  var shouldOpenBrowser = true;
2991
- var cliFlag52 = "no-open";
3023
+ var cliFlag53 = "no-open";
2992
3024
  var noOpenOption = {
2993
3025
  name: "Disable browser auto-open",
2994
- cliFlag: cliFlag52,
2995
- description: () => /* @__PURE__ */ jsx48(Fragment48, {
3026
+ cliFlag: cliFlag53,
3027
+ description: () => /* @__PURE__ */ jsx49(Fragment49, {
2996
3028
  children: "If specified, Remotion will not open a browser window when starting the Studio."
2997
3029
  }),
2998
3030
  ssrName: null,
@@ -3011,30 +3043,30 @@ var noOpenOption = {
3011
3043
  setConfig: (shouldOpen) => {
3012
3044
  shouldOpenBrowser = shouldOpen;
3013
3045
  },
3014
- id: cliFlag52
3046
+ id: cliFlag53
3015
3047
  };
3016
3048
 
3017
3049
  // src/options/number-of-gif-loops.tsx
3018
- import { jsx as jsx49, jsxs as jsxs33, Fragment as Fragment49 } from "react/jsx-runtime";
3050
+ import { jsx as jsx50, jsxs as jsxs33, Fragment as Fragment50 } from "react/jsx-runtime";
3019
3051
  var currentLoop = null;
3020
3052
  var validate = (newLoop) => {
3021
3053
  if (newLoop !== null && typeof newLoop !== "number") {
3022
3054
  throw new Error("--number-of-gif-loops flag must be a number.");
3023
3055
  }
3024
3056
  };
3025
- var cliFlag53 = "number-of-gif-loops";
3057
+ var cliFlag54 = "number-of-gif-loops";
3026
3058
  var numberOfGifLoopsOption = {
3027
3059
  name: "Number of GIF loops",
3028
- cliFlag: cliFlag53,
3060
+ cliFlag: cliFlag54,
3029
3061
  description: () => {
3030
- return /* @__PURE__ */ jsxs33(Fragment49, {
3062
+ return /* @__PURE__ */ jsxs33(Fragment50, {
3031
3063
  children: [
3032
3064
  "Allows you to set the number of loops as follows:",
3033
3065
  /* @__PURE__ */ jsxs33("ul", {
3034
3066
  children: [
3035
3067
  /* @__PURE__ */ jsxs33("li", {
3036
3068
  children: [
3037
- /* @__PURE__ */ jsx49("code", {
3069
+ /* @__PURE__ */ jsx50("code", {
3038
3070
  children: "null"
3039
3071
  }),
3040
3072
  " (or omitting in the CLI) plays the GIF indefinitely."
@@ -3042,7 +3074,7 @@ var numberOfGifLoopsOption = {
3042
3074
  }),
3043
3075
  /* @__PURE__ */ jsxs33("li", {
3044
3076
  children: [
3045
- /* @__PURE__ */ jsx49("code", {
3077
+ /* @__PURE__ */ jsx50("code", {
3046
3078
  children: "0"
3047
3079
  }),
3048
3080
  " disables looping"
@@ -3050,7 +3082,7 @@ var numberOfGifLoopsOption = {
3050
3082
  }),
3051
3083
  /* @__PURE__ */ jsxs33("li", {
3052
3084
  children: [
3053
- /* @__PURE__ */ jsx49("code", {
3085
+ /* @__PURE__ */ jsx50("code", {
3054
3086
  children: "1"
3055
3087
  }),
3056
3088
  " loops the GIF once (plays twice in total)"
@@ -3058,7 +3090,7 @@ var numberOfGifLoopsOption = {
3058
3090
  }),
3059
3091
  /* @__PURE__ */ jsxs33("li", {
3060
3092
  children: [
3061
- /* @__PURE__ */ jsx49("code", {
3093
+ /* @__PURE__ */ jsx50("code", {
3062
3094
  children: "2"
3063
3095
  }),
3064
3096
  " loops the GIF twice (plays three times in total) and so on."
@@ -3073,10 +3105,10 @@ var numberOfGifLoopsOption = {
3073
3105
  docLink: "https://www.remotion.dev/docs/render-as-gif#changing-the-number-of-loops",
3074
3106
  type: 0,
3075
3107
  getValue: ({ commandLine }) => {
3076
- if (commandLine[cliFlag53] !== undefined) {
3077
- validate(commandLine[cliFlag53]);
3108
+ if (commandLine[cliFlag54] !== undefined) {
3109
+ validate(commandLine[cliFlag54]);
3078
3110
  return {
3079
- value: commandLine[cliFlag53],
3111
+ value: commandLine[cliFlag54],
3080
3112
  source: "cli"
3081
3113
  };
3082
3114
  }
@@ -3095,21 +3127,21 @@ var numberOfGifLoopsOption = {
3095
3127
  validate(newLoop);
3096
3128
  currentLoop = newLoop;
3097
3129
  },
3098
- id: cliFlag53
3130
+ id: cliFlag54
3099
3131
  };
3100
3132
 
3101
3133
  // src/options/number-of-shared-audio-tags.tsx
3102
- import { jsx as jsx50, jsxs as jsxs34, Fragment as Fragment50 } from "react/jsx-runtime";
3134
+ import { jsx as jsx51, jsxs as jsxs34, Fragment as Fragment51 } from "react/jsx-runtime";
3103
3135
  var numberOfSharedAudioTags = 0;
3104
- var cliFlag54 = "number-of-shared-audio-tags";
3136
+ var cliFlag55 = "number-of-shared-audio-tags";
3105
3137
  var numberOfSharedAudioTagsOption = {
3106
3138
  name: "Number of shared audio tags",
3107
- cliFlag: cliFlag54,
3108
- description: () => /* @__PURE__ */ jsxs34(Fragment50, {
3139
+ cliFlag: cliFlag55,
3140
+ description: () => /* @__PURE__ */ jsxs34(Fragment51, {
3109
3141
  children: [
3110
3142
  "Set number of shared audio tags. See",
3111
3143
  " ",
3112
- /* @__PURE__ */ jsx50("a", {
3144
+ /* @__PURE__ */ jsx51("a", {
3113
3145
  href: "https://www.remotion.dev/docs/player/autoplay#using-the-numberofsharedaudiotags-prop",
3114
3146
  children: "Using the numberOfSharedAudioTags prop"
3115
3147
  }),
@@ -3121,9 +3153,9 @@ var numberOfSharedAudioTagsOption = {
3121
3153
  docLink: "https://www.remotion.dev/docs/config#setnumberofsharedaudiotags",
3122
3154
  type: 0,
3123
3155
  getValue: ({ commandLine }) => {
3124
- if (commandLine[cliFlag54] !== undefined) {
3156
+ if (commandLine[cliFlag55] !== undefined) {
3125
3157
  return {
3126
- value: commandLine[cliFlag54],
3158
+ value: commandLine[cliFlag55],
3127
3159
  source: "cli"
3128
3160
  };
3129
3161
  }
@@ -3135,39 +3167,39 @@ var numberOfSharedAudioTagsOption = {
3135
3167
  setConfig(value2) {
3136
3168
  numberOfSharedAudioTags = value2;
3137
3169
  },
3138
- id: cliFlag54
3170
+ id: cliFlag55
3139
3171
  };
3140
3172
 
3141
3173
  // src/options/offthreadvideo-cache-size.tsx
3142
- import { jsx as jsx51, jsxs as jsxs35, Fragment as Fragment51 } from "react/jsx-runtime";
3174
+ import { jsx as jsx52, jsxs as jsxs35, Fragment as Fragment52 } from "react/jsx-runtime";
3143
3175
  var offthreadVideoCacheSizeInBytes = null;
3144
- var cliFlag55 = "offthreadvideo-cache-size-in-bytes";
3176
+ var cliFlag56 = "offthreadvideo-cache-size-in-bytes";
3145
3177
  var offthreadVideoCacheSizeInBytesOption = {
3146
3178
  name: "OffthreadVideo cache size",
3147
- cliFlag: cliFlag55,
3148
- description: () => /* @__PURE__ */ jsxs35(Fragment51, {
3179
+ cliFlag: cliFlag56,
3180
+ description: () => /* @__PURE__ */ jsxs35(Fragment52, {
3149
3181
  children: [
3150
3182
  "From v4.0, Remotion has a cache for",
3151
3183
  " ",
3152
- /* @__PURE__ */ jsx51("a", {
3184
+ /* @__PURE__ */ jsx52("a", {
3153
3185
  href: "https://remotion.dev/docs/offthreadvideo",
3154
- children: /* @__PURE__ */ jsx51("code", {
3186
+ children: /* @__PURE__ */ jsx52("code", {
3155
3187
  children: "<OffthreadVideo>"
3156
3188
  })
3157
3189
  }),
3158
3190
  " ",
3159
3191
  "frames. The default is ",
3160
- /* @__PURE__ */ jsx51("code", {
3192
+ /* @__PURE__ */ jsx52("code", {
3161
3193
  children: "null"
3162
3194
  }),
3163
3195
  ", corresponding to half of the system memory available when the render starts.",
3164
- /* @__PURE__ */ jsx51("br", {}),
3196
+ /* @__PURE__ */ jsx52("br", {}),
3165
3197
  " 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.",
3166
- /* @__PURE__ */ jsx51("br", {}),
3198
+ /* @__PURE__ */ jsx52("br", {}),
3167
3199
  "The used value will be printed when running in verbose mode.",
3168
- /* @__PURE__ */ jsx51("br", {}),
3200
+ /* @__PURE__ */ jsx52("br", {}),
3169
3201
  "Default: ",
3170
- /* @__PURE__ */ jsx51("code", {
3202
+ /* @__PURE__ */ jsx52("code", {
3171
3203
  children: "null"
3172
3204
  })
3173
3205
  ]
@@ -3176,10 +3208,10 @@ var offthreadVideoCacheSizeInBytesOption = {
3176
3208
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
3177
3209
  type: 0,
3178
3210
  getValue: ({ commandLine }) => {
3179
- if (commandLine[cliFlag55] !== undefined) {
3211
+ if (commandLine[cliFlag56] !== undefined) {
3180
3212
  return {
3181
3213
  source: "cli",
3182
- value: commandLine[cliFlag55]
3214
+ value: commandLine[cliFlag56]
3183
3215
  };
3184
3216
  }
3185
3217
  if (offthreadVideoCacheSizeInBytes !== null) {
@@ -3196,22 +3228,22 @@ var offthreadVideoCacheSizeInBytesOption = {
3196
3228
  setConfig: (size) => {
3197
3229
  offthreadVideoCacheSizeInBytes = size ?? null;
3198
3230
  },
3199
- id: cliFlag55
3231
+ id: cliFlag56
3200
3232
  };
3201
3233
 
3202
3234
  // src/options/offthreadvideo-threads.tsx
3203
- import { jsx as jsx52, jsxs as jsxs36, Fragment as Fragment52 } from "react/jsx-runtime";
3235
+ import { jsx as jsx53, jsxs as jsxs36, Fragment as Fragment53 } from "react/jsx-runtime";
3204
3236
  var value2 = null;
3205
- var cliFlag56 = "offthreadvideo-video-threads";
3237
+ var cliFlag57 = "offthreadvideo-video-threads";
3206
3238
  var offthreadVideoThreadsOption = {
3207
3239
  name: "OffthreadVideo threads",
3208
- cliFlag: cliFlag56,
3209
- description: () => /* @__PURE__ */ jsxs36(Fragment52, {
3240
+ cliFlag: cliFlag57,
3241
+ description: () => /* @__PURE__ */ jsxs36(Fragment53, {
3210
3242
  children: [
3211
3243
  "The number of threads that",
3212
- /* @__PURE__ */ jsx52("a", {
3244
+ /* @__PURE__ */ jsx53("a", {
3213
3245
  href: "https://remotion.dev/docs/offthreadvideo",
3214
- children: /* @__PURE__ */ jsx52("code", {
3246
+ children: /* @__PURE__ */ jsx53("code", {
3215
3247
  children: "<OffthreadVideo>"
3216
3248
  })
3217
3249
  }),
@@ -3226,10 +3258,10 @@ var offthreadVideoThreadsOption = {
3226
3258
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
3227
3259
  type: 0,
3228
3260
  getValue: ({ commandLine }) => {
3229
- if (commandLine[cliFlag56] !== undefined) {
3261
+ if (commandLine[cliFlag57] !== undefined) {
3230
3262
  return {
3231
3263
  source: "cli",
3232
- value: commandLine[cliFlag56]
3264
+ value: commandLine[cliFlag57]
3233
3265
  };
3234
3266
  }
3235
3267
  if (value2 !== null) {
@@ -3246,21 +3278,21 @@ var offthreadVideoThreadsOption = {
3246
3278
  setConfig: (size) => {
3247
3279
  value2 = size ?? null;
3248
3280
  },
3249
- id: cliFlag56
3281
+ id: cliFlag57
3250
3282
  };
3251
3283
  var DEFAULT_RENDER_FRAMES_OFFTHREAD_VIDEO_THREADS = 2;
3252
3284
 
3253
3285
  // src/options/on-browser-download.tsx
3254
- import { jsx as jsx53, jsxs as jsxs37, Fragment as Fragment53 } from "react/jsx-runtime";
3255
- var cliFlag57 = "on-browser-download";
3286
+ import { jsx as jsx54, jsxs as jsxs37, Fragment as Fragment54 } from "react/jsx-runtime";
3287
+ var cliFlag58 = "on-browser-download";
3256
3288
  var onBrowserDownloadOption = {
3257
3289
  name: "Browser download callback function",
3258
- cliFlag: cliFlag57,
3259
- description: () => /* @__PURE__ */ jsxs37(Fragment53, {
3290
+ cliFlag: cliFlag58,
3291
+ description: () => /* @__PURE__ */ jsxs37(Fragment54, {
3260
3292
  children: [
3261
3293
  "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.",
3262
3294
  " ",
3263
- /* @__PURE__ */ jsx53("a", {
3295
+ /* @__PURE__ */ jsx54("a", {
3264
3296
  href: "/docs/renderer/ensure-browser#onbrowserdownload",
3265
3297
  children: "See here for how to use this option."
3266
3298
  })
@@ -3275,26 +3307,26 @@ var onBrowserDownloadOption = {
3275
3307
  setConfig: () => {
3276
3308
  throw new Error("does not support config file");
3277
3309
  },
3278
- id: cliFlag57
3310
+ id: cliFlag58
3279
3311
  };
3280
3312
 
3281
3313
  // src/options/out-dir.tsx
3282
- import { jsx as jsx54, jsxs as jsxs38, Fragment as Fragment54 } from "react/jsx-runtime";
3283
- var cliFlag58 = "out-dir";
3314
+ import { jsx as jsx55, jsxs as jsxs38, Fragment as Fragment55 } from "react/jsx-runtime";
3315
+ var cliFlag59 = "out-dir";
3284
3316
  var currentOutDir = null;
3285
3317
  var outDirOption = {
3286
3318
  name: "Output Directory",
3287
- cliFlag: cliFlag58,
3319
+ cliFlag: cliFlag59,
3288
3320
  description: () => {
3289
- return /* @__PURE__ */ jsxs38(Fragment54, {
3321
+ return /* @__PURE__ */ jsxs38(Fragment55, {
3290
3322
  children: [
3291
3323
  "Define the location of the resulting bundle. By default it is a folder called ",
3292
- /* @__PURE__ */ jsx54("code", {
3324
+ /* @__PURE__ */ jsx55("code", {
3293
3325
  children: "build"
3294
3326
  }),
3295
3327
  ", adjacent to the",
3296
3328
  " ",
3297
- /* @__PURE__ */ jsx54("a", {
3329
+ /* @__PURE__ */ jsx55("a", {
3298
3330
  href: "/docs/terminology/remotion-root",
3299
3331
  children: "Remotion Root"
3300
3332
  }),
@@ -3305,10 +3337,10 @@ var outDirOption = {
3305
3337
  ssrName: "outDir",
3306
3338
  docLink: "https://www.remotion.dev/docs/cli/bundle#--out-dir",
3307
3339
  getValue: ({ commandLine }) => {
3308
- if (commandLine[cliFlag58] !== undefined) {
3340
+ if (commandLine[cliFlag59] !== undefined) {
3309
3341
  return {
3310
3342
  source: "cli",
3311
- value: commandLine[cliFlag58]
3343
+ value: commandLine[cliFlag59]
3312
3344
  };
3313
3345
  }
3314
3346
  if (currentOutDir !== null) {
@@ -3326,7 +3358,7 @@ var outDirOption = {
3326
3358
  currentOutDir = value3;
3327
3359
  },
3328
3360
  type: "",
3329
- id: cliFlag58
3361
+ id: cliFlag59
3330
3362
  };
3331
3363
 
3332
3364
  // src/validate.ts
@@ -3336,21 +3368,21 @@ var validateDimension = NoReactInternals2.validateDimension;
3336
3368
  var validateDurationInFrames = NoReactInternals2.validateDurationInFrames;
3337
3369
 
3338
3370
  // src/options/override-duration.tsx
3339
- import { jsx as jsx55, Fragment as Fragment55 } from "react/jsx-runtime";
3371
+ import { jsx as jsx56, Fragment as Fragment56 } from "react/jsx-runtime";
3340
3372
  var currentDuration = null;
3341
- var cliFlag59 = "duration";
3373
+ var cliFlag60 = "duration";
3342
3374
  var overrideDurationOption = {
3343
3375
  name: "Override Duration",
3344
- cliFlag: cliFlag59,
3345
- description: () => /* @__PURE__ */ jsx55(Fragment55, {
3376
+ cliFlag: cliFlag60,
3377
+ description: () => /* @__PURE__ */ jsx56(Fragment56, {
3346
3378
  children: "Overrides the duration in frames of the composition."
3347
3379
  }),
3348
3380
  ssrName: null,
3349
3381
  docLink: "https://www.remotion.dev/docs/config#overrideduration",
3350
3382
  type: null,
3351
3383
  getValue: ({ commandLine }) => {
3352
- if (commandLine[cliFlag59] !== undefined) {
3353
- const value3 = commandLine[cliFlag59];
3384
+ if (commandLine[cliFlag60] !== undefined) {
3385
+ const value3 = commandLine[cliFlag60];
3354
3386
  validateDurationInFrames(value3, {
3355
3387
  component: "in --duration flag",
3356
3388
  allowFloats: false
@@ -3378,25 +3410,25 @@ var overrideDurationOption = {
3378
3410
  });
3379
3411
  currentDuration = duration;
3380
3412
  },
3381
- id: cliFlag59
3413
+ id: cliFlag60
3382
3414
  };
3383
3415
 
3384
3416
  // src/options/override-fps.tsx
3385
- import { jsx as jsx56, Fragment as Fragment56 } from "react/jsx-runtime";
3417
+ import { jsx as jsx57, Fragment as Fragment57 } from "react/jsx-runtime";
3386
3418
  var currentFps = null;
3387
- var cliFlag60 = "fps";
3419
+ var cliFlag61 = "fps";
3388
3420
  var overrideFpsOption = {
3389
3421
  name: "Override FPS",
3390
- cliFlag: cliFlag60,
3391
- description: () => /* @__PURE__ */ jsx56(Fragment56, {
3422
+ cliFlag: cliFlag61,
3423
+ description: () => /* @__PURE__ */ jsx57(Fragment57, {
3392
3424
  children: "Overrides the frames per second of the composition."
3393
3425
  }),
3394
3426
  ssrName: null,
3395
3427
  docLink: "https://www.remotion.dev/docs/config#overridefps",
3396
3428
  type: null,
3397
3429
  getValue: ({ commandLine }) => {
3398
- if (commandLine[cliFlag60] !== undefined) {
3399
- const value3 = commandLine[cliFlag60];
3430
+ if (commandLine[cliFlag61] !== undefined) {
3431
+ const value3 = commandLine[cliFlag61];
3400
3432
  validateFps(value3, "in --fps flag", false);
3401
3433
  return {
3402
3434
  source: "cli",
@@ -3418,25 +3450,25 @@ var overrideFpsOption = {
3418
3450
  validateFps(fps, "in Config.overrideFps()", false);
3419
3451
  currentFps = fps;
3420
3452
  },
3421
- id: cliFlag60
3453
+ id: cliFlag61
3422
3454
  };
3423
3455
 
3424
3456
  // src/options/override-height.tsx
3425
- import { jsx as jsx57, Fragment as Fragment57 } from "react/jsx-runtime";
3457
+ import { jsx as jsx58, Fragment as Fragment58 } from "react/jsx-runtime";
3426
3458
  var currentHeight = null;
3427
- var cliFlag61 = "height";
3459
+ var cliFlag62 = "height";
3428
3460
  var overrideHeightOption = {
3429
3461
  name: "Override Height",
3430
- cliFlag: cliFlag61,
3431
- description: () => /* @__PURE__ */ jsx57(Fragment57, {
3462
+ cliFlag: cliFlag62,
3463
+ description: () => /* @__PURE__ */ jsx58(Fragment58, {
3432
3464
  children: "Overrides the height of the composition."
3433
3465
  }),
3434
3466
  ssrName: null,
3435
3467
  docLink: "https://www.remotion.dev/docs/config#overrideheight",
3436
3468
  type: null,
3437
3469
  getValue: ({ commandLine }) => {
3438
- if (commandLine[cliFlag61] !== undefined) {
3439
- const value3 = commandLine[cliFlag61];
3470
+ if (commandLine[cliFlag62] !== undefined) {
3471
+ const value3 = commandLine[cliFlag62];
3440
3472
  validateDimension(value3, "height", "in --height flag");
3441
3473
  return {
3442
3474
  source: "cli",
@@ -3458,25 +3490,25 @@ var overrideHeightOption = {
3458
3490
  validateDimension(height, "height", "in Config.overrideHeight()");
3459
3491
  currentHeight = height;
3460
3492
  },
3461
- id: cliFlag61
3493
+ id: cliFlag62
3462
3494
  };
3463
3495
 
3464
3496
  // src/options/override-width.tsx
3465
- import { jsx as jsx58, Fragment as Fragment58 } from "react/jsx-runtime";
3497
+ import { jsx as jsx59, Fragment as Fragment59 } from "react/jsx-runtime";
3466
3498
  var currentWidth = null;
3467
- var cliFlag62 = "width";
3499
+ var cliFlag63 = "width";
3468
3500
  var overrideWidthOption = {
3469
3501
  name: "Override Width",
3470
- cliFlag: cliFlag62,
3471
- description: () => /* @__PURE__ */ jsx58(Fragment58, {
3502
+ cliFlag: cliFlag63,
3503
+ description: () => /* @__PURE__ */ jsx59(Fragment59, {
3472
3504
  children: "Overrides the width of the composition."
3473
3505
  }),
3474
3506
  ssrName: null,
3475
3507
  docLink: "https://www.remotion.dev/docs/config#overridewidth",
3476
3508
  type: null,
3477
3509
  getValue: ({ commandLine }) => {
3478
- if (commandLine[cliFlag62] !== undefined) {
3479
- const value3 = commandLine[cliFlag62];
3510
+ if (commandLine[cliFlag63] !== undefined) {
3511
+ const value3 = commandLine[cliFlag63];
3480
3512
  validateDimension(value3, "width", "in --width flag");
3481
3513
  return {
3482
3514
  source: "cli",
@@ -3498,13 +3530,13 @@ var overrideWidthOption = {
3498
3530
  validateDimension(width, "width", "in Config.overrideWidth()");
3499
3531
  currentWidth = width;
3500
3532
  },
3501
- id: cliFlag62
3533
+ id: cliFlag63
3502
3534
  };
3503
3535
 
3504
3536
  // src/options/overwrite.tsx
3505
- import { jsx as jsx59, jsxs as jsxs39, Fragment as Fragment59 } from "react/jsx-runtime";
3537
+ import { jsx as jsx60, jsxs as jsxs39, Fragment as Fragment60 } from "react/jsx-runtime";
3506
3538
  var shouldOverwrite = null;
3507
- var cliFlag63 = "overwrite";
3539
+ var cliFlag64 = "overwrite";
3508
3540
  var validate2 = (value3) => {
3509
3541
  if (typeof value3 !== "boolean") {
3510
3542
  throw new Error(`overwriteExisting must be a boolean but got ${typeof value3} (${value3})`);
@@ -3512,15 +3544,15 @@ var validate2 = (value3) => {
3512
3544
  };
3513
3545
  var overwriteOption = {
3514
3546
  name: "Overwrite output",
3515
- cliFlag: cliFlag63,
3516
- description: () => /* @__PURE__ */ jsxs39(Fragment59, {
3547
+ cliFlag: cliFlag64,
3548
+ description: () => /* @__PURE__ */ jsxs39(Fragment60, {
3517
3549
  children: [
3518
3550
  "If set to ",
3519
- /* @__PURE__ */ jsx59("code", {
3551
+ /* @__PURE__ */ jsx60("code", {
3520
3552
  children: "false"
3521
3553
  }),
3522
3554
  ", will prevent rendering to a path that already exists. Default is ",
3523
- /* @__PURE__ */ jsx59("code", {
3555
+ /* @__PURE__ */ jsx60("code", {
3524
3556
  children: "true"
3525
3557
  }),
3526
3558
  "."
@@ -3530,11 +3562,11 @@ var overwriteOption = {
3530
3562
  docLink: "https://www.remotion.dev/docs/config#setoverwriteoutput",
3531
3563
  type: false,
3532
3564
  getValue: ({ commandLine }, defaultValue2) => {
3533
- if (commandLine[cliFlag63] !== undefined && commandLine[cliFlag63] !== null) {
3534
- validate2(commandLine[cliFlag63]);
3565
+ if (commandLine[cliFlag64] !== undefined && commandLine[cliFlag64] !== null) {
3566
+ validate2(commandLine[cliFlag64]);
3535
3567
  return {
3536
3568
  source: "cli",
3537
- value: commandLine[cliFlag63]
3569
+ value: commandLine[cliFlag64]
3538
3570
  };
3539
3571
  }
3540
3572
  if (shouldOverwrite !== null) {
@@ -3552,36 +3584,36 @@ var overwriteOption = {
3552
3584
  validate2(value3);
3553
3585
  shouldOverwrite = value3;
3554
3586
  },
3555
- id: cliFlag63
3587
+ id: cliFlag64
3556
3588
  };
3557
3589
 
3558
3590
  // src/options/package-manager.tsx
3559
- import { jsx as jsx60, jsxs as jsxs40, Fragment as Fragment60 } from "react/jsx-runtime";
3560
- var cliFlag64 = "package-manager";
3591
+ import { jsx as jsx61, jsxs as jsxs40, Fragment as Fragment61 } from "react/jsx-runtime";
3592
+ var cliFlag65 = "package-manager";
3561
3593
  var currentPackageManager = null;
3562
3594
  var packageManagerOption = {
3563
3595
  name: "Package Manager",
3564
- cliFlag: cliFlag64,
3596
+ cliFlag: cliFlag65,
3565
3597
  description: () => {
3566
- return /* @__PURE__ */ jsxs40(Fragment60, {
3598
+ return /* @__PURE__ */ jsxs40(Fragment61, {
3567
3599
  children: [
3568
3600
  "Forces a specific package manager to be used. By default, Remotion will auto-detect the package manager based on your lockfile.",
3569
- /* @__PURE__ */ jsx60("br", {}),
3601
+ /* @__PURE__ */ jsx61("br", {}),
3570
3602
  "Acceptable values are ",
3571
- /* @__PURE__ */ jsx60("code", {
3603
+ /* @__PURE__ */ jsx61("code", {
3572
3604
  children: "npm"
3573
3605
  }),
3574
3606
  ", ",
3575
- /* @__PURE__ */ jsx60("code", {
3607
+ /* @__PURE__ */ jsx61("code", {
3576
3608
  children: "yarn"
3577
3609
  }),
3578
3610
  ",",
3579
3611
  " ",
3580
- /* @__PURE__ */ jsx60("code", {
3612
+ /* @__PURE__ */ jsx61("code", {
3581
3613
  children: "pnpm"
3582
3614
  }),
3583
3615
  " and ",
3584
- /* @__PURE__ */ jsx60("code", {
3616
+ /* @__PURE__ */ jsx61("code", {
3585
3617
  children: "bun"
3586
3618
  }),
3587
3619
  "."
@@ -3591,10 +3623,10 @@ var packageManagerOption = {
3591
3623
  ssrName: "packageManager",
3592
3624
  docLink: "https://www.remotion.dev/docs/cli/upgrade#--package-manager",
3593
3625
  getValue: ({ commandLine }) => {
3594
- if (commandLine[cliFlag64] !== undefined) {
3626
+ if (commandLine[cliFlag65] !== undefined) {
3595
3627
  return {
3596
3628
  source: "cli",
3597
- value: commandLine[cliFlag64]
3629
+ value: commandLine[cliFlag65]
3598
3630
  };
3599
3631
  }
3600
3632
  if (currentPackageManager !== null) {
@@ -3612,7 +3644,7 @@ var packageManagerOption = {
3612
3644
  currentPackageManager = value3;
3613
3645
  },
3614
3646
  type: "",
3615
- id: cliFlag64
3647
+ id: cliFlag65
3616
3648
  };
3617
3649
 
3618
3650
  // src/pixel-format.ts
@@ -3635,17 +3667,17 @@ var validPixelFormatsForCodec = (codec) => {
3635
3667
  };
3636
3668
 
3637
3669
  // src/options/pixel-format.tsx
3638
- import { jsx as jsx61, jsxs as jsxs41, Fragment as Fragment61 } from "react/jsx-runtime";
3670
+ import { jsx as jsx62, jsxs as jsxs41, Fragment as Fragment62 } from "react/jsx-runtime";
3639
3671
  var currentPixelFormat = DEFAULT_PIXEL_FORMAT;
3640
- var cliFlag65 = "pixel-format";
3672
+ var cliFlag66 = "pixel-format";
3641
3673
  var pixelFormatOption = {
3642
3674
  name: "Pixel format",
3643
- cliFlag: cliFlag65,
3644
- description: () => /* @__PURE__ */ jsxs41(Fragment61, {
3675
+ cliFlag: cliFlag66,
3676
+ description: () => /* @__PURE__ */ jsxs41(Fragment62, {
3645
3677
  children: [
3646
3678
  "Sets the pixel format in FFmpeg. See",
3647
3679
  " ",
3648
- /* @__PURE__ */ jsx61("a", {
3680
+ /* @__PURE__ */ jsx62("a", {
3649
3681
  href: "https://trac.ffmpeg.org/wiki/Chroma%20Subsampling",
3650
3682
  children: "the FFmpeg docs for an explanation"
3651
3683
  }),
@@ -3664,10 +3696,10 @@ var pixelFormatOption = {
3664
3696
  value: options.uiPixelFormat
3665
3697
  };
3666
3698
  }
3667
- if (commandLine[cliFlag65] !== undefined) {
3699
+ if (commandLine[cliFlag66] !== undefined) {
3668
3700
  return {
3669
3701
  source: "from --pixel-format flag",
3670
- value: commandLine[cliFlag65]
3702
+ value: commandLine[cliFlag66]
3671
3703
  };
3672
3704
  }
3673
3705
  if (options && options.compositionDefaultPixelFormat !== null) {
@@ -3693,26 +3725,26 @@ var pixelFormatOption = {
3693
3725
  }
3694
3726
  currentPixelFormat = value3;
3695
3727
  },
3696
- id: cliFlag65
3728
+ id: cliFlag66
3697
3729
  };
3698
3730
 
3699
3731
  // src/options/port.tsx
3700
- import { jsx as jsx62, Fragment as Fragment62 } from "react/jsx-runtime";
3701
- var cliFlag66 = "port";
3732
+ import { jsx as jsx63, Fragment as Fragment63 } from "react/jsx-runtime";
3733
+ var cliFlag67 = "port";
3702
3734
  var currentPort = null;
3703
3735
  var portOption = {
3704
3736
  name: "Port",
3705
- cliFlag: cliFlag66,
3706
- description: () => /* @__PURE__ */ jsx62(Fragment62, {
3737
+ cliFlag: cliFlag67,
3738
+ description: () => /* @__PURE__ */ jsx63(Fragment63, {
3707
3739
  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."
3708
3740
  }),
3709
3741
  ssrName: null,
3710
3742
  docLink: "https://www.remotion.dev/docs/config#setstudioport",
3711
3743
  getValue: ({ commandLine }) => {
3712
- if (commandLine[cliFlag66] !== undefined) {
3744
+ if (commandLine[cliFlag67] !== undefined) {
3713
3745
  return {
3714
3746
  source: "cli",
3715
- value: commandLine[cliFlag66]
3747
+ value: commandLine[cliFlag67]
3716
3748
  };
3717
3749
  }
3718
3750
  if (currentPort !== null) {
@@ -3730,25 +3762,25 @@ var portOption = {
3730
3762
  currentPort = value3;
3731
3763
  },
3732
3764
  type: 0,
3733
- id: cliFlag66
3765
+ id: cliFlag67
3734
3766
  };
3735
3767
 
3736
3768
  // src/options/prefer-lossless.tsx
3737
- import { jsx as jsx63, jsxs as jsxs42, Fragment as Fragment63 } from "react/jsx-runtime";
3738
- var cliFlag67 = "prefer-lossless";
3769
+ import { jsx as jsx64, jsxs as jsxs42, Fragment as Fragment64 } from "react/jsx-runtime";
3770
+ var cliFlag68 = "prefer-lossless";
3739
3771
  var input = false;
3740
3772
  var preferLosslessAudioOption = {
3741
3773
  name: "Prefer lossless",
3742
- cliFlag: cliFlag67,
3743
- description: () => /* @__PURE__ */ jsxs42(Fragment63, {
3774
+ cliFlag: cliFlag68,
3775
+ description: () => /* @__PURE__ */ jsxs42(Fragment64, {
3744
3776
  children: [
3745
3777
  "Uses a lossless audio codec, if one is available for the codec. If you set",
3746
- /* @__PURE__ */ jsx63("code", {
3778
+ /* @__PURE__ */ jsx64("code", {
3747
3779
  children: "audioCodec"
3748
3780
  }),
3749
3781
  ", it takes priority over",
3750
3782
  " ",
3751
- /* @__PURE__ */ jsx63("code", {
3783
+ /* @__PURE__ */ jsx64("code", {
3752
3784
  children: "preferLossless"
3753
3785
  }),
3754
3786
  "."
@@ -3758,7 +3790,7 @@ var preferLosslessAudioOption = {
3758
3790
  type: false,
3759
3791
  ssrName: "preferLossless",
3760
3792
  getValue: ({ commandLine }) => {
3761
- if (commandLine[cliFlag67]) {
3793
+ if (commandLine[cliFlag68]) {
3762
3794
  return { value: true, source: "cli" };
3763
3795
  }
3764
3796
  if (input === true) {
@@ -3769,20 +3801,20 @@ var preferLosslessAudioOption = {
3769
3801
  setConfig: (val) => {
3770
3802
  input = val;
3771
3803
  },
3772
- id: cliFlag67
3804
+ id: cliFlag68
3773
3805
  };
3774
3806
 
3775
3807
  // src/options/preview-sample-rate.tsx
3776
- import { jsx as jsx64, jsxs as jsxs43, Fragment as Fragment64 } from "react/jsx-runtime";
3777
- var cliFlag68 = "preview-sample-rate";
3808
+ import { jsx as jsx65, jsxs as jsxs43, Fragment as Fragment65 } from "react/jsx-runtime";
3809
+ var cliFlag69 = "preview-sample-rate";
3778
3810
  var currentPreviewSampleRate = null;
3779
3811
  var previewSampleRateOption = {
3780
3812
  name: "Preview Sample Rate",
3781
- cliFlag: cliFlag68,
3782
- description: () => /* @__PURE__ */ jsxs43(Fragment64, {
3813
+ cliFlag: cliFlag69,
3814
+ description: () => /* @__PURE__ */ jsxs43(Fragment65, {
3783
3815
  children: [
3784
3816
  "Controls the sample rate used for audio playback during preview. When unset, Remotion uses ",
3785
- /* @__PURE__ */ jsx64("code", {
3817
+ /* @__PURE__ */ jsx65("code", {
3786
3818
  children: "48000"
3787
3819
  }),
3788
3820
  " Hz."
@@ -3792,8 +3824,8 @@ var previewSampleRateOption = {
3792
3824
  docLink: "https://www.remotion.dev/docs/config#setpreviewsamplerate",
3793
3825
  type: null,
3794
3826
  getValue: ({ commandLine }) => {
3795
- if (commandLine[cliFlag68] !== undefined) {
3796
- return { value: commandLine[cliFlag68], source: "cli" };
3827
+ if (commandLine[cliFlag69] !== undefined) {
3828
+ return { value: commandLine[cliFlag69], source: "cli" };
3797
3829
  }
3798
3830
  if (currentPreviewSampleRate !== null) {
3799
3831
  return { value: currentPreviewSampleRate, source: "config file" };
@@ -3803,16 +3835,16 @@ var previewSampleRateOption = {
3803
3835
  setConfig: (value3) => {
3804
3836
  currentPreviewSampleRate = value3;
3805
3837
  },
3806
- id: cliFlag68
3838
+ id: cliFlag69
3807
3839
  };
3808
3840
 
3809
3841
  // src/options/props.tsx
3810
- import { jsx as jsx65, jsxs as jsxs44, Fragment as Fragment65 } from "react/jsx-runtime";
3811
- var cliFlag69 = "props";
3842
+ import { jsx as jsx66, jsxs as jsxs44, Fragment as Fragment66 } from "react/jsx-runtime";
3843
+ var cliFlag70 = "props";
3812
3844
  var propsOption = {
3813
3845
  name: "Input Props",
3814
- cliFlag: cliFlag69,
3815
- description: () => /* @__PURE__ */ jsxs44(Fragment65, {
3846
+ cliFlag: cliFlag70,
3847
+ description: () => /* @__PURE__ */ jsxs44(Fragment66, {
3816
3848
  children: [
3817
3849
  "Input Props to pass to the selected composition of your video. Must be a serialized JSON string (",
3818
3850
  /* @__PURE__ */ jsxs44("code", {
@@ -3825,7 +3857,7 @@ var propsOption = {
3825
3857
  ]
3826
3858
  }),
3827
3859
  ") or a path to a JSON file (",
3828
- /* @__PURE__ */ jsx65("code", {
3860
+ /* @__PURE__ */ jsx66("code", {
3829
3861
  children: "./path/to/props.json"
3830
3862
  }),
3831
3863
  ")."
@@ -3834,10 +3866,10 @@ var propsOption = {
3834
3866
  ssrName: null,
3835
3867
  docLink: "https://www.remotion.dev/docs/passing-props#passing-input-props-in-the-cli",
3836
3868
  getValue: ({ commandLine }) => {
3837
- if (commandLine[cliFlag69] !== undefined) {
3869
+ if (commandLine[cliFlag70] !== undefined) {
3838
3870
  return {
3839
3871
  source: "cli",
3840
- value: commandLine[cliFlag69]
3872
+ value: commandLine[cliFlag70]
3841
3873
  };
3842
3874
  }
3843
3875
  return {
@@ -3849,11 +3881,11 @@ var propsOption = {
3849
3881
  throw new Error("setProps is not supported. Pass --props via the CLI instead.");
3850
3882
  },
3851
3883
  type: "",
3852
- id: cliFlag69
3884
+ id: cliFlag70
3853
3885
  };
3854
3886
 
3855
3887
  // src/options/prores-profile.tsx
3856
- import { jsx as jsx66, jsxs as jsxs45, Fragment as Fragment66 } from "react/jsx-runtime";
3888
+ import { jsx as jsx67, jsxs as jsxs45, Fragment as Fragment67 } from "react/jsx-runtime";
3857
3889
  var validProResProfiles = [
3858
3890
  "4444-xq",
3859
3891
  "4444",
@@ -3863,14 +3895,14 @@ var validProResProfiles = [
3863
3895
  "proxy"
3864
3896
  ];
3865
3897
  var proResProfile;
3866
- var cliFlag70 = "prores-profile";
3898
+ var cliFlag71 = "prores-profile";
3867
3899
  var proResProfileOption = {
3868
3900
  name: "ProRes profile",
3869
- cliFlag: cliFlag70,
3870
- description: () => /* @__PURE__ */ jsxs45(Fragment66, {
3901
+ cliFlag: cliFlag71,
3902
+ description: () => /* @__PURE__ */ jsxs45(Fragment67, {
3871
3903
  children: [
3872
3904
  "Set the ProRes profile. This option is only valid if the codec has been set to ",
3873
- /* @__PURE__ */ jsx66("code", {
3905
+ /* @__PURE__ */ jsx67("code", {
3874
3906
  children: "prores"
3875
3907
  }),
3876
3908
  ". Possible values:",
@@ -3878,12 +3910,12 @@ var proResProfileOption = {
3878
3910
  validProResProfiles.map((p) => `"${p}"`).join(", "),
3879
3911
  ". Default:",
3880
3912
  " ",
3881
- /* @__PURE__ */ jsx66("code", {
3913
+ /* @__PURE__ */ jsx67("code", {
3882
3914
  children: '"hq"'
3883
3915
  }),
3884
3916
  ". See",
3885
3917
  " ",
3886
- /* @__PURE__ */ jsx66("a", {
3918
+ /* @__PURE__ */ jsx67("a", {
3887
3919
  href: "https://video.stackexchange.com/a/14715",
3888
3920
  children: "here"
3889
3921
  }),
@@ -3900,10 +3932,10 @@ var proResProfileOption = {
3900
3932
  value: options.uiProResProfile
3901
3933
  };
3902
3934
  }
3903
- if (commandLine[cliFlag70] !== undefined) {
3935
+ if (commandLine[cliFlag71] !== undefined) {
3904
3936
  return {
3905
3937
  source: "from --prores-profile flag",
3906
- value: String(commandLine[cliFlag70])
3938
+ value: String(commandLine[cliFlag71])
3907
3939
  };
3908
3940
  }
3909
3941
  if (options && options.compositionDefaultProResProfile !== null) {
@@ -3926,24 +3958,24 @@ var proResProfileOption = {
3926
3958
  setConfig: (value3) => {
3927
3959
  proResProfile = value3;
3928
3960
  },
3929
- id: cliFlag70
3961
+ id: cliFlag71
3930
3962
  };
3931
3963
 
3932
3964
  // src/options/public-dir.tsx
3933
- import { jsx as jsx67, jsxs as jsxs46, Fragment as Fragment67 } from "react/jsx-runtime";
3934
- var cliFlag71 = "public-dir";
3965
+ import { jsx as jsx68, jsxs as jsxs46, Fragment as Fragment68 } from "react/jsx-runtime";
3966
+ var cliFlag72 = "public-dir";
3935
3967
  var currentPublicDir = null;
3936
3968
  var publicDirOption = {
3937
3969
  name: "Public Directory",
3938
- cliFlag: cliFlag71,
3970
+ cliFlag: cliFlag72,
3939
3971
  description: () => {
3940
- return /* @__PURE__ */ jsxs46(Fragment67, {
3972
+ return /* @__PURE__ */ jsxs46(Fragment68, {
3941
3973
  children: [
3942
3974
  "Define the location of the",
3943
3975
  " ",
3944
- /* @__PURE__ */ jsx67("a", {
3976
+ /* @__PURE__ */ jsx68("a", {
3945
3977
  href: "/docs/terminology/public-dir",
3946
- children: /* @__PURE__ */ jsx67("code", {
3978
+ children: /* @__PURE__ */ jsx68("code", {
3947
3979
  children: "public/ directory"
3948
3980
  })
3949
3981
  }),
@@ -3954,10 +3986,10 @@ var publicDirOption = {
3954
3986
  ssrName: "publicDir",
3955
3987
  docLink: "https://www.remotion.dev/docs/terminology/public-dir",
3956
3988
  getValue: ({ commandLine }) => {
3957
- if (commandLine[cliFlag71] !== undefined) {
3989
+ if (commandLine[cliFlag72] !== undefined) {
3958
3990
  return {
3959
3991
  source: "cli",
3960
- value: commandLine[cliFlag71]
3992
+ value: commandLine[cliFlag72]
3961
3993
  };
3962
3994
  }
3963
3995
  if (currentPublicDir !== null) {
@@ -3975,20 +4007,20 @@ var publicDirOption = {
3975
4007
  currentPublicDir = value3;
3976
4008
  },
3977
4009
  type: "",
3978
- id: cliFlag71
4010
+ id: cliFlag72
3979
4011
  };
3980
4012
 
3981
4013
  // src/options/public-license-key.tsx
3982
- import { jsx as jsx68, jsxs as jsxs47, Fragment as Fragment68 } from "react/jsx-runtime";
3983
- var cliFlag72 = "public-license-key";
4014
+ import { jsx as jsx69, jsxs as jsxs47, Fragment as Fragment69 } from "react/jsx-runtime";
4015
+ var cliFlag73 = "public-license-key";
3984
4016
  var currentPublicLicenseKey = null;
3985
4017
  var publicLicenseKeyOption = {
3986
4018
  name: "Public License Key",
3987
- cliFlag: cliFlag72,
3988
- description: () => /* @__PURE__ */ jsxs47(Fragment68, {
4019
+ cliFlag: cliFlag73,
4020
+ description: () => /* @__PURE__ */ jsxs47(Fragment69, {
3989
4021
  children: [
3990
4022
  "The public license key for your company license, obtained from the License keys page on ",
3991
- /* @__PURE__ */ jsx68("a", {
4023
+ /* @__PURE__ */ jsx69("a", {
3992
4024
  href: "https://remotion.pro/dashboard",
3993
4025
  children: "remotion.pro"
3994
4026
  }),
@@ -3998,10 +4030,10 @@ var publicLicenseKeyOption = {
3998
4030
  ssrName: "publicLicenseKey",
3999
4031
  docLink: "https://www.remotion.dev/docs/licensing",
4000
4032
  getValue: ({ commandLine }) => {
4001
- if (commandLine[cliFlag72] !== undefined) {
4033
+ if (commandLine[cliFlag73] !== undefined) {
4002
4034
  return {
4003
4035
  source: "cli",
4004
- value: commandLine[cliFlag72]
4036
+ value: commandLine[cliFlag73]
4005
4037
  };
4006
4038
  }
4007
4039
  if (currentPublicLicenseKey !== null) {
@@ -4022,29 +4054,29 @@ var publicLicenseKeyOption = {
4022
4054
  currentPublicLicenseKey = value3;
4023
4055
  },
4024
4056
  type: null,
4025
- id: cliFlag72
4057
+ id: cliFlag73
4026
4058
  };
4027
4059
 
4028
4060
  // src/options/public-path.tsx
4029
- import { jsx as jsx69, jsxs as jsxs48, Fragment as Fragment69 } from "react/jsx-runtime";
4030
- var cliFlag73 = "public-path";
4061
+ import { jsx as jsx70, jsxs as jsxs48, Fragment as Fragment70 } from "react/jsx-runtime";
4062
+ var cliFlag74 = "public-path";
4031
4063
  var currentPublicPath = null;
4032
4064
  var publicPathOption = {
4033
4065
  name: "Public Path",
4034
- cliFlag: cliFlag73,
4066
+ cliFlag: cliFlag74,
4035
4067
  description: () => {
4036
- return /* @__PURE__ */ jsxs48(Fragment69, {
4068
+ return /* @__PURE__ */ jsxs48(Fragment70, {
4037
4069
  children: [
4038
4070
  "The path of the URL where the bundle is going to be hosted. By default it is ",
4039
- /* @__PURE__ */ jsx69("code", {
4071
+ /* @__PURE__ */ jsx70("code", {
4040
4072
  children: "/"
4041
4073
  }),
4042
4074
  ", meaning that the bundle is going to be hosted at the root of the domain (e.g. ",
4043
- /* @__PURE__ */ jsx69("code", {
4075
+ /* @__PURE__ */ jsx70("code", {
4044
4076
  children: "https://localhost:3000/"
4045
4077
  }),
4046
4078
  "). If you are deploying to a subdirectory (e.g. ",
4047
- /* @__PURE__ */ jsx69("code", {
4079
+ /* @__PURE__ */ jsx70("code", {
4048
4080
  children: "/sites/my-site/"
4049
4081
  }),
4050
4082
  "), you should set this to the subdirectory."
@@ -4054,10 +4086,10 @@ var publicPathOption = {
4054
4086
  ssrName: "publicPath",
4055
4087
  docLink: "https://www.remotion.dev/docs/renderer",
4056
4088
  getValue: ({ commandLine }) => {
4057
- if (commandLine[cliFlag73] !== undefined) {
4089
+ if (commandLine[cliFlag74] !== undefined) {
4058
4090
  return {
4059
4091
  source: "cli",
4060
- value: commandLine[cliFlag73]
4092
+ value: commandLine[cliFlag74]
4061
4093
  };
4062
4094
  }
4063
4095
  if (currentPublicPath !== null) {
@@ -4075,29 +4107,29 @@ var publicPathOption = {
4075
4107
  currentPublicPath = value3;
4076
4108
  },
4077
4109
  type: "",
4078
- id: cliFlag73
4110
+ id: cliFlag74
4079
4111
  };
4080
4112
 
4081
4113
  // src/options/repro.tsx
4082
- import { jsx as jsx70, Fragment as Fragment70 } from "react/jsx-runtime";
4114
+ import { jsx as jsx71, Fragment as Fragment71 } from "react/jsx-runtime";
4083
4115
  var enableRepro = false;
4084
4116
  var setRepro = (should) => {
4085
4117
  enableRepro = should;
4086
4118
  };
4087
- var cliFlag74 = "repro";
4119
+ var cliFlag75 = "repro";
4088
4120
  var reproOption = {
4089
4121
  name: "Create reproduction",
4090
- cliFlag: cliFlag74,
4091
- description: () => /* @__PURE__ */ jsx70(Fragment70, {
4122
+ cliFlag: cliFlag75,
4123
+ description: () => /* @__PURE__ */ jsx71(Fragment71, {
4092
4124
  children: "Create a ZIP that you can submit to Remotion if asked for a reproduction."
4093
4125
  }),
4094
4126
  ssrName: "repro",
4095
4127
  docLink: "https://www.remotion.dev/docs/render-media#repro",
4096
4128
  type: false,
4097
4129
  getValue: ({ commandLine }) => {
4098
- if (commandLine[cliFlag74] !== undefined && commandLine[cliFlag74] !== null) {
4130
+ if (commandLine[cliFlag75] !== undefined && commandLine[cliFlag75] !== null) {
4099
4131
  return {
4100
- value: commandLine[cliFlag74],
4132
+ value: commandLine[cliFlag75],
4101
4133
  source: "cli"
4102
4134
  };
4103
4135
  }
@@ -4113,27 +4145,27 @@ var reproOption = {
4113
4145
  };
4114
4146
  },
4115
4147
  setConfig: setRepro,
4116
- id: cliFlag74
4148
+ id: cliFlag75
4117
4149
  };
4118
4150
 
4119
4151
  // src/options/rspack.tsx
4120
- import { jsx as jsx71, Fragment as Fragment71 } from "react/jsx-runtime";
4152
+ import { jsx as jsx72, Fragment as Fragment72 } from "react/jsx-runtime";
4121
4153
  var rspackEnabled = false;
4122
- var cliFlag75 = "experimental-rspack";
4154
+ var cliFlag76 = "experimental-rspack";
4123
4155
  var rspackOption = {
4124
4156
  name: "Experimental Rspack",
4125
- cliFlag: cliFlag75,
4126
- description: () => /* @__PURE__ */ jsx71(Fragment71, {
4157
+ cliFlag: cliFlag76,
4158
+ description: () => /* @__PURE__ */ jsx72(Fragment72, {
4127
4159
  children: "Uses Rspack instead of Webpack as the bundler for the Studio or bundle."
4128
4160
  }),
4129
4161
  ssrName: null,
4130
4162
  docLink: null,
4131
4163
  type: false,
4132
4164
  getValue: ({ commandLine }) => {
4133
- if (commandLine[cliFlag75] !== undefined) {
4165
+ if (commandLine[cliFlag76] !== undefined) {
4134
4166
  rspackEnabled = true;
4135
4167
  return {
4136
- value: commandLine[cliFlag75],
4168
+ value: commandLine[cliFlag76],
4137
4169
  source: "cli"
4138
4170
  };
4139
4171
  }
@@ -4145,21 +4177,21 @@ var rspackOption = {
4145
4177
  setConfig(value3) {
4146
4178
  rspackEnabled = value3;
4147
4179
  },
4148
- id: cliFlag75
4180
+ id: cliFlag76
4149
4181
  };
4150
4182
 
4151
4183
  // src/options/runs.tsx
4152
- import { jsx as jsx72, jsxs as jsxs49, Fragment as Fragment72 } from "react/jsx-runtime";
4184
+ import { jsx as jsx73, jsxs as jsxs49, Fragment as Fragment73 } from "react/jsx-runtime";
4153
4185
  var DEFAULT_RUNS = 3;
4154
4186
  var currentRuns = DEFAULT_RUNS;
4155
- var cliFlag76 = "runs";
4187
+ var cliFlag77 = "runs";
4156
4188
  var runsOption = {
4157
4189
  name: "Benchmark runs",
4158
- cliFlag: cliFlag76,
4159
- description: () => /* @__PURE__ */ jsxs49(Fragment72, {
4190
+ cliFlag: cliFlag77,
4191
+ description: () => /* @__PURE__ */ jsxs49(Fragment73, {
4160
4192
  children: [
4161
4193
  "Specify how many times the video should be rendered during a benchmark. Default ",
4162
- /* @__PURE__ */ jsx72("code", {
4194
+ /* @__PURE__ */ jsx73("code", {
4163
4195
  children: DEFAULT_RUNS
4164
4196
  }),
4165
4197
  "."
@@ -4169,10 +4201,10 @@ var runsOption = {
4169
4201
  docLink: "https://www.remotion.dev/docs/cli/benchmark#--runs",
4170
4202
  type: DEFAULT_RUNS,
4171
4203
  getValue: ({ commandLine }) => {
4172
- if (commandLine[cliFlag76] !== undefined) {
4173
- const value3 = Number(commandLine[cliFlag76]);
4204
+ if (commandLine[cliFlag77] !== undefined) {
4205
+ const value3 = Number(commandLine[cliFlag77]);
4174
4206
  if (isNaN(value3) || value3 < 1) {
4175
- throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag76]}`);
4207
+ throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag77]}`);
4176
4208
  }
4177
4209
  return { value: value3, source: "cli" };
4178
4210
  }
@@ -4187,21 +4219,21 @@ var runsOption = {
4187
4219
  }
4188
4220
  currentRuns = value3;
4189
4221
  },
4190
- id: cliFlag76
4222
+ id: cliFlag77
4191
4223
  };
4192
4224
 
4193
4225
  // src/options/sample-rate.tsx
4194
- import { jsx as jsx73, jsxs as jsxs50, Fragment as Fragment73 } from "react/jsx-runtime";
4195
- var cliFlag77 = "sample-rate";
4226
+ import { jsx as jsx74, jsxs as jsxs50, Fragment as Fragment74 } from "react/jsx-runtime";
4227
+ var cliFlag78 = "sample-rate";
4196
4228
  var currentSampleRate = 48000;
4197
4229
  var sampleRateOption = {
4198
4230
  name: "Sample Rate",
4199
- cliFlag: cliFlag77,
4200
- description: () => /* @__PURE__ */ jsxs50(Fragment73, {
4231
+ cliFlag: cliFlag78,
4232
+ description: () => /* @__PURE__ */ jsxs50(Fragment74, {
4201
4233
  children: [
4202
4234
  "Controls the sample rate of the output audio. The default is",
4203
4235
  " ",
4204
- /* @__PURE__ */ jsx73("code", {
4236
+ /* @__PURE__ */ jsx74("code", {
4205
4237
  children: "48000"
4206
4238
  }),
4207
4239
  " Hz. Match this to your source audio to avoid resampling artifacts."
@@ -4211,8 +4243,8 @@ var sampleRateOption = {
4211
4243
  docLink: "https://www.remotion.dev/docs/sample-rate",
4212
4244
  type: 48000,
4213
4245
  getValue: ({ commandLine }, compositionSampleRate) => {
4214
- if (commandLine[cliFlag77] !== undefined) {
4215
- return { value: commandLine[cliFlag77], source: "cli" };
4246
+ if (commandLine[cliFlag78] !== undefined) {
4247
+ return { value: commandLine[cliFlag78], source: "cli" };
4216
4248
  }
4217
4249
  if (currentSampleRate !== 48000) {
4218
4250
  return { value: currentSampleRate, source: "config file" };
@@ -4228,13 +4260,13 @@ var sampleRateOption = {
4228
4260
  setConfig: (value3) => {
4229
4261
  currentSampleRate = value3;
4230
4262
  },
4231
- id: cliFlag77
4263
+ id: cliFlag78
4232
4264
  };
4233
4265
 
4234
4266
  // src/options/scale.tsx
4235
- import { jsx as jsx74, jsxs as jsxs51, Fragment as Fragment74 } from "react/jsx-runtime";
4267
+ import { jsx as jsx75, jsxs as jsxs51, Fragment as Fragment75 } from "react/jsx-runtime";
4236
4268
  var currentScale = 1;
4237
- var cliFlag78 = "scale";
4269
+ var cliFlag79 = "scale";
4238
4270
  var validateScale = (value3) => {
4239
4271
  if (typeof value3 !== "number") {
4240
4272
  throw new Error("scale must be a number.");
@@ -4242,15 +4274,15 @@ var validateScale = (value3) => {
4242
4274
  };
4243
4275
  var scaleOption = {
4244
4276
  name: "Scale",
4245
- cliFlag: cliFlag78,
4246
- description: () => /* @__PURE__ */ jsxs51(Fragment74, {
4277
+ cliFlag: cliFlag79,
4278
+ description: () => /* @__PURE__ */ jsxs51(Fragment75, {
4247
4279
  children: [
4248
4280
  "Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
4249
- /* @__PURE__ */ jsx74("code", {
4281
+ /* @__PURE__ */ jsx75("code", {
4250
4282
  children: "1.5"
4251
4283
  }),
4252
4284
  ". See ",
4253
- /* @__PURE__ */ jsx74("a", {
4285
+ /* @__PURE__ */ jsx75("a", {
4254
4286
  href: "https://www.remotion.dev/docs/scaling",
4255
4287
  children: "Scaling"
4256
4288
  }),
@@ -4261,11 +4293,11 @@ var scaleOption = {
4261
4293
  docLink: "https://www.remotion.dev/docs/scaling",
4262
4294
  type: 0,
4263
4295
  getValue: ({ commandLine }) => {
4264
- if (commandLine[cliFlag78] !== undefined) {
4265
- validateScale(commandLine[cliFlag78]);
4296
+ if (commandLine[cliFlag79] !== undefined) {
4297
+ validateScale(commandLine[cliFlag79]);
4266
4298
  return {
4267
4299
  source: "cli",
4268
- value: commandLine[cliFlag78]
4300
+ value: commandLine[cliFlag79]
4269
4301
  };
4270
4302
  }
4271
4303
  if (currentScale !== null) {
@@ -4282,13 +4314,13 @@ var scaleOption = {
4282
4314
  setConfig: (scale) => {
4283
4315
  currentScale = scale;
4284
4316
  },
4285
- id: cliFlag78
4317
+ id: cliFlag79
4286
4318
  };
4287
4319
 
4288
4320
  // src/options/still-frame.tsx
4289
4321
  import { NoReactInternals as NoReactInternals3 } from "remotion/no-react";
4290
- import { jsx as jsx75, jsxs as jsxs52, Fragment as Fragment75 } from "react/jsx-runtime";
4291
- var cliFlag79 = "frame";
4322
+ import { jsx as jsx76, jsxs as jsxs52, Fragment as Fragment76 } from "react/jsx-runtime";
4323
+ var cliFlag80 = "frame";
4292
4324
  var currentFrame = null;
4293
4325
  var validate3 = (frame) => {
4294
4326
  NoReactInternals3.validateFrame({
@@ -4299,17 +4331,17 @@ var validate3 = (frame) => {
4299
4331
  };
4300
4332
  var stillFrameOption = {
4301
4333
  name: "Frame",
4302
- cliFlag: cliFlag79,
4303
- description: () => /* @__PURE__ */ jsxs52(Fragment75, {
4334
+ cliFlag: cliFlag80,
4335
+ description: () => /* @__PURE__ */ jsxs52(Fragment76, {
4304
4336
  children: [
4305
4337
  "Which frame should be rendered when rendering a still. Default",
4306
4338
  " ",
4307
- /* @__PURE__ */ jsx75("code", {
4339
+ /* @__PURE__ */ jsx76("code", {
4308
4340
  children: "0"
4309
4341
  }),
4310
4342
  ". From v3.2.27, negative values are allowed, with",
4311
4343
  " ",
4312
- /* @__PURE__ */ jsx75("code", {
4344
+ /* @__PURE__ */ jsx76("code", {
4313
4345
  children: "-1"
4314
4346
  }),
4315
4347
  " being the last frame."
@@ -4318,8 +4350,8 @@ var stillFrameOption = {
4318
4350
  ssrName: "frame",
4319
4351
  docLink: "https://www.remotion.dev/docs/cli/still#--frame",
4320
4352
  getValue: ({ commandLine }) => {
4321
- if (commandLine[cliFlag79] !== undefined) {
4322
- const frame = Number(commandLine[cliFlag79]);
4353
+ if (commandLine[cliFlag80] !== undefined) {
4354
+ const frame = Number(commandLine[cliFlag80]);
4323
4355
  validate3(frame);
4324
4356
  return {
4325
4357
  source: "cli",
@@ -4344,24 +4376,24 @@ var stillFrameOption = {
4344
4376
  currentFrame = value3;
4345
4377
  },
4346
4378
  type: 0,
4347
- id: cliFlag79
4379
+ id: cliFlag80
4348
4380
  };
4349
4381
 
4350
4382
  // src/options/still-image-format.tsx
4351
- import { jsx as jsx76, jsxs as jsxs53, Fragment as Fragment76 } from "react/jsx-runtime";
4383
+ import { jsx as jsx77, jsxs as jsxs53, Fragment as Fragment77 } from "react/jsx-runtime";
4352
4384
  var currentStillImageFormat = null;
4353
- var cliFlag80 = "image-format";
4385
+ var cliFlag81 = "image-format";
4354
4386
  var stillImageFormatOption = {
4355
4387
  name: "Still Image Format",
4356
- cliFlag: cliFlag80,
4357
- description: () => /* @__PURE__ */ jsxs53(Fragment76, {
4388
+ cliFlag: cliFlag81,
4389
+ description: () => /* @__PURE__ */ jsxs53(Fragment77, {
4358
4390
  children: [
4359
4391
  "The image format to use when rendering a still. Must be one of",
4360
4392
  " ",
4361
4393
  validStillImageFormats.map((f) => `"${f}"`).join(", "),
4362
4394
  ". Default:",
4363
4395
  " ",
4364
- /* @__PURE__ */ jsx76("code", {
4396
+ /* @__PURE__ */ jsx77("code", {
4365
4397
  children: '"png"'
4366
4398
  }),
4367
4399
  "."
@@ -4371,8 +4403,8 @@ var stillImageFormatOption = {
4371
4403
  docLink: "https://www.remotion.dev/docs/renderer/render-still#imageformat",
4372
4404
  type: null,
4373
4405
  getValue: ({ commandLine }) => {
4374
- if (commandLine[cliFlag80] !== undefined) {
4375
- const value3 = commandLine[cliFlag80];
4406
+ if (commandLine[cliFlag81] !== undefined) {
4407
+ const value3 = commandLine[cliFlag81];
4376
4408
  if (!validStillImageFormats.includes(value3)) {
4377
4409
  throw new Error(`Invalid still image format: ${value3}. Must be one of: ${validStillImageFormats.join(", ")}`);
4378
4410
  }
@@ -4410,16 +4442,16 @@ var stillImageFormatOption = {
4410
4442
 
4411
4443
  // src/options/throw-if-site-exists.tsx
4412
4444
  var DEFAULT5 = false;
4413
- var cliFlag81 = "throw-if-site-exists";
4445
+ var cliFlag82 = "throw-if-site-exists";
4414
4446
  var throwIfSiteExistsOption = {
4415
- cliFlag: cliFlag81,
4447
+ cliFlag: cliFlag82,
4416
4448
  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.`,
4417
4449
  docLink: "https://remotion.dev/docs/lambda/deploy-site",
4418
4450
  getValue: ({ commandLine }) => {
4419
- if (commandLine[cliFlag81]) {
4451
+ if (commandLine[cliFlag82]) {
4420
4452
  return {
4421
4453
  source: "cli",
4422
- value: commandLine[cliFlag81]
4454
+ value: commandLine[cliFlag82]
4423
4455
  };
4424
4456
  }
4425
4457
  return {
@@ -4433,41 +4465,41 @@ var throwIfSiteExistsOption = {
4433
4465
  },
4434
4466
  ssrName: "throwIfSiteExists",
4435
4467
  type: false,
4436
- id: cliFlag81
4468
+ id: cliFlag82
4437
4469
  };
4438
4470
 
4439
4471
  // src/options/timeout.tsx
4440
- import { jsx as jsx77, jsxs as jsxs54, Fragment as Fragment77 } from "react/jsx-runtime";
4472
+ import { jsx as jsx78, jsxs as jsxs54, Fragment as Fragment78 } from "react/jsx-runtime";
4441
4473
  var currentTimeout = DEFAULT_TIMEOUT;
4442
4474
  var validate4 = (value3) => {
4443
4475
  if (typeof value3 !== "number") {
4444
4476
  throw new Error("--timeout flag / setDelayRenderTimeoutInMilliseconds() must be a number, but got " + JSON.stringify(value3));
4445
4477
  }
4446
4478
  };
4447
- var cliFlag82 = "timeout";
4479
+ var cliFlag83 = "timeout";
4448
4480
  var delayRenderTimeoutInMillisecondsOption = {
4449
4481
  name: "delayRender() timeout",
4450
- cliFlag: cliFlag82,
4451
- description: () => /* @__PURE__ */ jsxs54(Fragment77, {
4482
+ cliFlag: cliFlag83,
4483
+ description: () => /* @__PURE__ */ jsxs54(Fragment78, {
4452
4484
  children: [
4453
4485
  "A number describing how long the render may take to resolve all",
4454
4486
  " ",
4455
- /* @__PURE__ */ jsx77("a", {
4487
+ /* @__PURE__ */ jsx78("a", {
4456
4488
  href: "https://remotion.dev/docs/delay-render",
4457
- children: /* @__PURE__ */ jsx77("code", {
4489
+ children: /* @__PURE__ */ jsx78("code", {
4458
4490
  children: "delayRender()"
4459
4491
  })
4460
4492
  }),
4461
4493
  " ",
4462
4494
  "calls",
4463
4495
  " ",
4464
- /* @__PURE__ */ jsx77("a", {
4496
+ /* @__PURE__ */ jsx78("a", {
4465
4497
  style: { fontSize: "inherit" },
4466
4498
  href: "https://remotion.dev/docs/timeout",
4467
4499
  children: "before it times out"
4468
4500
  }),
4469
4501
  ". Default: ",
4470
- /* @__PURE__ */ jsx77("code", {
4502
+ /* @__PURE__ */ jsx78("code", {
4471
4503
  children: "30000"
4472
4504
  })
4473
4505
  ]
@@ -4476,10 +4508,10 @@ var delayRenderTimeoutInMillisecondsOption = {
4476
4508
  docLink: "https://www.remotion.dev/docs/timeout",
4477
4509
  type: 0,
4478
4510
  getValue: ({ commandLine }) => {
4479
- if (commandLine[cliFlag82] !== undefined) {
4511
+ if (commandLine[cliFlag83] !== undefined) {
4480
4512
  return {
4481
4513
  source: "cli",
4482
- value: commandLine[cliFlag82]
4514
+ value: commandLine[cliFlag83]
4483
4515
  };
4484
4516
  }
4485
4517
  if (currentTimeout !== null) {
@@ -4498,27 +4530,27 @@ var delayRenderTimeoutInMillisecondsOption = {
4498
4530
  validate4(value3);
4499
4531
  currentTimeout = value3;
4500
4532
  },
4501
- id: cliFlag82
4533
+ id: cliFlag83
4502
4534
  };
4503
4535
 
4504
4536
  // src/options/user-agent.tsx
4505
- import { jsx as jsx78, Fragment as Fragment78 } from "react/jsx-runtime";
4537
+ import { jsx as jsx79, Fragment as Fragment79 } from "react/jsx-runtime";
4506
4538
  var userAgent = null;
4507
- var cliFlag83 = "user-agent";
4539
+ var cliFlag84 = "user-agent";
4508
4540
  var userAgentOption = {
4509
4541
  name: "User agent",
4510
- cliFlag: cliFlag83,
4511
- description: () => /* @__PURE__ */ jsx78(Fragment78, {
4542
+ cliFlag: cliFlag84,
4543
+ description: () => /* @__PURE__ */ jsx79(Fragment79, {
4512
4544
  children: "Lets you set a custom user agent that the headless Chrome browser assumes."
4513
4545
  }),
4514
4546
  ssrName: "userAgent",
4515
4547
  docLink: "https://www.remotion.dev/docs/chromium-flags#--user-agent",
4516
4548
  type: null,
4517
4549
  getValue: ({ commandLine }) => {
4518
- if (commandLine[cliFlag83] !== undefined) {
4550
+ if (commandLine[cliFlag84] !== undefined) {
4519
4551
  return {
4520
4552
  source: "cli",
4521
- value: commandLine[cliFlag83]
4553
+ value: commandLine[cliFlag84]
4522
4554
  };
4523
4555
  }
4524
4556
  if (userAgent !== null) {
@@ -4535,25 +4567,25 @@ var userAgentOption = {
4535
4567
  setConfig: (value3) => {
4536
4568
  userAgent = value3;
4537
4569
  },
4538
- id: cliFlag83
4570
+ id: cliFlag84
4539
4571
  };
4540
4572
 
4541
4573
  // src/options/version-flag.tsx
4542
- import { jsx as jsx79, Fragment as Fragment79 } from "react/jsx-runtime";
4543
- var cliFlag84 = "version";
4574
+ import { jsx as jsx80, Fragment as Fragment80 } from "react/jsx-runtime";
4575
+ var cliFlag85 = "version";
4544
4576
  var versionFlagOption = {
4545
4577
  name: "Version",
4546
- cliFlag: cliFlag84,
4547
- description: () => /* @__PURE__ */ jsx79(Fragment79, {
4578
+ cliFlag: cliFlag85,
4579
+ description: () => /* @__PURE__ */ jsx80(Fragment80, {
4548
4580
  children: "Install a specific version. Also enables downgrading to an older version."
4549
4581
  }),
4550
4582
  ssrName: null,
4551
4583
  docLink: "https://www.remotion.dev/docs/cli/upgrade#--version",
4552
4584
  getValue: ({ commandLine }) => {
4553
- if (commandLine[cliFlag84] !== undefined) {
4585
+ if (commandLine[cliFlag85] !== undefined) {
4554
4586
  return {
4555
4587
  source: "cli",
4556
- value: String(commandLine[cliFlag84])
4588
+ value: String(commandLine[cliFlag85])
4557
4589
  };
4558
4590
  }
4559
4591
  return {
@@ -4565,30 +4597,30 @@ var versionFlagOption = {
4565
4597
  throw new Error("Cannot set version via config file");
4566
4598
  },
4567
4599
  type: "",
4568
- id: cliFlag84
4600
+ id: cliFlag85
4569
4601
  };
4570
4602
 
4571
4603
  // src/options/video-bitrate.tsx
4572
- import { jsx as jsx80, jsxs as jsxs55, Fragment as Fragment80 } from "react/jsx-runtime";
4604
+ import { jsx as jsx81, jsxs as jsxs55, Fragment as Fragment81 } from "react/jsx-runtime";
4573
4605
  var videoBitrate = null;
4574
- var cliFlag85 = "video-bitrate";
4606
+ var cliFlag86 = "video-bitrate";
4575
4607
  var videoBitrateOption = {
4576
4608
  name: "Video Bitrate",
4577
- cliFlag: cliFlag85,
4578
- description: () => /* @__PURE__ */ jsxs55(Fragment80, {
4609
+ cliFlag: cliFlag86,
4610
+ description: () => /* @__PURE__ */ jsxs55(Fragment81, {
4579
4611
  children: [
4580
4612
  "Specify the target bitrate for the generated video. The syntax for FFmpeg",
4581
4613
  "'",
4582
4614
  "s",
4583
- /* @__PURE__ */ jsx80("code", {
4615
+ /* @__PURE__ */ jsx81("code", {
4584
4616
  children: "-b:v"
4585
4617
  }),
4586
4618
  " parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ",
4587
- /* @__PURE__ */ jsx80("code", {
4619
+ /* @__PURE__ */ jsx81("code", {
4588
4620
  children: "512K"
4589
4621
  }),
4590
4622
  " for 512 kbps, ",
4591
- /* @__PURE__ */ jsx80("code", {
4623
+ /* @__PURE__ */ jsx81("code", {
4592
4624
  children: "1M"
4593
4625
  }),
4594
4626
  " for 1 Mbps."
@@ -4598,10 +4630,10 @@ var videoBitrateOption = {
4598
4630
  docLink: "https://www.remotion.dev/docs/renderer/render-media#videobitrate",
4599
4631
  type: "",
4600
4632
  getValue: ({ commandLine }) => {
4601
- if (commandLine[cliFlag85] !== undefined) {
4633
+ if (commandLine[cliFlag86] !== undefined) {
4602
4634
  return {
4603
4635
  source: "cli",
4604
- value: commandLine[cliFlag85]
4636
+ value: commandLine[cliFlag86]
4605
4637
  };
4606
4638
  }
4607
4639
  if (videoBitrate !== null) {
@@ -4618,33 +4650,33 @@ var videoBitrateOption = {
4618
4650
  setConfig: (bitrate) => {
4619
4651
  videoBitrate = bitrate;
4620
4652
  },
4621
- id: cliFlag85
4653
+ id: cliFlag86
4622
4654
  };
4623
4655
 
4624
4656
  // src/options/video-cache-size.tsx
4625
- import { jsx as jsx81, jsxs as jsxs56, Fragment as Fragment81 } from "react/jsx-runtime";
4657
+ import { jsx as jsx82, jsxs as jsxs56, Fragment as Fragment82 } from "react/jsx-runtime";
4626
4658
  var mediaCacheSizeInBytes = null;
4627
- var cliFlag86 = "media-cache-size-in-bytes";
4659
+ var cliFlag87 = "media-cache-size-in-bytes";
4628
4660
  var mediaCacheSizeInBytesOption = {
4629
4661
  name: "@remotion/media cache size",
4630
- cliFlag: cliFlag86,
4631
- description: () => /* @__PURE__ */ jsxs56(Fragment81, {
4662
+ cliFlag: cliFlag87,
4663
+ description: () => /* @__PURE__ */ jsxs56(Fragment82, {
4632
4664
  children: [
4633
4665
  "Specify the maximum size of the cache that ",
4634
- /* @__PURE__ */ jsx81("code", {
4666
+ /* @__PURE__ */ jsx82("code", {
4635
4667
  children: "<Video>"
4636
4668
  }),
4637
4669
  " and",
4638
4670
  " ",
4639
- /* @__PURE__ */ jsx81("code", {
4671
+ /* @__PURE__ */ jsx82("code", {
4640
4672
  children: "<Audio>"
4641
4673
  }),
4642
4674
  " from ",
4643
- /* @__PURE__ */ jsx81("code", {
4675
+ /* @__PURE__ */ jsx82("code", {
4644
4676
  children: "@remotion/media"
4645
4677
  }),
4646
4678
  " may use combined, in bytes. ",
4647
- /* @__PURE__ */ jsx81("br", {}),
4679
+ /* @__PURE__ */ jsx82("br", {}),
4648
4680
  "The default is half of the available system memory when the render starts."
4649
4681
  ]
4650
4682
  }),
@@ -4652,10 +4684,10 @@ var mediaCacheSizeInBytesOption = {
4652
4684
  docLink: "https://www.remotion.dev/docs/media/video#setting-the-cache-size",
4653
4685
  type: 0,
4654
4686
  getValue: ({ commandLine }) => {
4655
- if (commandLine[cliFlag86] !== undefined) {
4687
+ if (commandLine[cliFlag87] !== undefined) {
4656
4688
  return {
4657
4689
  source: "cli",
4658
- value: commandLine[cliFlag86]
4690
+ value: commandLine[cliFlag87]
4659
4691
  };
4660
4692
  }
4661
4693
  if (mediaCacheSizeInBytes !== null) {
@@ -4672,7 +4704,7 @@ var mediaCacheSizeInBytesOption = {
4672
4704
  setConfig: (size) => {
4673
4705
  mediaCacheSizeInBytes = size ?? null;
4674
4706
  },
4675
- id: cliFlag86
4707
+ id: cliFlag87
4676
4708
  };
4677
4709
 
4678
4710
  // src/path-normalize.ts
@@ -4791,7 +4823,7 @@ var getExtensionOfFilename = (filename) => {
4791
4823
  };
4792
4824
 
4793
4825
  // src/options/video-codec.tsx
4794
- import { jsx as jsx82, Fragment as Fragment82 } from "react/jsx-runtime";
4826
+ import { jsx as jsx83, Fragment as Fragment83 } from "react/jsx-runtime";
4795
4827
  var codec;
4796
4828
  var setCodec = (newCodec) => {
4797
4829
  if (newCodec === undefined) {
@@ -4815,11 +4847,11 @@ var deriveCodecsFromFilename = (extension) => {
4815
4847
  possible: makeFileExtensionMap()[extension] ?? []
4816
4848
  };
4817
4849
  };
4818
- var cliFlag87 = "codec";
4850
+ var cliFlag88 = "codec";
4819
4851
  var videoCodecOption = {
4820
4852
  name: "Codec",
4821
- cliFlag: cliFlag87,
4822
- description: () => /* @__PURE__ */ jsx82(Fragment82, {
4853
+ cliFlag: cliFlag88,
4854
+ description: () => /* @__PURE__ */ jsx83(Fragment83, {
4823
4855
  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."
4824
4856
  }),
4825
4857
  ssrName: "codec",
@@ -4842,7 +4874,7 @@ var videoCodecOption = {
4842
4874
  if (derivedDownloadCodecs.possible.length > 0 && derivedOutNameCodecs.possible.length > 0 && derivedDownloadCodecs.possible.join("") !== derivedOutNameCodecs.possible.join("")) {
4843
4875
  throw new TypeError(`The download name is ${downloadName} but the output name is ${outName}. The file extensions must match`);
4844
4876
  }
4845
- const cliArgument = commandLine[cliFlag87];
4877
+ const cliArgument = commandLine[cliFlag88];
4846
4878
  if (cliArgument) {
4847
4879
  if (derivedDownloadCodecs.possible.length > 0 && derivedDownloadCodecs.possible.indexOf(cliArgument) === -1) {
4848
4880
  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.`);
@@ -4888,24 +4920,24 @@ var videoCodecOption = {
4888
4920
  return { value: DEFAULT_CODEC, source: "default" };
4889
4921
  },
4890
4922
  setConfig: setCodec,
4891
- id: cliFlag87
4923
+ id: cliFlag88
4892
4924
  };
4893
4925
 
4894
4926
  // src/options/video-image-format.tsx
4895
- import { jsx as jsx83, jsxs as jsxs57, Fragment as Fragment83 } from "react/jsx-runtime";
4927
+ import { jsx as jsx84, jsxs as jsxs57, Fragment as Fragment84 } from "react/jsx-runtime";
4896
4928
  var currentVideoImageFormat = null;
4897
- var cliFlag88 = "image-format";
4929
+ var cliFlag89 = "image-format";
4898
4930
  var videoImageFormatOption = {
4899
4931
  name: "Video Image Format",
4900
- cliFlag: cliFlag88,
4901
- description: () => /* @__PURE__ */ jsxs57(Fragment83, {
4932
+ cliFlag: cliFlag89,
4933
+ description: () => /* @__PURE__ */ jsxs57(Fragment84, {
4902
4934
  children: [
4903
4935
  "The image format to use when rendering frames for a video. Must be one of",
4904
4936
  " ",
4905
4937
  validVideoImageFormats.map((f) => `"${f}"`).join(", "),
4906
4938
  ". Default:",
4907
4939
  " ",
4908
- /* @__PURE__ */ jsx83("code", {
4940
+ /* @__PURE__ */ jsx84("code", {
4909
4941
  children: '"jpeg"'
4910
4942
  }),
4911
4943
  ". JPEG is faster, but does not support transparency."
@@ -4921,8 +4953,8 @@ var videoImageFormatOption = {
4921
4953
  value: options.uiVideoImageFormat
4922
4954
  };
4923
4955
  }
4924
- if (commandLine[cliFlag88] !== undefined) {
4925
- const value3 = commandLine[cliFlag88];
4956
+ if (commandLine[cliFlag89] !== undefined) {
4957
+ const value3 = commandLine[cliFlag89];
4926
4958
  if (!validVideoImageFormats.includes(value3)) {
4927
4959
  throw new Error(`Invalid video image format: ${value3}. Must be one of: ${validVideoImageFormats.join(", ")}`);
4928
4960
  }
@@ -4986,12 +5018,12 @@ var videoImageFormatOption = {
4986
5018
  };
4987
5019
 
4988
5020
  // src/options/webhook-custom-data.tsx
4989
- import { jsxs as jsxs58, Fragment as Fragment84 } from "react/jsx-runtime";
4990
- var cliFlag89 = "webhook-custom-data";
5021
+ import { jsxs as jsxs58, Fragment as Fragment85 } from "react/jsx-runtime";
5022
+ var cliFlag90 = "webhook-custom-data";
4991
5023
  var webhookCustomDataOption = {
4992
5024
  name: "Webhook custom data",
4993
- cliFlag: cliFlag89,
4994
- description: (type) => /* @__PURE__ */ jsxs58(Fragment84, {
5025
+ cliFlag: cliFlag90,
5026
+ description: (type) => /* @__PURE__ */ jsxs58(Fragment85, {
4995
5027
  children: [
4996
5028
  "Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
4997
5029
  " ",
@@ -5007,24 +5039,24 @@ var webhookCustomDataOption = {
5007
5039
  setConfig: () => {
5008
5040
  throw new Error("Not implemented");
5009
5041
  },
5010
- id: cliFlag89
5042
+ id: cliFlag90
5011
5043
  };
5012
5044
 
5013
5045
  // src/options/webpack-poll.tsx
5014
- import { jsx as jsx84, Fragment as Fragment85 } from "react/jsx-runtime";
5015
- var cliFlag90 = "webpack-poll";
5046
+ import { jsx as jsx85, Fragment as Fragment86 } from "react/jsx-runtime";
5047
+ var cliFlag91 = "webpack-poll";
5016
5048
  var webpackPolling = null;
5017
5049
  var webpackPollOption = {
5018
5050
  name: "Webpack Polling",
5019
- cliFlag: cliFlag90,
5020
- description: () => /* @__PURE__ */ jsx84(Fragment85, {
5051
+ cliFlag: cliFlag91,
5052
+ description: () => /* @__PURE__ */ jsx85(Fragment86, {
5021
5053
  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."
5022
5054
  }),
5023
5055
  ssrName: null,
5024
5056
  docLink: "https://www.remotion.dev/docs/config#setwebpackpollinginmilliseconds",
5025
5057
  getValue: ({ commandLine }) => {
5026
- if (commandLine[cliFlag90] !== undefined) {
5027
- const val = commandLine[cliFlag90];
5058
+ if (commandLine[cliFlag91] !== undefined) {
5059
+ const val = commandLine[cliFlag91];
5028
5060
  if (typeof val !== "number") {
5029
5061
  throw new TypeError(`Webpack polling must be a number, got ${JSON.stringify(val)}`);
5030
5062
  }
@@ -5051,11 +5083,11 @@ var webpackPollOption = {
5051
5083
  webpackPolling = value3;
5052
5084
  },
5053
5085
  type: 0,
5054
- id: cliFlag90
5086
+ id: cliFlag91
5055
5087
  };
5056
5088
 
5057
5089
  // src/options/x264-preset.tsx
5058
- import { jsx as jsx85, jsxs as jsxs59, Fragment as Fragment86 } from "react/jsx-runtime";
5090
+ import { jsx as jsx86, jsxs as jsxs59, Fragment as Fragment87 } from "react/jsx-runtime";
5059
5091
  var x264PresetOptions = [
5060
5092
  "ultrafast",
5061
5093
  "superfast",
@@ -5069,63 +5101,63 @@ var x264PresetOptions = [
5069
5101
  "placebo"
5070
5102
  ];
5071
5103
  var preset = null;
5072
- var cliFlag91 = "x264-preset";
5104
+ var cliFlag92 = "x264-preset";
5073
5105
  var DEFAULT_PRESET = "medium";
5074
5106
  var x264Option = {
5075
5107
  name: "x264 Preset",
5076
- cliFlag: cliFlag91,
5077
- description: () => /* @__PURE__ */ jsxs59(Fragment86, {
5108
+ cliFlag: cliFlag92,
5109
+ description: () => /* @__PURE__ */ jsxs59(Fragment87, {
5078
5110
  children: [
5079
5111
  "Sets a x264 preset profile. Only applies to videos rendered with",
5080
5112
  " ",
5081
- /* @__PURE__ */ jsx85("code", {
5113
+ /* @__PURE__ */ jsx86("code", {
5082
5114
  children: "h264"
5083
5115
  }),
5084
5116
  " codec.",
5085
- /* @__PURE__ */ jsx85("br", {}),
5117
+ /* @__PURE__ */ jsx86("br", {}),
5086
5118
  "Possible values: ",
5087
- /* @__PURE__ */ jsx85("code", {
5119
+ /* @__PURE__ */ jsx86("code", {
5088
5120
  children: "superfast"
5089
5121
  }),
5090
5122
  ", ",
5091
- /* @__PURE__ */ jsx85("code", {
5123
+ /* @__PURE__ */ jsx86("code", {
5092
5124
  children: "veryfast"
5093
5125
  }),
5094
5126
  ",",
5095
5127
  " ",
5096
- /* @__PURE__ */ jsx85("code", {
5128
+ /* @__PURE__ */ jsx86("code", {
5097
5129
  children: "faster"
5098
5130
  }),
5099
5131
  ", ",
5100
- /* @__PURE__ */ jsx85("code", {
5132
+ /* @__PURE__ */ jsx86("code", {
5101
5133
  children: "fast"
5102
5134
  }),
5103
5135
  ", ",
5104
- /* @__PURE__ */ jsx85("code", {
5136
+ /* @__PURE__ */ jsx86("code", {
5105
5137
  children: "medium"
5106
5138
  }),
5107
5139
  ",",
5108
5140
  " ",
5109
- /* @__PURE__ */ jsx85("code", {
5141
+ /* @__PURE__ */ jsx86("code", {
5110
5142
  children: "slow"
5111
5143
  }),
5112
5144
  ", ",
5113
- /* @__PURE__ */ jsx85("code", {
5145
+ /* @__PURE__ */ jsx86("code", {
5114
5146
  children: "slower"
5115
5147
  }),
5116
5148
  ", ",
5117
- /* @__PURE__ */ jsx85("code", {
5149
+ /* @__PURE__ */ jsx86("code", {
5118
5150
  children: "veryslow"
5119
5151
  }),
5120
5152
  ",",
5121
5153
  " ",
5122
- /* @__PURE__ */ jsx85("code", {
5154
+ /* @__PURE__ */ jsx86("code", {
5123
5155
  children: "placebo"
5124
5156
  }),
5125
5157
  ".",
5126
- /* @__PURE__ */ jsx85("br", {}),
5158
+ /* @__PURE__ */ jsx86("br", {}),
5127
5159
  "Default: ",
5128
- /* @__PURE__ */ jsx85("code", {
5160
+ /* @__PURE__ */ jsx86("code", {
5129
5161
  children: DEFAULT_PRESET
5130
5162
  })
5131
5163
  ]
@@ -5134,7 +5166,7 @@ var x264Option = {
5134
5166
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
5135
5167
  type: "fast",
5136
5168
  getValue: ({ commandLine }) => {
5137
- const value3 = commandLine[cliFlag91];
5169
+ const value3 = commandLine[cliFlag92];
5138
5170
  if (typeof value3 !== "undefined") {
5139
5171
  return { value: value3, source: "cli" };
5140
5172
  }
@@ -5146,7 +5178,7 @@ var x264Option = {
5146
5178
  setConfig: (profile) => {
5147
5179
  preset = profile;
5148
5180
  },
5149
- id: cliFlag91
5181
+ id: cliFlag92
5150
5182
  };
5151
5183
 
5152
5184
  // src/options/index.tsx
@@ -5215,6 +5247,7 @@ var allOptions = {
5215
5247
  publicLicenseKeyOption,
5216
5248
  isProductionOption,
5217
5249
  askAIOption,
5250
+ interactivityOption,
5218
5251
  experimentalClientSideRenderingOption,
5219
5252
  keyboardShortcutsOption,
5220
5253
  framesOption,