video fullscreen
Marco Trapanese
marcotrapanese at gmail.com
Wed Jul 9 10:24:05 PDT 2014
Il 08/07/2014 17:06, Marco Trapanese ha scritto:
> pipeline = gst_element_factory_make("playbin",
> "player");g_object_set(G_OBJECT(pipeline), "uri", uri, NULL);
> bus = gst_element_get_bus(pipeline);
> gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_PLAYING);
>
>
> When the video size is smaller than the resolution of the monitor, a
> transparent border appears around, showing the console behind.
>
> How could I tell to the pipeline to show the video in fullscreen mode?
I think I have to set the properties of my video-sink which is glimagesink.
So I'm trying this pipeline on a command line:
gst-launch-1.0 playbin uri=file:///path/to/.mp4 video-sink=glimagesink
but I cannot understand how to specify the width and height of the output.
Thanks
Marco
More information about the gstreamer-devel
mailing list