-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Description
While this tool supports many formats for output, it would be more convenient for use in shell scripts/quick usage, if it had options to
- display only certain video/audio tracks
- display only certain labels (like Width, Length, Format, ...)
I always have to use it with grep, and i think that's a ugly/unreliable workaround due to localization of labels. Sure, i could use it with --Output=JSON and then parse that with jq. But from a efficiency and usability standpoint, that's a bit stupid, if you need merely two labels.
lsblk does it right IMO, with -o PATH,VENDOR,... and -H to display all labels.
Or alternatively, options for direct access to often used labels, like --width, --height.
As it is, the tool is more suitable as some sort of library in a heavy duty scripts, where you read lots of documentation for.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels