Friends,
I want to play the video in a full screen. Which element should i use?? I am not suppose to use any elements from bad or ugly plugins :( Need your help!! Thanks in advance. |
just change width and hight and play
|
In reply to this post by akaChella
Hi,
On 08/26/11 13:04, akaChella wrote: > Friends, > > I want to play the video in a full screen. Which element should i use?? > > I am not suppose to use any elements from bad or ugly plugins :( This question was just answered a few hours ago. This has nothing to do with gstreamer, just use the function from your UI toolkit to make the window you provide to the videosink fullscreen (e.g. gtk_window_fullscreen(win) ) Stefan > Need your help!! > > Thanks in advance. > > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Playing-Video-in-a-full-screen-tp3770538p3770538.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 |
I am using xvimagesink as video sink.
How can i get the window id created by xvimage sink?? Or, do we need to create our own window using gtk? And after been played, will the window be hidden automatically?? |
In reply to this post by chandra.panchal
Even If i change the width and height, it is played with that title bar.
I do not want the title bar at all. I want the video to be played in a fullscreen mode. Thanks. |
In reply to this post by Stefan Sauer
Stefan,
I created a window using gtk and when i get a play command i am giving gtk_widget_show_all (window); I gave gtk_widget_hide_all(window) when it reaches end of stream or if a stop command is issued. But when the video reaches the end of stream, the window is not hidden or closed. A black window is there. What is the problem?? |
You need to monitor the bus for the EOS (end of stream) signal, and
then close the window: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-events-definitions.html#section-events-eos -Josh On Fri, Aug 26, 2011 at 10:26 AM, akaChella <[hidden email]> wrote: > Stefan, > > I created a window using gtk and when i get a play command i am giving > gtk_widget_show_all (window); > > I gave gtk_widget_hide_all(window) when it reaches end of stream or if a > stop command is issued. > > But when the video reaches the end of stream, the window is not hidden or > closed. A black window is there. > > What is the problem?? > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Playing-Video-in-a-full-screen-tp3770538p3771013.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 |
Administrator
|
In reply to this post by akaChella
On 8/26/11 10:26 AM, "akaChella" <[hidden email]> wrote: > >But when the video reaches the end of stream, the window is not hidden or >closed. A black window is there. Sounds like you need to catch EOS using a message handler (it's in the Getting Started docs) and have the message handler for EOS signal gtk to close the window. Advice given with this disclaimer: I know NOTHING about GUI operations. Wes CONFIDENTIALITY NOTE: This e-mail and any attachments are confidential. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you for your cooperation. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by akaChella
On Fri, 26 Aug 2011 07:12:36 -0700 (PDT)
akaChella <[hidden email]> wrote: > Even If i change the width and height, it is played with that title > bar. > > I do not want the title bar at all. > > I want the video to be played in a fullscreen mode. > > Thanks. Use the gtk_window_fullscreen() function. That should automatically change the width and height to fill the screen. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Wes Miller
Friends,
I do capture EOS and hiding the window only when i receive the EOS. Even then the window is not hidden :( |
In reply to this post by Stefan Sauer
Hi Stefan,
I have created a gtk window, and hide that window during creation. When the pipeline is set to play, i called gtk_widget_show(window); --> It works fine. When it reaches the end of stream, i called gtk_widget_hide(window) and gtk_widget_no_show_all(window); in GST_ELEMENT_EOS. But the window is not hidden.!!!!! When the pipeline is set to play again, the pipeline is set to GST_STATE_PLAYING, but the window is not shown. Any clue??? |
Free forum by Nabble | Edit this page |