🎥 Make videos programmatically with React
chore: reference function signature descriptions from @remotion/ through @remotion/media-utils: useAudioData()
kaf-lamed-beyt93f9e2276ace
diff --git a/packages/bundler/src/bundle.ts b/packages/bundler/src/bundle.tsindex afdc3e18dc..5e5d5075a7 100644--- a/packages/bundler/src/bundle.ts+++ b/packages/bundler/src/bundle.ts@@ -148,7 +148,7 @@ const validateEntryPoint = async (entryPoint: string) => {};/**- * the method bundles a Remotion project using Webpack and prepares it for rendering using renderMedia()+ * @description The method bundles a Remotion project using Webpack and prepares it for rendering using renderMedia()* @see [Documentation](https://www.remotion.dev/docs/bundle)*/export async function bundle(...args: Arguments): Promise<string> {diff --git a/packages/cli/src/get-input-props.ts b/packages/cli/src/get-input-props.tsindex cf15ad1177..2378c07f1f 100644--- a/packages/cli/src/get-input-props.ts+++ b/packages/cli/src/get-input-props.ts@@ -5,7 +5,7 @@ import {Log} from './log';import {parsedCli} from './parse-command-line';/**- * You ca retrieve inputs that you pass in, from the command line using --props, or the inputProps parameter if you're using the Node.js API+ * @description You can retrieve inputs that you pass in, from the command line using --props, or the inputProps parameter if you're using the Node.js API* @see [Documentation](https://www.remotion.dev/docs/get-input-props)*/export const getInputProps = (onUpdate: (newProps: object) => void): object => {diff --git a/packages/core/src/AbsoluteFill.tsx b/packages/core/src/AbsoluteFill.tsxindex 2d8191043d..723cb79694 100644--- a/packages/core/src/AbsoluteFill.tsx+++ b/packages/core/src/AbsoluteFill.tsx@@ -24,7 +24,7 @@ const AbsoluteFillRefForwarding: React.ForwardRefRenderFunction<};/**- * An absolutely positioned <div> element with 100% width, height, and a column flex style+ * @description An absolutely positioned <div> element with 100% width, height, and a column flex style* @see [Documentation](https://www.remotion.dev/docs/absolute-fill)*/diff --git a/packages/core/src/Composition.tsx b/packages/core/src/Composition.tsxindex 4edda2ae2c..469c5d85f9 100644--- a/packages/core/src/Composition.tsx+++ b/packages/core/src/Composition.tsx@@ -51,7 +51,7 @@ const Fallback: React.FC = () => {};/**- * This component is used to register a video to make it renderable and make it show in the sidebar, in dev mode.+ * @description This component is used to register a video to make it renderable and make it show in the sidebar, in dev mode.* @see [Documentation](https://www.remotion.dev/docs/composition)*/diff --git a/packages/core/src/Folder.tsx b/packages/core/src/Folder.tsxindex 1706f1593c..9e6efb49cb 100644--- a/packages/core/src/Folder.tsx+++ b/packages/core/src/Folder.tsx@@ -20,7 +20,7 @@ export const FolderContext = createContext<FolderContextType>({});/**- * By wrapping a <Composition /> inside a <Folder />, you can visually categorize it in your sidebar, should you have many compositions.+ * @description By wrapping a <Composition /> inside a <Folder />, you can visually categorize it in your sidebar, should you have many compositions.* @see [Documentation](https://www.remotion.dev/docs/folder)*/export const Folder: FC<{name: string; children: React.ReactNode}> = ({diff --git a/packages/core/src/IFrame.tsx b/packages/core/src/IFrame.tsxindex e4ce5bb87d..82db28bec7 100644--- a/packages/core/src/IFrame.tsx+++ b/packages/core/src/IFrame.tsx@@ -40,7 +40,7 @@ const IFrameRefForwarding: React.ForwardRefRenderFunction<};/**- * The <IFrame /> can be used like a regular <iframe> HTML tag.+ * @description The <IFrame /> can be used like a regular <iframe> HTML tag.* @see [Documentation](https://www.remotion.dev/docs/iframe)*/export const IFrame = forwardRef(IFrameRefForwarding);diff --git a/packages/core/src/Img.tsx b/packages/core/src/Img.tsxindex b16475d867..94365c97ca 100644--- a/packages/core/src/Img.tsx+++ b/packages/core/src/Img.tsx@@ -81,7 +81,7 @@ const ImgRefForwarding: React.ForwardRefRenderFunction<};/**- * Works just like a regular HTML img tag. When you use the <Img> tag, Remotion will ensure that the image is loaded before rendering the frame.+ * @description Works just like a regular HTML img tag. When you use the <Img> tag, Remotion will ensure that the image is loaded before rendering the frame.* @see [Documentation](https://www.remotion.dev/docs/img)*/export const Img = forwardRef(ImgRefForwarding);diff --git a/packages/core/src/Sequence.tsx b/packages/core/src/Sequence.tsxindex 6e7d6dcff4..5721ec5eef 100644--- a/packages/core/src/Sequence.tsx+++ b/packages/core/src/Sequence.tsx@@ -223,7 +223,7 @@ const SequenceRefForwardingFunction: React.ForwardRefRenderFunction<};/**- * A component that time-shifts its children and wraps them in an absolutely positioned <div>.+ * @description A component that time-shifts its children and wraps them in an absolutely positioned <div>.* @see [Documentation](https://www.remotion.dev/docs/sequence]*/export const Sequence = forwardRef(SequenceRefForwardingFunction);diff --git a/packages/core/src/Still.tsx b/packages/core/src/Still.tsxindex e8c19912ef..51b0ed0179 100644--- a/packages/core/src/Still.tsx+++ b/packages/core/src/Still.tsx@@ -2,7 +2,7 @@ import type {StillProps} from './Composition.js';import {Composition} from './Composition.js';/**- * A <Still /> is a <Composition /> that is only 1 frame long.+ * @description A <Still /> is a <Composition /> that is only 1 frame long.* @see [Documentation](https://www.remotion.dev/docs/still)*/diff --git a/packages/core/src/audio/Audio.tsx b/packages/core/src/audio/Audio.tsxindex 52ceb67ea6..01cd910490 100644--- a/packages/core/src/audio/Audio.tsx+++ b/packages/core/src/audio/Audio.tsx@@ -104,7 +104,7 @@ const AudioRefForwardingFunction: React.ForwardRefRenderFunction<};/**- * With this component, you can add audio to your video. All audio formats which are supported by Chromium are supported by the component.+ * @description With this component, you can add audio to your video. All audio formats which are supported by Chromium are supported by the component.* @see [Documentation](https://www.remotion.dev/docs/audio)*/export const Audio = forwardRef(AudioRefForwardingFunction);diff --git a/packages/core/src/cancel-render.ts b/packages/core/src/cancel-render.tsindex d5f9874046..40e6698412 100644--- a/packages/core/src/cancel-render.ts+++ b/packages/core/src/cancel-render.ts@@ -31,7 +31,7 @@ const isErrorLike = (err: unknown): boolean => {};/**- * When you invoke this function, Remotion will stop rendering all the frames without any retries+ * @description When you invoke this function, Remotion will stop rendering all the frames without any retries* @see [Documentation](https://www.remotion.dev/docs/cancel-render)*/export function cancelRender(err: unknown): never {diff --git a/packages/core/src/delay-render.ts b/packages/core/src/delay-render.tsindex 007f2e7ed2..2cab2225d6 100644--- a/packages/core/src/delay-render.ts+++ b/packages/core/src/delay-render.ts@@ -12,7 +12,7 @@ export const DELAY_RENDER_CALLSTACK_TOKEN = 'The delayRender was called:';const defaultTimeout = 30000;/**- * Call this function to tell Remotion to wait before capturing this frame until data has loaded. Use continueRender() to unblock the render.+ * @description Call this function to tell Remotion to wait before capturing this frame until data has loaded. Use continueRender() to unblock the render.* @param label _optional_ A label to identify the call in case it does time out.* @returns {number} An identifier to be passed to continueRender().* @see [Documentation](https://www.remotion.dev/docs/delay-render)@@ -57,7 +57,7 @@ export const delayRender = (label?: string): number => {};/**- * Unblock a render that has been blocked by delayRender()+ * @description Unblock a render that has been blocked by delayRender()* @param handle The return value of delayRender().* @see [Documentation](https://www.remotion.dev/docs/continue-render)*/diff --git a/packages/core/src/easing.ts b/packages/core/src/easing.tsindex 95ee259336..4b96a6499c 100644--- a/packages/core/src/easing.ts+++ b/packages/core/src/easing.ts@@ -3,7 +3,7 @@import {bezier} from './bezier.js';/**- * The Easing module implements common easing functions. You can use it with the interpolate() API.+ * @description The Easing module implements common easing functions. You can use it with the interpolate() API.* @see [Documentation](https://www.remotion.dev/docs/easing)*/export class Easing {diff --git a/packages/core/src/freeze.tsx b/packages/core/src/freeze.tsxindex 7d8b2bf0b0..ae7d588f5d 100644--- a/packages/core/src/freeze.tsx+++ b/packages/core/src/freeze.tsx@@ -9,7 +9,7 @@ type FreezeProps = {};/**- * This method freezes all of its children to the frame that you specify as a prop+ * @description This method freezes all of its children to the frame that you specify as a prop* @see [Documentation](https://www.remotion.dev/docs/freeze)*/export const Freeze: React.FC<FreezeProps> = ({frame, children}) => {diff --git a/packages/core/src/get-static-files.ts b/packages/core/src/get-static-files.tsindex efbdf610a5..84018a6769 100644--- a/packages/core/src/get-static-files.ts+++ b/packages/core/src/get-static-files.ts@@ -24,7 +24,7 @@ const warnPlayerOnce = () => {};/**- * The function array containing all files in the public/ folder. You can reference them by using staticFile().+ * @description The function array containing all files in the public/ folder. You can reference them by using staticFile().* @see [Documentation](https://www.remotion.dev/docs/getstaticfiles)*/export const getStaticFiles = (): StaticFile[] => {diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex b0bb7b0a5d..d784e3b86a 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -95,12 +95,12 @@ export * from './video-config.js';export const Experimental = {/**- * This is a special component that will cause Remotion to only partially capture the frame of the video.+ * @description This is a special component that will cause Remotion to only partially capture the frame of the video.* @see [Documentation](https://www.remotion.dev/docs/clipper)*/Clipper,/**- * This is a special component, that, when rendered, will skip rendering the frame altogether.+ * @description This is a special component, that, when rendered, will skip rendering the frame altogether.* @see [Documentation](https://www.remotion.dev/docs/null)*/Null,diff --git a/packages/core/src/interpolate-colors.ts b/packages/core/src/interpolate-colors.tsindex abcddcf55a..941bf823d3 100644--- a/packages/core/src/interpolate-colors.ts+++ b/packages/core/src/interpolate-colors.ts@@ -473,7 +473,7 @@ const interpolateColorsRGB = (};/**- * This function allows you to map a range of values to colors using a concise syntax.+ * @description This function allows you to map a range of values to colors using a concise syntax.* @see [Documentation](https://www.remotion.dev/docs/interpolate-colors)*/export const interpolateColors = (diff --git a/packages/core/src/interpolate.ts b/packages/core/src/interpolate.tsindex ffaa3466d3..670261a0e4 100644--- a/packages/core/src/interpolate.ts+++ b/packages/core/src/interpolate.ts@@ -3,7 +3,7 @@type ExtrapolateType = 'extend' | 'identity' | 'clamp';/**- * This function allows you to map a range of values to another with a conside syntax+ * @description This function allows you to map a range of values to another with a conside syntax* @see [Documentation](https://www.remotion.dev/docs/interpolate)*/diff --git a/packages/core/src/loop/index.tsx b/packages/core/src/loop/index.tsxindex 2bf3bf3fb4..d1b631e0ad 100644--- a/packages/core/src/loop/index.tsx+++ b/packages/core/src/loop/index.tsx@@ -14,7 +14,7 @@ export type LoopProps = {} & LayoutAndStyle;/**- * This component allows you to quickly lay out an animation so it repeats itself.+ * @description This component allows you to quickly lay out an animation so it repeats itself.* @see [Documentation](https://www.remotion.dev/docs/loop)*/export const Loop: React.FC<LoopProps> = ({diff --git a/packages/core/src/prefetch.ts b/packages/core/src/prefetch.tsindex 30b4679e8d..1685ce1ab1 100644--- a/packages/core/src/prefetch.ts+++ b/packages/core/src/prefetch.ts@@ -31,7 +31,7 @@ const blobToBase64 = function (blob: Blob): Promise<string> {};/**- * When you call the preFetch() function, an asset will be fetched and kept in memory so it is ready when you want to play it in a <Player>.+ * @description When you call the preFetch() function, an asset will be fetched and kept in memory so it is ready when you want to play it in a <Player>.* @see [Documentation](https://www.remotion.dev/docs/prefetch)*/export const prefetch = (diff --git a/packages/core/src/random.ts b/packages/core/src/random.tsindex 53b1834fd2..024b3b8021 100644--- a/packages/core/src/random.ts+++ b/packages/core/src/random.ts@@ -23,8 +23,7 @@ function hashCode(str: string) {export type RandomSeed = number | string | null;/**- * A deterministic pseudo-random number generator.- * Pass in the same seed and get the same pseudorandom number.+ * @description A deterministic pseudo-random number generator. Pass in the same seed and get the same pseudorandom number.* @see [Documentation](https://remotion.dev/docs/random)*/export const random = (seed: RandomSeed, dummy?: unknown) => {diff --git a/packages/core/src/register-root.ts b/packages/core/src/register-root.tsindex fe0bea7a30..f38b5fe205 100644--- a/packages/core/src/register-root.ts+++ b/packages/core/src/register-root.ts@@ -5,7 +5,7 @@ let Root: React.FC | null = null;let listeners: ((comp: React.FC) => void)[] = [];/**- * This function registers the root component of the Remotion project+ * @description This function registers the root component of the Remotion project* @see [Documentation](https://www.remotion.dev/docs/register-root)*/export const registerRoot = (comp: React.FC) => {diff --git a/packages/core/src/series/index.tsx b/packages/core/src/series/index.tsxindex 7092247318..d4fcd732f3 100644--- a/packages/core/src/series/index.tsx+++ b/packages/core/src/series/index.tsx@@ -26,7 +26,7 @@ const SeriesSequenceRefForwardingFunction: React.ForwardRefRenderFunction<const SeriesSequence = forwardRef(SeriesSequenceRefForwardingFunction);/**- * with this component, you can easily stitch together scenes that should play sequentially after another.+ * @description with this component, you can easily stitch together scenes that should play sequentially after another.* @see [Documentation](https://www.remotion.dev/docs/series)*/const Series: FC<{diff --git a/packages/core/src/spring/index.ts b/packages/core/src/spring/index.tsindex a6997a2c10..d976597f7b 100644--- a/packages/core/src/spring/index.ts+++ b/packages/core/src/spring/index.ts@@ -6,7 +6,7 @@ import type {SpringConfig} from './spring-utils.js';import {springCalculation} from './spring-utils.js';/**- * Calculates a position based on physical parameters, start and end value, and time.+ * @description Calculates a position based on physical parameters, start and end value, and time.* @see [Documentation](https://www.remotion.dev/docs/spring)* @param {number} frame The current time value. Most of the time you want to pass in the return value of useCurrentFrame.* @param {number} fps The framerate at which the animation runs. Pass in the value obtained by `useVideoConfig()`.diff --git a/packages/core/src/spring/measure-spring.ts b/packages/core/src/spring/measure-spring.tsindex 2e0a708843..14d7f318dd 100644--- a/packages/core/src/spring/measure-spring.ts+++ b/packages/core/src/spring/measure-spring.ts@@ -3,7 +3,7 @@ import type {SpringConfig} from './spring-utils.js';import {springCalculation} from './spring-utils.js';/**- * The function returns how long it takes for a spring animation to settle+ * @description The function returns how long it takes for a spring animation to settle* @see [Documentation](https://www.remotion.dev/docs/measure-spring)*/export function measureSpring({diff --git a/packages/core/src/use-current-frame.ts b/packages/core/src/use-current-frame.tsindex cb6fe46a1d..3bce1555c3 100644--- a/packages/core/src/use-current-frame.ts+++ b/packages/core/src/use-current-frame.ts@@ -4,8 +4,7 @@ import {SequenceContext} from './Sequence.js';import {useTimelinePosition} from './timeline-position-state.js';/**- * Get the current frame of the video.- * Frames are 0-indexed, meaning the first frame is 0, the last frame is the duration of the composition in frames minus one.+ * @description Get the current frame of the video. Frames are 0-indexed, meaning the first frame is 0, the last frame is the duration of the composition in frames minus one.* @see [Documentation](https://remotion.dev/docs/use-current-frame)*/export const useCurrentFrame = (): number => {diff --git a/packages/core/src/use-video-config.ts b/packages/core/src/use-video-config.tsindex 911e3fb963..974502b43f 100644--- a/packages/core/src/use-video-config.ts+++ b/packages/core/src/use-video-config.ts@@ -5,9 +5,10 @@ import {useUnsafeVideoConfig} from './use-unsafe-video-config.js';import type {VideoConfig} from './video-config.js';/**- * Get some info about the context of the video that you are making.- * Returns an object containing `fps`, `width`, `height` and `durationInFrames`, all of type `number`.+ * /**+ * @description Get some info about the context of the video that you are making.* @see [Documentation](https://www.remotion.dev/docs/use-video-config)+ * @returns Returns an object containing `fps`, `width`, `height` and `durationInFrames`, all of type `number`.*/export const useVideoConfig = (): VideoConfig => {const videoConfig = useUnsafeVideoConfig();diff --git a/packages/core/src/video/OffthreadVideo.tsx b/packages/core/src/video/OffthreadVideo.tsxindex 40895ed839..0ccef5f9a7 100644--- a/packages/core/src/video/OffthreadVideo.tsx+++ b/packages/core/src/video/OffthreadVideo.tsx@@ -9,7 +9,7 @@ import type {OffthreadVideoProps, RemotionMainVideoProps} from './props.js';import {VideoForDevelopment} from './VideoForDevelopment.js';/**- * This method imports and displays a video, similar to <Video />. During rendering, it extracts the exact frame from the video and displays it in an <img> tag+ * @description This method imports and displays a video, similar to <Video />. During rendering, it extracts the exact frame from the video and displays it in an <img> tag* @see [Documentation](https://www.remotion.dev/docs/offthreadvideo)*/export const OffthreadVideo: React.FC<diff --git a/packages/core/src/video/Video.tsx b/packages/core/src/video/Video.tsxindex 48a5b4b59f..fd55dbf4d9 100644--- a/packages/core/src/video/Video.tsx+++ b/packages/core/src/video/Video.tsx@@ -95,7 +95,7 @@ const forward = forwardRef as <T, P = {}>() => (props: P & React.RefAttributes<T>) => React.ReactElement | null;/**- * allows you to include a video file in your Remotion project. It wraps the native HTMLVideoElement.+ * @description allows you to include a video file in your Remotion project. It wraps the native HTMLVideoElement.* @see [Documentation](https://www.remotion.dev/docs/video)*/export const Video = forward(VideoForwardingFunction);diff --git a/packages/gif/src/Gif.tsx b/packages/gif/src/Gif.tsxindex 3c91d9c9e4..f78079ea79 100644--- a/packages/gif/src/Gif.tsx+++ b/packages/gif/src/Gif.tsx@@ -4,8 +4,7 @@ import {GifForRendering} from './GifForRendering';import type {RemotionGifProps} from './props';/**- * Displays a GIF that synchronizes with Remotions useCurrentFrame().- * part of @remotion/gif+ * @description Displays a GIF that synchronizes with Remotions useCurrentFrame().* @see [Documentation](https://www.remotion.dev/docs/gif/gif)*/export const Gif = (props: RemotionGifProps) => {diff --git a/packages/gif/src/get-gif-duration-in-seconds.ts b/packages/gif/src/get-gif-duration-in-seconds.tsindex 7b453cf1ff..8d1af1bb1d 100644--- a/packages/gif/src/get-gif-duration-in-seconds.ts+++ b/packages/gif/src/get-gif-duration-in-seconds.ts@@ -10,8 +10,7 @@ const calcDuration = (parsed: GifState) => {};/**- * Gets the duration in seconds of a GIF- * part of @remotion/gif+ * @description Gets the duration in seconds of a GIF* @see [Documentation](https://www.remotion.dev/docs/gif/get-gif-duration-in-seconds)*/export const getGifDurationInSeconds = async (src: string) => {diff --git a/packages/gif/src/preload-gif.ts b/packages/gif/src/preload-gif.tsindex 1878c838b4..4be76cd8a6 100644--- a/packages/gif/src/preload-gif.ts+++ b/packages/gif/src/preload-gif.ts@@ -3,8 +3,7 @@ import {parseWithWorker} from './react-tools';import {resolveGifSource} from './resolve-gif-source';/**- * Returns an object with two entries: waitUntilDone() that returns a Promise which can be awaited and free() which will cancel preloading or free up the memory if the GIF is not being used anymore.- * part of @remotion/gif+ * @description Returns an object with two entries: waitUntilDone() that returns a Promise which can be awaited and free() which will cancel preloading or free up the memory if the GIF is not being used anymore.* @see [Documentation](https://www.remotion.dev/docs/gif/preload-gif)*/export const preloadGif = (diff --git a/packages/media-utils/src/audio-buffer/audio-url-helpers.ts b/packages/media-utils/src/audio-buffer/audio-url-helpers.tsindex 39a2936a2d..1b313168be 100644--- a/packages/media-utils/src/audio-buffer/audio-url-helpers.ts+++ b/packages/media-utils/src/audio-buffer/audio-url-helpers.ts@@ -1,8 +1,7 @@import {audioBufferToWav} from './audio-buffer-to-wav';/**- * This API takes an AudioBuffer instance and converts it to a Base 64 Data URL so it can be passed to an <Audio /> tag.- * part of @remotion/media-utils+ * @description This API takes an AudioBuffer instance and converts it to a Base 64 Data URL so it can be passed to an <Audio /> tag.* @see [Documentation](https://www.remotion.dev/docs/audio-buffer-to-data-url)*/export const audioBufferToDataUrl = (buffer: AudioBuffer) => {diff --git a/packages/media-utils/src/get-audio-data.ts b/packages/media-utils/src/get-audio-data.tsindex 41874834f9..88e94b492b 100644--- a/packages/media-utils/src/get-audio-data.ts+++ b/packages/media-utils/src/get-audio-data.ts@@ -67,8 +67,7 @@ const fn = async (src: string): Promise<AudioData> => {};/**- * Takes an audio src, loads it and returns data and metadata for the specified source.- * part of @remotion/media-utils+ * @description Takes an audio src, loads it and returns data and metadata for the specified source.* @see [Documentation](https://www.remotion.dev/docs/get-audio-data)*/export const getAudioData = (src: string) => {diff --git a/packages/media-utils/src/get-audio-duration-in-seconds.ts b/packages/media-utils/src/get-audio-duration-in-seconds.tsindex cb5b462064..73d849c163 100644--- a/packages/media-utils/src/get-audio-duration-in-seconds.ts+++ b/packages/media-utils/src/get-audio-duration-in-seconds.ts@@ -39,7 +39,7 @@ const fn = (src: string): Promise<number> => {};/**- * Get the audio file passed in parameter duration in seconds+ * @default Get the audio file passed in parameter duration in seconds* @async* @param src path to the audio file* @return {number} duration of the audio file in secondsdiff --git a/packages/media-utils/src/get-video-metadata.ts b/packages/media-utils/src/get-video-metadata.tsindex 2d46b6e3ae..d94a0eea76 100644--- a/packages/media-utils/src/get-video-metadata.ts+++ b/packages/media-utils/src/get-video-metadata.ts@@ -56,8 +56,7 @@ const fn = (src: string): Promise<VideoMetadata> => {};/**- * Takes a src to a video, loads it and returns metadata for the specified source.- * part of @remotion/media-utils+ * @description Takes a src to a video, loads it and returns metadata for the specified source.* @see [Documentation](https://www.remotion.dev/docs/get-video-metadata)*/export const getVideoMetadata = (src: string) => {diff --git a/packages/media-utils/src/get-waveform-portion.ts b/packages/media-utils/src/get-waveform-portion.tsindex 7460c61c92..56f9e71e69 100644--- a/packages/media-utils/src/get-waveform-portion.ts+++ b/packages/media-utils/src/get-waveform-portion.ts@@ -7,8 +7,7 @@ type Bar = {};/**- * Takes bulky waveform data (for example fetched by getAudioData()) and returns a trimmed and simplified version of it, for simpler visualization.- * part of @remotion/media-utils+ * @description Takes bulky waveform data (for example fetched by getAudioData()) and returns a trimmed and simplified version of it, for simpler visualization* @see [Documentation](https://www.remotion.dev/docs/get-waveform-portion)*/export const getWaveformPortion = ({diff --git a/packages/media-utils/src/use-audio-data.ts b/packages/media-utils/src/use-audio-data.tsindex ef4a9a8c0f..0ab423a697 100644--- a/packages/media-utils/src/use-audio-data.ts+++ b/packages/media-utils/src/use-audio-data.ts@@ -4,10 +4,10 @@ import {getAudioData} from './get-audio-data';import type {AudioData} from './types';/**- * Wraps the getAudioData() function into a hook and does 3 things:- * Keeps the audio data in a state- * Wraps the function in a delayRender() / continueRender() pattern.- * Handles the case where the component gets unmounted while the fetching is in progress and a React error is thrown.+ * @description Wraps the getAudioData() function into a hook and does 3 things:+ * @description Keeps the audio data in a state+ * @description Wraps the function in a delayRender() / continueRender() pattern.+ * @description Handles the case where the component gets unmounted while the fetching is in progress and a React error is thrown.* @see [Documentation](https://www.remotion.dev/docs/use-audio-data)*/export const useAudioData = (src: string): AudioData | null => {diff --git a/packages/player/src/Player.tsx b/packages/player/src/Player.tsxindex 4b714e1f13..96501860e5 100644--- a/packages/player/src/Player.tsx+++ b/packages/player/src/Player.tsx@@ -371,7 +371,7 @@ const forward = forwardRef as <T, P = {}>() => (props: P & React.RefAttributes<T>) => React.ReactElement | null;/**- * A component which can be rendered in a regular React App (for example: Create React App, Next.js) to display a Remotion video.+ * @description A component which can be rendered in a regular React App (for example: Create React App, Next.js) to display a Remotion video.* @see [Documentation](https://www.remotion.dev/docs/player/player)*/export const Player = forward(PlayerFn);diff --git a/packages/player/src/Thumbnail.tsx b/packages/player/src/Thumbnail.tsxindex 9c84e081fd..88ff7a79fe 100644--- a/packages/player/src/Thumbnail.tsx+++ b/packages/player/src/Thumbnail.tsx@@ -116,7 +116,7 @@ const forward = forwardRef as <T, P = {}>() => (props: P & React.RefAttributes<T>) => React.ReactElement | null;/**- * A component which can be rendered in a regular React App (for example: Create React App, Next.js) to display a single frame of a video.+ * @description A component which can be rendered in a regular React App (for example: Create React App, Next.js) to display a single frame of a video.* @see [Documentation](https://www.remotion.dev/docs/player/thumbnail)*/diff --git a/packages/renderer/src/ensure-ffmpeg.ts b/packages/renderer/src/ensure-ffmpeg.tsindex 921bf4043b..e5ae5a2f88 100644--- a/packages/renderer/src/ensure-ffmpeg.ts+++ b/packages/renderer/src/ensure-ffmpeg.ts@@ -64,8 +64,7 @@ const ensureFfmpegOrFfprobe = async (};/**- * Checks if the ffmpeg binary is installed and if it is not, downloads it and puts it into your node_modules folder.- * part of @remotion/renderer+ * @description Checks if the ffmpeg binary is installed and if it is not, downloads it and puts it into your node_modules folder.* @see [Documentation](https://www.remotion.dev/docs/renderer/ensure-ffmpeg)*/export const ensureFfmpeg = (options?: EnsureFfmpegOptions) => {@@ -73,8 +72,7 @@ export const ensureFfmpeg = (options?: EnsureFfmpegOptions) => {};/**- * Checks if the ffprobe binary is installed and if it is not, downloads it and puts it into your node_modules folder.- * part of @remotion/renderer+ * @description Checks if the ffprobe binary is installed and if it is not, downloads it and puts it into your node_modules folder.* @see [Documentation](https://www.remotion.dev/docs/renderer/ensure-ffprobe)*/export const ensureFfprobe = (options?: EnsureFfmpegOptions) => {diff --git a/packages/renderer/src/get-can-extract-frames-fast.ts b/packages/renderer/src/get-can-extract-frames-fast.tsindex 2838d3b336..7e8105e882 100644--- a/packages/renderer/src/get-can-extract-frames-fast.ts+++ b/packages/renderer/src/get-can-extract-frames-fast.ts@@ -9,8 +9,7 @@ import {tryToExtractFrameOfVideoFast} from './try-to-extract-frame-of-video-fastexport const ACCEPTABLE_OFFSET_THRESHOLD = 50;/**- * Probes whether frames of a video can be efficiently extracted when using <OffthreadVideo>.- * part of @remotion/renderer+ * @description Probes whether frames of a video can be efficiently extracted when using <OffthreadVideo>.* @see [Documentation](https://www.remotion.dev/docs/renderer/get-can-extract-frames-fast)*/export const getCanExtractFramesFast = async ({diff --git a/packages/renderer/src/get-compositions.ts b/packages/renderer/src/get-compositions.tsindex 4278965c45..1848233ebf 100644--- a/packages/renderer/src/get-compositions.ts+++ b/packages/renderer/src/get-compositions.ts@@ -90,8 +90,7 @@ const innerGetCompositions = async (};/**- * Gets the compositions defined in a Remotion project based on a webpack bundle.- * part of @remotion/renderer+ * @description Gets the compositions defined in a Remotion project based on a webpack bundle. part of @remotion/renderer* @see [Documentation](https://www.remotion.dev/docs/renderer/get-compositions)*/export const getCompositions = async (diff --git a/packages/renderer/src/make-cancel-signal.ts b/packages/renderer/src/make-cancel-signal.tsindex 860bdb2790..79488cc59b 100644--- a/packages/renderer/src/make-cancel-signal.ts+++ b/packages/renderer/src/make-cancel-signal.ts@@ -3,8 +3,7 @@ type Callback = () => void;export type CancelSignal = (callback: Callback) => void;/**- * Returns a signal and a cancel function that allows to you cancel a render triggered using renderMedia(), renderStill(), renderFrames() or stitchFramesToVideo() .- * part of @remotion/renderer+ * @description Returns a signal and a cancel function that allows to you cancel a render triggered using renderMedia(), renderStill(), renderFrames() or stitchFramesToVideo().* @see [Documentation](https://www.remotion.dev/docs/renderer/make-cancel-signal)*/export const makeCancelSignal = (): {diff --git a/packages/renderer/src/open-browser.ts b/packages/renderer/src/open-browser.tsindex f335746537..269a45a5ae 100644--- a/packages/renderer/src/open-browser.ts+++ b/packages/renderer/src/open-browser.ts@@ -48,8 +48,7 @@ export const killAllBrowsers = async () => {};/**- * Opens a Chrome or Chromium browser instance.- * part of @remotion/renderer+ @description Opens a Chrome or Chromium browser instance. part of @remotion/renderer* @see [Documentation](https://www.remotion.dev/docs/renderer/open-browser)*/export const openBrowser = async (diff --git a/packages/renderer/src/render-frames.ts b/packages/renderer/src/render-frames.tsindex f97142b874..a355201b4a 100644--- a/packages/renderer/src/render-frames.ts+++ b/packages/renderer/src/render-frames.ts@@ -498,8 +498,7 @@ const innerRenderFrames = ({type CleanupFn = () => void;/**- * Renders a series of images using Puppeteer and computes information for mixing audio- * part of @remotion/renderer+ @description * Renders a series of images using Puppeteer and computes information for mixing audio. part of @remotion/renderer* @see [Documentation](https://www.remotion.dev/docs/renderer/render-frames)*/export const renderFrames = (diff --git a/packages/renderer/src/stitch-frames-to-video.ts b/packages/renderer/src/stitch-frames-to-video.tsindex 6f95865eef..42715fe544 100644--- a/packages/renderer/src/stitch-frames-to-video.ts+++ b/packages/renderer/src/stitch-frames-to-video.ts@@ -483,8 +483,7 @@ export const spawnFfmpeg = async (};/**- * Takes a series of images and audio information generated by renderFrames() and encodes it to a video.- * part of @remotion/renderer+ * @description Takes a series of images and audio information generated by renderFrames() and encodes it to a video. part of @remotion/renderer* @see [Documentation](https://www.remotion.dev/docs/renderer/stitch-frames-to-video)*/export const stitchFramesToVideo = async (