Capítulo 268 de 988

Chapter 268: getEncodableVideoCodecs()

Core Idea

_Part of the @remotion/web-renderer package.

Key Concepts

  • Arguments
  • container
  • options?
  • videoBitrate?
  • Return value
  • See also

Code Examples

const codecs = await getEncodableVideoCodecs('mp4');
console.log(codecs); // e.g. ['h264', 'h265', 'av1']
  • What it demonstrates: Usage pattern for getEncodableVideoCodecs() from the official docs.

Key Takeaways

  1. Understand arguments when working with getEncodableVideoCodecs().
  2. Understand container when working with getEncodableVideoCodecs().
  3. Understand options? when working with getEncodableVideoCodecs().
  4. Understand videobitrate? when working with getEncodableVideoCodecs().
  5. Understand return value when working with getEncodableVideoCodecs().

Connects To

  • Angular: related page in the Framework & Renderer Integrations section.
  • Figma: related page in the Framework & Renderer Integrations section.
  • use Gsap Timeline: related page in the Framework & Renderer Integrations section.