It's in the yuv4mpegenc.c. I added a support for color range by specifying
metadata in the Y4M header.
On Thu, Jun 14, 2018 at 12:19 AM Carl Eugen Hoyos <ceffm...@gmail.com>
wrote:

> 2018-06-13 18:03 GMT+02:00, Wang Cao <doublee...@gmail.com>:
>
> > @@ -220,6 +221,12 @@ static int yuv4_read_header(AVFormatContext *s)
> >                      alt_pix_fmt = AV_PIX_FMT_YUV422P;
> >                  else if (strncmp("444", tokstart, 3) == 0)
> >                      alt_pix_fmt = AV_PIX_FMT_YUV444P;
> > +            } else if (strncmp("COLORRANGE=", tokstart, 11) == 0) {
>
> Where is this specified?

Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


-- 
Wang Cao
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to