MkvOutputFormat
Matroska file format.
Supports writing transparent video. For a video track to be marked as transparent, the first packet added must contain alpha side data.
Extends: OutputFormat
Subclasses
Constructor
constructor(
options: MkvOutputFormatOptions = {},
): MkvOutputFormat;Creates a new MkvOutputFormat configured with the specified options.
Properties
fileExtension
get fileExtension(): string;The file extension used by this output format, beginning with a dot.
mimeType
get mimeType(): string;The base MIME type of the output format.
supportsVideoRotationMetadata
get supportsVideoRotationMetadata(): boolean;Whether this output format supports video rotation metadata.
Methods
getSupportedTrackCounts()
getSupportedTrackCounts(): TrackCountLimits;Returns the number of tracks that this output format supports.
See TrackCountLimits.
getSupportedCodecs()
getSupportedCodecs(): MediaCodec[];Returns a list of media codecs that this output format can contain.
See MediaCodec.
getSupportedVideoCodecs()
getSupportedVideoCodecs(): "avc" | "hevc" | "vp9" | "av1" | "vp8"[];Returns a list of video codecs that this output format can contain.
getSupportedAudioCodecs()
getSupportedAudioCodecs(): "aac" | "opus" | "mp3" | "vorbis" | "flac" | "pcm-s16" | "pcm-s16be" | "pcm-s24" | "pcm-s24be" | "pcm-s32" | "pcm-s32be" | "pcm-f32" | "pcm-f32be" | "pcm-f64" | "pcm-f64be" | "pcm-u8" | "pcm-s8" | "ulaw" | "alaw"[];Returns a list of audio codecs that this output format can contain.
getSupportedSubtitleCodecs()
getSupportedSubtitleCodecs(): "webvtt"[];Returns a list of subtitle codecs that this output format can contain.