[FFmpeg-devel] [PATCH] avfilter: Handle =help to show Filter options documentation
Stefano Sabatini
stefasab at gmail.com
Sat Mar 30 01:27:07 CET 2013
On date Friday 2013-03-29 17:53:57 +0100, Clément Bœsch encoded:
> On Fri, Mar 29, 2013 at 05:26:19PM +0100, Michael Niedermayer wrote:
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> > libavfilter/avfilter.c | 14 +++++++++++++-
> > libavfilter/avfilter.h | 1 +
> > 2 files changed, 14 insertions(+), 1 deletion(-)
> >
>
> As said on IRC, I would prefer something like:
>
> ./ffmpeg -help filters
> ./ffmpeg -help filter=curves
>
> Same with all the tools, supporting codecs, formats, etc.
>
> And as a default message for -h and -help, an extended version of the "Getting
> help" from ffmpeg.c, and without any option displayed unless you explicit
> "full" or some module.
+1.
Also the patch is adding a special case on argument parsing (the
"help" string is special) which I tend to dislike. For example we
could have: "drawtext=help" to draw "help".
[...]
--
FFmpeg = Funny Fundamentalist Mystic Peaceful Elastic Gigant
More information about the ffmpeg-devel
mailing list