[FFmpeg-devel] [PATCH] libvpxenc: support setting colorspace for vp9

Ronald S. Bultje rsbultje at gmail.com
Wed Jun 17 22:19:49 CEST 2015


Hi,

On Jun 17, 2015 12:21 PM, "James Zern" <jzern at google.com> wrote:
>
> the vp9 bitstream supports 8 values:
> unknown (default), bt601, bt709, smpte170, smpte240, bt2020, reserved
> and sRGB.
> ---
>  doc/encoders.texi      | 12 ++++++++++++
>  libavcodec/libvpxenc.c | 29 +++++++++++++++++++++++++++++
>  2 files changed, 41 insertions(+)
>
> diff --git a/doc/encoders.texi b/doc/encoders.texi
> index 8b0ecb7..8fed2fc 100644
> --- a/doc/encoders.texi
> +++ b/doc/encoders.texi
> @@ -1550,6 +1550,18 @@ Enable frame parallel decodability features.
>  @item aq-mode
>  Set adaptive quantization mode (0: off (default), 1: variance 2:
complexity, 3:
>  cyclic refresh).
> + at item colorspace @emph{color-space}
> +Set input color space. The VP9 bitstream supports signaling the following
> +colorspaces:
> + at table @option
> + at item @samp{rgb} @emph{sRGB}
> + at item @samp{bt709} @emph{bt709}
> + at item @samp{unspecified} @emph{unknown}
> + at item @samp{bt470bg} @emph{bt601}
> + at item @samp{smpte170m} @emph{smpte170}
> + at item @samp{smpte240m} @emph{smpte240}
> + at item @samp{bt2020_ncl} @emph{bt2020}
> + at end table
>  @end table
>
>  @end table

Do you still need this?

Ronald


More information about the ffmpeg-devel mailing list