@remotion/promo-pages 4.0.447 → 4.0.448

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/Homepage.js CHANGED
@@ -1568,7 +1568,8 @@ var useResolvedVideoConfig = (preferredCompositionId) => {
1568
1568
  defaultOutName: null,
1569
1569
  defaultVideoImageFormat: null,
1570
1570
  defaultPixelFormat: null,
1571
- defaultProResProfile: null
1571
+ defaultProResProfile: null,
1572
+ defaultSampleRate: null
1572
1573
  }
1573
1574
  };
1574
1575
  }
@@ -2042,7 +2043,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
2042
2043
  var addSequenceStackTraces = (component) => {
2043
2044
  componentsToAddStacksTo.push(component);
2044
2045
  };
2045
- var VERSION = "4.0.447";
2046
+ var VERSION = "4.0.448";
2046
2047
  var checkMultipleRemotionVersions = () => {
2047
2048
  if (typeof globalThis === "undefined") {
2048
2049
  return;
@@ -2281,7 +2282,8 @@ var useUnsafeVideoConfig = () => {
2281
2282
  defaultOutName,
2282
2283
  defaultVideoImageFormat,
2283
2284
  defaultPixelFormat,
2284
- defaultProResProfile
2285
+ defaultProResProfile,
2286
+ defaultSampleRate
2285
2287
  } = video;
2286
2288
  return {
2287
2289
  id,
@@ -2295,7 +2297,8 @@ var useUnsafeVideoConfig = () => {
2295
2297
  defaultOutName,
2296
2298
  defaultVideoImageFormat,
2297
2299
  defaultPixelFormat,
2298
- defaultProResProfile
2300
+ defaultProResProfile,
2301
+ defaultSampleRate
2299
2302
  };
2300
2303
  }, [ctxDuration, ctxHeight, ctxWidth, video]);
2301
2304
  };
