[gst-devel] Attaching iSight camera to a GStream

Tim-Philipp Müller t.i.m at zen.co.uk
Mon Apr 12 13:50:39 CEST 2010


On Mon, 2010-04-12 at 07:22 -0400, Wesley J. Miller wrote:

> >> Thanks for the great answers.  Now for the other half of the question:  what
> >> is the camera's location/uri?  An ls /dev  is not revealing.
> 
> >  Most likely /dev/video0 , or any other matching the /dev/videoX
> >  pattern.
> 
> >  Edward
> 
> Well, it's not /dev/video.  No /dev/videos , /dev/camera, /dev/isight,
>  nothing that looks like what I'd expect.   Lots of ptty's ant tty's
>  and hd's, etc, but naught that resembles anything camera like.
> 
> Any chance it might be some sort of URL?


You're not providing a lot of information here. Are you sure the problem
is GStreamer-side? Does the camera work with any other application?

Does this show any output on a freshly booted system?

 $ dmesg | grep -i isight

For me (Macbook Pro, Linux 2.6.32) it shows this:

[    2.877500] usb 2-4: Product: Built-in iSight
[   16.832466] uvcvideo: Found UVC 1.00 device Built-in iSight
(05ac:8502)
[   16.835194] input: Built-in iSight
as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0/input/input12

and

 $ gst-launch-0.10 v4l2src ! video/x-raw-yuv,width=640,height=480 ! \
       queue ! ffmpegcolorspace ! ximagesink

works just fine out of the box (but the device is /dev/video0, if it
matters).

Cheers
 -Tim







More information about the gstreamer-devel mailing list