-
Notifications
You must be signed in to change notification settings - Fork 519
Open
Description
Would you be kind enough to consider extending ccextractor -out=report to export a JSON output so that the output of the ccextractor analyser can be machine readable without a custom parser? This would mean that an external structured data parser such as jq can be used to parse / filter the output.
Similar to:
$ ffprobe -show_streams -print_format json -i INFILE | jq .
$ mediainfo -full --Output=JSON INFILE | jq .
eg something like...
$ ccextractor --output-format json_templatev1 -out=report INFILE | jq .
Obviously, it would require the definition of a schema, and the data structure of all the potential outputs of ccextractor may need to be extended in the future (hence proposal of versioning the schema), but it would seem like useful functionality for anyone who uses ccextractor in an automated environment. I suspect there is already a defined data structure internal to ccextractor anyway.
Thanks!
ptr727