[gst-devel] Multiple camera streams and v4l2src

Filippo Argiolas filippo.argiolas at gmail.com
Thu Jun 18 22:25:20 CEST 2009


On Thu, Jun 18, 2009 at 9:51 PM, Vincent
Bossier<vincent.bossier at gmail.com> wrote:
> When connecting two webcams to my Linux computer (Ubuntu 9.04), I try
> to visualize both streams simultaneously with the following commands:
>
> gst-launch v4l2src device=/dev/video0 ! xvimagesink
> gst-launch v4l2src device=/dev/video1 ! xvimagesink
>
> The first command leads well to a window displaying the video stream
> from the first camera. The second command leads to a scrambled video
> with the following error logs in the shell:
>
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits

Did you connect them to the same controller? Probably two webcam
streams at once exceed the USB bandwidth.
Try with another usb port or set caps to use a lower resolution (or framerate).
HTH,

Filippo




More information about the gstreamer-devel mailing list