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

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue May 4 18:42:39 EEST 2021


On 01/05/2021 14:07, Gyan Doshi wrote:
>  
> + at item -show_optional_fields @var{value}
> +Some writers viz. JSON and XML, omit the printing of fields with invalid or non-applicable values,
> +while other writers always print them. This option enables one to control this behaviour.
> +Valid values are @code{always}/@code{1}, @code{never}/@code{0} and @code{auto}/@code{-1}.
> +Default is @var{auto}.

Is the goal here to help badly written JSON or XML parsers?

- Derek



More information about the ffmpeg-devel mailing list