v4l2src and a usb tv tuner

Andrey Nechypurenko andreynech at googlemail.com
Sun Feb 27 15:02:18 PST 2011


Hi,

> gst-launch-0.10  v4l2src device=/dev/video1 ! video/x-raw-
> yuv,format=\(fourcc\)YUY2 ! ffmpegcolorspace ! autovideosink

The first thing which I would suggest is to explicitly provide frame
width, height and framerate in your caps filter. Something like this:

gst-launch-0.10  v4l2src device=/dev/video1 !
video/x-raw-yuv,format=\(fourcc\)YUY2,width=720,height=576,framerate=\(fraction\)25/1
! ffmpegcolorspace ! autovideosink

I am not sure about frame rate. Maybe 30/1 is the right value. It
depends on your camera.

HTH,
Andrey.


More information about the gstreamer-devel mailing list