[Ffmpeg-devel] [PATCH] Reformat output of ffmpeg

Panagiotis Issaris takis.issaris
Fri Sep 29 14:07:30 CEST 2006


The attached patch reformats the output of the list of available AVOptions,
by indenting the parameters of certain options and displaying them _right
after_ the actual option taking the parameter.

The output of ffmpeg before the patch:
-inter_threshold   <int>   E.V..
-flags2            <flags> EDVA.
-antialias         <int>   .DV..
-auto                      .DV..
-fastint                   .DV..
-int                       .DV..
-float                     .DV..

The output of ffmpeg after the patch:
-mbd               <int>   E.V..
   simple                  E.V..
   bits                    E.V..
   rd                      E.V..
-sc_threshold      <int>   E.V.. scene change threshold
-lmin              <int>   E.V.. min lagrange factor (VBR)
-lmax              <int>   E.V.. max lagrange factor (VBR)
-nr                <int>   E.V.. noise reduction
-rc_init_occupancy <int>   E.V..
-inter_threshold   <int>   E.V..
-flags2            <flags> EDVA.
   fast                    E.V.. allow non spec compliant speedup tricks
   sgop                    E.V.. strictly enforce gop size
   noout                   E.V.. skip bitstream encoding
   local_header            E.V.. place global headers at every keyframe instead of in extradata
   bpyramid                E.V..
   wpred                   E.V..
   mixed_refs              E.V..
   8x8dct                  E.V..
   fastpskip               E.V..
   aud                     E.V..
   brdo                    E.V..
   ivlc                    E.V.. intra vlc table
-error             <int>   E.V..
-error             <int>   E.V..
-antialias         <int>   .DV..
   auto                    .DV..
   fastint                 .DV..
   int                     .DV..
   float                   .DV..
-qns               <int>   E.V.. quantizer noise shaping

 opt.c |   36 +++++++++++++++++++++++++++++-------
 1 file changed, 29 insertions(+), 7 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20060929T135056-ffmpeg-option_output_indent.diff
Type: text/x-diff
Size: 1953 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060929/8019b1f4/attachment.diff>

More information about the ffmpeg-devel mailing list