@@ -6629,6 +6632,7 @@ var validateCalculated = ({
6629
6632
  const defaultVideoImageFormat = calculated?.defaultVideoImageFormat;
6630
6633
  const defaultPixelFormat = calculated?.defaultPixelFormat;
6631
6634
  const defaultProResProfile = calculated?.defaultProResProfile;
6635
+ const defaultSampleRate = calculated?.defaultSampleRate;
6632
6636
  return {
6633
6637
  width,
6634
6638
  height,
@@ -6638,7 +6642,8 @@ var validateCalculated = ({
6638
6642
  defaultOutName,
6639
6643
  defaultVideoImageFormat,
6640
6644
  defaultPixelFormat,
6641
- defaultProResProfile
6645
+ defaultProResProfile,
6646
+ defaultSampleRate
6642
6647
  };
6643
6648
  };
6644
6649
  var resolveVideoConfig = ({
@@ -6670,7 +6675,8 @@ var resolveVideoConfig = ({
6670
6675
  defaultOutName,
6671
6676
  defaultVideoImageFormat,
6672
6677
  defaultPixelFormat,
6673
- defaultProResProfile
6678
+ defaultProResProfile,
6679
+ defaultSampleRate
6674
6680
  } = validateCalculated({
6675
6681
  calculated: c2,
6676
6682
  compositionDurationInFrames,
@@ -6691,7 +6697,8 @@ var resolveVideoConfig = ({
6691
6697
  defaultOutName: defaultOutName ?? null,
6692
6698
  defaultVideoImageFormat: defaultVideoImageFormat ?? null,
6693
6699
  defaultPixelFormat: defaultPixelFormat ?? null,
6694
- defaultProResProfile: defaultProResProfile ?? null
6700
+ defaultProResProfile: defaultProResProfile ?? null,
6701
+ defaultSampleRate: defaultSampleRate ?? null
6695
6702
  };
6696
6703
  });
6697
6704
  }
@@ -6713,7 +6720,8 @@ var resolveVideoConfig = ({
6713
6720
  defaultOutName: null,
6714
6721
  defaultVideoImageFormat: null,
6715
6722
  defaultPixelFormat: null,
6716
- defaultProResProfile: null
6723
+ defaultProResProfile: null,
6724
+ defaultSampleRate: null
6717
6725
  };
6718
6726
  }
6719
6727
  return {
@@ -6725,7 +6733,8 @@ var resolveVideoConfig = ({
6725
6733
  defaultOutName: calculatedProm.defaultOutName ?? null,
6726
6734
  defaultVideoImageFormat: calculatedProm.defaultVideoImageFormat ?? null,
6727
6735
  defaultPixelFormat: calculatedProm.defaultPixelFormat ?? null,
6728
- defaultProResProfile: calculatedProm.defaultProResProfile ?? null
6736
+ defaultProResProfile: calculatedProm.defaultProResProfile ?? null,
6737
+ defaultSampleRate: calculatedProm.defaultSampleRate ?? null
6729
6738
  };
6730
6739
  };
6731
6740
  var resolveVideoConfigOrCatch = (params) => {
@@ -23412,7 +23421,7 @@ var GitHubStars = () => {
23412
23421
  width: "45px"
23413
23422
  }),
23414
23423
  /* @__PURE__ */ jsx50(StatItemContent, {
23415
- content: "41k",
23424
+ content: "42k",
23416
23425
  width: "80px",
23417
23426
  fontSize: "2.5rem",
23418
23427
  fontWeight: "bold"
@@ -27223,6 +27232,7 @@ var SharedPlayerContexts = ({
27223
27232
  defaultOutName: null,
27224
27233
  defaultPixelFormat: null,
27225
27234
  defaultProResProfile: null,
27235
+ defaultSampleRate: null,
27226
27236
  defaultVideoImageFormat: null,
27227
27237
  durationInFrames,
27228
27238
  fps,
@@ -29037,7 +29047,7 @@ var isAlreadyQueued = (time, queuedPeriod) => {
29037
29047
  return time >= queuedPeriod.from && time < queuedPeriod.until;
29038
29048
  };
29039
29049
  var AUDIO_PRIMING_SECONDS = 0.5;
29040
- var PREDECODE_AHEAD_SECONDS = 8;
29050
+ var PREDECODE_AHEAD_SECONDS = 2;
29041
29051
  function makePredecodingIterator(inner2) {
29042
29052
  const buffer = [];
29043
29053
  let consumerEndTime = 0;
@@ -29216,7 +29226,7 @@ var makePrewarmedAudioIteratorCache = (audioSink) => {
29216
29226
  destroy
29217
29227
  };
29218
29228
  };
29219
- var MAX_BUFFER_AHEAD_SECONDS = 8;
29229
+ var MAX_BUFFER_AHEAD_SECONDS = 2;
29220
29230
  var audioIteratorManager = ({
29221
29231
  audioTrack,
29222
29232
  delayPlaybackHandleIfNotPremounting,
@@ -31833,7 +31843,12 @@ var applyVolume = (array, volume) => {
31833
31843
  }
31834
31844
  };
31835
31845
  var TARGET_NUMBER_OF_CHANNELS = 2;
31836
- var TARGET_SAMPLE_RATE = 48000;
31846
+ var getTargetSampleRate = () => {
31847
+ if (typeof window !== "undefined" && window.remotion_sampleRate) {
31848
+ return window.remotion_sampleRate;
31849
+ }
31850
+ return 48000;
31851
+ };
31837
31852
  var fixFloatingPoint = (value) => {
31838
31853
  if (value % 1 < 0.0000001) {
31839
31854
  return Math.floor(value);
@@ -31962,7 +31977,7 @@ var convertAudioData = ({
31962
31977
  sampleRate: currentSampleRate,
31963
31978
  numberOfFrames
31964
31979
  } = audioData;
31965
- const ratio = currentSampleRate / TARGET_SAMPLE_RATE;
31980
+ const ratio = currentSampleRate / getTargetSampleRate();
31966
31981
  const frameOffset = Math.floor(fixFloatingPoint2(trimStartInSeconds * audioData.sampleRate));
31967
31982
  const unroundedFrameCount = numberOfFrames - trimEndInSeconds * audioData.sampleRate - frameOffset;
31968
31983
  const frameCount = isLast ? ceilButNotIfFloatingPointIssue(unroundedFrameCount) : Math.round(unroundedFrameCount);
@@ -32009,7 +32024,7 @@ var convertAudioData = ({
32009
32024
  data: srcChannels,
32010
32025
  numberOfFrames: newNumberOfFrames,
32011
32026
  timestamp: audioDataTimestamp * 1e6 + fixFloatingPoint2(timestampOffsetMicroseconds),
32012
- durationInMicroSeconds: fixFloatingPoint2(newNumberOfFrames / TARGET_SAMPLE_RATE * 1e6)
32027
+ durationInMicroSeconds: fixFloatingPoint2(newNumberOfFrames / getTargetSampleRate() * 1e6)
32013
32028
  };
32014
32029
  }
32015
32030
  resampleAudioData({
@@ -32023,7 +32038,7 @@ var convertAudioData = ({
32023
32038
  data,
32024
32039
  numberOfFrames: newNumberOfFrames,
32025
32040
  timestamp: audioDataTimestamp * 1e6 + fixFloatingPoint2(timestampOffsetMicroseconds),
32026
- durationInMicroSeconds: fixFloatingPoint2(newNumberOfFrames / TARGET_SAMPLE_RATE * 1e6)
32041
+ durationInMicroSeconds: fixFloatingPoint2(newNumberOfFrames / getTargetSampleRate() * 1e6)
32027
32042
  };
32028
32043
  return newAudioData;
32029
32044
  };
@@ -32268,12 +32283,12 @@ var extractAudioInternal = async ({
32268
32283
  if (isFirstSample) {
32269
32284
  trimStartInSeconds = fixFloatingPoint2(timeInSeconds - sample.timestamp);
32270
32285
  if (trimStartInSeconds < 0) {
32271
- const silenceFrames = Math.ceil(fixFloatingPoint2(-trimStartInSeconds * TARGET_SAMPLE_RATE));
32286
+ const silenceFrames = Math.ceil(fixFloatingPoint2(-trimStartInSeconds * getTargetSampleRate()));
32272
32287
  leadingSilence = {
32273
32288
  data: new Int16Array(silenceFrames * TARGET_NUMBER_OF_CHANNELS),
32274
32289
  numberOfFrames: silenceFrames,
32275
32290
  timestamp: timeInSeconds * 1e6,
32276
- durationInMicroSeconds: silenceFrames / TARGET_SAMPLE_RATE * 1e6
32291
+ durationInMicroSeconds: silenceFrames / getTargetSampleRate() * 1e6
32277
32292
  };
32278
32293
  trimStartInSeconds = 0;
32279
32294
  }
@@ -32910,7 +32925,7 @@ var AudioForRendering2 = ({
32910
32925
  audio: environment.isClientSideRendering ? audio.data : Array.from(audio.data),
32911
32926
  frame: absoluteFrame,
32912
32927
  timestamp: audio.timestamp,
32913
- duration: audio.numberOfFrames / TARGET_SAMPLE_RATE * 1e6,
32928
+ duration: audio.numberOfFrames / getTargetSampleRate() * 1e6,
32914
32929
  toneFrequency: toneFrequency ?? 1
32915
32930
  });
32916
32931
  }
@@ -33630,7 +33645,7 @@ var VideoForRendering2 = ({
33630
33645
  audio: environment.isClientSideRendering ? audio.data : Array.from(audio.data),
33631
33646
  frame: absoluteFrame,
33632
33647
  timestamp: audio.timestamp,
33633
- duration: audio.numberOfFrames / TARGET_SAMPLE_RATE * 1e6,
33648
+ duration: audio.numberOfFrames / getTargetSampleRate() * 1e6,
33634
33649
  toneFrequency
33635
33650
  });
33636
33651
  }
@@ -35276,7 +35291,7 @@ import {
35276
35291
  import { BufferTarget, StreamTarget } from "mediabunny";
35277
35292
 
35278
35293
  // ../core/dist/esm/version.mjs
35279
- var VERSION2 = "4.0.447";
35294
+ var VERSION2 = "4.0.448";
35280
35295
 
35281
35296
  // ../web-renderer/dist/esm/index.mjs
35282
35297
  import { AudioSample, VideoSample } from "mediabunny";
@@ -35692,7 +35707,6 @@ var handleArtifacts = () => {
35692
35707
  return { handle };
35693
35708
  };
35694
35709
  var TARGET_NUMBER_OF_CHANNELS2 = 2;
35695
- var TARGET_SAMPLE_RATE2 = 48000;
35696
35710
  function mixAudio(waves, length2) {
35697
35711
  if (waves.length === 1 && waves[0].length === length2) {
35698
35712
  return waves[0];
@@ -35713,13 +35727,14 @@ function mixAudio(waves, length2) {
35713
35727
  var onlyInlineAudio = ({
35714
35728
  assets,
35715
35729
  fps,
35716
- timestamp
35730
+ timestamp,
35731
+ sampleRate
35717
35732
  }) => {
35718
35733
  const inlineAudio = assets.filter((asset) => asset.type === "inline-audio");
35719
35734
  if (inlineAudio.length === 0) {
35720
35735
  return null;
35721
35736
  }
35722
- const expectedLength = Math.round(TARGET_NUMBER_OF_CHANNELS2 * TARGET_SAMPLE_RATE2 / fps);
35737
+ const expectedLength = Math.round(TARGET_NUMBER_OF_CHANNELS2 * sampleRate / fps);
35723
35738
  for (const asset of inlineAudio) {
35724
35739
  if (asset.toneFrequency !== 1) {
35725
35740
  throw new Error("Setting the toneFrequency is not supported yet in web rendering.");
@@ -35731,7 +35746,7 @@ var onlyInlineAudio = ({
35731
35746
  format: "s16",
35732
35747
  numberOfChannels: TARGET_NUMBER_OF_CHANNELS2,
35733
35748
  numberOfFrames: expectedLength / TARGET_NUMBER_OF_CHANNELS2,
35734
- sampleRate: TARGET_SAMPLE_RATE2,
35749
+ sampleRate,
35735
35750
  timestamp
35736
35751
  });
35737
35752
  };
@@ -36106,7 +36121,8 @@ function createScaffold({
36106
36121
  defaultOutName: defaultOutName ?? null,
36107
36122
  defaultVideoImageFormat: null,
36108
36123
  defaultPixelFormat: null,
36109
- defaultProResProfile: null
36124
+ defaultProResProfile: null,
36125
+ defaultSampleRate: null
36110
36126
  },
36111
36127
  folders: []
36112
36128
  },
@@ -37015,6 +37031,7 @@ var calculateTransforms = ({
37015
37031
  let opacity = 1;
37016
37032
  let elementComputedStyle = null;
37017
37033
  let maskImageInfo = null;
37034
+ let filterValue = null;
37018
37035
  while (parent) {
37019
37036
  const computedStyle = getComputedStyle(parent);
37020
37037
  if (parent === element) {
@@ -37022,6 +37039,16 @@ var calculateTransforms = ({
37022
37039
  opacity = parseFloat(computedStyle.opacity);
37023
37040
  const maskImageValue = getMaskImageValue(computedStyle);
37024
37041
  maskImageInfo = maskImageValue ? parseMaskImage(maskImageValue) : null;
37042
+ const computedFilter = computedStyle.filter;
37043
+ if (computedFilter && computedFilter !== "none") {
37044
+ filterValue = computedFilter;
37045
+ const originalFilter = parent.style.filter;
37046
+ parent.style.filter = "none";
37047
+ const parentRefFilter = parent;
37048
+ toReset.push(() => {
37049
+ parentRefFilter.style.filter = originalFilter;
37050
+ });
37051
+ }
37025
37052
  const originalMaskImage = parent.style.maskImage;
37026
37053
  const originalWebkitMaskImage = parent.style.webkitMaskImage;
37027
37054
  parent.style.maskImage = "none";
@@ -37085,6 +37112,7 @@ var calculateTransforms = ({
37085
37112
  }
37086
37113
  const needs3DTransformViaWebGL = !totalMatrix.is2D;
37087
37114
  const needsMaskImage = maskImageInfo !== null;
37115
+ const needsFilter = filterValue !== null;
37088
37116
  return {
37089
37117
  dimensions,
37090
37118
  totalMatrix,
@@ -37100,7 +37128,8 @@ var calculateTransforms = ({
37100
37128
  precompositing: {
37101
37129
  needs3DTransformViaWebGL,
37102
37130
  needsMaskImage: maskImageInfo,
37103
- needsPrecompositing: Boolean(needs3DTransformViaWebGL || needsMaskImage)
37131
+ needsFilter: filterValue,
37132
+ needsPrecompositing: Boolean(needs3DTransformViaWebGL || needsMaskImage || needsFilter)
37104
37133
  }
37105
37134
  };
37106
37135
  };
@@ -38419,6 +38448,9 @@ var handle3dTransform = ({
38419
38448
  });
38420
38449
  return transformed;
38421
38450
  };
38451
+ var getPrecomposeRectForFilter = (element) => {
38452
+ return getBiggestBoundingClientRect(element);
38453
+ };
38422
38454
  var getPrecomposeRectForMask = (element) => {
38423
38455
  const boundingRect = getBiggestBoundingClientRect(element);
38424
38456
  return boundingRect;
@@ -38499,6 +38531,12 @@ var processNode = async ({
38499
38531
  if (precompositing.needsMaskImage) {
38500
38532
  precomposeRect = roundToExpandRect(getPrecomposeRectForMask(element));
38501
38533
  }
38534
+ if (precompositing.needsFilter) {
38535
+ precomposeRect = roundToExpandRect(getWiderRectAndExpand({
38536
+ firstRect: precomposeRect,
38537
+ secondRect: getPrecomposeRectForFilter(element)
38538
+ }));
38539
+ }
38502
38540
  if (precompositing.needs3DTransformViaWebGL) {
38503
38541
  const tentativePrecomposeRect = getPrecomposeRectFor3DTransform({
38504
38542
  element,
@@ -38561,8 +38599,13 @@ var processNode = async ({
38561
38599
  }
38562
38600
  }
38563
38601
  const previousTransform = context.getTransform();
38602
+ const previousFilter = context.filter;
38564
38603
  context.setTransform(new DOMMatrix);
38604
+ if (precompositing.needsFilter) {
38605
+ context.filter = precompositing.needsFilter;
38606
+ }
38565
38607
  context.drawImage(drawable, 0, drawable.height - rectAfterTransforms.height, rectAfterTransforms.width, rectAfterTransforms.height, rectAfterTransforms.left - parentRect.x, rectAfterTransforms.top - parentRect.y, rectAfterTransforms.width, rectAfterTransforms.height);
38608
+ context.filter = previousFilter;
38566
38609
  context.setTransform(previousTransform);
38567
38610
  Internals.Log.trace({
38568
38611
  logLevel,
@@ -39142,7 +39185,8 @@ var internalRenderMediaOnWeb = async ({
39142
39185
  muted,
39143
39186
  scale,
39144
39187
  isProduction,
39145
- allowHtmlInCanvas
39188
+ allowHtmlInCanvas,
39189
+ sampleRate
39146
39190
  }) => {
39147
39191
  let __stack2 = [];
39148
39192
  try {
@@ -39421,7 +39465,7 @@ var internalRenderMediaOnWeb = async ({
39421
39465
  if (signal?.aborted) {
39422
39466
  throw new Error("renderMediaOnWeb() was cancelled");
39423
39467
  }
39424
- const audio = muted ? null : onlyInlineAudio({ assets, fps: resolved.fps, timestamp });
39468
+ const audio = muted ? null : onlyInlineAudio({ assets, fps: resolved.fps, timestamp, sampleRate });
39425
39469
  internalState.addAudioMixingTime(performance.now() - audioCombineStart);
39426
39470
  const addSampleStart = performance.now();
39427
39471
  const encodingPromises = [];
@@ -39535,7 +39579,8 @@ var renderMediaOnWeb = (options2) => {
39535
39579
  muted: options2.muted ?? false,
39536
39580
  scale: options2.scale ?? 1,
39537
39581
  isProduction: options2.isProduction ?? true,
39538
- allowHtmlInCanvas: options2.allowHtmlInCanvas ?? false
39582
+ allowHtmlInCanvas: options2.allowHtmlInCanvas ?? false,
39583
+ sampleRate: options2.sampleRate ?? 48000
39539
39584
  }));
39540
39585
  return onlyOneRenderAtATimeQueue.ref;
39541
39586
  };
@@ -41839,6 +41884,7 @@ var listOfRemotionPackages = [
41839
41884
  "@remotion/bundler",
41840
41885
  "@remotion/cli",
41841
41886
  "@remotion/cloudrun",
41887
+ "@remotion/codex-plugin",
41842
41888
  "@remotion/compositor-darwin-arm64",
41843
41889
  "@remotion/compositor-darwin-x64",
41844
41890
  "@remotion/compositor-linux-arm64-gnu",
@@ -43172,7 +43218,7 @@ var GithubButton = () => {
43172
43218
  " ",
43173
43219
  /* @__PURE__ */ jsx164("div", {
43174
43220
  className: "text-xs inline-block ml-2 leading-none mt-[3px] self-center",
43175
- children: "41k"
43221
+ children: "42k"
43176
43222
  })
43177
43223
  ]
43178
43224
  });
package/dist/design.js CHANGED
@@ -6515,7 +6515,8 @@ var useResolvedVideoConfig = (preferredCompositionId) => {
6515
6515
  defaultOutName: null,
6516
6516
  defaultVideoImageFormat: null,
6517
6517
  defaultPixelFormat: null,
6518
- defaultProResProfile: null
6518
+ defaultProResProfile: null,
6519
+ defaultSampleRate: null
6519
6520
  }
6520
6521
  };
6521
6522
  }
@@ -6989,7 +6990,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
6989
6990
  var addSequenceStackTraces = (component) => {
6990
6991
  componentsToAddStacksTo.push(component);
6991
6992
  };
6992
- var VERSION = "4.0.447";
6993
+ var VERSION = "4.0.448";
6993
6994
  var checkMultipleRemotionVersions = () => {
6994
6995
  if (typeof globalThis === "undefined") {
6995
6996
  return;
@@ -7228,7 +7229,8 @@ var useUnsafeVideoConfig = () => {
7228
7229
  defaultOutName,
7229
7230
  defaultVideoImageFormat,
7230
7231
  defaultPixelFormat,
7231
- defaultProResProfile
7232
+ defaultProResProfile,
7233
+ defaultSampleRate
7232
7234
  } = video;
7233
7235
  return {
7234
7236
  id,
@@ -7242,7 +7244,8 @@ var useUnsafeVideoConfig = () => {
7242
7244
  defaultOutName,
7243
7245
  defaultVideoImageFormat,
7244
7246
  defaultPixelFormat,
7245
- defaultProResProfile
7247
+ defaultProResProfile,
7248
+ defaultSampleRate
7246
7249
  };
7247
7250
  }, [ctxDuration, ctxHeight, ctxWidth, video]);
7248
7251
  };
@@ -11576,6 +11579,7 @@ var validateCalculated = ({
11576
11579
  const defaultVideoImageFormat = calculated?.defaultVideoImageFormat;
11577
11580
  const defaultPixelFormat = calculated?.defaultPixelFormat;
11578
11581
  const defaultProResProfile = calculated?.defaultProResProfile;
11582
+ const defaultSampleRate = calculated?.defaultSampleRate;
11579
11583
  return {
11580
11584
  width,
11581
11585
  height,
@@ -11585,7 +11589,8 @@ var validateCalculated = ({
11585
11589
  defaultOutName,
11586
11590
  defaultVideoImageFormat,
11587
11591
  defaultPixelFormat,
11588
- defaultProResProfile
11592
+ defaultProResProfile,
11593
+ defaultSampleRate
11589
11594
  };
11590
11595
  };
11591
11596
  var resolveVideoConfig = ({
@@ -11617,7 +11622,8 @@ var resolveVideoConfig = ({
11617
11622
  defaultOutName,
11618
11623
  defaultVideoImageFormat,
11619
11624
  defaultPixelFormat,
11620
- defaultProResProfile
11625
+ defaultProResProfile,
11626
+ defaultSampleRate
11621
11627
  } = validateCalculated({
11622
11628
  calculated: c2,
11623
11629
  compositionDurationInFrames,
@@ -11638,7 +11644,8 @@ var resolveVideoConfig = ({
11638
11644
  defaultOutName: defaultOutName ?? null,
11639
11645
  defaultVideoImageFormat: defaultVideoImageFormat ?? null,
11640
11646
  defaultPixelFormat: defaultPixelFormat ?? null,
11641
- defaultProResProfile: defaultProResProfile ?? null
11647
+ defaultProResProfile: defaultProResProfile ?? null,
11648
+ defaultSampleRate: defaultSampleRate ?? null
11642
11649
  };
11643
11650
  });
11644
11651
  }
@@ -11660,7 +11667,8 @@ var resolveVideoConfig = ({
11660
11667
  defaultOutName: null,
11661
11668
  defaultVideoImageFormat: null,
11662
11669
  defaultPixelFormat: null,
11663
- defaultProResProfile: null
11670
+ defaultProResProfile: null,
11671
+ defaultSampleRate: null
11664
11672
  };
11665
11673
  }
11666
11674
  return {
@@ -11672,7 +11680,8 @@ var resolveVideoConfig = ({
11672
11680
  defaultOutName: calculatedProm.defaultOutName ?? null,
11673
11681
  defaultVideoImageFormat: calculatedProm.defaultVideoImageFormat ?? null,
11674
11682
  defaultPixelFormat: calculatedProm.defaultPixelFormat ?? null,
11675
- defaultProResProfile: calculatedProm.defaultProResProfile ?? null
11683
+ defaultProResProfile: calculatedProm.defaultProResProfile ?? null,
11684
+ defaultSampleRate: calculatedProm.defaultSampleRate ?? null
11676
11685
  };
11677
11686
  };
11678
11687
  var resolveVideoConfigOrCatch = (params) => {
package/dist/experts.js CHANGED
@@ -1568,7 +1568,8 @@ var useResolvedVideoConfig = (preferredCompositionId) => {
1568
1568
  defaultOutName: null,
1569
1569
  defaultVideoImageFormat: null,
1570
1570
  defaultPixelFormat: null,
1571
- defaultProResProfile: null
1571
+ defaultProResProfile: null,
1572
+ defaultSampleRate: null
1572
1573
  }
1573
1574
  };
1574
1575
  }
@@ -2042,7 +2043,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
2042
2043
  var addSequenceStackTraces = (component) => {
2043
2044
  componentsToAddStacksTo.push(component);
2044
2045
  };
2045
- var VERSION = "4.0.447";
2046
+ var VERSION = "4.0.448";
2046
2047
  var checkMultipleRemotionVersions = () => {
2047
2048
  if (typeof globalThis === "undefined") {
2048
2049
  return;
@@ -2281,7 +2282,8 @@ var useUnsafeVideoConfig = () => {
2281
2282
  defaultOutName,
2282
2283
  defaultVideoImageFormat,
2283
2284
  defaultPixelFormat,
2284
- defaultProResProfile
2285
+ defaultProResProfile,
2286
+ defaultSampleRate
2285
2287
  } = video;
2286
2288
  return {
2287
2289
  id,
@@ -2295,7 +2297,8 @@ var useUnsafeVideoConfig = () => {
2295
2297
  defaultOutName,
2296
2298
  defaultVideoImageFormat,
2297
2299
  defaultPixelFormat,
2298
- defaultProResProfile
2300
+ defaultProResProfile,
2301
+ defaultSampleRate
2299
2302
  };
2300
2303
  }, [ctxDuration, ctxHeight, ctxWidth, video]);
2301
2304
  };
@@ -6629,6 +6632,7 @@ var validateCalculated = ({
6629
6632
  const defaultVideoImageFormat = calculated?.defaultVideoImageFormat;
6630
6633
  const defaultPixelFormat = calculated?.defaultPixelFormat;
6631
6634
  const defaultProResProfile = calculated?.defaultProResProfile;
6635
+ const defaultSampleRate = calculated?.defaultSampleRate;
6632
6636
  return {
6633
6637
  width,
6634
6638
  height,
@@ -6638,7 +6642,8 @@ var validateCalculated = ({
6638
6642
  defaultOutName,
6639
6643
  defaultVideoImageFormat,
6640
6644
  defaultPixelFormat,
6641
- defaultProResProfile
6645
+ defaultProResProfile,
6646
+ defaultSampleRate
6642
6647
  };
6643
6648
  };
6644
6649
  var resolveVideoConfig = ({
@@ -6670,7 +6675,8 @@ var resolveVideoConfig = ({
6670
6675
  defaultOutName,
6671
6676
  defaultVideoImageFormat,
6672
6677
  defaultPixelFormat,
6673
- defaultProResProfile
6678
+ defaultProResProfile,
6679
+ defaultSampleRate
6674
6680
  } = validateCalculated({
6675
6681
  calculated: c2,
6676
6682
  compositionDurationInFrames,
@@ -6691,7 +6697,8 @@ var resolveVideoConfig = ({
6691
6697
  defaultOutName: defaultOutName ?? null,
6692
6698
  defaultVideoImageFormat: defaultVideoImageFormat ?? null,
6693
6699
  defaultPixelFormat: defaultPixelFormat ?? null,
6694
- defaultProResProfile: defaultProResProfile ?? null
6700
+ defaultProResProfile: defaultProResProfile ?? null,
6701
+ defaultSampleRate: defaultSampleRate ?? null
6695
6702
  };
6696
6703
  });
6697
6704
  }
@@ -6713,7 +6720,8 @@ var resolveVideoConfig = ({
6713
6720
  defaultOutName: null,
6714
6721
  defaultVideoImageFormat: null,
6715
6722
  defaultPixelFormat: null,
6716
- defaultProResProfile: null
6723
+ defaultProResProfile: null,
6724
+ defaultSampleRate: null
6717
6725
  };
6718
6726
  }
6719
6727
  return {
@@ -6725,7 +6733,8 @@ var resolveVideoConfig = ({
6725
6733
  defaultOutName: calculatedProm.defaultOutName ?? null,
6726
6734
  defaultVideoImageFormat: calculatedProm.defaultVideoImageFormat ?? null,
6727
6735
  defaultPixelFormat: calculatedProm.defaultPixelFormat ?? null,
6728
- defaultProResProfile: calculatedProm.defaultProResProfile ?? null
6736
+ defaultProResProfile: calculatedProm.defaultProResProfile ?? null,
6737
+ defaultSampleRate: calculatedProm.defaultSampleRate ?? null
6729
6738
  };
6730
6739
  };
6731
6740
  var resolveVideoConfigOrCatch = (params) => {
@@ -6515,7 +6515,8 @@ var useResolvedVideoConfig = (preferredCompositionId) => {
6515
6515
  defaultOutName: null,
6516
6516
  defaultVideoImageFormat: null,
6517
6517
  defaultPixelFormat: null,
6518
- defaultProResProfile: null
6518
+ defaultProResProfile: null,
6519
+ defaultSampleRate: null
6519
6520
  }
6520
6521
  };
6521
6522
  }
@@ -6989,7 +6990,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
6989
6990
  var addSequenceStackTraces = (component) => {
6990
6991
  componentsToAddStacksTo.push(component);
6991
6992
  };
6992
- var VERSION = "4.0.447";
6993
+ var VERSION = "4.0.448";
6993
6994
  var checkMultipleRemotionVersions = () => {
6994
6995
  if (typeof globalThis === "undefined") {
6995
6996
  return;
@@ -7228,7 +7229,8 @@ var useUnsafeVideoConfig = () => {
7228
7229
  defaultOutName,
7229
7230
  defaultVideoImageFormat,
7230
7231
  defaultPixelFormat,
7231
- defaultProResProfile
7232
+ defaultProResProfile,
7233
+ defaultSampleRate
7232
7234
  } = video;
7233
7235
  return {
7234
7236
  id,
@@ -7242,7 +7244,8 @@ var useUnsafeVideoConfig = () => {
7242
7244
  defaultOutName,
7243
7245
  defaultVideoImageFormat,
7244
7246
  defaultPixelFormat,
7245
- defaultProResProfile
7247
+ defaultProResProfile,
7248
+ defaultSampleRate
7246
7249
  };
7247
7250
  }, [ctxDuration, ctxHeight, ctxWidth, video]);
7248
7251
  };
@@ -11576,6 +11579,7 @@ var validateCalculated = ({
11576
11579
  const defaultVideoImageFormat = calculated?.defaultVideoImageFormat;
11577
11580
  const defaultPixelFormat = calculated?.defaultPixelFormat;
11578
11581
  const defaultProResProfile = calculated?.defaultProResProfile;
11582
+ const defaultSampleRate = calculated?.defaultSampleRate;
11579
11583
  return {
11580
11584
  width,
11581
11585
  height,
@@ -11585,7 +11589,8 @@ var validateCalculated = ({
11585
11589
  defaultOutName,
11586
11590
  defaultVideoImageFormat,
11587
11591
  defaultPixelFormat,
11588
- defaultProResProfile
11592
+ defaultProResProfile,
11593
+ defaultSampleRate
11589
11594
  };
11590
11595
  };
11591
11596
  var resolveVideoConfig = ({
@@ -11617,7 +11622,8 @@ var resolveVideoConfig = ({
11617
11622
  defaultOutName,
11618
11623
  defaultVideoImageFormat,
11619
11624
  defaultPixelFormat,
11620
- defaultProResProfile
11625
+ defaultProResProfile,
11626
+ defaultSampleRate
11621
11627
  } = validateCalculated({
11622
11628
  calculated: c2,
11623
11629
  compositionDurationInFrames,
@@ -11638,7 +11644,8 @@ var resolveVideoConfig = ({
11638
11644
  defaultOutName: defaultOutName ?? null,
11639
11645
  defaultVideoImageFormat: defaultVideoImageFormat ?? null,
11640
11646
  defaultPixelFormat: defaultPixelFormat ?? null,
11641
- defaultProResProfile: defaultProResProfile ?? null
11647
+ defaultProResProfile: defaultProResProfile ?? null,
11648
+ defaultSampleRate: defaultSampleRate ?? null
11642
11649
  };
11643
11650
  });
11644
11651
  }
@@ -11660,7 +11667,8 @@ var resolveVideoConfig = ({
11660
11667
  defaultOutName: null,
11661
11668
  defaultVideoImageFormat: null,
11662
11669
  defaultPixelFormat: null,
11663
- defaultProResProfile: null
11670
+ defaultProResProfile: null,
11671
+ defaultSampleRate: null
11664
11672
  };
11665
11673
  }
11666
11674
  return {
@@ -11672,7 +11680,8 @@ var resolveVideoConfig = ({
11672
11680
  defaultOutName: calculatedProm.defaultOutName ?? null,
11673
11681
  defaultVideoImageFormat: calculatedProm.defaultVideoImageFormat ?? null,
11674
11682
  defaultPixelFormat: calculatedProm.defaultPixelFormat ?? null,
11675
- defaultProResProfile: calculatedProm.defaultProResProfile ?? null
11683
+ defaultProResProfile: calculatedProm.defaultProResProfile ?? null,
11684
+ defaultSampleRate: calculatedProm.defaultSampleRate ?? null
11676
11685
  };
11677
11686
  };
11678
11687
  var resolveVideoConfigOrCatch = (params) => {
@@ -6515,7 +6515,8 @@ var useResolvedVideoConfig = (preferredCompositionId) => {
6515
6515
  defaultOutName: null,
6516
6516
  defaultVideoImageFormat: null,
6517
6517
  defaultPixelFormat: null,
6518
- defaultProResProfile: null
6518
+ defaultProResProfile: null,
6519
+ defaultSampleRate: null
6519
6520
  }
6520
6521
  };
6521
6522
  }
@@ -6989,7 +6990,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
6989
6990
  var addSequenceStackTraces = (component) => {
6990
6991
  componentsToAddStacksTo.push(component);
6991
6992
  };
6992
- var VERSION = "4.0.447";
6993
+ var VERSION = "4.0.448";
6993
6994
  var checkMultipleRemotionVersions = () => {
6994
6995
  if (typeof globalThis === "undefined") {
6995
6996
  return;
@@ -7228,7 +7229,8 @@ var useUnsafeVideoConfig = () => {
7228
7229
  defaultOutName,
7229
7230
  defaultVideoImageFormat,
7230
7231
  defaultPixelFormat,
7231
- defaultProResProfile
7232
+ defaultProResProfile,
7233
+ defaultSampleRate
7232
7234
  } = video;
7233
7235
  return {
7234
7236
  id,
@@ -7242,7 +7244,8 @@ var useUnsafeVideoConfig = () => {
7242
7244
  defaultOutName,
7243
7245
  defaultVideoImageFormat,
7244
7246
  defaultPixelFormat,
7245
- defaultProResProfile
7247
+ defaultProResProfile,
7248
+ defaultSampleRate
7246
7249
  };
7247
7250
  }, [ctxDuration, ctxHeight, ctxWidth, video]);
7248
7251
  };
@@ -11576,6 +11579,7 @@ var validateCalculated = ({
11576
11579
  const defaultVideoImageFormat = calculated?.defaultVideoImageFormat;
11577
11580
  const defaultPixelFormat = calculated?.defaultPixelFormat;
11578
11581
  const defaultProResProfile = calculated?.defaultProResProfile;
11582
+ const defaultSampleRate = calculated?.defaultSampleRate;
11579
11583
  return {
11580
11584
  width,
11581
11585
  height,
@@ -11585,7 +11589,8 @@ var validateCalculated = ({
11585
11589
  defaultOutName,
11586
11590
  defaultVideoImageFormat,
11587
11591
  defaultPixelFormat,
11588
- defaultProResProfile
11592
+ defaultProResProfile,
11593
+ defaultSampleRate
11589
11594
  };
11590
11595
  };
11591
11596
  var resolveVideoConfig = ({
@@ -11617,7 +11622,8 @@ var resolveVideoConfig = ({
11617
11622
  defaultOutName,
11618
11623
  defaultVideoImageFormat,
11619
11624
  defaultPixelFormat,
11620
- defaultProResProfile
11625
+ defaultProResProfile,
11626
+ defaultSampleRate
11621
11627
  } = validateCalculated({
11622
11628
  calculated: c2,
11623
11629
  compositionDurationInFrames,
@@ -11638,7 +11644,8 @@ var resolveVideoConfig = ({
11638
11644
  defaultOutName: defaultOutName ?? null,
11639
11645
  defaultVideoImageFormat: defaultVideoImageFormat ?? null,
11640
11646
  defaultPixelFormat: defaultPixelFormat ?? null,
11641
- defaultProResProfile: defaultProResProfile ?? null
11647
+ defaultProResProfile: defaultProResProfile ?? null,
11648
+ defaultSampleRate: defaultSampleRate ?? null
11642
11649
  };
11643
11650
  });
11644
11651
  }
@@ -11660,7 +11667,8 @@ var resolveVideoConfig = ({
11660
11667
  defaultOutName: null,
11661
11668
  defaultVideoImageFormat: null,
11662
11669
  defaultPixelFormat: null,
11663
- defaultProResProfile: null
11670
+ defaultProResProfile: null,
11671
+ defaultSampleRate: null
11664
11672
  };
11665
11673
  }
11666
11674
  return {
@@ -11672,7 +11680,8 @@ var resolveVideoConfig = ({
11672
11680
  defaultOutName: calculatedProm.defaultOutName ?? null,
11673
11681
  defaultVideoImageFormat: calculatedProm.defaultVideoImageFormat ?? null,
11674
11682
  defaultPixelFormat: calculatedProm.defaultPixelFormat ?? null,
11675
- defaultProResProfile: calculatedProm.defaultProResProfile ?? null
11683
+ defaultProResProfile: calculatedProm.defaultProResProfile ?? null,
11684
+ defaultSampleRate: calculatedProm.defaultSampleRate ?? null
11676
11685
  };
11677
11686
  };
11678
11687
  var resolveVideoConfigOrCatch = (params) => {
@@ -23849,7 +23849,8 @@ var useResolvedVideoConfig = (preferredCompositionId) => {
23849
23849
  defaultOutName: null,
23850
23850
  defaultVideoImageFormat: null,
23851
23851
  defaultPixelFormat: null,
23852
- defaultProResProfile: null
23852
+ defaultProResProfile: null,
23853
+ defaultSampleRate: null
23853
23854
  }
23854
23855
  };
23855
23856
  }
@@ -24323,7 +24324,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
24323
24324
  var addSequenceStackTraces = (component) => {
24324
24325
  componentsToAddStacksTo.push(component);
24325
24326
  };
24326
- var VERSION = "4.0.447";
24327
+ var VERSION = "4.0.448";
24327
24328
  var checkMultipleRemotionVersions = () => {
24328
24329
  if (typeof globalThis === "undefined") {
24329
24330
  return;
@@ -24562,7 +24563,8 @@ var useUnsafeVideoConfig = () => {
24562
24563
  defaultOutName,
24563
24564
  defaultVideoImageFormat,
24564
24565
  defaultPixelFormat,
24565
- defaultProResProfile
24566
+ defaultProResProfile,
24567
+ defaultSampleRate
24566
24568
  } = video;
24567
24569
  return {
24568
24570
  id,
@@ -24576,7 +24578,8 @@ var useUnsafeVideoConfig = () => {
24576
24578
  defaultOutName,
24577
24579
  defaultVideoImageFormat,
24578
24580
  defaultPixelFormat,
24579
- defaultProResProfile
24581
+ defaultProResProfile,
24582
+ defaultSampleRate
24580
24583
  };
24581
24584
  }, [ctxDuration, ctxHeight, ctxWidth, video]);
24582
24585
  };
@@ -28910,6 +28913,7 @@ var validateCalculated = ({
28910
28913
  const defaultVideoImageFormat = calculated?.defaultVideoImageFormat;
28911
28914
  const defaultPixelFormat = calculated?.defaultPixelFormat;
28912
28915
  const defaultProResProfile = calculated?.defaultProResProfile;
28916
+ const defaultSampleRate = calculated?.defaultSampleRate;
28913
28917
  return {
28914
28918
  width,
28915
28919
  height,
@@ -28919,7 +28923,8 @@ var validateCalculated = ({
28919
28923
  defaultOutName,
28920
28924
  defaultVideoImageFormat,
28921
28925
  defaultPixelFormat,
28922
- defaultProResProfile
28926
+ defaultProResProfile,
28927
+ defaultSampleRate
28923
28928
  };
28924
28929
  };
28925
28930
  var resolveVideoConfig = ({
@@ -28951,7 +28956,8 @@ var resolveVideoConfig = ({
28951
28956
  defaultOutName,
28952
28957
  defaultVideoImageFormat,
28953
28958
  defaultPixelFormat,
28954
- defaultProResProfile
28959
+ defaultProResProfile,
28960
+ defaultSampleRate
28955
28961
  } = validateCalculated({
28956
28962
  calculated: c2,
28957
28963
  compositionDurationInFrames,
@@ -28972,7 +28978,8 @@ var resolveVideoConfig = ({
28972
28978
  defaultOutName: defaultOutName ?? null,
28973
28979
  defaultVideoImageFormat: defaultVideoImageFormat ?? null,
28974
28980
  defaultPixelFormat: defaultPixelFormat ?? null,
28975
- defaultProResProfile: defaultProResProfile ?? null
28981
+ defaultProResProfile: defaultProResProfile ?? null,
28982
+ defaultSampleRate: defaultSampleRate ?? null
28976
28983
  };
28977
28984
  });
28978
28985
  }
@@ -28994,7 +29001,8 @@ var resolveVideoConfig = ({
28994
29001
  defaultOutName: null,
28995
29002
  defaultVideoImageFormat: null,
28996
29003
  defaultPixelFormat: null,
28997
- defaultProResProfile: null
29004
+ defaultProResProfile: null,
29005
+ defaultSampleRate: null
28998
29006
  };
28999
29007
  }
29000
29008
  return {
@@ -29006,7 +29014,8 @@ var resolveVideoConfig = ({
29006
29014
  defaultOutName: calculatedProm.defaultOutName ?? null,
29007
29015
  defaultVideoImageFormat: calculatedProm.defaultVideoImageFormat ?? null,
29008
29016
  defaultPixelFormat: calculatedProm.defaultPixelFormat ?? null,
29009
- defaultProResProfile: calculatedProm.defaultProResProfile ?? null
29017
+ defaultProResProfile: calculatedProm.defaultProResProfile ?? null,
29018
+ defaultSampleRate: calculatedProm.defaultSampleRate ?? null
29010
29019
  };
29011
29020
  };
29012
29021
  var resolveVideoConfigOrCatch = (params) => {
@@ -23849,7 +23849,8 @@ var useResolvedVideoConfig = (preferredCompositionId) => {
23849
23849
  defaultOutName: null,
23850
23850
  defaultVideoImageFormat: null,
23851
23851
  defaultPixelFormat: null,
23852
- defaultProResProfile: null
23852
+ defaultProResProfile: null,
23853
+ defaultSampleRate: null
23853
23854
  }
23854
23855
  };
23855
23856
  }
@@ -24323,7 +24324,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
24323
24324
  var addSequenceStackTraces = (component) => {
24324
24325
  componentsToAddStacksTo.push(component);
24325
24326
  };
24326
- var VERSION = "4.0.447";
24327
+ var VERSION = "4.0.448";
24327
24328
  var checkMultipleRemotionVersions = () => {
24328
24329
  if (typeof globalThis === "undefined") {
24329
24330
  return;
@@ -24562,7 +24563,8 @@ var useUnsafeVideoConfig = () => {
24562
24563
  defaultOutName,
24563
24564
  defaultVideoImageFormat,
24564
24565
  defaultPixelFormat,
24565
- defaultProResProfile
24566
+ defaultProResProfile,
24567
+ defaultSampleRate
24566
24568
  } = video;
24567
24569
  return {
24568
24570
  id,
@@ -24576,7 +24578,8 @@ var useUnsafeVideoConfig = () => {
24576
24578
  defaultOutName,
24577
24579
  defaultVideoImageFormat,
24578
24580
  defaultPixelFormat,
24579
- defaultProResProfile
24581
+ defaultProResProfile,
24582
+ defaultSampleRate
24580
24583
  };
24581
24584
  }, [ctxDuration, ctxHeight, ctxWidth, video]);
24582
24585
  };
@@ -28910,6 +28913,7 @@ var validateCalculated = ({
28910
28913
  const defaultVideoImageFormat = calculated?.defaultVideoImageFormat;
28911
28914
  const defaultPixelFormat = calculated?.defaultPixelFormat;
28912
28915
  const defaultProResProfile = calculated?.defaultProResProfile;
28916
+ const defaultSampleRate = calculated?.defaultSampleRate;
28913
28917
  return {
28914
28918
  width,
28915
28919
  height,
@@ -28919,7 +28923,8 @@ var validateCalculated = ({
28919
28923
  defaultOutName,
28920
28924
  defaultVideoImageFormat,
28921
28925
  defaultPixelFormat,
28922
- defaultProResProfile
28926
+ defaultProResProfile,
28927
+ defaultSampleRate
28923
28928
  };
28924
28929
  };
28925
28930
  var resolveVideoConfig = ({
@@ -28951,7 +28956,8 @@ var resolveVideoConfig = ({
28951
28956
  defaultOutName,
28952
28957
  defaultVideoImageFormat,
28953
28958
  defaultPixelFormat,
28954
- defaultProResProfile
28959
+ defaultProResProfile,
28960
+ defaultSampleRate
28955
28961
  } = validateCalculated({
28956
28962
  calculated: c2,
28957
28963
  compositionDurationInFrames,
@@ -28972,7 +28978,8 @@ var resolveVideoConfig = ({
28972
28978
  defaultOutName: defaultOutName ?? null,
28973
28979
  defaultVideoImageFormat: defaultVideoImageFormat ?? null,
28974
28980
  defaultPixelFormat: defaultPixelFormat ?? null,
28975
- defaultProResProfile: defaultProResProfile ?? null
28981
+ defaultProResProfile: defaultProResProfile ?? null,
28982
+ defaultSampleRate: defaultSampleRate ?? null
28976
28983
  };
28977
28984
  });
28978
28985
  }
@@ -28994,7 +29001,8 @@ var resolveVideoConfig = ({
28994
29001
  defaultOutName: null,
28995
29002
  defaultVideoImageFormat: null,
28996
29003
  defaultPixelFormat: null,
28997
- defaultProResProfile: null
29004
+ defaultProResProfile: null,
29005
+ defaultSampleRate: null
28998
29006
  };
28999
29007
  }
29000
29008
  return {
@@ -29006,7 +29014,8 @@ var resolveVideoConfig = ({
29006
29014
  defaultOutName: calculatedProm.defaultOutName ?? null,
29007
29015
  defaultVideoImageFormat: calculatedProm.defaultVideoImageFormat ?? null,
29008
29016
  defaultPixelFormat: calculatedProm.defaultPixelFormat ?? null,
29009
- defaultProResProfile: calculatedProm.defaultProResProfile ?? null
29017
+ defaultProResProfile: calculatedProm.defaultProResProfile ?? null,
29018
+ defaultSampleRate: calculatedProm.defaultSampleRate ?? null
29010
29019
  };
29011
29020
  };
29012
29021
  var resolveVideoConfigOrCatch = (params) => {
package/dist/team.js CHANGED
@@ -6696,7 +6696,8 @@ var useResolvedVideoConfig = (preferredCompositionId) => {
6696
6696
  defaultOutName: null,
6697
6697
  defaultVideoImageFormat: null,
6698
6698
  defaultPixelFormat: null,
6699
- defaultProResProfile: null
6699
+ defaultProResProfile: null,
6700
+ defaultSampleRate: null
6700
6701
  }
6701
6702
  };
6702
6703
  }
@@ -7170,7 +7171,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
7170
7171
  var addSequenceStackTraces = (component) => {
7171
7172
  componentsToAddStacksTo.push(component);
7172
7173
  };
7173
- var VERSION = "4.0.447";
7174
+ var VERSION = "4.0.448";
7174
7175
  var checkMultipleRemotionVersions = () => {
7175
7176
  if (typeof globalThis === "undefined") {
7176
7177
  return;
@@ -7409,7 +7410,8 @@ var useUnsafeVideoConfig = () => {
7409
7410
  defaultOutName,
7410
7411
  defaultVideoImageFormat,
7411
7412
  defaultPixelFormat,
7412
- defaultProResProfile
7413
+ defaultProResProfile,
7414
+ defaultSampleRate
7413
7415
  } = video;
7414
7416
  return {
7415
7417
  id,
@@ -7423,7 +7425,8 @@ var useUnsafeVideoConfig = () => {
7423
7425
  defaultOutName,
7424
7426
  defaultVideoImageFormat,
7425
7427
  defaultPixelFormat,
7426
- defaultProResProfile
7428
+ defaultProResProfile,
7429
+ defaultSampleRate
7427
7430
  };
7428
7431
  }, [ctxDuration, ctxHeight, ctxWidth, video]);
7429
7432
  };
@@ -11757,6 +11760,7 @@ var validateCalculated = ({
11757
11760
  const defaultVideoImageFormat = calculated?.defaultVideoImageFormat;
11758
11761
  const defaultPixelFormat = calculated?.defaultPixelFormat;
11759
11762
  const defaultProResProfile = calculated?.defaultProResProfile;
11763
+ const defaultSampleRate = calculated?.defaultSampleRate;
11760
11764
  return {
11761
11765
  width,
11762
11766
  height,
@@ -11766,7 +11770,8 @@ var validateCalculated = ({
11766
11770
  defaultOutName,
11767
11771
  defaultVideoImageFormat,
11768
11772
  defaultPixelFormat,
11769
- defaultProResProfile
11773
+ defaultProResProfile,
11774
+ defaultSampleRate
11770
11775
  };
11771
11776
  };
11772
11777
  var resolveVideoConfig = ({
@@ -11798,7 +11803,8 @@ var resolveVideoConfig = ({
11798
11803
  defaultOutName,
11799
11804
  defaultVideoImageFormat,
11800
11805
  defaultPixelFormat,
11801
- defaultProResProfile
11806
+ defaultProResProfile,
11807
+ defaultSampleRate
11802
11808
  } = validateCalculated({
11803
11809
  calculated: c2,
11804
11810
  compositionDurationInFrames,
@@ -11819,7 +11825,8 @@ var resolveVideoConfig = ({
11819
11825
  defaultOutName: defaultOutName ?? null,
11820
11826
  defaultVideoImageFormat: defaultVideoImageFormat ?? null,
11821
11827
  defaultPixelFormat: defaultPixelFormat ?? null,
11822
- defaultProResProfile: defaultProResProfile ?? null
11828
+ defaultProResProfile: defaultProResProfile ?? null,
11829
+ defaultSampleRate: defaultSampleRate ?? null
11823
11830
  };
11824
11831
  });
11825
11832
  }
@@ -11841,7 +11848,8 @@ var resolveVideoConfig = ({
11841
11848
  defaultOutName: null,
11842
11849
  defaultVideoImageFormat: null,
11843
11850
  defaultPixelFormat: null,
11844
- defaultProResProfile: null
11851
+ defaultProResProfile: null,
11852
+ defaultSampleRate: null
11845
11853
  };
11846
11854
  }
11847
11855
  return {
@@ -11853,7 +11861,8 @@ var resolveVideoConfig = ({
11853
11861
  defaultOutName: calculatedProm.defaultOutName ?? null,
11854
11862
  defaultVideoImageFormat: calculatedProm.defaultVideoImageFormat ?? null,
11855
11863
  defaultPixelFormat: calculatedProm.defaultPixelFormat ?? null,
11856
- defaultProResProfile: calculatedProm.defaultProResProfile ?? null
11864
+ defaultProResProfile: calculatedProm.defaultProResProfile ?? null,
11865
+ defaultSampleRate: calculatedProm.defaultSampleRate ?? null
11857
11866
  };
11858
11867
  };
11859
11868
  var resolveVideoConfigOrCatch = (params) => {
@@ -6515,7 +6515,8 @@ var useResolvedVideoConfig = (preferredCompositionId) => {
6515
6515
  defaultOutName: null,
6516
6516
  defaultVideoImageFormat: null,
6517
6517
  defaultPixelFormat: null,
6518
- defaultProResProfile: null
6518
+ defaultProResProfile: null,
6519
+ defaultSampleRate: null
6519
6520
  }
6520
6521
  };
6521
6522
  }
@@ -6989,7 +6990,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
6989
6990
  var addSequenceStackTraces = (component) => {
6990
6991
  componentsToAddStacksTo.push(component);
6991
6992
  };
6992
- var VERSION = "4.0.447";
6993
+ var VERSION = "4.0.448";
6993
6994
  var checkMultipleRemotionVersions = () => {
6994
6995
  if (typeof globalThis === "undefined") {
6995
6996
  return;
@@ -7228,7 +7229,8 @@ var useUnsafeVideoConfig = () => {
7228
7229
  defaultOutName,
7229
7230
  defaultVideoImageFormat,
7230
7231
  defaultPixelFormat,
7231
- defaultProResProfile
7232
+ defaultProResProfile,
7233
+ defaultSampleRate
7232
7234
  } = video;
7233
7235
  return {
7234
7236
  id,
@@ -7242,7 +7244,8 @@ var useUnsafeVideoConfig = () => {
7242
7244
  defaultOutName,
7243
7245
  defaultVideoImageFormat,
7244
7246
  defaultPixelFormat,
7245
- defaultProResProfile
7247
+ defaultProResProfile,
7248
+ defaultSampleRate
7246
7249
  };
7247
7250
  }, [ctxDuration, ctxHeight, ctxWidth, video]);
7248
7251
  };
@@ -11576,6 +11579,7 @@ var validateCalculated = ({
11576
11579
  const defaultVideoImageFormat = calculated?.defaultVideoImageFormat;
11577
11580
  const defaultPixelFormat = calculated?.defaultPixelFormat;
11578
11581
  const defaultProResProfile = calculated?.defaultProResProfile;
11582
+ const defaultSampleRate = calculated?.defaultSampleRate;
11579
11583
  return {
11580
11584
  width,
11581
11585
  height,
@@ -11585,7 +11589,8 @@ var validateCalculated = ({
11585
11589
  defaultOutName,
11586
11590
  defaultVideoImageFormat,
11587
11591
  defaultPixelFormat,
11588
- defaultProResProfile
11592
+ defaultProResProfile,
11593
+ defaultSampleRate
11589
11594
  };
11590
11595
  };
11591
11596
  var resolveVideoConfig = ({
@@ -11617,7 +11622,8 @@ var resolveVideoConfig = ({
11617
11622
  defaultOutName,
11618
11623
  defaultVideoImageFormat,
11619
11624
  defaultPixelFormat,
11620
- defaultProResProfile
11625
+ defaultProResProfile,
11626
+ defaultSampleRate
11621
11627
  } = validateCalculated({
11622
11628
  calculated: c2,
11623
11629
  compositionDurationInFrames,
@@ -11638,7 +11644,8 @@ var resolveVideoConfig = ({
11638
11644
  defaultOutName: defaultOutName ?? null,
11639
11645
  defaultVideoImageFormat: defaultVideoImageFormat ?? null,
11640
11646
  defaultPixelFormat: defaultPixelFormat ?? null,
11641
- defaultProResProfile: defaultProResProfile ?? null
11647
+ defaultProResProfile: defaultProResProfile ?? null,
11648
+ defaultSampleRate: defaultSampleRate ?? null
11642
11649
  };
11643
11650
  });
11644
11651
  }
@@ -11660,7 +11667,8 @@ var resolveVideoConfig = ({
11660
11667
  defaultOutName: null,
11661
11668
  defaultVideoImageFormat: null,
11662
11669
  defaultPixelFormat: null,
11663
- defaultProResProfile: null
11670
+ defaultProResProfile: null,
11671
+ defaultSampleRate: null
11664
11672
  };
11665
11673
  }
11666
11674
  return {
@@ -11672,7 +11680,8 @@ var resolveVideoConfig = ({
11672
11680
  defaultOutName: calculatedProm.defaultOutName ?? null,
11673
11681
  defaultVideoImageFormat: calculatedProm.defaultVideoImageFormat ?? null,
11674
11682
  defaultPixelFormat: calculatedProm.defaultPixelFormat ?? null,
11675
- defaultProResProfile: calculatedProm.defaultProResProfile ?? null
11683
+ defaultProResProfile: calculatedProm.defaultProResProfile ?? null,
11684
+ defaultSampleRate: calculatedProm.defaultSampleRate ?? null
11676
11685
  };
11677
11686
  };
11678
11687
  var resolveVideoConfigOrCatch = (params) => {
package/dist/templates.js CHANGED
@@ -6515,7 +6515,8 @@ var useResolvedVideoConfig = (preferredCompositionId) => {
6515
6515
  defaultOutName: null,
6516
6516
  defaultVideoImageFormat: null,
6517
6517
  defaultPixelFormat: null,
6518
- defaultProResProfile: null
6518
+ defaultProResProfile: null,
6519
+ defaultSampleRate: null
6519
6520
  }
6520
6521
  };
6521
6522
  }
@@ -6989,7 +6990,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
6989
6990
  var addSequenceStackTraces = (component) => {
6990
6991
  componentsToAddStacksTo.push(component);
6991
6992
  };
6992
- var VERSION = "4.0.447";
6993
+ var VERSION = "4.0.448";
6993
6994
  var checkMultipleRemotionVersions = () => {
6994
6995
  if (typeof globalThis === "undefined") {
6995
6996
  return;
@@ -7228,7 +7229,8 @@ var useUnsafeVideoConfig = () => {
7228
7229
  defaultOutName,
7229
7230
  defaultVideoImageFormat,
7230
7231
  defaultPixelFormat,
7231
- defaultProResProfile
7232
+ defaultProResProfile,
7233
+ defaultSampleRate
7232
7234
  } = video;
7233
7235
  return {
7234
7236
  id,
@@ -7242,7 +7244,8 @@ var useUnsafeVideoConfig = () => {
7242
7244
  defaultOutName,
7243
7245
  defaultVideoImageFormat,
7244
7246
  defaultPixelFormat,
7245
- defaultProResProfile
7247
+ defaultProResProfile,
7248
+ defaultSampleRate
7246
7249
  };
7247
7250
  }, [ctxDuration, ctxHeight, ctxWidth, video]);
7248
7251
  };
@@ -11576,6 +11579,7 @@ var validateCalculated = ({
11576
11579
  const defaultVideoImageFormat = calculated?.defaultVideoImageFormat;
11577
11580
  const defaultPixelFormat = calculated?.defaultPixelFormat;
11578
11581
  const defaultProResProfile = calculated?.defaultProResProfile;
11582
+ const defaultSampleRate = calculated?.defaultSampleRate;
11579
11583
  return {
11580
11584
  width,
11581
11585
  height,
@@ -11585,7 +11589,8 @@ var validateCalculated = ({
11585
11589
  defaultOutName,
11586
11590
  defaultVideoImageFormat,
11587
11591
  defaultPixelFormat,
11588
- defaultProResProfile
11592
+ defaultProResProfile,
11593
+ defaultSampleRate
11589
11594
  };
11590
11595
  };
11591
11596
  var resolveVideoConfig = ({
@@ -11617,7 +11622,8 @@ var resolveVideoConfig = ({
11617
11622
  defaultOutName,
11618
11623
  defaultVideoImageFormat,
11619
11624
  defaultPixelFormat,
11620
- defaultProResProfile
11625
+ defaultProResProfile,
11626
+ defaultSampleRate
11621
11627
  } = validateCalculated({
11622
11628
  calculated: c2,
11623
11629
  compositionDurationInFrames,
@@ -11638,7 +11644,8 @@ var resolveVideoConfig = ({
11638
11644
  defaultOutName: defaultOutName ?? null,
11639
11645
  defaultVideoImageFormat: defaultVideoImageFormat ?? null,
11640
11646
  defaultPixelFormat: defaultPixelFormat ?? null,
11641
- defaultProResProfile: defaultProResProfile ?? null
11647
+ defaultProResProfile: defaultProResProfile ?? null,
11648
+ defaultSampleRate: defaultSampleRate ?? null
11642
11649
  };
11643
11650
  });
11644
11651
  }
@@ -11660,7 +11667,8 @@ var resolveVideoConfig = ({
11660
11667
  defaultOutName: null,
11661
11668
  defaultVideoImageFormat: null,
11662
11669
  defaultPixelFormat: null,
11663
- defaultProResProfile: null
11670
+ defaultProResProfile: null,
11671
+ defaultSampleRate: null
11664
11672
  };
11665
11673
  }
11666
11674
  return {
@@ -11672,7 +11680,8 @@ var resolveVideoConfig = ({
11672
11680
  defaultOutName: calculatedProm.defaultOutName ?? null,
11673
11681
  defaultVideoImageFormat: calculatedProm.defaultVideoImageFormat ?? null,
11674
11682
  defaultPixelFormat: calculatedProm.defaultPixelFormat ?? null,
11675
- defaultProResProfile: calculatedProm.defaultProResProfile ?? null
11683
+ defaultProResProfile: calculatedProm.defaultProResProfile ?? null,
11684
+ defaultSampleRate: calculatedProm.defaultSampleRate ?? null
11676
11685
  };
11677
11686
  };
11678
11687
  var resolveVideoConfigOrCatch = (params) => {
@@ -20068,6 +20077,7 @@ var listOfRemotionPackages = [
20068
20077
  "@remotion/bundler",
20069
20078
  "@remotion/cli",
20070
20079
  "@remotion/cloudrun",
20080
+ "@remotion/codex-plugin",
20071
20081
  "@remotion/compositor-darwin-arm64",
20072
20082
  "@remotion/compositor-darwin-x64",
20073
20083
  "@remotion/compositor-linux-arm64-gnu",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/promo-pages",
3
- "version": "4.0.447",
3
+ "version": "4.0.448",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -11,19 +11,19 @@
11
11
  },
12
12
  "type": "module",
13
13
  "dependencies": {
14
- "@remotion/animated-emoji": "4.0.447",
15
- "@remotion/design": "4.0.447",
16
- "@remotion/web-renderer": "4.0.447",
17
- "@remotion/lottie": "4.0.447",
18
- "@remotion/paths": "4.0.447",
19
- "@remotion/player": "4.0.447",
20
- "@remotion/shapes": "4.0.447",
21
- "@remotion/media": "4.0.447",
22
- "@remotion/svg-3d-engine": "4.0.447",
23
- "create-video": "4.0.447",
14
+ "@remotion/animated-emoji": "4.0.448",
15
+ "@remotion/design": "4.0.448",
16
+ "@remotion/web-renderer": "4.0.448",
17
+ "@remotion/lottie": "4.0.448",
18
+ "@remotion/paths": "4.0.448",
19
+ "@remotion/player": "4.0.448",
20
+ "@remotion/shapes": "4.0.448",
21
+ "@remotion/media": "4.0.448",
22
+ "@remotion/svg-3d-engine": "4.0.448",
23
+ "create-video": "4.0.448",
24
24
  "hls.js": "1.5.19",
25
25
  "polished": "4.3.1",
26
- "remotion": "4.0.447",
26
+ "remotion": "4.0.448",
27
27
  "zod": "4.3.6",
28
28
  "@mux/upchunk": "^3.5.0",
29
29
  "@vidstack/react": "1.12.13",
@@ -34,7 +34,7 @@
34
34
  "@mediabunny/mp3-encoder": "1.39.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@remotion/eslint-config-internal": "4.0.447",
37
+ "@remotion/eslint-config-internal": "4.0.448",
38
38
  "@eslint/eslintrc": "3.1.0",
39
39
  "@types/react": "19.2.7",
40
40
  "@types/react-dom": "19.2.3",