Camera
Перейти к навигации
Перейти к поиску
UVC video camera
- На 117 работает с libcamera от Фолио
- С libcamera из android-x86 на 116 камеру вообще не видит:
I/CameraService( 101): CameraService started (pid=101)
D/Camera_Factory( 101): CameraFactory::CameraFactory
D/Camera_Factory( 101): CameraFactory::parseConfig: configFile = /etc/camera.cfg
D/Camera_Factory( 101): /etc/camera.cfg not found, using camera configuration defaults
D/Camera_Factory( 101): CameraFactory::get_number_of_cameras
D/Camera_Factory( 101): CameraFactory::getCameraNum: 0
I/PackageManager( 166): /system/app/Camera.apk changed; collecting certs
I/ActivityManager( 166): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera} from pid 503
V/WindowManager( 166): Adding starting window for com.android.camera / Token{40ccba70 ActivityRecord{40ef32d8 com.android.camera/.Camera}}: null
I/ActivityManager( 166): Start proc com.android.camera for activity com.android.camera/.Camera: pid=910 uid=10008 gids={1006, 1015}
V/CameraHolder( 910): open camera 0
E/CameraService( 101): CameraService::connect X (pid 910) rejected (invalid cameraId 0).
E/CameraHolder( 910): fail to connect Camera
E/CameraHolder( 910): java.lang.RuntimeException: Fail to connect to camera service
E/CameraHolder( 910): at android.hardware.Camera.native_setup(Native Method)
E/CameraHolder( 910): at android.hardware.Camera.<init>(Camera.java:320)
E/CameraHolder( 910): at android.hardware.Camera.open(Camera.java:280)
E/CameraHolder( 910): at com.android.camera.CameraHolder.open(CameraHolder.java:131)
E/CameraHolder( 910): at com.android.camera.Util.openCamera(Util.java:267)
E/CameraHolder( 910): at com.android.camera.Camera$4.run(Camera.java:1145)
E/CameraHolder( 910): at java.lang.Thread.run(Thread.java:856)
V/WindowManager( 166): Removing starting window for Token{40ccba70 ActivityRecord{40ef32d8 com.android.camera/.Camera}}: com.android.internal.policy.impl.PhoneWindow$DecorView@40cc3fc8
I/ActivityManager( 166): Displayed com.android.camera/.Camera: +1s8ms
Оказалось что просто камера дохлая, должно работать везде, возможно даже в комбинации с внешней юсб камерой (проверить!)
- Поискать еще libcamera от устройств с uvc камерой
Добавлю для протокола: Камера в тоше висит на _левом_ шлейфе, выходящем из дисплея (на том же, что и LCD-панель). Проверил только что. Даже сфоткал
Usefull linux debug info
lsusb -v
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.01
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.01
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Bus 001 Device 002: ID 0424:2512 Standard Microsystems Corp. USB 2.0 Hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 2 TT per port
bMaxPacketSize0 64
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0x2512 USB 2.0 Hub
bcdDevice b.b3
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 1 Single TT
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2 TT per port
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Bus 002 Device 002: ID 0424:2513 Standard Microsystems Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 2 TT per port
bMaxPacketSize0 64
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0x2513
bcdDevice b.b3
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 1 Single TT
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2 TT per port
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Bus 001 Device 003: ID 0db0:3871 Micro Star International
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0db0 Micro Star International
idProduct 0x3871
bcdDevice 1.01
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 67
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 450mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 7
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Bus 001 Device 004: ID 0db0:a871 Micro Star International
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x0db0 Micro Star International
idProduct 0xa871
bcdDevice 52.76
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 177
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Bus 002 Device 003: ID 0bda:58f2 Realtek Semiconductor Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0x58f2
bcdDevice 9.25
iManufacturer 3
iProduct 1
iSerial 2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 943
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 4
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 5
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 5
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.00
wTotalLength 78
dwClockFrequency 15.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 0x0000000e
Auto-Exposure Mode
Auto-Exposure Priority
Exposure Time (Absolute)
VideoControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 2
bSourceID 1
wMaxMultiplier 0
bControlSize 2
bmControls 0x0000177f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
White Balance Temperature
Backlight Compensation
Gain
Power Line Frequency
White Balance Temperature, Auto
iProcessing 0
bmVideoStandards 0x 9
None
SECAM - 625/50
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 2
iTerminal 0
VideoControl Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 4
guidExtensionCode {8ca72912-b447-9440-b0ce-db07386fb938}
bNumControl 2
bNrPins 1
baSourceID( 0) 1
bControlSize 2
bmControls( 0) 0x00
bmControls( 1) 0x06
iExtension 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 6
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
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 706
bEndPointAddress 129
bmInfo 0
bTerminalLink 3
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 7
guidFormat
{59555932-0000-1000-8000-00aa00389b71}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 38
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 49152000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 3
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 1000000
VideoStreaming Interface Descriptor:
bLength 38
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 160
wHeight 120
dwMinBitRate 3072000
dwMaxBitRate 9216000
dwMaxVideoFrameBufferSize 38400
dwDefaultFrameInterval 333333
bFrameIntervalType 3
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 1000000
VideoStreaming Interface Descriptor:
bLength 38
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 176
wHeight 144
dwMinBitRate 4055040
dwMaxBitRate 12165120
dwMaxVideoFrameBufferSize 50688
dwDefaultFrameInterval 333333
bFrameIntervalType 3
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 1000000
VideoStreaming Interface Descriptor:
bLength 38
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 12288000
dwMaxBitRate 36864000
dwMaxVideoFrameBufferSize 153600
dwDefaultFrameInterval 333333
bFrameIntervalType 3
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 1000000
VideoStreaming Interface Descriptor:
bLength 38
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 5
bmCapabilities 0x00
Still image unsupported
wWidth 352
wHeight 288
dwMinBitRate 16220160
dwMaxBitRate 48660480
dwMaxVideoFrameBufferSize 202752
dwDefaultFrameInterval 333333
bFrameIntervalType 3
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 1000000
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 6
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 800
dwMinBitRate 131072000
dwMaxBitRate 131072000
dwMaxVideoFrameBufferSize 2048000
dwDefaultFrameInterval 1250000
bFrameIntervalType 1
dwFrameInterval( 0) 1250000
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 7
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 1024
dwMinBitRate 167772160
dwMaxBitRate 167772160
dwMaxVideoFrameBufferSize 2621440
dwDefaultFrameInterval 1250000
bFrameIntervalType 1
dwFrameInterval( 0) 1250000
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0
bNumImageSizePatterns 7
wWidth( 0) 1280
wHeight( 0) 1024
wWidth( 1) 160
wHeight( 1) 120
wWidth( 2) 176
wHeight( 2) 144
wWidth( 3) 320
wHeight( 3) 240
wWidth( 4) 352
wHeight( 4) 288
wWidth( 5) 640
wHeight( 5) 480
wWidth( 6) 1280
wHeight( 6) 800
bNumCompressionPatterns 7
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 1 (BT.709,sRGB)
bTransferCharacteristics 1 (BT.709)
bMatrixCoefficients 4 (SMPTE 170M (BT.601))
VideoStreaming Interface Descriptor:
bLength 56
bDescriptorType 36
bDescriptorSubtype 14 Invalid desc subtype:
02 07 30 32 34 59 00 00 10 00 80 00 00 aa 00 38 9b 71 32 56 55 59 00
00 10 00 80 00 00 aa 00 38 9b 71 33 56 55 59 00 00 10 00 80 00 00 aa
00 38 9b 71 00 01 00
VideoStreaming Interface Descriptor:
bLength 42
bDescriptorType 36
bDescriptorSubtype 15 Invalid desc subtype:
01 00 80 02 e0 01 00 00 65 04 00 00 ca 08 00 60 09 00 15 16 05 00 04
15 16 05 00 80 1a 06 00 20 a1 07 00 2a 2c 0a 00
VideoStreaming Interface Descriptor:
bLength 42
bDescriptorType 36
bDescriptorSubtype 15 Invalid desc subtype:
02 00 a0 00 78 00 00 50 46 00 00 a0 8c 00 00 96 00 00 15 16 05 00 04
15 16 05 00 80 1a 06 00 20 a1 07 00 2a 2c 0a 00
VideoStreaming Interface Descriptor:
bLength 42
bDescriptorType 36
bDescriptorSubtype 15 Invalid desc subtype:
03 00 b0 00 90 00 00 d0 5c 00 00 a0 b9 00 00 c6 00 00 15 16 05 00 04
15 16 05 00 80 1a 06 00 20 a1 07 00 2a 2c 0a 00
VideoStreaming Interface Descriptor:
bLength 42
bDescriptorType 36
bDescriptorSubtype 15 Invalid desc subtype:
04 00 40 01 f0 00 00 40 19 01 00 80 32 02 00 58 02 00 15 16 05 00 04
15 16 05 00 80 1a 06 00 20 a1 07 00 2a 2c 0a 00
VideoStreaming Interface Descriptor:
bLength 42
bDescriptorType 36
bDescriptorSubtype 15 Invalid desc subtype:
05 00 60 01 20 01 00 40 73 01 00 80 e6 02 00 18 03 00 15 16 05 00 04
15 16 05 00 80 1a 06 00 20 a1 07 00 2a 2c 0a 00
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 15 Invalid desc subtype:
06 00 00 05 20 03 00 00 e2 04 00 00 be 0a 00 40 1f 00 22 df 0d 00 02
22 df 0d 00 80 84 1e 00
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 15 Invalid desc subtype:
07 00 00 05 00 04 00 00 40 06 00 00 c0 0d 00 00 28 00 22 df 0d 00 02
22 df 0d 00 80 84 1e 00
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0
bNumImageSizePatterns 7
wWidth( 0) 1280
wHeight( 0) 1024
wWidth( 1) 160
wHeight( 1) 120
wWidth( 2) 176
wHeight( 2) 144
wWidth( 3) 320
wHeight( 3) 240
wWidth( 4) 352
wHeight( 4) 288
wWidth( 5) 640
wHeight( 5) 480
wWidth( 6) 1280
wHeight( 6) 800
bNumCompressionPatterns 7
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 1 (BT.709,sRGB)
bTransferCharacteristics 1 (BT.709)
bMatrixCoefficients 4 (SMPTE 170M (BT.601))
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0080 1x 128 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0b00 2x 768 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0c00 2x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 6
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x1380 3x 896 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 7
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x1400 3x 1024 bytes
bInterval 1
v4l-info
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "uvcvideo"
card : "USB Camera"
bus_info : "usb-tegra-ehci.2-1.2"
version : 3.1.10
capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]
standards
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Camera 1"
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 : "YUV 4:2:2 (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 : NONE
fmt.pix.bytesperline : 1280
fmt.pix.sizeimage : 614400
fmt.pix.colorspace : SRGB
fmt.pix.priv : 0
controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : 0
maximum : 255
step : 1
default_value : 128
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 255
step : 1
default_value : 128
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 255
step : 1
default_value : 128
flags : 0
VIDIOC_QUERYCTRL(BASE+3)
id : 9963779
type : INTEGER
name : "Hue"
minimum : 0
maximum : 255
step : 1
default_value : 128
flags : 0
VIDIOC_QUERYCTRL(BASE+12)
id : 9963788
type : BOOLEAN
name : "White Balance Temperature, Auto"
minimum : 0
maximum : 1
step : 1
default_value : 1
flags : 0
VIDIOC_QUERYCTRL(BASE+16)
id : 9963792
type : INTEGER
name : "Gamma"
minimum : 100
maximum : 500
step : 1
default_value : 220
flags : 0
VIDIOC_QUERYCTRL(BASE+19)
id : 9963795
type : INTEGER
name : "Gain"
minimum : 0
maximum : 100
step : 1
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(BASE+24)
id : 9963800
type : MENU
name : "Power Line Frequency"
minimum : 0
maximum : 2
step : 1
default_value : 1
flags : 0
VIDIOC_QUERYCTRL(BASE+26)
id : 9963802
type : INTEGER
name : "White Balance Temperature"
minimum : 2800
maximum : 6500
step : 10
default_value : 4650
flags : 0
VIDIOC_QUERYCTRL(BASE+27)
id : 9963803
type : INTEGER
name : "Sharpness"
minimum : 0
maximum : 4
step : 1
default_value : 1
flags : 0
VIDIOC_QUERYCTRL(BASE+28)
id : 9963804
type : INTEGER
name : "Backlight Compensation"
minimum : 0
maximum : 1
step : 1
default_value : 0
flags : 0
Our camera limitations
Cam reports that doesnt support fps 15
10-16 11:38:43.520 E/CameraSource( 96): Requested frame rate (15) is not supported: 8,10,20,30
It seems omx need specific variables settings?
10-16 11:44:25.290 D/V4L2Camera( 97): V4L2Camera::EnumFrameFormats
10-16 11:44:25.290 D/V4L2Camera( 97): { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
10-16 11:44:25.290 D/V4L2Camera( 97): V4L2Camera::EnumFrameSizes: pixfmt: 0x56595559
10-16 11:44:25.290 D/V4L2Camera( 97): { discrete: width = 640, height = 480 }
10-16 11:44:25.290 D/V4L2Camera( 97): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:640, h:480
10-16 11:44:25.290 D/V4L2Camera( 97): Time interval between frame:
10-16 11:44:25.290 D/V4L2Camera( 97): 1/30
10-16 11:44:25.290 D/V4L2Camera( 97): 1/20
10-16 11:44:25.290 D/V4L2Camera( 97): 1/10
10-16 11:44:25.290 D/V4L2Camera( 97): { discrete: width = 160, height = 120 }
10-16 11:44:25.290 D/V4L2Camera( 97): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:160, h:120
10-16 11:44:25.290 D/V4L2Camera( 97): Time interval between frame:
10-16 11:44:25.290 D/V4L2Camera( 97): 1/30
10-16 11:44:25.290 D/V4L2Camera( 97): 1/20
10-16 11:44:25.290 D/V4L2Camera( 97): 1/10
10-16 11:44:25.290 D/V4L2Camera( 97): { discrete: width = 176, height = 144 }
10-16 11:44:25.290 D/V4L2Camera( 97): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:176, h:144
10-16 11:44:25.290 D/V4L2Camera( 97): Time interval between frame:
10-16 11:44:25.290 D/V4L2Camera( 97): 1/30
10-16 11:44:25.290 D/V4L2Camera( 97): 1/20
10-16 11:44:25.290 D/V4L2Camera( 97): 1/10
10-16 11:44:25.290 D/V4L2Camera( 97): { discrete: width = 320, height = 240 }
10-16 11:44:25.290 D/V4L2Camera( 97): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:320, h:240
10-16 11:44:25.290 D/V4L2Camera( 97): Time interval between frame:
10-16 11:44:25.290 D/V4L2Camera( 97): 1/30
10-16 11:44:25.290 D/V4L2Camera( 97): 1/20
10-16 11:44:25.290 D/V4L2Camera( 97): 1/10
10-16 11:44:25.290 D/V4L2Camera( 97): { discrete: width = 352, height = 288 }
10-16 11:44:25.290 D/V4L2Camera( 97): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:352, h:288
10-16 11:44:25.290 D/V4L2Camera( 97): Time interval between frame:
10-16 11:44:25.290 D/V4L2Camera( 97): 1/30
10-16 11:44:25.290 D/V4L2Camera( 97): 1/20
10-16 11:44:25.290 D/V4L2Camera( 97): 1/10
10-16 11:44:25.290 D/V4L2Camera( 97): { discrete: width = 1280, height = 800 }
10-16 11:44:25.290 D/V4L2Camera( 97): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:1280, h:800
10-16 11:44:25.290 D/V4L2Camera( 97): Time interval between frame:
10-16 11:44:25.290 D/V4L2Camera( 97): 1/8
10-16 11:44:25.290 D/V4L2Camera( 97): { discrete: width = 1280, height = 1024 }
10-16 11:44:25.290 D/V4L2Camera( 97): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:1280, h:1024
10-16 11:44:25.290 D/V4L2Camera( 97): Time interval between frame:
10-16 11:44:25.290 D/V4L2Camera( 97): 1/8
10-16 11:44:25.290 D/CameraHardware( 97): CameraHardware::startPreviewLocked: Init
10-16 11:44:25.290 D/V4L2Camera( 97): V4L2Camera::Init
10-16 11:44:25.290 D/V4L2Camera( 97): Trying format: (640 x 480), Fps: 10 [difArea:0, difFps:10, cDifArea:-1, cDifFps:-1]
10-16 11:44:25.290 D/V4L2Camera( 97): Trying format: (640 x 480), Fps: 20 [difArea:0, difFps:0, cDifArea:0, cDifFps:10]
10-16 11:44:25.290 D/V4L2Camera( 97): Trying format: (640 x 480), Fps: 30 [difArea:0, difFps:10, cDifArea:0, cDifFps:0]
10-16 11:44:25.290 D/V4L2Camera( 97): Trying format: (1280 x 800), Fps: 8 [difArea:716800, difFps:12, cDifArea:0, cDifFps:0]
10-16 11:44:25.290 D/V4L2Camera( 97): Trying format: (1280 x 1024), Fps: 8 [difArea:1003520, difFps:12, cDifArea:0, cDifFps:0]
10-16 11:44:25.290 D/V4L2Camera( 97): Selected format: (640 x 480), Fps: 20
10-16 11:44:25.320 I/V4L2Camera( 97): Cropping from origin: 0x0 - size: 640x480 (offset:0)
10-16 11:44:25.330 I/V4L2Camera( 97): Actual format: (640 x 480), Fps: 20, pixfmt: 'YUYV', bytesperline: 1280
10-16 11:44:25.330 D/CameraHardware( 97): CameraHardware::startPreviewLocked: effective size: 640x480
10-16 11:44:25.330 D/CameraHardware( 97): CameraHardware::initHeapLocked
10-16 11:44:25.330 D/CameraHardware( 97): CameraHardware::initHeapLocked: preview size=640x480
10-16 11:44:25.330 D/CameraHardware( 97): CameraHardware::initHeapLocked: picture size=640x480
10-16 11:44:25.330 D/CameraHardware( 97): CameraHardware::initHeapLocked: video size=320x240
10-16 11:44:25.330 D/CameraHardware( 97): CameraHardware::initHeapLocked: OK
10-16 11:44:25.330 D/CameraHardware( 97): CameraHardware::startPreviewLocked: StartStreaming
10-16 11:44:25.340 D/CameraHardware( 97): CameraHardware::setPreviewWindow - Negotiating preview format
10-16 11:44:25.340 D/CameraHardware( 97): CameraHardware::NegotiatePreviewFormat
10-16 11:44:25.340 D/CameraHardware( 97): Trying to set preview window geometry to 640x480
10-16 11:44:25.340 D/CameraHardware( 97): CameraHardware::startPreviewLocked: starting PreviewThread
10-16 11:44:25.340 D/CameraHardware( 97): CameraHardware::startPreviewLocked: O - this:0x0x415e21a8
10-16 11:44:25.340 D/CameraHardware( 97): CameraHardware::initHeapLocked: OK
10-16 11:44:25.340 D/CameraHardware( 97): CameraHardware::setParameters: OK
10-16 11:44:25.340 D/CameraHardware( 97): CameraHardware::getParameters
10-16 11:44:25.340 D/CameraHardware( 97): CameraHardware::putParameters
10-16 11:44:25.340 D/CameraHardware( 97): CameraHardware::storeMetaDataInBuffers: 0
10-16 11:44:25.340 D/CameraHardware( 97): CameraHardware::storeMetaDataInBuffers: 1
10-16 11:44:25.380 E/OMXCodec( 97): [OMX.Nvidia.mp4.encoder] Found supported color format: 19
10-16 11:44:25.380 W/OMXCodec( 97): Error correction param query is not supported
10-16 11:44:25.430 D/AudioSource( 97): Start autoramp from 0
10-16 11:44:25.440 I/MPEG4Writer( 97): limits: 3958894464/0 bytes/us, bit rate: 140200 bps and the estimated moov size 405000 bytes
10-16 11:44:25.440 I/MPEG4Writer( 97): Start time offset: 1000000 us
10-16 11:44:25.690 D/NvOsDebugPrintf( 97): Opening channel failed 29
10-16 11:44:25.690 D/NvOsDebugPrintf( 97): NvRmPowerModuleClockControl off MOD[29] INST[0]
10-16 11:44:25.770 E/OMXCodec( 97): [OMX.Nvidia.mp4.encoder] ERROR(0x80001000, 2)
10-16 11:44:25.770 E/OMXCodec( 97): [OMX.Nvidia.mp4.encoder] init failed: -2147483648
10-16 11:44:25.770 E/MediaRecorder( 1809): start failed: -2147483648
10-16 11:44:25.780 E/CAM_VideoModule( 1809): Could not start media recorder.
10-16 11:44:25.780 E/CAM_VideoModule( 1809): java.lang.RuntimeException: start failed.
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at android.media.MediaRecorder.start(Native Method)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at com.android.camera.VideoModule.startVideoRecording(VideoModule.java:1640)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at com.android.camera.VideoModule.onShutterButtonClick(VideoModule.java:709)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at com.android.camera.ShutterButton.performClick(ShutterButton.java:125)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at android.view.View$PerformClick.run(View.java:17362)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at android.os.Handler.handleCallback(Handler.java:725)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at android.os.Handler.dispatchMessage(Handler.java:92)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at android.os.Looper.loop(Looper.java:137)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at android.app.ActivityThread.main(ActivityThread.java:5227)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at java.lang.reflect.Method.invokeNative(Native Method)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at java.lang.reflect.Method.invoke(Method.java:511)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
10-16 11:44:25.780 E/CAM_VideoModule( 1809): at dalvik.system.NativeStart.main(Native Method)
10-16 11:44:25.780 V/CAM_VideoModule( 1809): Releasing media recorder.
10-16 11:44:25.780 D/MPEG4Writer( 97): Stopping writer thread
10-16 11:44:25.780 D/MPEG4Writer( 97): 0 chunks are written in the last batch
10-16 11:44:25.780 D/MPEG4Writer( 97): Writer thread stopped
10-16 11:44:25.780 D/MPEG4Writer( 97): Stopping Video track
10-16 11:44:25.780 E/MPEG4Writer( 97): Stop() called but track is not started
10-16 11:44:25.880 D/CameraHardware( 97): CameraHardware::isRecordingEnabled: 0
10-16 11:44:25.880 E/OMXNodeInstance( 97): FreeHandle FAILED with error 0x80001010.