playbin2

Stefan Sauer ensonic at hora-obscura.de
Thu Feb 2 05:13:38 PST 2012


On 02/02/2012 11:00 AM, max.s wrote:
> Thanks for the advice Tim!!
>
> when I get the EOS message I set time.sleep(10.0).
> but then the display turns black in 10 seconds.. so I never get to see the
> picture.
>
> I did also try to set a timer to execute a function after 10 seconds and put
> everything that should happen when it is a picture that is shown, and I get
> the message_EOS.
> but the picture is still black, though some other things work fine when i do
> it this way like scrolling a text under in 10 seconds..
>
> but it seems that the player just plays the image for 0,0001 second and then
> keep the image black until I set the gst.STATE_NULL.
It's probably easy if you show us your code. The videosink will keep
showing the image until you go to ready/null.
> It should be something that freeze the image i think.. I have heard that
> there is a element called "freeze"
> but I don't know how to use it.. (or if it exist). 

There is an element called imagefreeze (and also one called freeze). But
those don't fit the playbin2 model well.

Stefan
> /Max 
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/playbin2-tp4348783p4350995.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list