Chapter 732: Track Transformation
Core Idea
:::warning We are phasing out Remotion WebCodecs and are moving to Mediabunny!
Key Concepts
- Using the defaults
- Choosing codecs
- Handle each track individually
- Checking if a track can be copied
- Checking if a track can be re-encoded
- Asynchronously determining action
- Decide behavior upfront
- Falling back to default
Code Examples
await convertMedia({
src: 'https://remotion.media/BigBuckBunny.mp4',
container: 'webm',
});
- What it demonstrates: Usage pattern for Track Transformation from the official docs.
Key Takeaways
- Understand using the defaults when working with Track Transformation.
- Understand choosing codecs when working with Track Transformation.
- Understand handle each track individually when working with Track Transformation.
- Understand checking if a track can be copied when working with Track Transformation.
- Understand checking if a track can be re-encoded when working with Track Transformation.
Connects To
- Buffer Writer: related page in the WebCodecs (@remotion/webcodecs) section.
- can Copy Audio Track: related page in the WebCodecs (@remotion/webcodecs) section.
- can Copy Video Track: related page in the WebCodecs (@remotion/webcodecs) section.