[gst-devel] ximagesink

Michael Smith msmith at xiph.org
Tue May 5 09:41:19 CEST 2009


On Tue, May 5, 2009 at 12:32 AM, nikhil almalkar
<nikhil.almalkar at gmail.com> wrote:
>> On Mon, May 4, 2009 at 11:59 PM, nikhil almalkar
>> <nikhil.almalkar at gmail.com> wrote:
>> > Hi all,
>> > I have a pipeline with an encoder plugin and decodebin (with required
>> > decoder plugins available). I use ximagesink for display.
>> > It works fine in gst-launch.. but when I put it in a pipeline that looks
>> > like this :
>> > (source, encoder, decoder, ffmpegcolorspace, ximagsink)
>> > and try to play this, it does not show the xvideo output. What may be the
>> > issue ?
>>
>> Be more specific. What _exactly_ are the source, encoder, and decoder?
>> Maybe you need a videoscale? What errors are you getting? What does
>> your code look like?
>
>
> source is a filesrc, encoder is an in-house encoder, decoder is a
> decodebin... there are no errors, just the ximagesink does not output
> a video, the program runs though... Inserting a scale did not make any
> difference...

decodebin uses dynamic ("sometimes") pads. See the documentation for
how to use them.

You would find, if you were checking return value, that your call to
gst_element_link_many() is failing.

Mike




More information about the gstreamer-devel mailing list