v4l2 problem webcam

279 views
Skip to first unread message

anks

unread,
Nov 18, 2009, 9:04:37 PM11/18/09
to Linux User Group @ IIT Delhi
here are few outputs since i switched over to karmic

-->xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.31-15-generic)
looking for available devices
port 355-386
type : Xvideo, image scaler
name : NV17 Video Texture

port 387-418
type : Xvideo, image scaler
name : NV05 Video Blitter

/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : HP Webcam
flags: capture

gstreamer-properties
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin
'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin
'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
libv4l2: error turning on stream: Cannot send after transport endpoint
shutdown
gstreamer-properties-Message: Error running pipeline 'Video for Linux
2 (v4l2)': Error starting streaming on device '/dev/video0'.
[gstv4l2object.c(1886): gst_v4l2_object_start_streaming (): /
GstPipelineipeline2/GstV4l2Src:v4l2src3:
system error: Cannot send after transport endpoint shutdown]



xawtv
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.31-15-generic)
xinerama 0: 1280x800+0+0
WARNING: No DGA direct video mode for this display.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-
*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0x7f7ba3409ab0
[PAL_I,PAL_D,PAL_K,PAL_N,PAL_60,NTSC_M,?,SECAM_L,ATSC_16_VSB,(null),
(null),(null),(null),(null),(null ),(null),(null),(null),(null),(null),
(null),(null),(null),(null),(null)]): Invalid argument
libv4l2: error turning on stream: Cannot send after transport endpoint
shutdown
ioctl: VIDIOC_STREAMON(int=1): Cannot send after transport endpoint
shutdown
ioctl: VIDIOC_S_CTRL(id=9963778;value=0): Input/output error
ioctl: VIDIOC_S_CTRL(id=9963776;value=0): Input/output error
ioctl: VIDIOC_S_CTRL(id=9963779;value=0): Input/output error
ioctl: VIDIOC_S_CTRL(id=9963777;value=0): Input/output error
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
v4l2: oops: select timeout
^Clibv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT
(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi
x.priv=0): Input/output error
libv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT
(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi
x.priv=0): Input/output error
libv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT
(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi
x.priv=0): Input/output error
ioctl: VIDIOC_S_FMT
(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pix.p
riv=0): Input/output error
libv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT
(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi
x.priv=0): Input/output error
no way to get: 384x288 32 bit TrueColor (LE: bgr-)


uname -a
Linux ankush-laptop 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10
14:53:52 UTC 2009 x86_64 GNU/Linux


nvidia-185 module is being used

any files to check please do tell me

any help is appreciable

sometimes on its own gstreamer starts streaming the video from my cam
and sometimes it reports no errors but simply shows no video screen

how do i patch this bug

Reply all
Reply to author
Forward
0 new messages