[gst-devel] FPS change with v4lsrc element

Pablito storm-pf at email.cz
Fri Feb 13 11:51:58 CET 2004


> On Thu, 2004-02-12 at 18:49, storm-pf at volny.cz wrote:
> > Hi,...
> > 
> > I want to run simple pipeline which will encode AVI file.
> > 
> > something like:
> > 
> > v4lsrc ! winenc ! avimux ! filesink
> 
> does this work for you ?

yes,
gst-launch v4lsrc ! winenc ! avimux ! filesink location=video.avi
works, but the stream is endless :-))


> 
> > but i want to capture images from v4l device at different fps,
> > say 5 fps.
> 
> using filtered links should work in 0.7, but looking at v4lsrc it
> doesn't really specify a pad template, I don't have winenc myself so I
> can't check if it has a fps structure.
>
> I did see use-fixed-fps as a property on v4lsrc, though that seems a
> hack - but give that a try.
> 
> Thomas

i'm able to slow down capturing by calling usleep.
the resulting avi is however played at maximum fps.
this is matter of winenc element.

p.f.




More information about the gstreamer-devel mailing list