[FFmpeg-devel] [PATCH] extractplanes filter
Lou Logan
lou at lrcd.com
Thu May 2 20:45:35 CEST 2013
On Thu, 2 May 2013 16:37:50 +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
> doc/filters.texi | 38 +++++++
> libavfilter/Makefile | 1 +
> libavfilter/allfilters.c | 1 +
> libavfilter/vf_extractplanes.c | 220 +++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 260 insertions(+)
> create mode 100644 libavfilter/vf_extractplanes.c
>
> diff --git a/doc/filters.texi b/doc/filters.texi
> index a62d977..91d5262 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -3320,6 +3320,44 @@ Example:
> edgedetect=low=0.1:high=0.4
> @end example
>
> + at section extractplanes
> +
> +Extract color channel components from input video frames into
> +separate grayscale video frames.
> +
> +The filter accepts the following option:
> +
> + at table @option
> + at item planes
> +Flags which maps to planes to extract.
Set plane(s) to extract.
> +Available values for planes are:
> + at table @samp
> + at item y
> + at item u
> + at item v
> + at item a
> + at item r
> + at item g
> + at item b
> + at end table
> +
> +Note that it is error to select plane(s) which are not available in
> +input frame.
Perhaps something like:
Choosing planes not available in the input will result in an error.
or:
Plane(s) not available in the input frame cannot be selected.
More information about the ffmpeg-devel
mailing list