Basics of gstreamer pipeline

Krzysztof Konopko krzysztof.konopko at youview.com
Wed Oct 31 15:29:59 PDT 2012


Please note though that "ffmpegcolorspace was removed and replaced with
videoconvert." in GStreamer-1.0.

See
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-porting-1.0.html
for more details if you intend to use 1.0.

Kris

On 31/10/12 20:14, Praveen Adi wrote:
> 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
> <mailto: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
>     <mailto:gstreamer-devel at lists.freedesktop.org>
>     http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 



More information about the gstreamer-devel mailing list