Skip to content

[PROPOSAL] - Structured data JSON output of ccextractor -out=reportΒ #1399

@bbgdzxng1

Description

@bbgdzxng1

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions