[gst-devel] Display video in the appointed rect region on QT dialog

Jan Schmidt thaytan at noraisin.net
Wed Nov 29 18:18:48 CET 2006


On Wed, 2006-11-29 at 13:48 +0100, Edward Hervey wrote:
> Hi,
> 
>   You want to check out the GstXOverlay interface which almost all
> video sinks implement. You can set the XID of the XWindow in which you
> want the sink to display the video using
> gst_x_overlay_set_xwindow_id().
>    More information here :
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstxoverlay.html

What Edward means is that you probably need a widget in your dialog box
that provides a complete xwindow for you to place the overlay into. In
Gtk, you can use a GtkDrawingArea. On Qt, I don't know what the
equivalent would be.

Regards,
Jan.

> 
>    Edward
> 
> On 11/29/06, Vincent Zhou <vincentzhou at solomon-systech.com> wrote:
> > Hi,
> >
> > Now I have implemented displaying webcam video on the QT dialog window
> > by v4lsrc, xvimagesink, and xoverlay interface.
> > But the captured video occupy all the QT dialog Window, I am wondering
> > if I can appoint a region on the QT dialog and display the video on the
> > appointed rect region?
> > Can anybody give me some advice?
> > Thanks.
> >
> > Regards,
> > Vincent
> >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> 
> 

-- 
Jan Schmidt thaytan at noraisin.net

ENOSIG






More information about the gstreamer-devel mailing list