t.i.m at zen.co.uk
Wed Feb 1 10:14:24 PST 2012
On Wed, 2012-02-01 at 10:03 -0800, max.s wrote:
> hello, I just want to display an jpg image in 10 seconds, and i cant figure
> out how to do that..
> video works fine to play.
> Im using python, and I set the property and set the state:
> self.player.set_property("uri", "file:///home/user/picture.jpg")
> and the image is shown for some nano seconds..
> I want to set like a delay or something.
> If anybody know how to do that, please help me!
You will get an EOS message on the bus more or less immediately after
the image is displayed. Just don't shut down the pipeline at that point,
but set up a timer or sleep for 10 seconds before you shut it down.
More information about the gstreamer-devel