[FFmpeg-devel] [PATCH] ffprobe: create a dedicated "Writers" section in the manual
Stefano Sabatini
stefasab at gmail.com
Sat Oct 8 15:24:22 CEST 2011
On date Monday 2011-10-03 21:15:06 +0200, Clément Bœsch encoded:
> On Sun, Oct 02, 2011 at 12:40:53PM +0200, Stefano Sabatini wrote:
> > Also update documentation related to the output format.
> > ---
> > doc/ffprobe.texi | 51 ++++++++++++++++++++++++++++++++++++++++-----------
> > 1 files changed, 40 insertions(+), 11 deletions(-)
> >
> > diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi
> > index a5d5df8..59643c2 100644
> > --- a/doc/ffprobe.texi
> > +++ b/doc/ffprobe.texi
> > @@ -42,18 +42,11 @@ for specifying which information to display, and for setting how
> > ffprobe will show it.
> >
> > ffprobe output is designed to be easily parsable by a textual filter,
> > -and consists of one or more sections of the form:
> > - at example
> > -[SECTION]
> > -key1=val1
> > -...
> > -keyN=valN
> > -[/SECTION]
> > - at end example
> > +and consists of one or more sections of a form defined by the selected
> > +writer, which is specified by the @option{print_format} option.
> >
> > Metadata tags stored in the container or in the streams are recognized
> > -and printed in the corresponding "FORMAT" or "STREAM" section, and
> > -are prefixed by the string "TAG:".
> > +and printed in the corresponding "FORMAT" or "STREAM" section.
> >
> > @c man end
> >
> > @@ -89,7 +82,8 @@ options "-unit -prefix -byte_binary_prefix -sexagesimal".
> >
> > @item -print_format @var{format}
> > Set the output printing format.
> > -Current available formats are "default" and "json".
> > +
> > +See the Writers section below.
>
> I think we should add an example ASAP instead of driving the user nuts
> in a large lexixal soup between chapters:
>
> Example:
> -print_format json
>
> For more details on the available printing output, see the Writers
> section below.
Updated, but I think the formal definition should come first.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ffprobe-create-a-dedicated-Writers-section-in-the-ma.patch
Type: text/x-diff
Size: 2655 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111008/7584eae9/attachment.bin>
More information about the ffmpeg-devel
mailing list