An open API service indexing awesome lists of open source software.

https://github.com/stefh/matroska

An Ebml based serializer to deserialize a Matroska file (.mkv or .webm)
https://github.com/stefh/matroska

csharp deserialize deserializer ebml matroska mkv ogg-opus serializer webm

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# Projects

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

[![NuGet](https://buildstats.info/nuget/Matroska)](https://www.nuget.org/packages/Matroska)

### Usage
Deserialize a stream to a MatroskaDocument
``` c#
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](https://buildstats.info/nuget/Matroska.Muxer)](https://www.nuget.org/packages/Matroska.Muxer)

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

MatroskaDemuxer.ExtractOggOpusAudio(inputStream, outputStream);
```

# Credits / References
- [NEbml](https://github.com/OlegZee/NEbml)
- [concentus](https://github.com/lostromb/concentus)
- [atldotnet](https://github.com/Zeugma440/atldotnet)
- [ebml-specification](https://github.com/ietf-wg-cellar/ebml-specification) / [matroska-specification](https://github.com/ietf-wg-cellar/matroska-specification)
- [Ellié Computing](http://www.elliecomputing.com) contributes to this project by giving free licences of ECMerge, comparison/merge tool.