[FFmpeg-devel] [PATCH] ffprobe: create a dedicated "Writers" section in the manual

Stefano Sabatini stefasab at gmail.com
Sun Oct 9 16:13:52 CEST 2011


On date Saturday 2011-10-08 15:24:22 +0200, Stefano Sabatini encoded:
> 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.

Pushed.


More information about the ffmpeg-devel mailing list