[FFmpeg-devel] [RFC] removing libmpcodecs for reuniting purposes.

Ronald S. Bultje rsbultje at gmail.com
Mon Aug 18 15:51:38 CEST 2014


Hi,

On Mon, Aug 18, 2014 at 9:48 AM, Kieran Kunhya <kierank at obe.tv> wrote:

> On 18 August 2014 14:37, Ivan Kalvachev <ikalvachev at gmail.com> wrote:
> > On 8/18/14, Kieran Kunhya <kierank at obe.tv> wrote:
> >> On 18 August 2014 02:26, Ivan Kalvachev <ikalvachev at gmail.com> wrote:
> >>
> >>> ilpack - interlaced yuv420-> yuv422 converter. Scale should be able to
> >>> do that too.
> >>
> >> Scale doesn't have much (any?) knowledge of interlaced chroma.
> >> That said I could probably port this filter to lavfi because it would
> >> be quite useful to me. I wasn't actually aware it existed.
> >
> > Hum?
> > "
> > ‘interl’
> >     Set the interlacing mode. It accepts the following values:
> >     ‘1’        Force interlaced aware scaling.
> >     ‘0’        Do not apply interlaced scaling.
> >     ‘-1’        Select interlaced aware scaling depending on whether
> > the source frames are flagged as interlaced or not.
> >     Default value is ‘0’.
>
> That is totally different to what the ilpack filter does. The ilpack
> filter converts from yuv420 to yuyv (422). vf_scale doesn't have any
> knowledge of interlaced chroma at all (and I sincerely hope nobody
> tries adding it to swscale).


How is it different? If you're interlacing-aware and call swscale_convert()
twice (once for each field, double stride each, alternate offset for second
call), isn't that the same?

Ronald


More information about the ffmpeg-devel mailing list