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

2012-05-24 Thread Carl Eugen Hoyos
Carl Lindqvist writes: > I have not yet looked at MPlayer/libmpcodecs/vf_scale.c, > will do it tomorrow and see what I can find. > > How does the ffmpeg app do it? What file should I look > at for source examples? libavfilter/vf_scale.c (look for isws) Not surprisingly, it looks similar to th

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

2012-05-24 Thread Carl Lindqvist
2012/5/24 Alex Cohn > On Thu, May 24, 2012 at 11:19 AM, Carl Lindqvist 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 fro

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

2012-05-24 Thread Alex Cohn
On Thu, May 24, 2012 at 11:19 AM, Carl Lindqvist 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 ef

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

2012-05-24 Thread Carl Eugen Hoyos
Carl Lindqvist 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 sta

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

2012-05-24 Thread Carl Lindqvist
2012/5/24 Carl Eugen Hoyos > Carl Lindqvist writes: > > > 2012/5/24 Carl Eugen Hoyos ag.or.at> > > Alex Cohn ...> writes: > > > > In ffmpeg, deinterlace is performed by avcodec (imgconvert.c > > > > avpicture_deinterlace) > > > > > > This deinterlacer is old, if you have no license issue, plea

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

2012-05-24 Thread Carl Eugen Hoyos
Carl Lindqvist writes: > 2012/5/24 Carl Eugen Hoyos ag.or.at> > Alex Cohn ...> writes: > > > In ffmpeg, deinterlace is performed by avcodec (imgconvert.c > > > avpicture_deinterlace) > > > > This deinterlacer is old, if you have no license issue, please > > use yadif. > > You are not understand

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

2012-05-24 Thread Carl Lindqvist
2012/5/24 Carl Eugen Hoyos > Alex Cohn writes: > > > In ffmpeg, deinterlace is performed by avcodec (imgconvert.c > > avpicture_deinterlace) > > This deinterlacer is old, if you have no license issue, please > use yadif. > (If you have a license issue, contact the developer.) > > Aren't there fi

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

2012-05-24 Thread Carl Eugen Hoyos
Alex Cohn writes: > In ffmpeg, deinterlace is performed by avcodec (imgconvert.c > avpicture_deinterlace) This deinterlacer is old, if you have no license issue, please use yadif. (If you have a license issue, contact the developer.) Aren't there filters to "interleave" (if this is the correct

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

2012-05-23 Thread Alex Cohn
On Wed, May 23, 2012 at 6:30 PM, Carl Lindqvist wrote: > Hi > > A while back i posted this question on stackoverflow but it hasn't gained > much attention: > > http://stackoverflow.com/questions/9681059/swscale-color-space-convert-interlaced-frames > > As you can see I have problems when changing

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

2012-05-23 Thread Carl Lindqvist
Hi A while back i posted this question on stackoverflow but it hasn't gained much attention: http://stackoverflow.com/questions/9681059/swscale-color-space-convert-interlaced-frames As you can see I have problems when changing the color space from 4:2:2 to 4:2:0 on interlaced material. I hope th