getAvailableAudioCodecs()
Given a container, get a list of audio codecs that the container can hold.
This does not mean that a any audio stream of this codec can be put into the container.
Use canReencodeAudioTrack()
and canCopyAudioTrack()
to determine this.
Get available audio codecs for a containertsx
import {getAvailableAudioCodecs } from '@remotion/webcodecs';getAvailableAudioCodecs ({container : 'webm'}); // ['opus']
Get available audio codecs for a containertsx
import {getAvailableAudioCodecs } from '@remotion/webcodecs';getAvailableAudioCodecs ({container : 'webm'}); // ['opus']