Skip to contentSkip to conversation

VIDIOC_ENUM_FMT bug query

DISCUSSION jonathan chetwynd 2 participants 2 messages Mar 13, 2013 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Is there any further action I can take to discover whether a webcam can support a format? or to help develop a patch?

the Sandberg Nightcam2 specification lists
1280 x 960 up to 15 frames per second
but

$ v4l2-ctl --list-formats-ext lists no such format as available

regards

Jonathan Chetwynd

http://www.sandberg.it/product/NightCam-2

$ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
    Index       : 0
    Type        : Video Capture
    Pixel Format: 'S920'
    Name        : S920
        Size: Discrete 160x120
        Size: Discrete 320x240
        Size: Discrete 640x480

Index : 1
Type : Video Capture
Pixel Format: 'BA81'
Name : BA81
Size: Discrete 160x120
Size: Discrete 320x240
Size: Discrete 640x480

Index : 2
Type : Video Capture
Pixel Format: 'JPEG' (compressed)
Name : JPEG
Size: Discrete 160x120
Size: Discrete 320x240
Size: Discrete 640x480

#1 lore raw

dmesg: gspca_sn9c20x: OV7660 sensor detected

regards

Jonathan

Quoted 40 lines · jonathan chetwynd

Is there any further action I can take to discover whether a webcam can support a format? or to help develop a patch?

the Sandberg Nightcam2 specification lists
1280 x 960 up to 15 frames per second
but

$ v4l2-ctl --list-formats-ext lists no such format as available

regards

Jonathan Chetwynd

http://www.sandberg.it/product/NightCam-2

$ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
    Index       : 0
    Type        : Video Capture
    Pixel Format: 'S920'
    Name        : S920
        Size: Discrete 160x120
        Size: Discrete 320x240
        Size: Discrete 640x480

Index : 1
Type : Video Capture
Pixel Format: 'BA81'
Name : BA81
Size: Discrete 160x120
Size: Discrete 320x240
Size: Discrete 640x480

Index : 2
Type : Video Capture
Pixel Format: 'JPEG' (compressed)
Name : JPEG
Size: Discrete 160x120
Size: Discrete 320x240
Size: Discrete 640x480

Signature · 3 lines
Jonathan Chetwynd
http://www.gnote.org
Eyetracking in HTML5