@remotion/renderer 4.0.351 → 4.0.352

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.
package/dist/client.d.ts CHANGED
@@ -947,10 +947,46 @@ export declare const BrowserSafeApis: {
947
947
  };
948
948
  setConfig: (pattern: string | null) => void;
949
949
  };
950
+ mediaCacheSizeInBytesOption: {
951
+ name: string;
952
+ cliFlag: "media-cache-size-in-bytes";
953
+ description: () => import("react/jsx-runtime").JSX.Element;
954
+ ssrName: "mediaCacheSizeInBytes";
955
+ docLink: string;
956
+ type: number | null;
957
+ getValue: ({ commandLine }: {
958
+ commandLine: Record<string, unknown>;
959
+ }) => {
960
+ source: string;
961
+ value: number;
962
+ } | {
963
+ source: string;
964
+ value: null;
965
+ };
966
+ setConfig: (size: number | null) => void;
967
+ };
950
968
  };
951
969
  validColorSpaces: readonly ["default", "bt709", "bt2020-ncl"];
952
970
  optionsMap: {
953
971
  readonly renderMedia: {
972
+ readonly mediaCacheSizeInBytes: {
973
+ name: string;
974
+ cliFlag: "media-cache-size-in-bytes";
975
+ description: () => import("react/jsx-runtime").JSX.Element;
976
+ ssrName: "mediaCacheSizeInBytes";
977
+ docLink: string;
978
+ type: number | null;
979
+ getValue: ({ commandLine }: {
980
+ commandLine: Record<string, unknown>;
981
+ }) => {
982
+ source: string;
983
+ value: number;
984
+ } | {
985
+ source: string;
986
+ value: null;
987
+ };
988
+ setConfig: (size: number | null) => void;
989
+ };
954
990
  readonly offthreadVideoCacheSizeInBytes: {
955
991
  name: string;
956
992
  cliFlag: "offthreadvideo-cache-size-in-bytes";
@@ -1364,6 +1400,24 @@ export declare const BrowserSafeApis: {
1364
1400
  };
1365
1401
  };
1366
1402
  readonly renderStill: {
1403
+ readonly mediaCacheSizeInBytes: {
1404
+ name: string;
1405
+ cliFlag: "media-cache-size-in-bytes";
1406
+ description: () => import("react/jsx-runtime").JSX.Element;
1407
+ ssrName: "mediaCacheSizeInBytes";
1408
+ docLink: string;
1409
+ type: number | null;
1410
+ getValue: ({ commandLine }: {
1411
+ commandLine: Record<string, unknown>;
1412
+ }) => {
1413
+ source: string;
1414
+ value: number;
1415
+ } | {
1416
+ source: string;
1417
+ value: null;
1418
+ };
1419
+ setConfig: (size: number | null) => void;
1420
+ };
1367
1421
  readonly offthreadVideoCacheSizeInBytes: {
1368
1422
  name: string;
1369
1423
  cliFlag: "offthreadvideo-cache-size-in-bytes";
@@ -1487,6 +1541,24 @@ export declare const BrowserSafeApis: {
1487
1541
  };
1488
1542
  };
1489
1543
  readonly getCompositions: {
1544
+ readonly mediaCacheSizeInBytes: {
1545
+ name: string;
1546
+ cliFlag: "media-cache-size-in-bytes";
1547
+ description: () => import("react/jsx-runtime").JSX.Element;
1548
+ ssrName: "mediaCacheSizeInBytes";
1549
+ docLink: string;
1550
+ type: number | null;
1551
+ getValue: ({ commandLine }: {
1552
+ commandLine: Record<string, unknown>;
1553
+ }) => {
1554
+ source: string;
1555
+ value: number;
1556
+ } | {
1557
+ source: string;
1558
+ value: null;
1559
+ };
1560
+ setConfig: (size: number | null) => void;
1561
+ };
1490
1562
  readonly offthreadVideoCacheSizeInBytes: {
1491
1563
  name: string;
1492
1564
  cliFlag: "offthreadvideo-cache-size-in-bytes";
@@ -1595,6 +1667,24 @@ export declare const BrowserSafeApis: {
1595
1667
  };
1596
1668
  };
1597
1669
  readonly selectComposition: {
1670
+ readonly mediaCacheSizeInBytes: {
1671
+ name: string;
1672
+ cliFlag: "media-cache-size-in-bytes";
1673
+ description: () => import("react/jsx-runtime").JSX.Element;
1674
+ ssrName: "mediaCacheSizeInBytes";
1675
+ docLink: string;
1676
+ type: number | null;
1677
+ getValue: ({ commandLine }: {
1678
+ commandLine: Record<string, unknown>;
1679
+ }) => {
1680
+ source: string;
1681
+ value: number;
1682
+ } | {
1683
+ source: string;
1684
+ value: null;
1685
+ };
1686
+ setConfig: (size: number | null) => void;
1687
+ };
1598
1688
  readonly offthreadVideoCacheSizeInBytes: {
1599
1689
  name: string;
1600
1690
  cliFlag: "offthreadvideo-cache-size-in-bytes";
@@ -1703,6 +1793,24 @@ export declare const BrowserSafeApis: {
1703
1793
  };
1704
1794
  };
1705
1795
  readonly renderFrames: {
1796
+ readonly mediaCacheSizeInBytes: {
1797
+ name: string;
1798
+ cliFlag: "media-cache-size-in-bytes";
1799
+ description: () => import("react/jsx-runtime").JSX.Element;
1800
+ ssrName: "mediaCacheSizeInBytes";
1801
+ docLink: string;
1802
+ type: number | null;
1803
+ getValue: ({ commandLine }: {
1804
+ commandLine: Record<string, unknown>;
1805
+ }) => {
1806
+ source: string;
1807
+ value: number;
1808
+ } | {
1809
+ source: string;
1810
+ value: null;
1811
+ };
1812
+ setConfig: (size: number | null) => void;
1813
+ };
1706
1814
  readonly forSeamlessAacConcatenation: {
1707
1815
  name: string;
1708
1816
  cliFlag: "for-seamless-aac-concatenation";
@@ -1859,6 +1967,24 @@ export declare const BrowserSafeApis: {
1859
1967
  };
1860
1968
  };
1861
1969
  readonly renderMediaOnLambda: {
1970
+ readonly mediaCacheSizeInBytes: {
1971
+ name: string;
1972
+ cliFlag: "media-cache-size-in-bytes";
1973
+ description: () => import("react/jsx-runtime").JSX.Element;
1974
+ ssrName: "mediaCacheSizeInBytes";
1975
+ docLink: string;
1976
+ type: number | null;
1977
+ getValue: ({ commandLine }: {
1978
+ commandLine: Record<string, unknown>;
1979
+ }) => {
1980
+ source: string;
1981
+ value: number;
1982
+ } | {
1983
+ source: string;
1984
+ value: null;
1985
+ };
1986
+ setConfig: (size: number | null) => void;
1987
+ };
1862
1988
  readonly offthreadVideoCacheSizeInBytes: {
1863
1989
  name: string;
1864
1990
  cliFlag: "offthreadvideo-cache-size-in-bytes";
@@ -2113,6 +2239,24 @@ export declare const BrowserSafeApis: {
2113
2239
  };
2114
2240
  };
2115
2241
  readonly renderStillOnLambda: {
2242
+ readonly mediaCacheSizeInBytes: {
2243
+ name: string;
2244
+ cliFlag: "media-cache-size-in-bytes";
2245
+ description: () => import("react/jsx-runtime").JSX.Element;
2246
+ ssrName: "mediaCacheSizeInBytes";
2247
+ docLink: string;
2248
+ type: number | null;
2249
+ getValue: ({ commandLine }: {
2250
+ commandLine: Record<string, unknown>;
2251
+ }) => {
2252
+ source: string;
2253
+ value: number;
2254
+ } | {
2255
+ source: string;
2256
+ value: null;
2257
+ };
2258
+ setConfig: (size: number | null) => void;
2259
+ };
2116
2260
  readonly offthreadVideoCacheSizeInBytes: {
2117
2261
  name: string;
2118
2262
  cliFlag: "offthreadvideo-cache-size-in-bytes";
@@ -2244,11 +2388,11 @@ export declare const BrowserSafeApis: {
2244
2388
  };
2245
2389
  };
2246
2390
  readonly getCompositionsOnLambda: {
2247
- readonly offthreadVideoCacheSizeInBytes: {
2391
+ readonly mediaCacheSizeInBytes: {
2248
2392
  name: string;
2249
- cliFlag: "offthreadvideo-cache-size-in-bytes";
2393
+ cliFlag: "media-cache-size-in-bytes";
2250
2394
  description: () => import("react/jsx-runtime").JSX.Element;
2251
- ssrName: "offthreadVideoCacheSizeInBytes";
2395
+ ssrName: "mediaCacheSizeInBytes";
2252
2396
  docLink: string;
2253
2397
  type: number | null;
2254
2398
  getValue: ({ commandLine }: {
@@ -2262,11 +2406,11 @@ export declare const BrowserSafeApis: {
2262
2406
  };
2263
2407
  setConfig: (size: number | null) => void;
2264
2408
  };
2265
- readonly offthreadVideoThreads: {
2409
+ readonly offthreadVideoCacheSizeInBytes: {
2266
2410
  name: string;
2267
- cliFlag: "offthreadvideo-video-threads";
2411
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
2268
2412
  description: () => import("react/jsx-runtime").JSX.Element;
2269
- ssrName: "offthreadVideoThreads";
2413
+ ssrName: "offthreadVideoCacheSizeInBytes";
2270
2414
  docLink: string;
2271
2415
  type: number | null;
2272
2416
  getValue: ({ commandLine }: {
@@ -2312,6 +2456,24 @@ export declare const BrowserSafeApis: {
2312
2456
  };
2313
2457
  };
2314
2458
  readonly renderMediaOnCloudRun: {
2459
+ readonly mediaCacheSizeInBytes: {
2460
+ name: string;
2461
+ cliFlag: "media-cache-size-in-bytes";
2462
+ description: () => import("react/jsx-runtime").JSX.Element;
2463
+ ssrName: "mediaCacheSizeInBytes";
2464
+ docLink: string;
2465
+ type: number | null;
2466
+ getValue: ({ commandLine }: {
2467
+ commandLine: Record<string, unknown>;
2468
+ }) => {
2469
+ source: string;
2470
+ value: number;
2471
+ } | {
2472
+ source: string;
2473
+ value: null;
2474
+ };
2475
+ setConfig: (size: number | null) => void;
2476
+ };
2315
2477
  readonly offthreadVideoCacheSizeInBytes: {
2316
2478
  name: string;
2317
2479
  cliFlag: "offthreadvideo-cache-size-in-bytes";
@@ -2596,6 +2758,24 @@ export declare const BrowserSafeApis: {
2596
2758
  };
2597
2759
  };
2598
2760
  readonly renderStillOnCloudRun: {
2761
+ readonly mediaCacheSizeInBytes: {
2762
+ name: string;
2763
+ cliFlag: "media-cache-size-in-bytes";
2764
+ description: () => import("react/jsx-runtime").JSX.Element;
2765
+ ssrName: "mediaCacheSizeInBytes";
2766
+ docLink: string;
2767
+ type: number | null;
2768
+ getValue: ({ commandLine }: {
2769
+ commandLine: Record<string, unknown>;
2770
+ }) => {
2771
+ source: string;
2772
+ value: number;
2773
+ } | {
2774
+ source: string;
2775
+ value: null;
2776
+ };
2777
+ setConfig: (size: number | null) => void;
2778
+ };
2599
2779
  readonly offthreadVideoCacheSizeInBytes: {
2600
2780
  name: string;
2601
2781
  cliFlag: "offthreadvideo-cache-size-in-bytes";
@@ -2574,6 +2574,59 @@ var videoBitrateOption = {
2574
2574
  }
2575
2575
  };
2576
2576
 
2577
+ // src/options/video-cache-size.tsx
2578
+ import { jsx as jsx38, jsxs as jsxs31, Fragment as Fragment38 } from "react/jsx-runtime";
2579
+ var mediaCacheSizeInBytes = null;
2580
+ var cliFlag43 = "media-cache-size-in-bytes";
2581
+ var mediaCacheSizeInBytesOption = {
2582
+ name: "@remotion/media cache size",
2583
+ cliFlag: cliFlag43,
2584
+ description: () => /* @__PURE__ */ jsxs31(Fragment38, {
2585
+ children: [
2586
+ "Specify the maximum size of the cache that ",
2587
+ /* @__PURE__ */ jsx38("code", {
2588
+ children: "<Video>"
2589
+ }),
2590
+ " and",
2591
+ " ",
2592
+ /* @__PURE__ */ jsx38("code", {
2593
+ children: "<Audio>"
2594
+ }),
2595
+ " from ",
2596
+ /* @__PURE__ */ jsx38("code", {
2597
+ children: "@remotion/media"
2598
+ }),
2599
+ " may use combined, in bytes. ",
2600
+ /* @__PURE__ */ jsx38("br", {}),
2601
+ "The default is half of the available system memory when the render starts."
2602
+ ]
2603
+ }),
2604
+ ssrName: "mediaCacheSizeInBytes",
2605
+ docLink: "https://www.remotion.dev/docs/media/video#setting-the-cache-size",
2606
+ type: 0,
2607
+ getValue: ({ commandLine }) => {
2608
+ if (commandLine[cliFlag43] !== undefined) {
2609
+ return {
2610
+ source: "cli",
2611
+ value: commandLine[cliFlag43]
2612
+ };
2613
+ }
2614
+ if (mediaCacheSizeInBytes !== null) {
2615
+ return {
2616
+ source: "config",
2617
+ value: mediaCacheSizeInBytes
2618
+ };
2619
+ }
2620
+ return {
2621
+ source: "default",
2622
+ value: null
2623
+ };
2624
+ },
2625
+ setConfig: (size) => {
2626
+ mediaCacheSizeInBytes = size ?? null;
2627
+ }
2628
+ };
2629
+
2577
2630
  // src/path-normalize.ts
2578
2631
  var SLASH = 47;
2579
2632
  var DOT = 46;
@@ -2690,7 +2743,7 @@ var getExtensionOfFilename = (filename) => {
2690
2743
  };
2691
2744
 
2692
2745
  // src/options/video-codec.tsx
2693
- import { jsx as jsx38, Fragment as Fragment38 } from "react/jsx-runtime";
2746
+ import { jsx as jsx39, Fragment as Fragment39 } from "react/jsx-runtime";
2694
2747
  var codec;
2695
2748
  var setCodec = (newCodec) => {
2696
2749
  if (newCodec === undefined) {
@@ -2714,11 +2767,11 @@ var deriveCodecsFromFilename = (extension) => {
2714
2767
  possible: makeFileExtensionMap()[extension] ?? []
2715
2768
  };
2716
2769
  };
2717
- var cliFlag43 = "codec";
2770
+ var cliFlag44 = "codec";
2718
2771
  var videoCodecOption = {
2719
2772
  name: "Codec",
2720
- cliFlag: cliFlag43,
2721
- description: () => /* @__PURE__ */ jsx38(Fragment38, {
2773
+ cliFlag: cliFlag44,
2774
+ description: () => /* @__PURE__ */ jsx39(Fragment39, {
2722
2775
  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."
2723
2776
  }),
2724
2777
  ssrName: "codec",
@@ -2741,7 +2794,7 @@ var videoCodecOption = {
2741
2794
  if (derivedDownloadCodecs.possible.length > 0 && derivedOutNameCodecs.possible.length > 0 && derivedDownloadCodecs.possible.join("") !== derivedOutNameCodecs.possible.join("")) {
2742
2795
  throw new TypeError(`The download name is ${downloadName} but the output name is ${outName}. The file extensions must match`);
2743
2796
  }
2744
- const cliArgument = commandLine[cliFlag43];
2797
+ const cliArgument = commandLine[cliFlag44];
2745
2798
  if (cliArgument) {
2746
2799
  if (derivedDownloadCodecs.possible.length > 0 && derivedDownloadCodecs.possible.indexOf(cliArgument) === -1) {
2747
2800
  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.`);
@@ -2790,12 +2843,12 @@ var videoCodecOption = {
2790
2843
  };
2791
2844
 
2792
2845
  // src/options/webhook-custom-data.tsx
2793
- import { jsxs as jsxs31, Fragment as Fragment39 } from "react/jsx-runtime";
2794
- var cliFlag44 = "webhook-custom-data";
2846
+ import { jsxs as jsxs32, Fragment as Fragment40 } from "react/jsx-runtime";
2847
+ var cliFlag45 = "webhook-custom-data";
2795
2848
  var webhookCustomDataOption = {
2796
2849
  name: "Webhook custom data",
2797
- cliFlag: cliFlag44,
2798
- description: (type) => /* @__PURE__ */ jsxs31(Fragment39, {
2850
+ cliFlag: cliFlag45,
2851
+ description: (type) => /* @__PURE__ */ jsxs32(Fragment40, {
2799
2852
  children: [
2800
2853
  "Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
2801
2854
  " ",
@@ -2814,7 +2867,7 @@ var webhookCustomDataOption = {
2814
2867
  };
2815
2868
 
2816
2869
  // src/options/x264-preset.tsx
2817
- import { jsx as jsx39, jsxs as jsxs32, Fragment as Fragment40 } from "react/jsx-runtime";
2870
+ import { jsx as jsx40, jsxs as jsxs33, Fragment as Fragment41 } from "react/jsx-runtime";
2818
2871
  var x264PresetOptions = [
2819
2872
  "ultrafast",
2820
2873
  "superfast",
@@ -2828,63 +2881,63 @@ var x264PresetOptions = [
2828
2881
  "placebo"
2829
2882
  ];
2830
2883
  var preset = null;
2831
- var cliFlag45 = "x264-preset";
2884
+ var cliFlag46 = "x264-preset";
2832
2885
  var DEFAULT_PRESET = "medium";
2833
2886
  var x264Option = {
2834
2887
  name: "x264 Preset",
2835
- cliFlag: cliFlag45,
2836
- description: () => /* @__PURE__ */ jsxs32(Fragment40, {
2888
+ cliFlag: cliFlag46,
2889
+ description: () => /* @__PURE__ */ jsxs33(Fragment41, {
2837
2890
  children: [
2838
2891
  "Sets a x264 preset profile. Only applies to videos rendered with",
2839
2892
  " ",
2840
- /* @__PURE__ */ jsx39("code", {
2893
+ /* @__PURE__ */ jsx40("code", {
2841
2894
  children: "h264"
2842
2895
  }),
2843
2896
  " codec.",
2844
- /* @__PURE__ */ jsx39("br", {}),
2897
+ /* @__PURE__ */ jsx40("br", {}),
2845
2898
  "Possible values: ",
2846
- /* @__PURE__ */ jsx39("code", {
2899
+ /* @__PURE__ */ jsx40("code", {
2847
2900
  children: "superfast"
2848
2901
  }),
2849
2902
  ", ",
2850
- /* @__PURE__ */ jsx39("code", {
2903
+ /* @__PURE__ */ jsx40("code", {
2851
2904
  children: "veryfast"
2852
2905
  }),
2853
2906
  ",",
2854
2907
  " ",
2855
- /* @__PURE__ */ jsx39("code", {
2908
+ /* @__PURE__ */ jsx40("code", {
2856
2909
  children: "faster"
2857
2910
  }),
2858
2911
  ", ",
2859
- /* @__PURE__ */ jsx39("code", {
2912
+ /* @__PURE__ */ jsx40("code", {
2860
2913
  children: "fast"
2861
2914
  }),
2862
2915
  ", ",
2863
- /* @__PURE__ */ jsx39("code", {
2916
+ /* @__PURE__ */ jsx40("code", {
2864
2917
  children: "medium"
2865
2918
  }),
2866
2919
  ",",
2867
2920
  " ",
2868
- /* @__PURE__ */ jsx39("code", {
2921
+ /* @__PURE__ */ jsx40("code", {
2869
2922
  children: "slow"
2870
2923
  }),
2871
2924
  ", ",
2872
- /* @__PURE__ */ jsx39("code", {
2925
+ /* @__PURE__ */ jsx40("code", {
2873
2926
  children: "slower"
2874
2927
  }),
2875
2928
  ", ",
2876
- /* @__PURE__ */ jsx39("code", {
2929
+ /* @__PURE__ */ jsx40("code", {
2877
2930
  children: "veryslow"
2878
2931
  }),
2879
2932
  ",",
2880
2933
  " ",
2881
- /* @__PURE__ */ jsx39("code", {
2934
+ /* @__PURE__ */ jsx40("code", {
2882
2935
  children: "placebo"
2883
2936
  }),
2884
2937
  ".",
2885
- /* @__PURE__ */ jsx39("br", {}),
2938
+ /* @__PURE__ */ jsx40("br", {}),
2886
2939
  "Default: ",
2887
- /* @__PURE__ */ jsx39("code", {
2940
+ /* @__PURE__ */ jsx40("code", {
2888
2941
  children: DEFAULT_PRESET
2889
2942
  })
2890
2943
  ]
@@ -2893,7 +2946,7 @@ var x264Option = {
2893
2946
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
2894
2947
  type: "fast",
2895
2948
  getValue: ({ commandLine }) => {
2896
- const value3 = commandLine[cliFlag45];
2949
+ const value3 = commandLine[cliFlag46];
2897
2950
  if (typeof value3 !== "undefined") {
2898
2951
  return { value: value3, source: "cli" };
2899
2952
  }
@@ -2953,12 +3006,14 @@ var allOptions = {
2953
3006
  apiKeyOption,
2954
3007
  audioLatencyHintOption,
2955
3008
  enableCrossSiteIsolationOption,
2956
- imageSequencePatternOption
3009
+ imageSequencePatternOption,
3010
+ mediaCacheSizeInBytesOption
2957
3011
  };
2958
3012
 
2959
3013
  // src/options/options-map.ts
2960
3014
  var optionsMap = {
2961
3015
  renderMedia: {
3016
+ mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
2962
3017
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
2963
3018
  offthreadVideoThreads: offthreadVideoThreadsOption,
2964
3019
  videoBitrate: videoBitrateOption,
@@ -2988,6 +3043,7 @@ var optionsMap = {
2988
3043
  hardwareAcceleration: hardwareAccelerationOption
2989
3044
  },
2990
3045
  renderStill: {
3046
+ mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
2991
3047
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
2992
3048
  offthreadVideoThreads: offthreadVideoThreadsOption,
2993
3049
  jpegQuality: jpegQualityOption,
@@ -2998,6 +3054,7 @@ var optionsMap = {
2998
3054
  chromeMode: chromeModeOption
2999
3055
  },
3000
3056
  getCompositions: {
3057
+ mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
3001
3058
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
3002
3059
  offthreadVideoThreads: offthreadVideoThreadsOption,
3003
3060
  logLevel: logLevelOption,
@@ -3007,6 +3064,7 @@ var optionsMap = {
3007
3064
  chromeMode: chromeModeOption
3008
3065
  },
3009
3066
  selectComposition: {
3067
+ mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
3010
3068
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
3011
3069
  offthreadVideoThreads: offthreadVideoThreadsOption,
3012
3070
  logLevel: logLevelOption,
@@ -3016,6 +3074,7 @@ var optionsMap = {
3016
3074
  chromeMode: chromeModeOption
3017
3075
  },
3018
3076
  renderFrames: {
3077
+ mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
3019
3078
  forSeamlessAacConcatenation: forSeamlessAacConcatenationOption,
3020
3079
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
3021
3080
  offthreadVideoThreads: offthreadVideoThreadsOption,
@@ -3028,6 +3087,7 @@ var optionsMap = {
3028
3087
  imageSequencePattern: imageSequencePatternOption
3029
3088
  },
3030
3089
  renderMediaOnLambda: {
3090
+ mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
3031
3091
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
3032
3092
  offthreadVideoThreads: offthreadVideoThreadsOption,
3033
3093
  videoBitrate: videoBitrateOption,
@@ -3045,6 +3105,7 @@ var optionsMap = {
3045
3105
  apiKey: apiKeyOption
3046
3106
  },
3047
3107
  renderStillOnLambda: {
3108
+ mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
3048
3109
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
3049
3110
  offthreadVideoThreads: offthreadVideoThreadsOption,
3050
3111
  jpegQuality: jpegQualityOption,
@@ -3055,12 +3116,13 @@ var optionsMap = {
3055
3116
  apiKey: apiKeyOption
3056
3117
  },
3057
3118
  getCompositionsOnLambda: {
3119
+ mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
3058
3120
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
3059
- offthreadVideoThreads: offthreadVideoThreadsOption,
3060
3121
  logLevel: logLevelOption,
3061
3122
  timeoutInMilliseconds: delayRenderTimeoutInMillisecondsOption
3062
3123
  },
3063
3124
  renderMediaOnCloudRun: {
3125
+ mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
3064
3126
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
3065
3127
  offthreadVideoThreads: offthreadVideoThreadsOption,
3066
3128
  numberOfGifLoops: numberOfGifLoopsOption,
@@ -3080,6 +3142,7 @@ var optionsMap = {
3080
3142
  jpegQuality: jpegQualityOption
3081
3143
  },
3082
3144
  renderStillOnCloudRun: {
3145
+ mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
3083
3146
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
3084
3147
  offthreadVideoThreads: offthreadVideoThreadsOption,
3085
3148
  logLevel: logLevelOption,