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

Edward Hervey bilboed at gmail.com
Wed Nov 29 13:48:05 CET 2006


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

   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
>


-- 
Edward Hervey
Multimedia editing developer / Fluendo S.A.
http://www.pitivi.org/




More information about the gstreamer-devel mailing list