[Libav-user] Questions about ColorSpace conversion in swscale

Markus Pfundstein markuspfundstein86 at gmail.com
Thu Aug 21 19:21:16 CEST 2014


Hi eugen, many thanks for your answers.

> As said, you can force libswscale to use yuv444p
> as intermediate format which makes conversion
> slower which is often undesired.

Can you please tell me how? Is it a flag?

Gr
Markus


On Thu, Aug 21, 2014 at 1:45 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Markus Pfundstein <markuspfundstein86 at ...> writes:
>
> > some conversions use yuv420p as> intermediate format
> > (this is what is generally needed> for video). It is
> > possible to use yuv444p instead, at> least for some
> > conversions.
> >
> > If yuv420p is used as an intermediate format,
> > wouldnt that result into heavy information loss?
>
> As said, you can force libswscale to use yuv444p
> as intermediate format which makes conversion
> slower which is often undesired.
>
> [...]
>
> > Assume I want to convert from rgb fullrange to
> > yuv444 BT709.
>
> In this case, no intermediate colour space should
> be used.
>
> [...]
>
> > This is something I would like to know from the
> > swscale developer. Are there 16bit paths or is
> > the conversion done via 8bit?
>
> As said, if you find that a 16bit path is missing,
> please explain how I can reproduce this.
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140821/f80f7703/attachment.html>


More information about the Libav-user mailing list