Re: Error message when running cheese



hi,
Am 09.06.2010 00:09, schrieb lesliek ozemail com au:
> The output of v4l-info (of whose existence I was unaware till you mentioned
> it--sorry!) is as follows:
> 
> ### v4l2 device info [/dev/video0] ###
> general info
>     VIDIOC_QUERYCAP
> 	driver                  : "zc3xx"
> 	card                    : "PC Camera"
> 	bus_info                : "usb-0000:00:13.1-1"
> 	version                 : 2.6.0
> 	capabilities            : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]
> 
> standards
> 
> inputs
>     VIDIOC_ENUMINPUT(0)
> 	index                   : 0
> 	name                    : "zc3xx"
> 	type                    : CAMERA
> 	audioset                : 0
> 	tuner                   : 0
> 	std                     : 0x0 []
> 	status                  : 0x0 []
> 
> video capture
>     VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
> 	index                   : 0
> 	type                    : VIDEO_CAPTURE
> 	flags                   : 1
> 	description             : "JPEG"
> 	pixelformat             : 0x4745504a [JPEG]

Yes, this is jpeg only. Imho it still works fine, despite the warning and it is
fixed in never libv4l. I am now wondering why cheese is run with libv4lconvert
preloaded, maybe it works better without for you.

You could try running:
gst-launch-0.10 v4l2src ! xvimagesink
to check the direct capture.

Also I wonder if cheese is a wrapper script that LD_PRELOADS libv4lconvert.so on
your system. Could you check:

file `which cheese`

Stefan



>     VIDIOC_G_FMT(VIDEO_CAPTURE)
> 	type                    : VIDEO_CAPTURE
> 	fmt.pix.width           : 640
> 	fmt.pix.height          : 480
> 	fmt.pix.pixelformat     : 0x4745504a [JPEG]
> 	fmt.pix.field           : NONE
> 	fmt.pix.bytesperline    : 640
> 	fmt.pix.sizeimage       : 115790
> 	fmt.pix.colorspace      : JPEG
> 	fmt.pix.priv            : 0
> 
> controls
> 
> ### video4linux device info [/dev/video0] ###
> general info
>     VIDIOCGCAP
> 	name                    : "PC Camera"
> 	type                    : 0x1 [CAPTURE]
> 	channels                : 1
> 	audios                  : 0
> 	maxwidth                : 640
> 	maxheight               : 480
> 	minwidth                : 48
> 	minheight               : 32
> 
> channels
>     VIDIOCGCHAN(0)
> 	channel                 : 0
> 	name                    : "zc3xx"
> 	tuners                  : 0
> 	flags                   : 0x0 []
> 	type                    : CAMERA
> 	norm                    : 0
> 
> tuner
> ioctl VIDIOCGTUNER: Invalid argument
> 
> audio
>     VIDIOCGAUDIO
> 	audio                   : 0
> 	volume                  : 0
> 	bass                    : 0
> 	treble                  : 0
> 
> picture
>     VIDIOCGPICT
> 	brightness              : 0
> 	hue                     : 0
> 	colour                  : 0
> 	contrast                : 32768
> 	whiteness               : 26214
> 	depth                   : 8
> 	palette                 : unknown
> 
> buffer
> ioctl VIDIOCGFBUF: Invalid argument
> 
> window
>     VIDIOCGWIN
> 	x                       : 0
> 	y                       : 0
> 	width                   : 640
> 	height                  : 480
> 	chromakey               : 0
> 	flags                   : 0
> 
> --------------------------------------------------
> To see papers written by me on, among other things, literary allusions in
> Australian reasons for judgment, start here:
> http://ssrn.com/author=1164057
> 
> To see photos taken by me of, among other things, Sydney now (as well as
> comparative photos taken by others of Sydney then), start here:
> http://www.flickr.com/photos/23623601 N03/sets/72157604225021655/
> --------------------------------------------------
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]