[gst-devel] gstreamer-devel Digest, Vol 19, Issue 26

Vinod Nanjaiah Vinod_Nanjaiah at mindtree.com
Sun Dec 16 14:17:29 CET 2007

Thanks Tim. 
You are right in pointing out the missing interfaces.
"gst-inspect-0.10 dspmpeg4sink" does not list any "Implemented Interfaces".

What can be an alternate approach to display video on an overlay window?

I also tried to build xvimagesink for N770 as it doesn't come along with that
I built xvimagesink, gstinterface and gstvideo on Scratchbox for ARM and
copied them onto N770.
But gst-inspect still doesn't show xvimagesink.
Am I missing something here?


From: Tim M?ller <t.i.m at zen.co.uk>
Subject: Re: [gst-devel] using xoverlay
To: gstreamer-devel at lists.sourceforge.net
Message-ID: <1197739728.7165.14.camel at zingle>
Content-Type: text/plain

On Sat, 2007-12-15 at 19:55 +0530, Vinod Nanjaiah wrote:

> Has anyone successfully used Xoverlay ;-)

Of course, a lot of GStreamer-based video players use it (e.g.

> I just can't seem to get the bus message "GST_MESSAGE_ELEMENT" so that I
> proceed and call gst_x_overlay_set_xwindow_id ().
> If however, I don't check for the message and directly call
> gst_x_overlay_set_xwindow_id (), my app just seg faults with the following
> errors.
> GLIB WARNING ** GLib-GObject - invalid cast from `GstDSPMPEG4Sink' to
> `GstXOverlay'
> GLIB CRITICAL ** GStreamer - gst_implements_interface_cast: assertion
> `gst_element_implements_interface (GST_ELEMENT (from), iface_type)' failed
> Can someone please, please enlighten me on this.

GstXOverlay is an interface, which needs to be implemented by the video
sink. Also, it's usually wrapped by GstImplementsInterface which means
that it may only be available if the video sink is in a certain state
(such as >= READY).  So my guess would be that you are either using a
video sink which doesn't implement this particular interface or the
video sink is still in the NULL state (or the element is buggy).
'gst-inspect-0.10 dspmpeg4sink' should tell you what interfaces the
element implements, if any.


This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.
E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.
Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.

More information about the gstreamer-devel mailing list