1
1
mirror of https://github.com/wader/fq.git synced 2024-12-29 16:42:06 +03:00
fq/format/matroska/testdata/help_matroska.fqtest

36 lines
872 B
Plaintext
Raw Normal View History

$ fq -h matroska
matroska: Matroska file decoder
Options
=======
decode_samples=true Decode samples
Decode examples
===============
# Decode file as matroska
$ fq -d matroska . file
# Decode value as matroska
... | matroska
# Decode file using matroska options
$ fq -d matroska -o decode_samples=true . file
# Decode value as matroska
... | matroska({decode_samples:true})
Lookup element using path
=========================
$ fq 'matroska_path(".Segment.Tracks[0)")' file.mkv
Get path to element
===================
$ fq 'grep_by(.id == "Tracks") | matroska_path' file.mkv
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