On Thu, May 24, 2012 at 11:19 AM, Carl Lindqvist <lul...@gmail.com> wrote:
>
> 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 have been reading what I can find about swscale, but can't really find any
> info on this. This is the code I use (just standard stuff):
>
> img_convert_ctx = sws_getContext(destWidth, destHeight,
>                                                  PIX_FMT_UYVY422,
>                                                  c->width, c->height,
>                                                  c->pix_fmt,
>                                                  sws_flags, NULL, NULL,
> NULL);
>
> sws_scale(img_convert_ctx, tmp_picture->data, tmp_picture->linesize,
>                       0, destHeight, picture->data, picture->linesize);

What are the input and output sizes in your case?

> Is there a flag that sets this? There are some flags like
> SWS_FULL_CHR_H_INP, but I can't find any info on what they do.
>
> Regards
> Carl Lindqvist

BR
Alex
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to