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 |
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]> wrote:
------------------------------------------------------------------------------ Download Intel® 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] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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:[hidden email]] 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]> wrote:
View message @ http://n4.nabble.com/How-to-display-video-frame-on-a-specific-position-x-y-of-an-window-tp1579217p1579247.html
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 |
Maybe with the videobox?? The video will be rendered in the whole window, but some parts of it would be transparent.
On Fri, Mar 5, 2010 at 7:11 AM, Debsu <[hidden email]> wrote:
-- Álex Ugarte Iñiguez de Heredia Investigador / Researcher TV Digital y Servicios Multimedia / Digital TV and Multimedia Services Vicomtech - Visual Interaction Communication Technologies Mikeletegi Pasealekua, 57 - Parque Tecnológico 20009 Donostia - San Sebastián - Spain Tel: +[34] 943 30 92 30 Fax: +[34] 943 30 93 93 e-mail: [hidden email] www.vicomtech.org *** member of INI-GraphicsNet **** www.inigraphics.net *** member of IK4 Research Alliance **** www.ik4.es ----------------------------------------------------- Vicomtech is an ISO 9001:2000 certified institute ----------------------------------------------------- ------------------------------------------------------------------------------ Download Intel® 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] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Actually I want to display more that one pictures in one window handle passed by another application. So if one picture takes the whole space, my purpose will not be solved.
Till now I am able to set the height & width using VideoSink, but unable to position it to proper (x,y) coordinate. |
In reply to this post by Debsu
Am 05.03.2010 07:12, schrieb Debsu:
> > 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 https://bugzilla.gnome.org/show_bug.cgi?id=610249 I will commit that after the freeze. Stefan ------------------------------------------------------------------------------ Download Intel® 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] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi Stefan
Thanks a lot. Currently I am using gstreamer-0.10.22, is there any way to add your fixes into this version, once it is done? I do have some constrains to update gstreamer version because of development environment. Regards, Deb |
hi,
Debsu wrote: > Hi Stefan > > Thanks a lot. Currently I am using gstreamer-0.10.22, is there any way to > add your fixes into this version, once it is done? I do have some constrains > to update gstreamer version because of development environment. > > Regards, > Deb > I don't see this as a fix, its a new feature. Just ensure you have a xwindow for the part where you want the video and you are fine (what ui toolkit are you using?) Anyway, as it is a new feature the xoverlay patch should apply painlessly. If you have problems with xvimagsink, just apply my patch to git head and put the diff of that against you version into your release as a patch (basically upgrade that single plugin). Stefan ------------------------------------------------------------------------------ Download Intel® 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] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi Stefan, Thanks a lot. Great to hear that only
apply this patch I shall be able to display the video to a specific location of
a Window. Currently I am using QT toolkit,which creates a window and pass the
handle to the gstreamer Playbin. But in xvimagsink there is no way I can specify the (x, y)
coordinate, I can only specify height & width in VideoSink element. So after
this feature, where shall I mention the (x, y) coordinate? Regards, Deb From: Stefan Kost [via
GStreamer-devel] [mailto:[hidden email]] hi, View message @ http://n4.nabble.com/How-to-display-video-frame-on-a-specific-position-x-y-of-an-window-tp1579217p1584594.html
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 |
Free forum by Nabble | Edit this page |