Cheese detects only low-res YUYV stream from camera
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cheese |
Fix Released
|
Unknown
|
|||
cheese (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
Cheese v3.30.0 (3.30.0-0ubuntu1)
Xubuntu 18.04 LTS
Cheese detects and reports/
>>> Currently, guvcview and VLC report/
=======
ls /dev/video*
/dev/video0
/dev/video1
=======
v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 800x600
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1024x768
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1600x1200
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 2048x1536
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 2592x1944
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 3264x1836
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 3264x2448
Interval: Discrete 0.067s (15.000 fps)
Index : 1
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 800x600
Interval: Discrete 0.040s (25.000 fps)
Size: Discrete 1024x768
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 1600x1200
Interval: Discrete 0.143s (7.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.200s (5.000 fps)
=======
lsusb returns:
Bus 007 Device 002: ID 1778:0221
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x1778
idProduct 0x0221
bcdDevice 10.21
iManufacturer 1 IPEVO Inc.
iProduct 2 IPEVO Ziggi-HD Plus
iSerial 0
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 930
bNumInterfaces 4
bConfigurat
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Association:
bLength 8
bDescript
bFirstInt
bInterfac
bFunction
bFunction
bFunction
iFunction 0
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
VideoControl Interface Descriptor:
bLength 13
bcdUVC 1.00
VideoControl Interface Descriptor:
bLength 9
bTerminalID 4
bSourceID 8
iTerminal 0
VideoControl Interface Descriptor:
bLength 27
bUnitID 8
bNumControl 11
bNrPins 1
baSourceID( 0) 2
bmControls( 0) 0x07
bmControls( 1) 0x7f
iExtension 0
VideoControl Interface Descriptor:
bLength 27
bUnitID 2
bNumControl 1
bNrPins 1
baSourceID( 0) 6
bmControls( 0) 0x01
bmControls( 1) 0x00
iExtension 0
VideoControl Interface Descriptor:
bLength 27
bUnitID 6
bNumControl 5
bNrPins 1
baSourceID( 0) 7
bmControls( 0) 0xff
bmControls( 1) 0xef
iExtension 0
VideoControl Interface Descriptor:
bLength 29
bUnitID 7
bNumControl 32
bNrPins 1
baSourceID( 0) 3
bmControls( 0) 0x9f
bmControls( 1) 0x3f
bmControls( 2) 0x80
bmControls( 3) 0x03
iExtension 0
VideoControl Interface Descriptor:
bLength 18
bTerminalID 1
iTerminal 0
bmControls 0x00020020
Focus (Absolute)
Focus, Auto
VideoControl Interface Descriptor:
bLength 11
Warning: Descriptor too short
bUnitID 3
bSourceID 1
bmControls 0x0000157f
Contrast
Hue
Sharpness
Gamma
White Balance Temperature
Backlight Compensation
Power Line Frequency
White Balance Temperature, Auto
iProcessing 0
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 8
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 0
bInterfac
bInterfac
bInterfac
iInterface 0
VideoStre
bLength 15
bNumFormats 2
bmInfo 0
VideoStre
bLength 11
bFlags 0
Fields per frame: 1 fields
Field 1 first: No
Field pattern: Field 1 only
VideoStre
bLength 30
bFrameIndex 1
Still image supported
wWidth 640
wHeight 480
VideoStre
bLength 30
bFrameIndex 2
Still image supported
wWidth 800
wHeight 600
VideoStre
bLength 30
bFrameIndex 3
Still image supported
wWidth 1024
wHeight 768
VideoStre
bLength 30
bFrameIndex 4
Still image supported
wWidth 1280
wHeight 720
VideoStre
bLength 30
bFrameIndex 5
Still image supported
wWidth 1600
wHeight 1200
VideoStre
bLength 30
bFrameIndex 6
Still image supported
wWidth 1920
wHeight 1080
VideoStre
bLength 30
bFrameIndex 7
Still image supported
wWidth 2048
wHeight 1536
VideoStre
bLength 30
bFrameIndex 8
Still image supported
wWidth 2592
wHeight 1944
VideoStre
bLength 30
bFrameIndex 9
Still image supported
wWidth 3264
wHeight 1836
VideoStre
bLength 30
bFrameIndex 10
Still image supported
wWidth 3264
wHeight 2448
VideoStre
bLength 35
wWidth( 0) 3264
wHeight( 0) 2448
wWidth( 1) 1600
wHeight( 1) 1200
wWidth( 2) 1280
wHeight( 2) 720
wWidth( 3) 800
wHeight( 3) 600
wWidth( 4) 640
wHeight( 4) 480
wWidth( 5) 320
wHeight( 5) 240
wWidth( 6) 160
wHeight( 6) 120
VideoStre
bLength 6
VideoStre
bLength 27
guidFormat {59555932-
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
VideoStre
bLength 30
bFrameIndex 1
Still image unsupported
wWidth 640
wHeight 480
VideoStre
bLength 30
bFrameIndex 2
Still image unsupported
wWidth 800
wHeight 600
VideoStre
bLength 30
bFrameIndex 3
Still image unsupported
wWidth 1024
wHeight 768
VideoStre
bLength 30
bFrameIndex 4
Still image unsupported
wWidth 1280
wHeight 720
VideoStre
bLength 30
bFrameIndex 5
Still image unsupported
wWidth 1600
wHeight 1200
VideoStre
bLength 30
bFrameIndex 6
Still image unsupported
wWidth 1920
wHeight 1080
VideoStre
bLength 19
wWidth( 0) 640
wHeight( 0) 480
wWidth( 1) 320
wHeight( 1) 240
wWidth( 2) 160
wHeight( 2) 120
VideoStre
bLength 6
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
bInterval 1
Interface Association:
bLength 8
bDescript
bFirstInt
bInterfac
bFunction
bFunction
bFunction
iFunction 0
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 0
bInterfac
bInterfac
bInterfac
iInterface 0
AudioControl Interface Descriptor:
bLength 9
bcdADC 1.00
AudioControl Interface Descriptor:
bLength 12
bTerminalID 1
bNrChannels 2
Left Front (L)
Right Front (R)
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bTerminalID 3
bSourceID 5
iTerminal 0
AudioControl Interface Descriptor:
bLength 8
bUnitID 5
bSourceID 1
Mute Control
Volume Control
iFeature 0
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 0
bInterfac
bInterfac
bInterfac
iInterface 0
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
AudioStre
bLength 7
bDelay 2 frames
wFormatTag 1 PCM
AudioStre
bLength 11
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
tSamFreq[ 0] 16000
Endpoint Descriptor:
bLength 9
Transfer Type Isochronous
Synch Type Synchronous
Usage Type Data
bInterval 4
bRefresh 0
bLength 7
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
bNumConfigura
Device Status: 0x0000
(Bus Powered)
=======
usbview returns:
IPEVO Ziggi-HD Plus
Manufacturer: IPEVO Inc.
Speed: 480Mb/s (high)
Bus: 7
Address: 2
USB Version: 2.00
Device Class: ef(misc )
Device Subclass: 02
Device Protocol: 01
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 1778
Product Id: 0221
Revision Number: 10.21
Config Number: 1
Number of Interfaces: 4
Attributes: 80
MaxPower Needed: 500mA
Interface Number: 0
Name: uvcvideo
Alternate Number: 0
Class: 0e(video)
Sub Class: 01
Protocol: 00
Number of Endpoints: 1
Endpoint Address: 83
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 64
Interval: 16ms
Interface Number: 1
Name: uvcvideo
Alternate Number: 0
Class: 0e(video)
Sub Class: 02
Protocol: 00
Number of Endpoints: 0
Interface Number: 1
Name: uvcvideo
Alternate Number: 1
Class: 0e(video)
Sub Class: 02
Protocol: 00
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 5
Type: Isoc
Max Packet Size: 3048
Interval: 125us
Interface Number: 3
Name: snd-usb-audio
Alternate Number: 0
Class: 01(audio)
Sub Class: 01
Protocol: 00
Number of Endpoints: 0
Interface Number: 4
Name: snd-usb-audio
Alternate Number: 0
Class: 01(audio)
Sub Class: 02
Protocol: 00
Number of Endpoints: 0
Interface Number: 4
Name: snd-usb-audio
Alternate Number: 1
Class: 01(audio)
Sub Class: 02
Protocol: 00
Number of Endpoints: 1
Endpoint Address: 82
Direction: in
Attribute: 13
Type: Isoc
Max Packet Size: 512
Interval: 1ms
tags: | added: focal |
Changed in cheese: | |
status: | Unknown → Fix Released |
I forgot to add that on the Cheese reference page... /developer. gnome.org/ cheese/ stable/ cheese. html
https:/
...under "Invocation: cheese takes a list of options as arguments: Options:" a command line switch is documented that supposedly permits selecting the video device...
"--device=DEVICE, -d DEVICE Use the supplied DEVICE as the video capture device."
...but this has no effect, and even when entering a nonexistent video device (or random characters) no error message is returned; apparently this functionality is missing.
I've tried all permutations of video device, ex- "/dev/video#" and just "video#"