1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 06:04:47 +03:00
fq/format/mp4/mp4.jq
Mattias Wadman 970465996c Init
2021-09-12 13:08:42 +02:00

3 lines
148 B
Plaintext

# <mp4 value> | mp4_path(".moov.trak[1]") -> box
# <mp4 value> | mp4_path(<mp4 value>) -> ".moov.trak"
def mp4_path(p): tree_path(.boxes; .type; p);