[FFmpeg-user] zimg colorspace yuv -> rgb possible?

Andy Furniss adf.lists at gmail.com
Wed Jan 27 00:34:23 CET 2016


Paul B Mahol wrote:
> On 1/26/16, Andy Furniss <adf.lists at gmail.com> wrote:
>> Andy Furniss wrote:
>> Here's the assert - after seeing swscale in the first test I tried
>> format=rgb24 ...
>
> use copy filter before zscale filter.
> Anyway using y4m is wrong as it doesnt have frame metadata as
> primaries,matrix coefficients etc.

As I said I did also try a "real" input = the transport stream I linked.

> I added support for overriding input params in zscale.

Thank you.

> so something like this should work:
>
> ffmpeg -i input.y4m zscale=min=709:range=full,format=gbrp out.png
>
> If it asserts, add copy:
>
> ffmpeg -i input.y4m copy,zscale=min=709:range=full,format=gbrp out.png

This works - it will assert without the copy.

Is interlace aware 420 -> * possible?

I notice in the web help -

https://www.ffmpeg.org/ffmpeg-filters.html#toc-zscale

That there are several options at the end that don't appear in ffmpeg -h 
full.

Earlier I tried the [o]hsub/vsub so I know they are unrecognised -
  maybe they and any others that don't parse should be removed.


More information about the ffmpeg-user mailing list