Skip to content
/ Matroska Public

An Ebml based serializer to deserialize a Matroska file (.mkv or .webm)

License

Notifications You must be signed in to change notification settings

StefH/Matroska

Repository files navigation

Projects

Matroska

An Ebml based serializer to deserialize a Matroska file (.mkv or .webm).

NuGet

Usage

Deserialize a stream to a MatroskaDocument

var stream = new FileStream("test.webm", FileMode.Open, FileAccess.Read);

var doc = MatroskaSerializer.Deserialize(stream);

Matroska.Muxer

A Matroska demuxer to extract Ogg Opus audio from a .webm file.

NuGet

Usage

Extract

var inputStream = new FileStream("test.webm", FileMode.Open, FileAccess.Read);
var outputStream = File.OpenWrite("test.opus");

MatroskaDemuxer.ExtractOggOpusAudio(inputStream, outputStream);

Credits / References