[gst-devel] interlacing?

Xavier Bestel xavier.bestel at free.fr
Wed Oct 3 07:36:07 CEST 2001

le mer 03-10-2001 at 14:20 Ronald Bultje a écrit :

> Then, I can simply use:
>   caps = GST_CAPS_NEW ("v4lmjpegsrc_caps", "video/jpeg", gst_props_new(
>     "width",       GST_PROPS_INT(plugin->width),
>     "height",      GST_PROPS_INT(plugin->height),
>     "interlacing", GST_PROPS_INT(plugin->interlacing),
>     NULL));
> in my gst_*_create_caps() function and be sure that other plugins also know
> that 0 is actually not-interlaced and 1 is TFF and 2 is BFF. So, is this
> acceptable?

If you put a filter that e.g. drops each third frame (to speed up
video), your ordering is lost. Using dparams you can even imagine more
complex operations on frame selection.
How about attaching the top/bottom field information (or even a superset
of this) directly to each buffer ?


More information about the gstreamer-devel mailing list