mirror of
https://github.com/wader/fq.git
synced 2024-12-29 00:22:38 +03:00
2c505feec8
Plan is to use it for man page etc and also some ansi renderer
36 lines
872 B
Plaintext
36 lines
872 B
Plaintext
$ 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
|