[gst-devel] continuous streaming of a single image frame

Ronald S. Bultje rbultje at ronald.bitfreak.net
Wed Jul 13 19:37:49 CEST 2005


On Wed, 2005-07-13 at 05:51, mammique wrote:
> i'd like to display continuously an image to mix it with a video stream,
> but it always ends after the first iteration:
> 
> gst-launch-0.8 filesrc location=test.jpg ! jpegdec ! videorate !
> 'video/x-raw-yuv,framerate=(double)25.0' ! xvimagesink
> 
> Is there an issue for that ?

No, not particularly.

If you want to display just this image, use the 'freeze' element, which
we use for debugging image-related issues; it will continuously repeat
the first frame (which is exactly what you want). To merge an image over
a video, use the 'videomixer' or 'imagemixer' element, both handle still
images correctly (i.e. merge them over video 'forever').

Cheers,
Ronald

-- 
Ronald S. Bultje <rbultje at ronald.bitfreak.net>





More information about the gstreamer-devel mailing list