2022-09-22 19:32:13 +03:00
|
|
|
$ fq -h matroska
|
|
|
|
matroska: Matroska file decoder
|
|
|
|
|
2023-02-08 13:21:08 +03:00
|
|
|
Options
|
|
|
|
=======
|
|
|
|
|
|
|
|
decode_samples=true Decode samples
|
|
|
|
|
2022-09-22 19:32:13 +03:00
|
|
|
Decode examples
|
|
|
|
===============
|
|
|
|
|
|
|
|
# Decode file as matroska
|
|
|
|
$ fq -d matroska . file
|
|
|
|
# Decode value as matroska
|
|
|
|
... | matroska
|
2023-02-08 13:21:08 +03:00
|
|
|
# Decode file using matroska options
|
|
|
|
$ fq -d matroska -o decode_samples=true . file
|
|
|
|
# Decode value as matroska
|
|
|
|
... | matroska({decode_samples:true})
|
2022-09-22 19:32:13 +03:00
|
|
|
|
|
|
|
Lookup element using path
|
|
|
|
=========================
|
|
|
|
$ fq 'matroska_path(".Segment.Tracks[0)")' file.mkv
|
2023-03-03 01:18:31 +03:00
|
|
|
|
2022-09-22 19:32:13 +03:00
|
|
|
Get path to element
|
|
|
|
===================
|
|
|
|
$ fq 'grep_by(.id == "Tracks") | matroska_path' file.mkv
|
2023-03-03 01:18:31 +03:00
|
|
|
|
2022-09-22 19:32:13 +03:00
|
|
|
References
|
|
|
|
==========
|
|
|
|
- https://tools.ietf.org/html/draft-ietf-cellar-ebml-00
|
|
|
|
- https://matroska.org/technical/specs/index.html
|
|
|
|
- https://www.matroska.org/technical/basics.html
|
|
|
|
- https://www.matroska.org/technical/codec_specs.html
|
|
|
|
- https://wiki.xiph.org/MatroskaOpus
|