fix coordinates of gstreamer window

Sebastian Dröge sebastian at centricular.com
Tue Feb 4 06:22:06 PST 2014


On Mo, 2014-02-03 at 22:10 -0800, prkhr4u wrote:
> I am streaming a mjpeg stream from an IPcamera as follows:
> gst-launch-0.10 souphttpsrc location=http://169.254.126.124/video2.mjpg !
> jpegdec ! xvimagesink
> Here are 2 features I want:
> 1) I want to fix its coordinates to a particular position say (100,200)
> 2) The window should not move on mouse drag, even better if no border is
> displayed
> 
> How can I implement this functionality for 'souphttpsrc' and 'xvimagesink' ?

You would create your own window in the application and use the
GstVideoOverlay (or GstXOverlay in 0.10... you should consider
upgrading) to embed xvimagesink into your own window.

With that window that you created you can do whatever you want.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140204/e97e1695/attachment-0001.pgp>


More information about the gstreamer-devel mailing list