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

Michael Niedermayer michaelni
Fri Sep 29 20:28:01 CEST 2006


Hi

On Fri, Sep 29, 2006 at 02:07:30PM +0200, Panagiotis Issaris wrote:
> Hi,
> 
> 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(-)

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list