[gst-devel] How to display video frame on a specific position (x, y) of an window

Debsu debojyoti.pal at wipro.com
Fri Mar 5 07:11:24 CET 2010


Thanks for this solution approach.



But my case is little different, the window handle will be passed by
another application, and also the location and size would be passed, and
my player would have to render within that space starting from the
location passed by that application.



________________________________

From: yiliang [via GStreamer-devel]
[mailto:ml-node+1579247-1686425124-91831 at n4.nabble.com]
Sent: Friday, March 05, 2010 11:38 AM
To: Debojyoti Pal (WT01 - PES-Mobile-Auto-CE Practice)
Subject: Re: How to display video frame on a specific position (x, y) of
an window



May not be the exact answer you are looking for. I solved a similar
problem by allocating a smaller window inside the original window. You
can adjust the relative position and size in anyway you want, and pass
the smaller window to gstreamer as the rendering target.

On Thu, Mar 4, 2010 at 9:12 PM, Debsu <[hidden email]
<http://n4.nabble.com/user/SendEmail.jtp?type=node&node=1579247&i=0> >
wrote:


Hi,

Is there any way I can mention the (x, y) co-ordinate of a Window from
which
the video frame can be rendered.

I am using VideoSink element for rendering video, on which I can set the
output frame's height & width, and use Overlay to display video frame on
a
specific window of size height*width. But I am unable to display the
video
frame on a specific position of the Window.

Is there any way to mention i?

Regards,
Deb
--
View this message in context:
http://n4.nabble.com/How-to-display-video-frame-on-a-specific-position-x
-y-of-an-window-tp1579217p1579217.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<http://n4.nabble.com/user/SendEmail.jtp?type=node&node=1579247&i=1>
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------
------
Download Intel(r) Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<http://n4.nabble.com/user/SendEmail.jtp?type=node&node=1579247&i=2> 
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



________________________________

View message @
http://n4.nabble.com/How-to-display-video-frame-on-a-specific-position-x
-y-of-an-window-tp1579217p1579247.html
To unsubscribe from How to display video frame on a specific position
(x,y) of an window, click here
< (link removed) 
hbEB3aXByby5jb218MTU3OTIxN3w4OTIzNTk5OTA=> .




Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

-- 
View this message in context: http://n4.nabble.com/How-to-display-video-frame-on-a-specific-position-x-y-of-an-window-tp1579217p1579249.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100304/3ba7c42a/attachment.htm>


More information about the gstreamer-devel mailing list