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
- Understand arguments when working with getEncodableVideoCodecs().
- Understand container when working with getEncodableVideoCodecs().
- Understand options? when working with getEncodableVideoCodecs().
- Understand videobitrate? when working with getEncodableVideoCodecs().
- 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.