For the list (I keep pressing the reply button, and forget to change the
address)
--- Begin Message ---
Sebastian,
Sebastian Scherer escreveu:
> Hi,
> Thank you for your replies. I tried guvcview with both formats but the
> output seems to be the same. It would be fine with me to manually
> correct the output.
>
>
What is the console output from guvcview --verbose ?
Setting an unsupported device format would only make guvcview drop back
to the first supported device format.
> However I would really like to capture the full resolution images.
> How can I use capture still images?
>
>
I don't think that's implemented in linux uvc.
> Also the 372 does not really make sense because this should not be a
> frame size that is supported by the camera. Maybe halving the size
> messes up the encoding?
> Thank you
>
>
Your best bet is to grab a RAW frame and try to analyse it.
I would say that the 372 pix line needs to be converted to 744, UYVY has
2 bytes per pixel, although you need 4 bytes to render 2 pixels, in this
case it seems you are getting a format with 1 byte per pixel.
> Sebastian
>
>
> 2009/3/9 Paulo Assis <[email protected]>:
>
>> Sebastien, I've taken another look at luvcview output and it reports
>> UYVY not YUYV, luvcview doesn't support this format I believe,
>> you should try the latest version from guvcview (1.0.2), and see if
>> outputs the frame correctly.
>>
>> Best regards,
>> Paulo
>>
>> Sebastian Scherer escreveu:
>>
>>> Hi,
>>> After looking a little more carefully it might be that the resolution
>>> problem is related to de-bayering.
>>> I uploaded a sample image captured from the video:
>>> http://www.frc.ri.cmu.edu/~basti/01-20090306125232-17.jpg
>>>
>>> Does anybody have any insight what the problem could be?
>>>
>>> I downloaded the latest drivers and used them on Ubuntu 8.10 but the
>>> problem persists.
>>> Thank you
>>>
>>> Sebastian
>>>
>>>
>>>
>>>> Hi,
>>>> I have a problem with this camera.
>>>> http://www.theimagingsource.com/en_US/products/oem-cameras/usb-cmos-color/dfm21auc03ml/
>>>> It shows a picture but I cannot set the frame size and resolution of
>>>> the camera. The camera supports
>>>> 60 frames per second and a resolution of 744x480 YUV2. However I
>>>> always get 372x480 and the colors are wrong.
>>>>
>>>> This is what dmesg reports:
>>>>
>>>>
>>>
>>>> [179400.340015] usb 6-1: new high speed USB device using ehci_hcd and
>>>> address 3
>>>> [179400.777492] usb 6-1: configuration #1 chosen from 1 choice
>>>> [179400.777790] uvcvideo: Found UVC 1.00 device DFx 21AUC03 (199e:8202)
>>>> [179401.306390] input: DFx 21AUC03 as
>>>> /devices/pci0000:00/0000:00:1a.7/usb6/6-1/6-1:1.0/input/input7
>>>>
>>>> This is whalt lsusb reports:
>>>> Bus 006 Device 003: ID 199e:8202 The Imaging Source Europe GmbH
>>>> Device Descriptor:
>>>> bLength 18
>>>> bDescriptorType 1
>>>> bcdUSB 2.00
>>>> bDeviceClass 239 Miscellaneous Device
>>>> bDeviceSubClass 2 ?
>>>> bDeviceProtocol 1 Interface Association
>>>> bMaxPacketSize0 64
>>>> idVendor 0x199e The Imaging Source Europe GmbH
>>>> idProduct 0x8202
>>>> bcdDevice 8.13
>>>> iManufacturer 2 The Imaging Source Europe GmbH
>>>> iProduct 1 DFx 21AUC03
>>>> iSerial 3 38800104
>>>> bNumConfigurations 1
>>>> Configuration Descriptor:
>>>> bLength 9
>>>> bDescriptorType 2
>>>> wTotalLength 349
>>>> bNumInterfaces 2
>>>> bConfigurationValue 1
>>>> iConfiguration 0
>>>> bmAttributes 0x80
>>>> (Bus Powered)
>>>> MaxPower 500mA
>>>> Interface Association:
>>>> bLength 8
>>>> bDescriptorType 11
>>>>
>>>>
>>> bFirstInterface 0
>>> bInterfaceCount 2
>>> bFunctionClass 14 Video
>>> bFunctionSubClass 3 Video Interface Collection
>>> bFunctionProtocol 0
>>> iFunction 0
>>> Interface Descriptor:
>>> bLength 9
>>> bDescriptorType 4
>>> bInterfaceNumber 0
>>> bAlternateSetting 0
>>> bNumEndpoints 1
>>> bInterfaceClass 14 Video
>>> bInterfaceSubClass 1 Video Control
>>> bInterfaceProtocol 0
>>> iInterface 0
>>> VideoControl Interface Descriptor:
>>> bLength 13
>>> bDescriptorType 36
>>> bDescriptorSubtype 1 (HEADER)
>>> bcdUVC 1.00
>>> wTotalLength 78
>>> dwClockFrequency 6.000000MHz
>>> bInCollection 1
>>> baInterfaceNr( 0) 1
>>> VideoControl Interface Descriptor:
>>> bLength 18
>>> bDescriptorType 36
>>> bDescriptorSubtype 2 (INPUT_TERMINAL)
>>> bTerminalID 1
>>> wTerminalType 0x0201 Camera Sensor
>>> bAssocTerminal 0
>>> iTerminal 0
>>> wObjectiveFocalLengthMin 0
>>> wObjectiveFocalLengthMax 0
>>> wOcularFocalLength 0
>>> bControlSize 3
>>> bmControls 0x0000001a
>>> Auto-Exposure Mode
>>> Exposure Time (Absolute)
>>> Exposure Time (Relative)
>>> VideoControl Interface Descriptor:
>>> bLength 12
>>> bDescriptorType 36
>>> bDescriptorSubtype 5 (PROCESSING_UNIT)
>>> Warning: Descriptor too short
>>> bUnitID 3
>>> bSourceID 1
>>> wMaxMultiplier 0
>>> bControlSize 3
>>> bmControls 0x00000200
>>> Gain
>>> iProcessing 0
>>> bmVideoStandards 0x1a
>>> NTSC - 525/60
>>> SECAM - 625/50
>>> NTSC - 625/50
>>> VideoControl Interface Descriptor:
>>> bLength 26
>>> bDescriptorType 36
>>> bDescriptorSubtype 6 (EXTENSION_UNIT)
>>> bUnitID 4
>>> guidExtensionCode {2652215a-8932-5641-894a-5c557cdf9664}
>>> bNumControl 4
>>> bNrPins 1
>>> baSourceID( 0) 3
>>> bControlSize 1
>>> bmControls( 0) 0x1f
>>> iExtension 0
>>> VideoControl Interface Descriptor:
>>> bLength 9
>>> bDescriptorType 36
>>> bDescriptorSubtype 3 (OUTPUT_TERMINAL)
>>> bTerminalID 2
>>> wTerminalType 0x0101 USB Streaming
>>> bAssocTerminal 0
>>> bSourceID 4
>>> iTerminal 0
>>> Endpoint Descriptor:
>>> bLength 7
>>> bDescriptorType 5
>>> bEndpointAddress 0x81 EP 1 IN
>>> bmAttributes 3
>>> Transfer Type Interrupt
>>> Synch Type None
>>> Usage Type Data
>>> wMaxPacketSize 0x0008 1x 8 bytes
>>> bInterval 9
>>> Interface Descriptor:
>>> bLength 9
>>> bDescriptorType 4
>>> bInterfaceNumber 1
>>> bAlternateSetting 0
>>> bNumEndpoints 1
>>> bInterfaceClass 14 Video
>>> bInterfaceSubClass 2 Video Streaming
>>> bInterfaceProtocol 0
>>> iInterface 0
>>> VideoStreaming Interface Descriptor:
>>> bLength 15
>>> bDescriptorType 36
>>> bDescriptorSubtype 1 (INPUT_HEADER)
>>> bNumFormats 2
>>> wTotalLength 217
>>> bEndPointAddress 130
>>> bmInfo 0
>>> bTerminalLink 2
>>> bStillCaptureMethod 2
>>> bTriggerSupport 1
>>> bTriggerUsage 0
>>> bControlSize 1
>>> bmaControls( 0) 27
>>> bmaControls( 1) 27
>>> VideoStreaming Interface Descriptor:
>>> bLength 27
>>> bDescriptorType 36
>>> bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
>>> bFormatIndex 1
>>> bNumFrameDescriptors 2
>>> guidFormat
>>> {59555932-0000-1000-8000-00aa00389b71}
>>> bBitsPerPixel 16
>>> bDefaultFrameIndex 1
>>> bAspectRatioX 0
>>> bAspectRatioY 0
>>> bmInterlaceFlags 0x00
>>> Interlaced stream or variable: No
>>> Fields per frame: 1 fields
>>> Field 1 first: No
>>> Field pattern: Field 1 only
>>> bCopyProtect 0
>>> VideoStreaming Interface Descriptor:
>>> bLength 30
>>> bDescriptorType 36
>>> bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
>>> bFrameIndex 1
>>> bmCapabilities 0x00
>>> Still image unsupported
>>> wWidth 372
>>> wHeight 480
>>> dwMinBitRate 838992000
>>> dwMaxBitRate 838992000
>>> dwMaxVideoFrameBufferSize 786432
>>> dwDefaultFrameInterval 333333
>>> bFrameIntervalType 1
>>> dwFrameInterval( 0) 333333
>>> VideoStreaming Interface Descriptor:
>>> bLength 30
>>> bDescriptorType 36
>>> bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
>>> bFrameIndex 2
>>> bmCapabilities 0x00
>>> Still image unsupported
>>> wWidth 320
>>> wHeight 480
>>> dwMinBitRate 838992000
>>> dwMaxBitRate 838992000
>>> dwMaxVideoFrameBufferSize 786432
>>> dwDefaultFrameInterval 333333
>>> bFrameIntervalType 1
>>> dwFrameInterval( 0) 333333
>>> VideoStreaming Interface Descriptor:
>>> bLength 11
>>> bDescriptorType 36
>>> bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
>>> bEndpointAddress 0
>>> bNumImageSizePatterns 1
>>> wWidth( 0) 744
>>> wHeight( 0) 480
>>> bNumCompressionPatterns 1
>>> bCompression( 0) 0
>>> VideoStreaming Interface Descriptor:
>>> bLength 27
>>> bDescriptorType 36
>>> bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
>>> bFormatIndex 2
>>> bNumFrameDescriptors 2
>>> guidFormat
>>> {55595659-0000-1000-8000-00aa00389b71}
>>> bBitsPerPixel 16
>>> bDefaultFrameIndex 1
>>> bAspectRatioX 0
>>> bAspectRatioY 0
>>> bmInterlaceFlags 0x00
>>> Interlaced stream or variable: No
>>> Fields per frame: 1 fields
>>> Field 1 first: No
>>> Field pattern: Field 1 only
>>> bCopyProtect 0
>>> VideoStreaming Interface Descriptor:
>>> bLength 30
>>> bDescriptorType 36
>>> bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
>>> bFrameIndex 1
>>> bmCapabilities 0x00
>>> Still image unsupported
>>> wWidth 372
>>> wHeight 480
>>> dwMinBitRate 838992000
>>> dwMaxBitRate 838992000
>>> dwMaxVideoFrameBufferSize 786432
>>> dwDefaultFrameInterval 333333
>>> bFrameIntervalType 1
>>> dwFrameInterval( 0) 333333
>>> VideoStreaming Interface Descriptor:
>>> bLength 30
>>> bDescriptorType 36
>>> bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
>>> bFrameIndex 2
>>> bmCapabilities 0x00
>>> Still image unsupported
>>> wWidth 320
>>> wHeight 480
>>> dwMinBitRate 838992000
>>> dwMaxBitRate 838992000
>>> dwMaxVideoFrameBufferSize 786432
>>> dwDefaultFrameInterval 333333
>>> bFrameIntervalType 1
>>> dwFrameInterval( 0) 333333
>>> VideoStreaming Interface Descriptor:
>>> bLength 11
>>> bDescriptorType 36
>>> bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
>>> bEndpointAddress 0
>>> bNumImageSizePatterns 1
>>> wWidth( 0) 744
>>> wHeight( 0) 480
>>> bNumCompressionPatterns 1
>>> bCompression( 0) 0
>>> VideoStreaming Interface Descriptor:
>>> bLength 6
>>> bDescriptorType 36
>>> bDescriptorSubtype 13 (COLORFORMAT)
>>> bColorPrimaries 0 (Unspecified)
>>> bTransferCharacteristics 0 (Unspecified)
>>> bMatrixCoefficients 0 (Unspecified)
>>> Endpoint Descriptor:
>>> bLength 7
>>> bDescriptorType 5
>>> bEndpointAddress 0x82 EP 2 IN
>>> bmAttributes 2
>>> Transfer Type Bulk
>>> Synch Type None
>>> Usage Type Data
>>> wMaxPacketSize 0x0200 1x 512 bytes
>>> bInterval 1
>>> 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
>>> bNumConfigurations 1
>>> Device Status: 0x0000
>>> (Bus Powered)
>>>
>>> This is what I get with lucview:
>>>
>>> luvcview 0.2.4
>>>
>>> SDL information:
>>> Video driver: x11
>>> A window manager is available
>>> Device information:
>>> Device path: /dev/video0
>>> Stream settings:
>>> Frame format: UYVY
>>> Frame size: 372x480 (requested size 744x480 is not supported by device)
>>> Frame rate: 30/1 fps (requested frame rate 60 fps is not supported by
>>> device)
>>>
>>>
>>>
>>> Thank you!
>>> _______________________________________________
>>> Linux-uvc-devel mailing list
>>> [email protected]
>>> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>>>
>>>
>>>
>> _______________________________________________
>> Linux-uvc-devel mailing list
>> [email protected]
>> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>>
>>
>
>
Best regards,
Paulo
--- End Message ---
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel