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)
- Host: GitHub
- URL: https://github.com/stefh/matroska
- Owner: StefH
- License: mit
- Created: 2021-01-02T12:40:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-17T19:25:49.000Z (9 months ago)
- Last Synced: 2025-05-06T22:26:31.327Z (about 1 month ago)
- Topics: csharp, deserialize, deserializer, ebml, matroska, mkv, ogg-opus, serializer, webm
- Language: C#
- Homepage:
- Size: 2.97 MB
- Stars: 17
- Watchers: 4
- Forks: 1
- Open Issues: 3
-
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.