Basics of gstreamer pipeline

Praveen Adi adi.praveen at gmail.com
Wed Oct 31 13:14:14 PDT 2012


Hi Tim,

Thanks for the detailed answer.
It really helped me in getting a better picture.

Regards,
Praveen

On Wed, Oct 31, 2012 at 7:27 PM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> On Wed, 2012-10-31 at 18:17 +0900, Praveen Adi wrote:
>
> Hi,
>
> > Can some please explain me the following:
> >
> > In the pipeline,
> >
> > gst-launch videotestsrc ! ffmpegcolorspace ! ximagesink
> >
> > What cololorspace does videotestsrc  produce here?
>
> It will query ffmpegcolorspace for what it supports, which in turn will
> query ximagesink for what it supports (so that what ximagesink supports
> can be prefered).
>
> It will likely produce whatever colorspace/pixel layout ximagesink
> returns first in the caps it returns from its get_caps() function.
>
> > What colorspace conversion is ffmpegcolorspace doing?
>
> If videotestsrc can produce every format ximagesink could possibly
> support, then no conversion will be done. ffmpegcolorspace will operate
> in passthrough mode.
>
> > What colorspace is ximagesink accepting and where is it presenting,
> > Framebuffer??
>
> It depends on the driver/card. It will be determined at runtime what
> formats are supported. It's likely going to be some RGB format.
>
> You can see the caps negotiated if you pass -v to gst-launch.
>
> > Here we don't mention any properties for the plugin, but still how do
> > they co-work?
>
> Not sure I understand the question, could you rephrase it?
>
> Cheers
>  -Tim
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121101/86c79a24/attachment.html>


More information about the gstreamer-devel mailing list