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: 10 months ago
JSON representation
An Ebml based serializer to deserialize a Matroska file (.mkv or .webm)
- Host: GitHub
- URL: https://github.com/stefh/matroska
- Owner: StefH
- License: mit
- Created: 2021-01-02T12:40:30.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-06-14T06:32:21.000Z (12 months ago)
- Last Synced: 2025-07-30T06:41:56.474Z (10 months ago)
- Topics: csharp, deserialize, deserializer, ebml, matroska, mkv, ogg-opus, serializer, webm
- Language: C#
- Homepage:
- Size: 3.03 MB
- Stars: 18
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
#  Projects
## Matroska
An Ebml based serializer to deserialize a Matroska file (.mkv or .webm).
[](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.
[](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.
## Sponsors
[Entity Framework Extensions](https://entityframework-extensions.net/?utm_source=StefH) and [Dapper Plus](https://dapper-plus.net/?utm_source=StefH) are major sponsors and proud to contribute to the development of **Matroska.Muxer** and **Matroska**.
[](https://entityframework-extensions.net/bulk-insert?utm_source=StefH)
[](https://dapper-plus.net/bulk-insert?utm_source=StefH)