ximagesink full screen?

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

ximagesink full screen?

garrett
GStreamer mailing list!

Is there a way to make ximagesink full screen or at-least larger than the source video coming in?

I tried manipulating the parameters "window-height" and "window-width" and this had no effect.

I tried to change the size of the video coming in by doing something like this

incomingvideosource ! ffmpegcolorspace ! 'video/x-raw-yuv,width=1024,height=768' ! ffmpegcolorspace ! ximagesink

But GStreamer didn't like that.

How can you fullscreen ximagesink?

--
W.A. Garrett Weaver 


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

Re: ximagesink full screen?

Stefan Sauer
On 04/04/2012 09:58 AM, W.A. Garrett Weaver wrote:
GStreamer mailing list!

Is there a way to make ximagesink full screen or at-least larger than the source video coming in?
Sure, it is super simple. Just use e.g. gtkwindow_fullscreen() if you use gtk on the window that you configure when using the XOverlay interface.

Stefan

I tried manipulating the parameters "window-height" and "window-width" and this had no effect.

I tried to change the size of the video coming in by doing something like this

incomingvideosource ! ffmpegcolorspace ! 'video/x-raw-yuv,width=1024,height=768' ! ffmpegcolorspace ! ximagesink

But GStreamer didn't like that.

How can you fullscreen ximagesink?

--
W.A. Garrett Weaver 

_______________________________________________ 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: ximagesink full screen?

garrett
Do we have to write a C program to call gtk_window_fullscreen()? Is there a way to do this in the script?

On Wed, Apr 4, 2012 at 3:16 AM, Stefan Sauer <[hidden email]> wrote:
On 04/04/2012 09:58 AM, W.A. Garrett Weaver wrote:
GStreamer mailing list!

Is there a way to make ximagesink full screen or at-least larger than the source video coming in?
Sure, it is super simple. Just use e.g. gtkwindow_fullscreen() if you use gtk on the window that you configure when using the XOverlay interface.

Stefan

I tried manipulating the parameters "window-height" and "window-width" and this had no effect.

I tried to change the size of the video coming in by doing something like this

incomingvideosource ! ffmpegcolorspace ! 'video/x-raw-yuv,width=1024,height=768' ! ffmpegcolorspace ! ximagesink

But GStreamer didn't like that.

How can you fullscreen ximagesink?

--
W.A. Garrett Weaver 

_______________________________________________ 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




--
W.A. Garrett Weaver 


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

Re: ximagesink full screen?

Stefan Sauer
On 04/05/2012 02:43 AM, W.A. Garrett Weaver wrote:
Do we have to write a C program to call gtk_window_fullscreen()? Is there a way to do this in the script?
As it has been said many times, gst-launch is a tool to test elements. It won't give you all the power of gstreamer. You will need to write an application (in C, python or any supported language). That application can be quite simepl as it can use gst_parse_launch to build the pipleine. Look at the examples in the GstXOverlay docs for how to set your window to be used for video display.

Stefan


On Wed, Apr 4, 2012 at 3:16 AM, Stefan Sauer <[hidden email]> wrote:
On 04/04/2012 09:58 AM, W.A. Garrett Weaver wrote:
GStreamer mailing list!

Is there a way to make ximagesink full screen or at-least larger than the source video coming in?
Sure, it is super simple. Just use e.g. gtkwindow_fullscreen() if you use gtk on the window that you configure when using the XOverlay interface.

Stefan

I tried manipulating the parameters "window-height" and "window-width" and this had no effect.

I tried to change the size of the video coming in by doing something like this

incomingvideosource ! ffmpegcolorspace ! 'video/x-raw-yuv,width=1024,height=768' ! ffmpegcolorspace ! ximagesink

But GStreamer didn't like that.

How can you fullscreen ximagesink?

--
W.A. Garrett Weaver 

_______________________________________________ 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




--
W.A. Garrett Weaver 

_______________________________________________ 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