[gst-devel] interlacing?
Ronald Bultje
rbultje at ronald.bitfreak.net
Wed Oct 3 07:49:10 CEST 2001
Hey,
On 2001.10.03 16:29:36 +0200 Xavier Bestel wrote:
> 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 ?
The single buffer contains both fields, so that wouldn't be a problem :-),
I just need to figure out a way of telling the other plugins the order of
the fields within that buffer.
Ronald
--
- .-.
- /V\ | Ronald Bultje <rbultje at ronald.bitfreak.net>
- // \\ | Running: Linux 2.4.4 and OpenBSD 2.8
- /( )\ | http://ronald.bitfreak.net/
- ^^-^^
More information about the gstreamer-devel
mailing list