Skip to content

Commit

Permalink
Merge pull request #4687 from remotion-dev/ai-jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBurger authored Jan 5, 2025
2 parents f9d55ba + 8e7c1e8 commit 15e9ca7
Show file tree
Hide file tree
Showing 321 changed files with 5,568 additions and 3,840 deletions.
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/absolute-fill
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description A helper component which renders an absolutely positioned <div> element with full width, height, and flex display suited for content layering.
* @see [Documentation](https://remotion.dev/docs/absolute-fill)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/artifact
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description By rendering an `<Artifact>` tag in your Remotion markup, an extra file will get emitted during rendering.
* @see [Documentation](https://remotion.dev/docs/artifact)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/audio
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @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://remotion.dev/docs/audio)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/audio-buffer-to-data-url
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description 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://remotion.dev/docs/audio-buffer-to-data-url)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/bundle
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Bundles a Remotion project using Webpack and prepares it for rendering.
* @see [Documentation](https://remotion.dev/docs/bundle)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/can-copy-audio-track
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Determines if an audio track can be copied to the output without re-encoding, based on the input and output media formats.
* @see [Documentation](https://www.remotion.dev/docs/webcodecs/can-copy-audio-track)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/can-copy-video-track
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Given a VideoTrack, determine if it can be copied to the output without re-encoding.
* @see [Documentation](https://www.remotion.dev/docs/webcodecs/can-copy-video-track)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/can-reencode-audio-track
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Given an `AudioTrack`, determine if it can be re-encoded to another track.
* @see [Documentation](https://www.remotion.dev/docs/webcodecs/can-reencode-audio-track)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/can-reencode-video-track
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Determines if a given video track can be re-encoded to another codec.
* @see [Documentation](https://www.remotion.dev/docs/webcodecs/can-reencode-video-track)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/cancel-render
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description When you invoke this function, Remotion will stop rendering all the frames without any retries.
* @see [Documentation](https://remotion.dev/docs/cancel-render)
*/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Using this function, you can segment tokens to create "pages" of captions, as commonly seen on TikTok videos.
* @see [Documentation](https://remotion.dev/docs/captions/create-tiktok-style-captions)
*/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Splits and rearranges captions into segments ensuring none exceed the maximum characters per line.
* @see [Documentation](https://remotion.dev/docs/captions/ensure-max-characters-per-line)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/captions/parse-srt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Parses the contents of a SubRip file (.srt) and returns an array of Caption items.
* @see [Documentation](https://remotion.dev/docs/captions/parse-srt)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/captions/serialize-srt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Converts a two-dimensional array of Caption items into a string in the SubRip format (`.srt`).
* @see [Documentation](https://remotion.dev/docs/captions/serialize-srt)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/composition
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @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://remotion.dev/docs/composition)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/continue-render
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Unblock a render that has been blocked by delayRender().
* @see [Documentation](https://remotion.dev/docs/continue-render)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/convert-media
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Re-encodes a video using WebCodecs and @remotion/media-parser.
* @see [Documentation](https://www.remotion.dev/docs/webcodecs/convert-media)
*/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description This is the default function if no onAudioTrack handler is provided to convertMedia(). You may use this function if you want to customize part of the track transformation logic, but fall back to the default behavior for the rest.
* @see [Documentation](https://www.remotion.dev/docs/webcodecs/default-on-audio-track-handler)
*/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description This is the default function if no `onVideoTrack` handler is provided to `convertMedia()`. You may use this function if you want to customize part of the track transformation logic, but fall back to the default behavior for the rest.
* @see [Documentation](https://www.remotion.dev/docs/webcodecs/default-on-video-track-handler)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/delay-render
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Call this function to signal that a frame should not be rendered until an asynchronous task (such as data fetching) is complete. Use continueRender(handle) to proceed with rendering once the task is complete.
* @see [Documentation](https://remotion.dev/docs/delay-render)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/deletefunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Deletes a deployed Lambda function based on its name.
* @see [Documentation](https://remotion.dev/docs/lambda/deletefunction)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/deleterender
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Deletes a rendered video, audio or still and its associated metadata.
* @see [Documentation](https://remotion.dev/docs/lambda/deleterender)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/deleteservice
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Deletes a deployed Cloud Run service based on its name.
* @see [Documentation](https://remotion.dev/docs/cloudrun/deleteservice)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/deletesite
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Removes a Remotion project from your Cloud Storage bucket.
* @see [Documentation](https://remotion.dev/docs/cloudrun/deletesite)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/deployfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Creates an AWS Lambda function in your account that will be able to render a video in the cloud.
* @see [Documentation](https://remotion.dev/docs/lambda/deployfunction)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/deployservice
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Creates a Cloud Run service in your project that will be able to render a video in GCP.
* @see [Documentation](https://remotion.dev/docs/cloudrun/deployservice)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/deploysite
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Deploys a Remotion project to a GCP storage bucket to prepare it for rendering on Cloud Run.
* @see [Documentation](https://remotion.dev/docs/cloudrun/deploysite)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/downloadmedia
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Downloads a rendered video, audio or still to the disk of the machine this API is called from.
* @see [Documentation](https://remotion.dev/docs/lambda/downloadmedia)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/easing
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description The Easing module implements common easing functions. You can use it with the interpolate() API.
* @see [Documentation](https://remotion.dev/docs/easing)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/enable-scss/enable-scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description A function that modifies the default Webpack configuration to make the necessary changes to support SASS/SCSS.
* @see [Documentation](https://remotion.dev/docs/enable-scss/enable-scss)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/ensure-browser
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Ensures a browser is locally installed so a Remotion render can be executed.
* @see [Documentation](https://www.remotion.dev/docs/renderer/ensure-browser)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/estimateprice
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Calculates the AWS costs incurred for AWS Lambda given the region, execution duration and memory size.
* @see [Documentation](https://remotion.dev/docs/lambda/estimateprice)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/extract-audio
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Extracts the audio from a video source and saves it to the specified output path. It does not convert the audio to a different format.
* @see [Documentation](https://www.remotion.dev/docs/renderer/extract-audio)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/folder
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description By wrapping a <Composition /> inside a <Folder />, you can visually categorize it in your sidebar, should you have many compositions.
* @see [Documentation](https://remotion.dev/docs/folder)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/fonts-api/load-font
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Load a local font for use in Remotion, automatically blocking the render until the font is ready.
* @see [Documentation](https://remotion.dev/docs/fonts-api/load-font)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/freeze
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Freezes its children at the specified frame when rendering videos.
* @see [Documentation](https://remotion.dev/docs/freeze)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-audio-data
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Takes an audio src, loads it and returns data and metadata for the specified source.
* @see [Documentation](https://remotion.dev/docs/get-audio-data)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-audio-duration-in-seconds
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets the duration in seconds of an audio source by creating an invisible `<audio>` tag, loading the audio, and returning the duration.
* @see [Documentation](https://remotion.dev/docs/get-audio-duration-in-seconds)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-available-audio-codecs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Given a container, get a list of audio codecs that the container can hold.
* @see [Documentation](https://www.remotion.dev/docs/webcodecs/get-available-audio-codecs)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-available-containers
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Returns an array of available containers that can be used with the `convertMedia` function.
* @see [Documentation](https://www.remotion.dev/docs/webcodecs/get-available-containers)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-available-video-codecs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Given a container, get a list of video codecs that the container can hold.
* @see [Documentation](https://remotion.dev/docs/webcodecs/get-available-video-codecs)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-compositions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets a list of compositions defined in a Remotion project based on a Remotion Bundle by evaluating the Remotion Root.
* @see [Documentation](https://www.remotion.dev/docs/renderer/get-compositions)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-default-audio-codec
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets the default audio codec for a container that `@remotion/webcodecs` uses if no other audio codec was specified.
* @see [Documentation](https://remotion.dev/docs/webcodecs/get-default-audio-codec)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-default-video-codec
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets the default video codec for a container that `@remotion/webcodecs` uses if no other audio codec was specified.
* @see [Documentation](https://remotion.dev/docs/webcodecs/get-default-video-codec)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-gif-duration-in-seconds
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets the duration in seconds of a GIF.
* @see [Documentation](https://remotion.dev/docs/gif/get-gif-duration-in-seconds)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-image-dimensions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Takes an image src, retrieves the dimensions of an image.
* @see [Documentation](https://remotion.dev/docs/get-image-dimensions)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-input-props
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Retrieves input properties passed from the command line or specified via the Node.JS API, useful when props are needed outside of a composition context.
* @see [Documentation](https://remotion.dev/docs/get-input-props)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-remotion-environment
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Provides information about the Remotion Environment
* @see [Documentation](https://remotion.dev/docs/get-remotion-environment)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-silent-parts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets the silent parts of a video or audio in Node.js. Useful for cutting out silence from a video.
* @see [Documentation](https://www.remotion.dev/docs/renderer/get-silent-parts)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-video-metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Takes a src to a video, loads it and returns metadata for the specified source.
* @see [Documentation](https://remotion.dev/docs/get-video-metadata)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/get-waveform-portion
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @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://remotion.dev/docs/get-waveform-portion)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getawsclient
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Exposes full access to the AWS SDK used by Remotion, allowing interaction with AWS infrastructure beyond provided functionalities.
* @see [Documentation](https://remotion.dev/docs/lambda/getawsclient)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getcompositionsonlambda
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets the compositions inside a Lambda function.
* @see [Documentation](https://remotion.dev/docs/lambda/getcompositionsonlambda)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getfunctioninfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets information about a function given its name and region.
* @see [Documentation](https://remotion.dev/docs/lambda/getfunctioninfo)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getfunctions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Retrieves a list of functions that Remotion deployed to AWS Lambda in a certain region.
* @see [Documentation](https://remotion.dev/docs/lambda/getfunctions)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getorcreatebucket
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Creates a Cloud Storage bucket for Remotion Cloud Run in your GCP project. If one already exists, it will get returned instead.
* @see [Documentation](https://remotion.dev/docs/cloudrun/getorcreatebucket)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getregions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets an array of all supported GCP regions of this release of Remotion Cloud Run.
* @see [Documentation](https://remotion.dev/docs/cloudrun/getregions)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getrenderprogress
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets the current status of a render originally triggered via renderMediaOnLambda().
* @see [Documentation](https://remotion.dev/docs/lambda/getrenderprogress)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getrolepolicy
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Returns an inline JSON policy to be assigned to the 'remotion-lambda-role' role that needs to be created in your AWS account.
* @see [Documentation](https://remotion.dev/docs/lambda/getrolepolicy)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getserviceinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Retrieves detailed information about a specific Cloud Run service using the service name and region.
* @see [Documentation](https://remotion.dev/docs/cloudrun/getserviceinfo)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getservices
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Lists Remotion Cloud Run render services deployed to GCP Cloud Run.
* @see [Documentation](https://remotion.dev/docs/cloudrun/getservices)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getsites
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets an array of Remotion projects in Cloud Storage, in your GCP project.
* @see [Documentation](https://remotion.dev/docs/cloudrun/getsites)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getstaticfiles
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Gets an array containing all files in the `public/` folder. You can reference them by using `staticFile()`.
* @see [Documentation](https://remotion.dev/docs/getstaticfiles)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/getuserpolicy
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Returns an inline JSON policy to be assigned to the AWS user whose credentials are being used for executing CLI commands or calling Node.JS functions.
* @see [Documentation](https://remotion.dev/docs/lambda/getuserpolicy)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/gif/gif
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description Displays a GIF that synchronizes with Remotions useCurrentFrame().
* @see [Documentation](https://remotion.dev/docs/gif)
*/
4 changes: 4 additions & 0 deletions packages/ai-improvements/.jsdoc/iframe
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @description The <IFrame /> can be used like a regular <iframe> HTML tag.
* @see [Documentation](https://remotion.dev/docs/iframe)
*/
Loading

0 comments on commit 15e9ca7

Please sign in to comment.