Comment 21 for bug 219252

Revision history for this message
Michael Doube (michael-doube) wrote :

r5u870 revision 109 compiles on 2.6.27-10 (Intrepid) but to get the camera to initialise you have to run programs with root privileges, e.g:

]$ sudo gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink

Running as an ordinary user gives this error:

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not open device "/dev/video0" for reading and writing.
Additional debug info:
v4l2_calls.c(477): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Permission denied
Setting pipeline to NULL ...
FREEING pipeline ...

/dev/video0 permissions are:
crw-rw---- 1 root video 81, 0 2008-12-16 10:31 /dev/video0