public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* how solid is vivi?
@ 2008-10-29 20:44 Carl Karsten
  2008-10-31 17:58 ` capture.c memory leak Carl Karsten
  0 siblings, 1 reply; 2+ messages in thread
From: Carl Karsten @ 2008-10-29 20:44 UTC (permalink / raw)
  To: video4linux-list

I am trying to use vivi to test some v4l2 apps, but I am wondering how many of
the problems are really bugs in vivi that can be fixed so that the remaining
bugs are really bugs in the client app.

Here is the result of using it with some popular apps.  If anyone knows any more
like this, please let me know - I am collecting tools to help with testing.

camorama just errors.

xawtv and tvtime both display the test patteren, but also log a bunch of stuff
to stderr.  I am guessing they are trying to do things without checking to make
sure the driver supports it, but given that I can't find anything that works
witout some error, I have to wonder.

I am working with
http://code.google.com/p/python-video4linux2/
and getting segfaults.  I am reporting them, but it would be nice to be a bit
more confident in knowing what we can rely on.

++ sudo modprobe vivi
++ dmesg
++ grep vivi
[ 1967.326840] vivi: V4L2 device registered as /dev/video0

++ camorama -d /dev/video0

gui error dialog:  "Could not connect to the video device (/dev/video0)  Please
check the connection."

++ xawtv -device /dev/video0
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.27-7-generic)
xinerama 0: 1024x768+0+0
/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


++ tvtime --device /dev/video0
Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
I/O warning : failed to load external entity "/home/juser/.tvtime/tvtime.xml"
I/O error : Permission denied
I/O error : Permission denied
Cannot change owner of /home/juser/.tvtime/tvtime.xml: Permission denied.
videoinput: Can't get tuner info: Invalid argument
videoinput: Can't get tuner info: Invalid argument
videoinput: Can't mute card.  Post a bug report with your
videoinput: driver info to http://tvtime.net/
videoinput: Include this error: 'Invalid argument'
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
I/O error : Permission denied
videoinput: Can't mute card.  Post a bug report with your
videoinput: driver info to http://tvtime.net/
videoinput: Include this error: 'Invalid argument'
I/O warning : failed to load external entity "/home/juser/.tvtime/stationlist.xml"
station: No station file found, creating a new one.
I/O error : Permission denied
I/O error : Permission denied
Thank you for using tvtime.


++ v4l-info /dev/video0
ioctl VIDIOCGTUNER: Invalid argument
ioctl VIDIOCGAUDIO: Invalid argument
ioctl VIDIOCGFBUF: Invalid argument

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
	driver                  : "vivi"
	card                    : "vivi"
	bus_info                : ""
	version                 : 0.5.0
	capabilities            : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]

standards
    VIDIOC_ENUMSTD(0)
	index                   : 0
	id                      : 0xb000 [NTSC_M,NTSC_M_JP,?]
	name                    : "NTSC"
	frameperiod.numerator   : 1001
	frameperiod.denominator : 30000
	framelines              : 525
    VIDIOC_ENUMSTD(1)
	index                   : 1
	id                      : 0x1000 [NTSC_M]
	name                    : "NTSC-M"
	frameperiod.numerator   : 1001
	frameperiod.denominator : 30000
	framelines              : 525
    VIDIOC_ENUMSTD(2)
	index                   : 2
	id                      : 0x2000 [NTSC_M_JP]
	name                    : "NTSC-M-JP"
	frameperiod.numerator   : 1001
	frameperiod.denominator : 30000
	framelines              : 525
    VIDIOC_ENUMSTD(3)
	index                   : 3
	id                      : 0x8000 [?]
	name                    : "NTSC-M-KR"
	frameperiod.numerator   : 1001
	frameperiod.denominator : 30000
	framelines              : 525
    VIDIOC_ENUMSTD(4)
	index                   : 4
	id                      : 0x4000 [?]
	name                    : "NTSC-443"
	frameperiod.numerator   : 1001
	frameperiod.denominator : 30000
	framelines              : 525
    VIDIOC_ENUMSTD(5)
	index                   : 5
	id                      : 0x100 [PAL_M]
	name                    : "PAL-M"
	frameperiod.numerator   : 1001
	frameperiod.denominator : 30000
	framelines              : 525
    VIDIOC_ENUMSTD(6)
	index                   : 6
	id                      : 0x800 [PAL_60]
	name                    : "PAL-60"
	frameperiod.numerator   : 1001
	frameperiod.denominator : 30000
	framelines              : 525

inputs
    VIDIOC_ENUMINPUT(0)
	index                   : 0
	name                    : "Camera"
	type                    : CAMERA
	audioset                : 0
	tuner                   : 0
	std                     : 0xf900 [PAL_M,PAL_60,NTSC_M,NTSC_M_JP,?,?]
	status                  : 0x0 []

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
	index                   : 0
	type                    : VIDEO_CAPTURE
	flags                   : 0
	description             : "4:2:2, packed, YUYV"
	pixelformat             : 0x56595559 [YUYV]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
	type                    : VIDEO_CAPTURE
	fmt.pix.width           : 640
	fmt.pix.height          : 480
	fmt.pix.pixelformat     : 0x56595559 [YUYV]
	fmt.pix.field           : INTERLACED
	fmt.pix.bytesperline    : 1280
	fmt.pix.sizeimage       : 614400
	fmt.pix.colorspace      : unknown
	fmt.pix.priv            : 0

controls
    VIDIOC_QUERYCTRL(BASE+0)
	id                      : 9963776
	type                    : INTEGER
	name                    : "Brightness"
	minimum                 : 0
	maximum                 : 255
	step                    : 1
	default_value           : 127
	flags                   : 0
    VIDIOC_QUERYCTRL(BASE+1)
	id                      : 9963777
	type                    : INTEGER
	name                    : "Contrast"
	minimum                 : 0
	maximum                 : 255
	step                    : 1
	default_value           : 16
	flags                   : 0
    VIDIOC_QUERYCTRL(BASE+2)
	id                      : 9963778
	type                    : INTEGER
	name                    : "Saturation"
	minimum                 : 0
	maximum                 : 255
	step                    : 1
	default_value           : 127
	flags                   : 0
    VIDIOC_QUERYCTRL(BASE+3)
	id                      : 9963779
	type                    : INTEGER
	name                    : "Hue"
	minimum                 : -128
	maximum                 : 127
	step                    : 1
	default_value           : 0
	flags                   : 0

### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
	name                    : "vivi"
	type                    : 0x1 [CAPTURE]
	channels                : 1
	audios                  : 0
	maxwidth                : 1024
	maxheight               : 768
	minwidth                : 48
	minheight               : 32

channels
    VIDIOCGCHAN(0)
	channel                 : 0
	name                    : "Camera"
	tuners                  : 0
	flags                   : 0x0 []
	type                    : CAMERA
	norm                    : 1

tuner

audio

picture
    VIDIOCGPICT
	brightness              : 32639
	hue                     : 32896
	colour                  : 32639
	contrast                : 4112
	whiteness               : 0
	depth                   : 16
	palette                 : YUYV

buffer

window
    VIDIOCGWIN
	x                       : 0
	y                       : 0
	width                   : 640
	height                  : 480
	chromakey               : 0
	flags                   : 0




Carl K

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-31 17:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29 20:44 how solid is vivi? Carl Karsten
2008-10-31 17:58 ` capture.c memory leak Carl Karsten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox