[gst-devel] Trying to use Gstreamer with a dummy v4l device to use a dv1394src as a v4l webcam

Cillian de Róiste cillian.deroiste at gmail.com
Sun Apr 19 15:46:59 CEST 2009


Hi,

I'm using gstreamer 0.10.20 and AVLD as a dummy v4l device
(http://allonlinux.free.fr/Projets/AVLD/  version 0.1.4). I don't know
if what I'm trying is really possible but people claim to have used
AVLD successfully for this so I'm hoping I've just got something wrong
in the pipeline I'm using.

modprobe avld palette=9 depth=24 fps=10 width=320 height=240

gst-launch-0.10 dv1394src ! queue ! dvdemux ! ffdec_dvvideo !
videoscale ! ffmpegcolorspace !
video/x-raw-yuv,width=320,height=240,format=\(fourcc\)UYVY ! filesink
location=/dev/video0 buffer-mode=2

# This seems happy enough
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

# mplayer accepts it and plays the video
mplayer tv:// -tv "driver=v4l:device=/dev/video0:noaudio:outfmt=uyvy"

# When I try to open it with gstreamer (or via gstreamer-properties etc.):
gst-launch-0.10 v4lsrc ! xvimagesink
# it says:
Error running pipeline 'Video for Linux (v4l)': Could not read from
resource. [v4lsrc_calls.c(183): gst_v4lsrc_capture_init ():
/pipeline1/v4lsrc2:
Not enough buffers. We got 1, we want at least 2]

Any ideas?

Thanks,
Cillian




More information about the gstreamer-devel mailing list