[FFmpeg-devel] [PATCH] Document libavfilter filters options in configure -h
Stefano Sabatini
stefano.sabatini-lala
Wed Oct 8 00:20:22 CEST 2008
On date Tuesday 2008-10-07 23:49:52 +0200, Stefano Sabatini encoded:
> Hi,
> as in subject.
>
> BTW, should us also document the various --enable-filters/muxers/encoder/devices etc. ?
>
> Regards.
> --
> FFmpeg = Fostering and Faboulous Mastering Patchable Erudite Genius
> Index: configure
> ===================================================================
> --- configure (revision 15563)
> +++ configure (working copy)
> @@ -170,6 +170,9 @@
> echo " --disable-protocol=NAME disables protocol NAME"
> echo " --disable-protocols disables all protocols"
> echo " --disable-devices disables all devices"
> + echo " --enable-filter=NAME enables libavfilter filter NAME"
> + echo " --disable-filter=NAME disables libavfilter filter NAME"
> + echo " --disable-filters disables all libavfilter filters"
> echo " --list-decoders show all available decoders"
> echo " --list-encoders show all available encoders"
> echo " --list-muxers show all available muxers"
> @@ -179,6 +182,7 @@
> echo " --list-bsfs show all available bitstream filters"
> echo " --list-indevs show all available input devices"
> echo " --list-outdevs show all available output devices"
> + echo " --list-filters show all available libavfilter filters"
> echo
> echo "Developer options (useful when working on FFmpeg itself):"
> echo " --disable-debug disable debugging symbols"
BTW what about something like this:
show_component_help(){
component=$(echo $1 | sed -e 's/s$//' | tr "A-Z" "a-z")
echo " --enable-${component}s enables all ${component}s"
echo " --disable-${component}s disables all ${component}s"
echo " --enable-${component}=NAME enables $component NAME"
echo " --disable-${component}=NAME disables $compoenent NAME"
echo " --list-${component}s show all available ${compoenent}s"
}
The only limitation is that the output is not aligned, we could use
printf from the coreutils for implementing that.
Regards.
--
FFmpeg = Foolish and Frenzy Merciless Proud EnGine
More information about the ffmpeg-devel
mailing list