[FFmpeg-devel] [PATCH] ffprobe: add XML output

Stefano Sabatini stefasab at gmail.com
Fri Dec 23 11:22:55 CET 2011

On date Friday 2011-11-25 13:57:47 +0100, Stefano Sabatini encoded:
> On date Tuesday 2011-10-18 19:17:32 +0200, Stefano Sabatini encoded:
> Pending problems:
> XSD validation only works with xml=q=1, and no special formatting
> options selected (e.g. -pretty).
> XSD validation also doesn't work in case the codec context contains
> private options (check show_stream), not sure what's the best option
> here from the UI point of view, alternatives are:

> * make private options printing configurable, warn user that the XML
>   output may not be validated against the XSD if enabled

Adopted a variant of this (depends on "[PATCH] ffprobe: add
show_private_data option").

> * replace print_str() with print_str_opt() in the code which prints
>   private options, so they won't be displayed in JSON/XML, so XML
>   will validate but it will miss potentially useful information
> * manually update the XSD anytime a new private field is added, or
>   alternatively, add a script for doing it automatically, which looks
>   quite overkill and/or brittle

FFmpeg = Faithful Friendly Most Peaceful Evil Goblin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-ffprobe-add-XML-writer.patch
Type: text/x-diff
Size: 15943 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111223/f6c7aae6/attachment.bin>

More information about the ffmpeg-devel mailing list