From d2027c75d58b10d78dce012b519a2ebb533d4046 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Mon, 16 Feb 2026 19:17:56 +0100 Subject: Add JSON output support to mp4dump --- cmd/mp4dump/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'cmd/mp4dump/README.md') diff --git a/cmd/mp4dump/README.md b/cmd/mp4dump/README.md index ce25882..704e34d 100644 --- a/cmd/mp4dump/README.md +++ b/cmd/mp4dump/README.md @@ -6,7 +6,7 @@ Pipe the output of `mp4dump` to [`indentree`](https://github.com/tetsuo/indentree) to visualize the box hierarchy: -``` +```sh mp4dump "big-buck-bunny-1080p-60fps-30sec.mp4" | indentree ``` @@ -66,3 +66,9 @@ Output: ├─ [hdlr] size=33 v=0 flags=0x000000 type=mdir name="" └─ [ilst] size=341 (333 bytes) ``` + +You can also output in JSON format: + +```sh +mp4dump --format=json "big-buck-bunny-1080p-60fps-30sec.mp4" +``` -- cgit v1.3.1