About the starting position of a display window

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

About the starting position of a display window

schuming
Hello everyone:
     I want to ask if I use playbin2 to creat a pipeline,how can I change the starting position of a display window when I play a video。It seems that the window is always be shown in the middle of my screen。 Is there anyway to control the x-coordinate and y-coordinate of the display window?
    In some other subjects,I used to learn a concept called “Registration point” in which way I can change it to control the starting position of a display window,I dont know whether the playbin2 has some funtion
 or properties like this。
   BTW ,we are using gstreamer-0.10 in a mobile equipment,the library of gstreamer-0.10 has already been transplanted in this equipment ,so some apis in 0.11 verson cant be posiible。。。。
   Any points?
   Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: About the starting position of a display window

Stefan Sauer
On 08/11/2012 03:38 AM, schuming wrote:
> Hello everyone:
>      I want to ask if I use playbin2 to creat a pipeline,how can I change
> the starting position of a display window when I play a video。It seems that
> the window is always be shown in the middle of my screen。 Is there anyway to
> control the x-coordinate and y-coordinate of the display window?
Use a ui toolkit such as gtk to manage the window and read about the
GStXOverlay interface.
>     In some other subjects,I used to learn a concept called “Registration
> point” in which way I can change it to control the starting position of a
> display window,I dont know whether the playbin2 has some funtion
>  or properties like this。
>    BTW ,we are using gstreamer-0.10 in a mobile equipment,the library of
> gstreamer-0.10 has already been transplanted in this equipment ,so some apis
> in 0.11 verson cant be posiible。。。。
What is the question here?

>    Any points?
>    Thanks!
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/About-the-starting-position-of-a-display-window-tp4655911.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: About the starting position of a display window

schuming
cant include some libraries in 0.11
Reply | Threaded
Open this post in threaded view
|

Re: About the starting position of a display window

schuming
In reply to this post by Stefan Sauer
Hi Stefan,I made it!Thanks!
I changed some elements in playbin2 and set its new property
Reply | Threaded
Open this post in threaded view
|

Re: About the starting position of a display window

Fantx
In reply to this post by schuming
hi!
Can you tell me how did you do it?
thank you...
Reply | Threaded
Open this post in threaded view
|

Re: About the starting position of a display window

Fantx
In reply to this post by Stefan Sauer
Hi,
    I want to know you say "registration " concrete way of implementing it
    thanks!