On 1/26/16, Andy Furniss <[email protected]> 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.

I added support for overriding input params in zscale.

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 assumes input colorspace matrix is 709 and range is full.
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to