[FFmpeg-devel] [PATCH] avfilter/vf_scale: allow overriding in/out yuv colorspace type

wm4 nfxjfg at googlemail.com
Fri Jul 12 10:26:28 CEST 2013


On Fri, 12 Jul 2013 00:52:08 +0200
Michael Niedermayer <michaelni at gmx.at> wrote:

> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  doc/filters.texi       |   15 +++++++++++++++
>  libavfilter/vf_scale.c |   44
> ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59
> insertions(+)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 92f8612..5f6e11b 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -6201,6 +6201,21 @@ applies a bilinear scaling algorithm.
>  @item size, s
>  Set the video size, the value must be a valid abbreviation or in the
>  form @var{width}x at var{height}.
> +
> + at item inyuvtype
> + at item outyuvtype
> +In/Output YCbCr colorspace type
> + at table @option
> + at item jpeg
> +Full 0-255 jpeg style
> +
> + at item 709
> +ITU Rec BT709
> +
> + at item 601
> +ITU Rec BT601
> + at end table
> +
>  @end table

That's nice an all, but shouldn't it use the values as indicated by the
decoder by default?


More information about the ffmpeg-devel mailing list