Setting frame size on v4l2src

Nicolas Dufresne nicolas.dufresne at collabora.com
Tue Sep 2 06:09:08 PDT 2014


Le 2014-09-01 15:55, Keith Lawson a écrit :
> gst-launch -v v4l2src device=/dev/video0  ! 
> 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! xvimagesink

I see two possible way this could fail. Framerate=30 might not be 
supported by the HW, just remove that field, v4l2 code will pick the 
best it can. The second, there might be colorspace incompatibility with 
your XV driver, add videoconvert (ffmpeg colorspace on 2+ years old 
GStreamer you are using).

Any reason to use GStreamer 0.10 rather then latest statble 1.0 ? 0.10 
branch of GStreamer has been maintained for more then 2 years now.

Nicolas



More information about the gstreamer-devel mailing list