How to locate the xoverlay of gstreamer to an area in some browser.

Stefan Sauer ensonic at hora-obscura.de
Sun Dec 11 09:34:37 PST 2011


On 12/10/2011 11:50 AM, forestzhu wrote:
> Hi all,
> Thanks for your reply.
> I am trying to dev a plugin for  a browser in linux env. 
> And I have tried "gst_x_overlay_set_render_rectangle" ,
> but in any videosink it failed.
> It returns ture but do not display in the area or other space.
It returns true when the underlying videosink supports it.
> Do I need to create a gtkwindow ,locate the image to the gtkwindow.
> and then try to embed the gtkwindow to the area of browser ?
>
> I am new to npapi browser plugin.
> And do not know what browser can I use.
> At the stage of  "gst_x_overlay_set_*" ,the chrome crashed ,
> and the firefox do not display the image.
>
> Can anyone give some information to me?
This is way to little information to help you. First try without
constraining the rendering to a subregion. Then the video should fill
the whole window. Also please point us to your source code, tell us what
videosink you are using. Ensure that you follow the example for setting
up the xoverlay interface etc.

Stefan

> Best regards,
> forest
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-locate-the-xoverlay-of-gstreamer-to-an-area-in-some-browser-tp4175712p4179824.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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