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

Paul B Mahol onemda at gmail.com
Wed Jan 27 12:01:06 CET 2016


On 1/27/16, Andy Furniss <adf.lists at gmail.com> wrote:
> 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.
>

That are not options, but parameters used in expression evaluation.
_______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list