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

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


On 1/27/16, Andy Furniss <adf.lists at gmail.com> wrote:
> Carl Eugen Hoyos wrote:
>> Andy Furniss <adf.lists <at> gmail.com> writes:
>>
>>> mplayer -ss 11.2 -frames 3 -demuxer lavf -noaspect
>>> -vf ilpack,scale -vo png ~/snooker-short.ts
>>
>> First convert the input file losslessly to something
>> I-frame only (like ffv1), then testing will get (much)
>> easier.
>
> Yea was in progress, finished now (used y4m).
>
> So this is the test frame snk-420i.y4m
>
> https://drive.google.com/file/d/0BxP5-S1t9VEENjJpRk5vV0FjSFU/view?usp=sharing
>
> This is what results look like -
>
> https://drive.google.com/file/d/0BxP5-S1t9VEEaEVUTzJQc1dseWc/view?usp=sharing
>

Isnt your input already 422?

I guess you could use ffmpeg and scale filter to convert from yuv420
to yuv422p with interl=1 and than use zscale to convert yuv422p to gbrp and than
again scale to convert from gbrp to rgb24 for png:

ffmpeg -i input -vf
scale=interl=1,format=yuv422p,zscale=range=limiter:min=709,format=gbrp
out.png


More information about the ffmpeg-user mailing list