mkvdump

codecov build cross

A command-line tool for debugging Matroska/WebM files in common formats.

``` $ mkvdump --help mkvdump 0.3.1 Carlos Bentzen cadubentzen@gmail.com MKV and WebM parser CLI tool

USAGE: mkvdump [OPTIONS]

ARGS: Name of the MKV/WebM file to be parsed

OPTIONS: -f, --format Output format [default: yaml] [possible values: json, yaml] -h, --help Print help information -l, --linear-output Show output as a sequence, rather than a tree -p, --show-element-positions Add element positions in the output -V, --version Print version information ```

Sample output: ```yaml

mkvdump sample.mkv

Getting mkvdump

Cargo

If you have cargo installed, you can install mkvdump from crates.io with: bash $ cargo install mkvdump

Docker

To pull latest mkvdump from Dockerhub: bash $ docker pull cadubentzen/mkvdump

Images are available for linux/amd64 and linux/arm64. Need a new architecture? PRs are welcome!

Running the container

Asssuming a Mastroska file in the host located in /host-path/sample.mkv. You could run mkvdump on it with the following command, by mounting a volume: bash $ docker run -v /host-path:/media cadubentzen/mkvdump /media/sample.mkv

Prebuilt binaries

Download prebuilt binaries for Linux on x86_64 and aarch64 from the release page.

Download it somewhere accessible in your PATH and make it runnable: bash $ sudo curl -L https://github.com/cadubentzen/mkvdump/releases/download/v0.3.1/mkvdump-linux-x86_64 -o /usr/local/bin/mkvdump $ sudo chmod +x /usr/local/bin/mkvdump

License

© 2022 Carlos Bentzen cadubentzen@gmail.com.

This project is licensed under either of

at your option.

The SPDX license identifier for this project is MIT OR Apache-2.0.