[gst-devel] video4linux framerate problems

Gergely Nagy gergely.nagy at neteyes.hu
Tue Jan 25 13:31:05 CET 2005


On Tue, 2005-01-25 at 14:22 +0000, Alexander Bierbrauer wrote:
> I'm trying to use my webcam with gstreamer but it doesn't work 'cause of 
>   an error during setting the timestamp (gstreamer does it on its own)
> 
> Here's the error message I'm getting with gst-launch:
> 
>  >gst-launch-0.8 v4lsrc ! xvimagesink
> 
> RUNNING pipeline ...
> ERROR: from element /pipeline0/v4lsrc0: Could not get/set settings 
> from/on resource.
> Additional debug info:
> gstv4lsrc.c(663): gst_v4lsrc_src_link: /pipeline0/v4lsrc0:
> Could not set framerate of 30.000000 fps
> Execution ended after 1 iterations (sum 148187000 ns, average 148187000 
> ns, min 148187000 ns, max 148187000 ns).

Try something like this:

gst-launch-0.8 v4lsrc autoprobe=0 autoprobe-fps=0 ! \
	video/x-raw-yuv,width=(int)320,height=(int)240,framerate=(double)10 ! \
	ffmegpcolorspace ! xvimagesink

Change the arguments to suit your particular webcam.

Hope that helps,
-- 
Gergely Nagy <gergely.nagy at neteyes.hu>
NetEyes Kft.





More information about the gstreamer-devel mailing list