usb camera settings

Forum for questions and support relating to the 1.29.x releases only.
Locked
hondafireblade
Posts: 3
Joined: Sun Mar 05, 2017 9:55 pm

usb camera settings

Post by hondafireblade »

Hi
this is my usb camera:

### v4l2 device info [/dev/video1] ###
general info
VIDIOC_QUERYCAP
driver : "gspca_sn9c20x"
card : "USB20 Camera "
bus_info : "usb-3f980000.usb-1.4"
version : 4.4.50
capabilities : 0x85200001 [VIDEO_CAPTURE,?,READWRITE,STREAMING,(null)]

standards

inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "gspca_sn9c20x"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []

video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 0
description : "8-bit Bayer BGBG/GRGR"
pixelformat : 0x31384142 [BA81]
VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
index : 1
type : VIDEO_CAPTURE
flags : 0
description : "GSPCA SN9C20X I420"
pixelformat : 0x30323953 [S920]
VIDIOC_ENUM_FMT(2,VIDEO_CAPTURE)
index : 2
type : VIDEO_CAPTURE
flags : 1
description : "JFIF JPEG"
pixelformat : 0x4745504a [JPEG]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 320
fmt.pix.height : 240
fmt.pix.pixelformat : 0x30323953 [S920]
fmt.pix.field : NONE
fmt.pix.bytesperline : 320
fmt.pix.sizeimage : 115200
fmt.pix.colorspace : SRGB
fmt.pix.priv : 4276996862

controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : 0
maximum : 255
step : 1
default_value : 127
flags : 32
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 255
step : 1
default_value : 127
flags : 32
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 255
step : 1
default_value : 127
flags : 32
VIDIOC_QUERYCTRL(BASE+3)
id : 9963779
type : INTEGER
name : "Hue"
minimum : -180
maximum : 180
step : 1
default_value : 0
flags : 32
VIDIOC_QUERYCTRL(BASE+14)
id : 9963790
type : INTEGER
name : "Red Balance"
minimum : 0
maximum : 127
step : 1
default_value : 40
flags : 32
VIDIOC_QUERYCTRL(BASE+15)
id : 9963791
type : INTEGER
name : "Blue Balance"
minimum : 0
maximum : 127
step : 1
default_value : 40
flags : 32
VIDIOC_QUERYCTRL(BASE+16)
id : 9963792
type : INTEGER
name : "Gamma"
minimum : 0
maximum : 255
step : 1
default_value : 16
flags : 32
VIDIOC_QUERYCTRL(BASE+17)
id : 9963793
type : INTEGER
name : "Exposure"
minimum : 0
maximum : 6016
step : 1
default_value : 51
flags : 16
VIDIOC_QUERYCTRL(BASE+18)
id : 9963794
type : BOOLEAN
name : "Gain, Automatic"
minimum : 0
maximum : 1
step : 1
default_value : 1
flags : 8
VIDIOC_QUERYCTRL(BASE+19)
id : 9963795
type : INTEGER
name : "Gain"
minimum : 0
maximum : 28
step : 1
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(BASE+20)
id : 9963796
type : BOOLEAN
name : "Horizontal Flip"
minimum : 0
maximum : 1
step : 1
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(BASE+21)
id : 9963797
type : BOOLEAN
name : "Vertical Flip"
minimum : 0
maximum : 1
step : 1
default_value : 0
flags : 0

In zoneminder what's the capture palette correct? What are the correct settings? Thanks
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: usb camera settings

Post by bbunge »

Try Pal b

320x240 or 640x480
hondafireblade
Posts: 3
Joined: Sun Mar 05, 2017 9:55 pm

Re: usb camera settings

Post by hondafireblade »

Thanks, now it's ok :)
Locked