[Libav-user] Swscale: Interlaced 4:2:2 to interlaced 4:2:0

Carl Eugen Hoyos cehoyos at ag.or.at
Thu May 24 10:34:27 CEST 2012


Carl Lindqvist <lulebo at ...> writes:

> Yes, my input is raw SDI video. Interlaced SD 4:2:2 8bit 
> (or 10bit, but I use 8bit). I want the output to be 
> interlaced, full field rade. Right now, swscale produces 
> chroma samples that are scaled from both fields, which give 
> the effect in the image in the stack overflow thread when 
> looking at the final video.

I believe you need two sws contexts, one for each field with 
half height and twice the stride.
Did you already look at MPlayer/libmpcodecs/vf_scale.c ?

Carl Eugen



More information about the Libav-user mailing list