How to display video frame on a specific position (x,y) of an window

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

How to display video frame on a specific position (x,y) of an window

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
Reply | Threaded
Open this post in threaded view
|

Re: How to display video frame on a specific position (x, y) of an window

yiliang
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:

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]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
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]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: How to display video frame on a specific position (x, y) of an window

Debsu

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]]
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]> 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]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
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


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.

 

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

Reply | Threaded
Open this post in threaded view
|

Re: How to display video frame on a specific position (x, y) of an window

Alex Ugarte-2
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:

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]]
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]> 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]



------------------------------------------------------------------------------
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]


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.

 

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: RE: How to display video frame on a specific position (x, y) of an window

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]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Á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&#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]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to display video frame on a specific position (x, y) of an window

Debsu
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.
Reply | Threaded
Open this post in threaded view
|

Re: How to display video frame on a specific position (x, y) of an window

Stefan Sauer
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&#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]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to display video frame on a specific position (x, y) of an window

Debsu
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
Reply | Threaded
Open this post in threaded view
|

Re: How to display video frame on a specific position (x, y) of an window

Stefan Sauer
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&#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]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: How to display video frame on a specific position (x, y) of an window

Debsu

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]]
Sent: Monday, March 08, 2010 8:39 PM
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

 

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


View message @ http://n4.nabble.com/How-to-display-video-frame-on-a-specific-position-x-y-of-an-window-tp1579217p1584594.html
To unsubscribe from Re: How to display video frame on a specific position (x, y) of an window, click here.

 

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