[FFmpeg-devel] [PATCH] ffprobe: add option to control optional fields display

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue May 4 19:48:51 EEST 2021


On 04/05/2021 17:32, Gyan Doshi wrote:
> No. It's to allow consumers of these writers to discover and access all 
> fields if they choose to.
> 
> It's an obstacle I faced in a recent project.

For XML, the correct way to do that is to use the XSD in the doc/ directory.
That's how XML is supposed to work.

For JSON, we could provide a JSON schema maybe, but I agree JSON is kinda crappy
for that.

Not blocking the patch, just thought I'd point out there's a canonical way for XML.

- Derek


More information about the ffmpeg-devel mailing list