Camera

Материал из Toshiba AC100 wiki
Перейти к навигации Перейти к поиску

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.

New tests with CM-10.0 and kernel android ac100

dmesg encoder error

<6>[   60.512949] avp_init: Using AVP MMU to relocate AVP kernel
<6>[   60.551070] avp_init: Reading firmware from 'nvrm_avp.bin' (35364 bytes)
<6>[   60.557814] avp_init: Loading AVP kernel at vaddr=e0a00000 paddr=18100000
<6>[   60.577930] avp_reset: Resetting AVP: reset_addr=100000
<6>[   60.592578] process_connect_locked: got connect (10e9a0)
<6>[   60.592674] avp_node_try_connect: trying connect from RPC_AVP_PORT
<6>[   60.605522] avp_svc_thread: got remote peer
<6>[   60.609735] [AVP]: AVP kernel (May 21 2012 17:07:27)
<6>[   60.622374] avp_node_try_connect: got conn ack 'RPC_AVP_PORT' (d5438380 <-> 10e964)
<6>[   60.630026] avp_init: avp init done
<6>[   60.633542] avp_lib: loading library 'nvmm_manager.axf'
<6>[   60.648678] avp_lib: Successfully loaded library nvmm_manager.axf (lib_id=115940)
<6>[   60.659406] avp_node_try_connect: trying connect from NVMM_MANAGER_SRV
<6>[   60.677509] avp_node_try_connect: got conn ack 'NVMM_MANAGER_SRV' (d57e8de0 <-> 116bd8)
<6>[   60.724599] process_disconnect_locked: got disconnect (d57e8de0)
<6>[   60.752465] avp_lib: Successfully unloaded 'nvmm_manager.axf'
<6>[   60.759128] avp_lib: unloaded 'nvmm_manager.axf'
<6>[   60.764793] avp_svc_thread: AVP seems to be down; wait for kthread_stop
<6>[   60.771421] avp_svc_thread: exiting
<6>[   60.775404] avp_uninit: avp teardown done
<6>[   61.262698] binder: release 124:124 transaction 24664 in, still active
<6>[   61.270447] binder: send failed reply for transaction 24664 to 961:961
<3>[   61.278216] uvcvideo: Failed to resubmit video URB (-1).
<3>[   61.284240] uvcvideo: Failed to resubmit video URB (-1).
<3>[   61.290238] uvcvideo: Failed to resubmit video URB (-1).
<6>[   61.296843] binder: 961:978 transaction failed 29189, size 60-0
<6>[   61.309975] init: waitpid returned pid 124, status = 0000000b
<5>[   61.315780] init: process 'media', pid 124 exited
<5>[   61.320739] init: process 'media' killing any children in process group
<5>[   61.327527] init: starting 'media'

dmesg decoder fine

<6>[  172.394178] avp_init: Using AVP MMU to relocate AVP kernel
<6>[  172.402718] avp_init: Reading firmware from 'nvrm_avp.bin' (35364 bytes)
<6>[  172.409427] avp_init: Loading AVP kernel at vaddr=e0a00000 paddr=18100000
<6>[  172.429554] avp_reset: Resetting AVP: reset_addr=100000
<6>[  172.444247] avp_node_try_connect: trying connect from RPC_AVP_PORT
<6>[  172.446068] process_connect_locked: got connect (10e9a0)
<6>[  172.456180] avp_svc_thread: got remote peer
<6>[  172.460396] [AVP]: AVP kernel (May 21 2012 17:07:27)
<6>[  172.467947] avp_node_try_connect: got conn ack 'RPC_AVP_PORT' (cd5a3420 <-> 10e964)
<6>[  172.475640] avp_init: avp init done
<6>[  172.479129] avp_lib: loading library 'nvmm_manager.axf'
<6>[  172.489523] avp_lib: Successfully loaded library nvmm_manager.axf (lib_id=115940)
<6>[  172.497074] avp_node_try_connect: trying connect from NVMM_MANAGER_SRV
<6>[  172.512392] avp_node_try_connect: got conn ack 'NVMM_MANAGER_SRV' (cc118f60 <-> 116bd8)
<6>[  172.527084] avp_lib: loading library 'nvmm_service.axf'
<6>[  172.541148] avp_lib: Successfully loaded library nvmm_service.axf (lib_id=117748)
<6>[  172.553709] avp_node_try_connect: trying connect from daaaaaaa+
<6>[  172.567557] avp_node_try_connect: got conn ack 'daaaaaaa+' (cdb034e0 <-> 118a88)
<6>[  172.586006] avp_lib: loading library 'nvmm_h264dec.axf'
<6>[  172.629202] avp_lib: Successfully loaded library nvmm_h264dec.axf (lib_id=1195f8)
<6>[  172.636988] avp_node_try_connect: trying connect from eaaaaaaa+
<6>[  172.652398] avp_node_try_connect: got conn ack 'eaaaaaaa+' (cc335ac0 <-> 119ba8)

logcat encoder error with with media_profile https://github.com/scanno/android_device_nvidia_shuttle/blob/jb/files/media_profiles.xml profile 480p

D/V4L2Camera(  124): V4L2Camera::EnumFrameFormats
D/V4L2Camera(  124): { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
D/V4L2Camera(  124): V4L2Camera::EnumFrameSizes: pixfmt: 0x56595559
D/V4L2Camera(  124): { discrete: width = 640, height = 480 }
D/V4L2Camera(  124): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:640, h:480
D/V4L2Camera(  124):    Time interval between frame: 
D/V4L2Camera(  124): 1/30
D/V4L2Camera(  124): 1/20
D/V4L2Camera(  124): 1/10
D/V4L2Camera(  124): { discrete: width = 160, height = 120 }
D/V4L2Camera(  124): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:160, h:120
D/V4L2Camera(  124):    Time interval between frame: 
D/V4L2Camera(  124): 1/30
D/V4L2Camera(  124): 1/20
D/V4L2Camera(  124): 1/10
D/V4L2Camera(  124): { discrete: width = 176, height = 144 }
D/V4L2Camera(  124): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:176, h:144
D/V4L2Camera(  124):    Time interval between frame: 
D/V4L2Camera(  124): 1/30
D/V4L2Camera(  124): 1/20
D/V4L2Camera(  124): 1/10
D/V4L2Camera(  124): { discrete: width = 320, height = 240 }
D/V4L2Camera(  124): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:320, h:240
D/V4L2Camera(  124):    Time interval between frame: 
D/V4L2Camera(  124): 1/30
D/V4L2Camera(  124): 1/20
D/V4L2Camera(  124): 1/10
D/V4L2Camera(  124): { discrete: width = 352, height = 288 }
D/V4L2Camera(  124): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:352, h:288
D/V4L2Camera(  124):    Time interval between frame: 
D/V4L2Camera(  124): 1/30
D/V4L2Camera(  124): 1/20
D/V4L2Camera(  124): 1/10
D/V4L2Camera(  124): { discrete: width = 1280, height = 800 }
D/V4L2Camera(  124): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:1280, h:800
D/V4L2Camera(  124):    Time interval between frame: 
D/V4L2Camera(  124): 1/8
D/V4L2Camera(  124): { discrete: width = 1280, height = 1024 }
D/V4L2Camera(  124): V4L2Camera::EnumFrameIntervals: pixfmt: 0x56595559, w:1280, h:1024
D/V4L2Camera(  124):    Time interval between frame: 
D/V4L2Camera(  124): 1/8
D/CameraHardware(  124): CameraHardware::startPreviewLocked: Init
D/V4L2Camera(  124): V4L2Camera::Init
D/V4L2Camera(  124): Trying format: (640 x 480), Fps: 10 [difArea:0, difFps:20, cDifArea:-1, cDifFps:-1]
D/V4L2Camera(  124): Trying format: (640 x 480), Fps: 20 [difArea:0, difFps:10, cDifArea:0, cDifFps:20]
D/V4L2Camera(  124): Trying format: (640 x 480), Fps: 30 [difArea:0, difFps:0, cDifArea:0, cDifFps:10]
D/V4L2Camera(  124): Trying format: (1280 x 800), Fps: 8 [difArea:716800, difFps:22, cDifArea:0, cDifFps:0]
D/V4L2Camera(  124): Trying format: (1280 x 1024), Fps: 8 [difArea:1003520, difFps:22, cDifArea:0, cDifFps:0]
D/V4L2Camera(  124): Selected format: (640 x 480), Fps: 30
I/V4L2Camera(  124): Cropping from origin: 0x0 - size: 640x480  (offset:0)
I/V4L2Camera(  124): Actual format: (640 x 480), Fps: 30, pixfmt: 'YUYV', bytesperline: 1280
D/CameraHardware(  124): CameraHardware::startPreviewLocked: effective size: 640x480
D/CameraHardware(  124): CameraHardware::initHeapLocked
D/CameraHardware(  124): CameraHardware::initHeapLocked: preview size=640x480
D/CameraHardware(  124): CameraHardware::initHeapLocked: picture size=640x480
D/CameraHardware(  124): CameraHardware::initHeapLocked: video size=640x480
D/CameraHardware(  124): CameraHardware::initHeapLocked: OK
D/CameraHardware(  124): CameraHardware::startPreviewLocked: StartStreaming
W/OrientationEventListener(  961): Cannot detect sensors. Not enabled
W/OrientationEventListener(  961): Cannot detect sensors. Not enabled
D/CameraStorage(  961): External storage state=mounted
D/CameraHardware(  124): CameraHardware::setPreviewWindow - Negotiating preview format
D/CameraHardware(  124): CameraHardware::NegotiatePreviewFormat
D/CameraHardware(  124): Trying to set preview window geometry to 640x480
D/CameraHardware(  124): CameraHardware::startPreviewLocked: starting PreviewThread
D/CameraHardware(  124): CameraHardware::startPreviewLocked: O - this:0x0x41f84e28
D/ActivityBase(  961): set CameraRelativeFrame as Rect(0, 0 - 800, 600)
D/PhotoView(  961): compensation = 0, CameraRelativeFrame = Rect(0, 0 - 800, 600), mCameraRect = Rect(0, 0 - 800, 600)
I/GalleryEGLConfigChooser(  961): Config chosen: R5 G6 B5 A0 D0 S8 ID10 CAVEAT12344 
I/GLRootView(  961): onSurfaceChanged: 1024x600, gl10: com.google.android.gles_jni.GLImpl@424ba8f8
I/GLRootView(  961): layout content pane 1024x600 (compensation 0)
D/PhotoView(  961): compensation = 0, CameraRelativeFrame = Rect(0, 0 - 800, 600), mCameraRect = Rect(0, 0 - 800, 600)
W/ResourceType(  303): Skipping entry 0x10a0000 in package table 0 because it is not complex!
I/ActivityManager(  303): Displayed com.android.gallery3d/com.android.camera.VideoCamera: +344ms
W/ResourceType(  303): Skipping entry 0x10a0001 in package table 0 because it is not complex!
D/NvOsDebugPrintf(  121): Clone begin
D/NvOsDebugPrintf(  121): Clone shader, BinaryData:0x40dd2204, size:616
D/NvOsDebugPrintf(  121): Clone end
D/NvOsDebugPrintf(  121): Clone begin
D/NvOsDebugPrintf(  121): Clone shader, BinaryData:0x40dd21b4, size:672
D/NvOsDebugPrintf(  121): Clone end
D/dalvikvm(  961): GC_CONCURRENT freed 318K, 24% free 7282K/9543K, paused 3ms+4ms, total 32ms
D/dalvikvm(  961): WAIT_FOR_CONCURRENT_GC blocked 19ms
I/dalvikvm-heap(  961): Grow heap (frag case) to 16.461MB for 1310736-byte allocation
D/NvOsDebugPrintf(  961): Clone begin
D/NvOsDebugPrintf(  961): Clone shader, BinaryData:0x50fa1288, size:1040
D/NvOsDebugPrintf(  961): Clone end
D/NvOsDebugPrintf(  961): Clone begin
D/NvOsDebugPrintf(  961): Clone shader, BinaryData:0x5069b2dc, size:568
D/NvOsDebugPrintf(  961): Clone end
D/NvOsDebugPrintf(  961): Clone begin
D/NvOsDebugPrintf(  961): Clone shader, BinaryData:0x50fa1a44, size:1384
D/NvOsDebugPrintf(  961): Clone end
V/StateManager(  961): destroy
D/NvOsDebugPrintf(  961): Clone begin
D/NvOsDebugPrintf(  961): Clone shader, BinaryData:0x4edf62cc, size:500
D/NvOsDebugPrintf(  961): Clone end
D/NvOsDebugPrintf(  961): Clone begin
D/NvOsDebugPrintf(  961): Clone shader, BinaryData:0x4edf0204, size:592
D/NvOsDebugPrintf(  961): Clone end
D/NvOsDebugPrintf(  961): Clone begin
D/NvOsDebugPrintf(  961): Clone shader, BinaryData:0x4edf093c, size:444
D/NvOsDebugPrintf(  961): Clone end
V/videocamera(  961): startVideoRecording
D/CameraStorage(  961): External storage state=mounted
V/videocamera(  961): initializeRecorder
D/CameraHardware(  124): CameraHardware::isRecordingEnabled: 0
W/StagefrightRecorder(  124): Max file duration is not positive: 0 us. Disabling duration limit.
W/StagefrightRecorder(  124): Target duration (0 us) too short to be respected
V/videocamera(  961): New video filename: /storage/sdcard0/DCIM/Camera/VID_20150327_102735.3gp.tmp
D/CameraHardware(  124): CameraHardware::getParameters
D/CameraHardware(  124): CameraHardware::putParameters
D/CameraHardware(  124): CameraHardware::setParameters
D/CameraHardware(  124): Trivially accept it. No changes detected
D/CameraHardware(  124): CameraHardware::getParameters
D/CameraHardware(  124): CameraHardware::putParameters
D/CameraHardware(  124): CameraHardware::storeMetaDataInBuffers: 0
D/CameraHardware(  124): CameraHardware::storeMetaDataInBuffers: 1
D/NvOsDebugPrintf(  124): Opening channel failed 29
D/NvOsDebugPrintf(  124): NvRmPowerModuleClockControl off MOD[29] INST[0]
E/OMXCodec(  124): [OMX.Nvidia.h264.encoder] Target profile (1) and level (2048) is not supported
F/OMXCodec(  124): frameworks/av/media/libstagefright/OMXCodec.cpp:1230 CHECK_EQ( setupAVCEncoderParameters(meta),(status_t)OK) failed: -22 vs. 0
F/libc    (  124): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 124 (mediaserver)
I/DEBUG   (  119): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  119): Build fingerprint: 'motorola/tervigon/wingray:4.1.1/JRO03H/405518:user/release-keys'
I/DEBUG   (  119): pid: 124, tid: 124, name: mediaserver  >>> /system/bin/mediaserver <<<
I/DEBUG   (  119): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG   (  119):     r0 00000027  r1 deadbaad  r2 00000084  r3 00000000
I/DEBUG   (  119):     r4 00000000  r5 be8ff28c  r6 00000000  r7 00000001
I/DEBUG   (  119):     r8 00000007  r9 00000001  sl 00000060  fp be8ff8b4
I/DEBUG   (  119):     ip fffd2a38  sp be8ff288  lr 40157c8d  pc 40154356  cpsr 600f0030
I/DEBUG   (  119):     d0  bfc994460000ac44  d1  3fb33288ca9dbfbc
I/DEBUG   (  119):     d2  3ff0000000000000  d3  bf921333376fef12
I/DEBUG   (  119):     d4  4000000000000000  d5  3fc69cb41ccd1d78
I/DEBUG   (  119):     d6  3fa07a7c59f97cd4  d7  3cb9c278447a0000
I/DEBUG   (  119):     d8  0000000000000000  d9  0000000000000000
I/DEBUG   (  119):     d10 0000000000000000  d11 0000000000000000
I/DEBUG   (  119):     d12 0000000000000000  d13 0000000000000000
I/DEBUG   (  119):     d14 0000000000000000  d15 0000000000000000
I/DEBUG   (  119):     scr 20000010
I/DEBUG   (  119): 
I/DEBUG   (  119): backtrace:
I/DEBUG   (  119):     #00  pc 00018356  /system/lib/libc.so
I/DEBUG   (  119):     #01  pc 0000dc34  /system/lib/libc.so (abort+4)
I/DEBUG   (  119):     #02  pc 000040fd  /system/lib/libcutils.so (__android_log_assert+88)
I/DEBUG   (  119):     #03  pc 000710db  /system/lib/libstagefright.so (android::OMXCodec::setVideoInputFormat(char const*, android::sp<android::MetaData> const&)+206)
I/DEBUG   (  119):     #04  pc 00071c81  /system/lib/libstagefright.so (android::OMXCodec::configureCodec(android::sp<android::MetaData> const&)+944)
I/DEBUG   (  119):     #05  pc 0007205f  /system/lib/libstagefright.so (android::OMXCodec::Create(android::sp<android::IOMX> const&, android::sp<android::MetaData> const&, bool, android::sp<android::MediaSource> const&, char const*, unsigned int, android::sp<ANativeWindow> const&)+618)
I/DEBUG   (  119):     #06  pc 0002c5c1  /system/lib/libmediaplayerservice.so (android::StagefrightRecorder::setupVideoEncoder(android::sp<android::MediaSource>, int, android::sp<android::MediaSource>*)+1056)
I/DEBUG   (  119):     #07  pc 0002ce17  /system/lib/libmediaplayerservice.so (android::StagefrightRecorder::setupMPEG4Recording(int, int, int, int, int*, android::sp<android::MediaWriter>*)+98)
I/DEBUG   (  119):     #08  pc 0002cf27  /system/lib/libmediaplayerservice.so (android::StagefrightRecorder::startMPEG4Recording()+30)
I/DEBUG   (  119):     #09  pc 0002d019  /system/lib/libmediaplayerservice.so (android::StagefrightRecorder::start()+140)
I/DEBUG   (  119):     #10  pc 0002458b  /system/lib/libmediaplayerservice.so (android::MediaRecorderClient::start()+42)
I/DEBUG   (  119):     #11  pc 000436e1  /system/lib/libmedia.so (android::BnMediaRecorder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+108)
I/DEBUG   (  119):     #12  pc 000143c9  /system/lib/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+60)
I/DEBUG   (  119):     #13  pc 00016fc5  /system/lib/libbinder.so (android::IPCThreadState::executeCommand(int)+520)
I/DEBUG   (  119):     #14  pc 000173ed  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+184)
I/DEBUG   (  119):     #15  pc 00000aab  /system/bin/mediaserver
I/DEBUG   (  119): 
I/DEBUG   (  119): stack:
I/DEBUG   (  119):          be8ff248  423de000  
I/DEBUG   (  119):          be8ff24c  00000000  
I/DEBUG   (  119):          be8ff250  401806c4  /system/lib/libc.so
I/DEBUG   (  119):          be8ff254  41f77518  [heap]
I/DEBUG   (  119):          be8ff258  401806c4  /system/lib/libc.so
I/DEBUG   (  119):          be8ff25c  00000001  
I/DEBUG   (  119):          be8ff260  401807b8  /system/lib/libc.so
I/DEBUG   (  119):          be8ff264  40180718  /system/lib/libc.so
I/DEBUG   (  119):          be8ff268  00000000  
I/DEBUG   (  119):          be8ff26c  40157c8d  /system/lib/libc.so (_fwalk+32)
I/DEBUG   (  119):          be8ff270  00000001  
I/DEBUG   (  119):          be8ff274  be8ff28c  [stack]
I/DEBUG   (  119):          be8ff278  00000000  
I/DEBUG   (  119):          be8ff27c  00000001  
I/DEBUG   (  119):          be8ff280  df0027ad  
I/DEBUG   (  119):          be8ff284  00000000  
I/DEBUG   (  119):     #00  be8ff288  401397e8  
I/DEBUG   (  119):          be8ff28c  fffffbdf  
I/DEBUG   (  119):          be8ff290  be8ff28c  [stack]
I/DEBUG   (  119):          be8ff294  00000001  
I/DEBUG   (  119):          be8ff298  405fbe9b  /system/lib/libstagefright.so
I/DEBUG   (  119):          be8ff29c  00000009  
I/DEBUG   (  119):          be8ff2a0  be8ff2bc  [stack]
I/DEBUG   (  119):          be8ff2a4  405fbe9b  /system/lib/libstagefright.so
I/DEBUG   (  119):          be8ff2a8  be8ff934  [stack]
I/DEBUG   (  119):          be8ff2ac  40149c38  /system/lib/libc.so (__pthread_clone)
I/DEBUG   (  119):     #01  be8ff2b0  40190c25  /system/lib/libcutils.so
I/DEBUG   (  119):          be8ff2b4  40191101  /system/lib/libcutils.so (__android_log_assert+92)
I/DEBUG   (  119):     #02  be8ff2b8  be8ff6cc  [stack]
I/DEBUG   (  119):          be8ff2bc  6d617266  
I/DEBUG   (  119):          be8ff2c0  726f7765  
I/DEBUG   (  119):          be8ff2c4  612f736b  
I/DEBUG   (  119):          be8ff2c8  656d2f76  
I/DEBUG   (  119):          be8ff2cc  2f616964  
I/DEBUG   (  119):          be8ff2d0  7362696c  
I/DEBUG   (  119):          be8ff2d4  65676174  
I/DEBUG   (  119):          be8ff2d8  67697266  
I/DEBUG   (  119):          be8ff2dc  4f2f7468  
I/DEBUG   (  119):          be8ff2e0  6f43584d  
I/DEBUG   (  119):          be8ff2e4  2e636564  
I/DEBUG   (  119):          be8ff2e8  3a707063  
I/DEBUG   (  119):          be8ff2ec  30333231  
I/DEBUG   (  119):          be8ff2f0  45484320  
I/DEBUG   (  119):          be8ff2f4  455f4b43  
I/DEBUG   (  119):          ........  ........
I/DEBUG   (  119): 
I/DEBUG   (  119): memory near r5:
I/DEBUG   (  119):     be8ff26c 40157c8d 00000001 be8ff28c 00000000  .|.@............
I/DEBUG   (  119):     be8ff27c 00000001 df0027ad 00000000 401397e8  .....'.........@
I/DEBUG   (  119):     be8ff28c fffffbdf be8ff28c 00000001 405fbe9b  .............._@
I/DEBUG   (  119):     be8ff29c 00000009 be8ff2bc 405fbe9b be8ff934  .........._@4...
I/DEBUG   (  119):     be8ff2ac 40149c38 40190c25 40191101 be8ff6cc  8..@%..@...@....
I/DEBUG   (  119): 
I/DEBUG   (  119): memory near fp:
I/DEBUG   (  119):     be8ff894 be8ff958 00000010 434cb1b8 434cb490  X.........LC..LC
I/DEBUG   (  119):     be8ff8a4 434cb520 0000000b 00000000 434cb520   .LC........ .LC
I/DEBUG   (  119):     be8ff8b4 434cb878 404a1d5d 00000000 00000001  x.LC].J@........
I/DEBUG   (  119):     be8ff8c4 be8ff90c be8ff8dc 404e5417 40616990  [email protected]@
I/DEBUG   (  119):     be8ff8d4 434cb4e0 00000001 00000000 00000004  ..LC............
I/DEBUG   (  119): 
I/DEBUG   (  119): memory near sp:
I/DEBUG   (  119):     be8ff268 00000000 40157c8d 00000001 be8ff28c  .....|.@........
I/DEBUG   (  119):     be8ff278 00000000 00000001 df0027ad 00000000  .........'......
I/DEBUG   (  119):     be8ff288 401397e8 fffffbdf be8ff28c 00000001  ...@............
I/DEBUG   (  119):     be8ff298 405fbe9b 00000009 be8ff2bc 405fbe9b  .._@.........._@
I/DEBUG   (  119):     be8ff2a8 be8ff934 40149c38 40190c25 40191101  4...8..@%..@...@
I/DEBUG   (  119): 
I/DEBUG   (  119): code around pc:
I/DEBUG   (  119):     40154334 e000b164 6823461c d1fb2b00 68e3e026  d....F#h.+..&..h
I/DEBUG   (  119):     40154344 4a17b123 447a2401 47986014 20274911  #..J.$zD.`.G.I' 
I/DEBUG   (  119):     40154354 70082400 eb9ef7f4 f7f52106 a902ecda  .$.p.....!......
I/DEBUG   (  119):     40154364 5380f04f 2006460a 94029304 f7f59403  O..S.F. ........
I/DEBUG   (  119):     40154374 4629e8bc 20024622 e8c4f7f5 eb8af7f4  ..)F"F. ........
I/DEBUG   (  119): 
I/DEBUG   (  119): code around lr:
I/DEBUG   (  119):     40157c6c 41f0e92d 4c0b4680 447c2600 68a56824  -..A.F.L.&|D$h.h
I/DEBUG   (  119):     40157c7c e0076867 300cf9b5 dd022b00 47c04628  gh.....0.+..(F.G
I/DEBUG   (  119):     40157c8c 35544306 d5f53f01 2c006824 4630d1ef  .CT5.?..$h.,..0F
I/DEBUG   (  119):     40157c9c 81f0e8bd 0002888a 43f0e92d f602fb01  ........-..C....
I/DEBUG   (  119):     40157cac 8058f8df b087461f 9001460c f8d844f8  ..X..F...F...D..
I/DEBUG   (  119): 
I/DEBUG   (  119): memory map around fault addr deadbaad:
I/DEBUG   (  119):     be8df000-be900000 [stack]
I/DEBUG   (  119):     (no map for address)
I/DEBUG   (  119):     ffff0000-ffff1000 [vectors]
I/BootReceiver(  303): Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
I/ServiceManager(  115): service 'media.audio_flinger' died
I/ServiceManager(  115): service 'media.player' died
I/ServiceManager(  115): service 'media.camera' died
I/ServiceManager(  115): service 'media.audio_policy' died
W/AudioSystem(  480): AudioFlinger server died!
W/AudioSystem(  480): AudioPolicyService server died!
W/IMediaDeathNotifier(  961): media server died
W/Camera  (  961): Camera server died!
W/IMediaDeathNotifier(  303): media server died
W/Camera  (  961): ICamera died
W/dalvikvm(  961): threadid=13: thread exiting with uncaught exception (group=0x41e55300)
W/AudioSystem(  303): AudioFlinger server died!
W/AudioSystem(  303): AudioPolicyService server died!
D/dalvikvm(  303): GC_FOR_ALLOC freed 1140K, 30% free 5791K/8195K, paused 41ms, total 44ms
E/AndroidRuntime(  961): FATAL EXCEPTION: Camera Handler Thread
E/AndroidRuntime(  961): java.lang.RuntimeException: getParameters failed (empty parameters)
E/AndroidRuntime(  961):        at android.hardware.Camera.native_getParameters(Native Method)
E/AndroidRuntime(  961):        at android.hardware.Camera.getParameters(Camera.java:1539)
E/AndroidRuntime(  961):        at com.android.camera.CameraManager$CameraHandler.handleMessage(CameraManager.java:188)
E/AndroidRuntime(  961):        at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  961):        at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(  961):        at android.os.HandlerThread.run(HandlerThread.java:60)
D/dalvikvm(  303): GC_FOR_ALLOC freed 285K, 31% free 5921K/8519K, paused 54ms, total 54ms
D/dalvikvm(  303): GC_FOR_ALLOC freed 18K, 29% free 6109K/8519K, paused 111ms, total 111ms
W/ActivityManager(  303):   Force finishing activity com.android.gallery3d/com.android.camera.VideoCamera
W/WindowManager(  303): Failure taking screenshot for (302x176) to layer 21015
D/dalvikvm(  303): GC_FOR_ALLOC freed 961K, 37% free 5654K/8839K, paused 45ms, total 45ms
I/mediaserver( 1025): ServiceManager: 0x41898ce0
I/AudioFlinger( 1025): Using default 3000 mSec as standby time.
I/CameraService( 1025): CameraService started (pid=1025)
D/Camera_Factory( 1025): CameraFactory::CameraFactory
D/Camera_Factory( 1025): CameraFactory::get_number_of_cameras
D/Camera_Factory( 1025): CameraFactory::getCameraNum
I/AudioPolicyManagerBase( 1025): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
V/tiny_hw ( 1025): Reading configuration from /system/etc/sound/ac100.xml
V/tiny_hw ( 1025): Parsing control Master Playback Volume => 63
V/tiny_hw ( 1025): Parsing control Master Playback Switch => 1
V/tiny_hw ( 1025): Parsing control Headphone Playback Volume => 63
V/tiny_hw ( 1025): Parsing control HPL Mix DACL2HP Playback Switch => 1
V/tiny_hw ( 1025): Parsing control HPR Mix DACR2HP Playback Switch => 1
V/tiny_hw ( 1025): Parsing control Left Headphone Mux => HP Left Mix
V/tiny_hw ( 1025): Parsing control Right Headphone Mux => HP Right Mix
V/tiny_hw ( 1025): Parsing control Speaker Playback Volume => 63
V/tiny_hw ( 1025): Parsing control Int Spk Switch => 1
V/tiny_hw ( 1025): Parsing control Speaker Mix DAC2SPK Playback Switch => 1
V/tiny_hw ( 1025): Parsing control SpeakerOut Mux => HPOut Mix
V/tiny_hw ( 1025): Parsing control SpeakerOut N Mux => RP/+R
V/tiny_hw ( 1025): Parsing control AB-D Amp Mux => AB Amp
V/tiny_hw ( 1025): Parsing control Rec Capture Volume => 20
V/tiny_hw ( 1025): Parsing control DMIC PreFilter Capture Switch => 1
V/tiny_hw ( 1025): Parsing control DMICL Mix DMICL2ADC Capture Switch => 1
V/tiny_hw ( 1025): Parsing control DMIC Boost Capture Volume => 3
V/tiny_hw ( 1025): Parsing control Mic 1 Boost Volume => 1
V/tiny_hw ( 1025): Parsing control Mic1 Playback Volume => 1
V/tiny_hw ( 1025): Parsing control I2SOut Mux => ADC LR
V/tiny_hw ( 1025): Applying 20 element default route
V/tiny_hw ( 1025): Set 'Master Playback Volume'.0 to 63
V/tiny_hw ( 1025): Set 'Master Playback Volume'.1 to 63
V/tiny_hw ( 1025): Set 'Master Playback Switch'.0 to 1
V/tiny_hw ( 1025): Set 'Master Playback Switch'.1 to 1
V/tiny_hw ( 1025): Set 'Headphone Playback Volume'.0 to 63
V/tiny_hw ( 1025): Set 'Headphone Playback Volume'.1 to 63
V/tiny_hw ( 1025): Set 'HPL Mix DACL2HP Playback Switch'.0 to 1
V/tiny_hw ( 1025): Set 'HPR Mix DACR2HP Playback Switch'.0 to 1
V/tiny_hw ( 1025): Set 'Left Headphone Mux' to 'HP Left Mix'
V/tiny_hw ( 1025): Set 'Right Headphone Mux' to 'HP Right Mix'
V/tiny_hw ( 1025): Set 'Speaker Playback Volume'.0 to 63
V/tiny_hw ( 1025): Set 'Speaker Playback Volume'.1 to 63
V/tiny_hw ( 1025): Set 'Int Spk Switch'.0 to 1
V/tiny_hw ( 1025): Set 'Speaker Mix DAC2SPK Playback Switch'.0 to 1
V/tiny_hw ( 1025): Set 'SpeakerOut Mux' to 'HPOut Mix'
V/tiny_hw ( 1025): Set 'SpeakerOut N Mux' to 'RP/+R'
V/tiny_hw ( 1025): Set 'AB-D Amp Mux' to 'AB Amp'
V/tiny_hw ( 1025): Set 'Rec Capture Volume'.0 to 20
V/tiny_hw ( 1025): Set 'Rec Capture Volume'.1 to 20
V/tiny_hw ( 1025): Set 'DMIC PreFilter Capture Switch'.0 to 1
V/tiny_hw ( 1025): Set 'DMICL Mix DMICL2ADC Capture Switch'.0 to 1
V/tiny_hw ( 1025): Set 'DMIC Boost Capture Volume'.0 to 3
V/tiny_hw ( 1025): Set 'Mic 1 Boost Volume'.0 to 1
V/tiny_hw ( 1025): Set 'Mic1 Playback Volume'.0 to 1
V/tiny_hw ( 1025): Set 'I2SOut Mux' to 'ADC LR'
I/tiny_hw ( 1025): Allocating device speaker
V/tiny_hw ( 1025): Parsing control Speaker Playback Switch => 1
V/tiny_hw ( 1025): 1 element on sequence
V/tiny_hw ( 1025): Parsing control Speaker Playback Switch => 0
V/tiny_hw ( 1025): 1 element off sequence
V/tiny_hw ( 1025): Set 'Speaker Playback Switch'.0 to 0
V/tiny_hw ( 1025): Set 'Speaker Playback Switch'.1 to 0
I/tiny_hw ( 1025): Allocating device headphone
V/tiny_hw ( 1025): Parsing control Headphone Playback Switch => 1
V/tiny_hw ( 1025): 1 element on sequence
V/tiny_hw ( 1025): Parsing control Headphone Playback Switch => 0
V/tiny_hw ( 1025): 1 element off sequence
V/tiny_hw ( 1025): Set 'Headphone Playback Switch'.0 to 0
V/tiny_hw ( 1025): Set 'Headphone Playback Switch'.1 to 0
I/tiny_hw ( 1025): Allocating device builtin-mic
V/tiny_hw ( 1025): Parsing control DMIC En Capture Switch => 1
V/tiny_hw ( 1025): 1 element on sequence
V/tiny_hw ( 1025): Parsing control DMIC En Capture Switch => 0
V/tiny_hw ( 1025): 1 element off sequence
V/tiny_hw ( 1025): Set 'DMIC En Capture Switch'.0 to 0
I/tiny_hw ( 1025): Allocating device headset
V/tiny_hw ( 1025): Parsing control Left Capture Mix MIC12REC_L Capture Switch => 1
V/tiny_hw ( 1025): 1 element on sequence
V/tiny_hw ( 1025): Parsing control Left Capture Mix MIC12REC_L Capture Switch => 0
V/tiny_hw ( 1025): 1 element off sequence
V/tiny_hw ( 1025): Set 'Left Capture Mix MIC12REC_L Capture Switch'.0 to 0
I/tiny_hw ( 1025): Allocating device hdmi
V/tiny_hw ( 1025): Changing devices 0 => 40002
V/tiny_hw ( 1025): Set 'Speaker Playback Switch'.0 to 1
V/tiny_hw ( 1025): Set 'Speaker Playback Switch'.1 to 1
V/tiny_hw ( 1025): Set 'DMIC En Capture Switch'.0 to 1
I/AudioFlinger( 1025): loadHwModule() Loaded primary audio interface from TinyHAL (audio) handle 1
V/tiny_hw ( 1025): configuring cfg(0) to card,dev: 0,0 for 0x2
V/tiny_hw ( 1025): configuring cfg(1) to card,dev: 0,0 for 0xc
V/tiny_hw ( 1025): configuring cfg(4) to card,dev: 0,1 for 0x400
V/tiny_hw ( 1025): Opened output stream 0x4189a080
I/AudioFlinger( 1025): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
I/AudioMixer( 1025): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger( 1025): Using module 1 has the primary audio interface
I/AudioFlinger( 1025): AudioFlinger's thread 0x418a1a98 ready to run
I/AudioFlinger( 1025): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 3
I/AudioFlinger( 1025): loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 4
I/AudioPolicyService( 1025): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
W/ActivityManager(  303): Activity pause timeout for ActivityRecord{425baa98 com.android.gallery3d/com.android.camera.VideoCamera}
D/NvOsDebugPrintf(  121): Clone begin
D/NvOsDebugPrintf(  121): Clone shader, BinaryData:0x411c1cf0, size:428
D/NvOsDebugPrintf(  121): Clone end
D/NvOsDebugPrintf(  121): Clone begin
D/NvOsDebugPrintf(  121): Clone shader, BinaryData:0x411baa88, size:484
D/NvOsDebugPrintf(  121): Clone end
E/AudioService(  303): Media server died.
E/AudioService(  303): Media server started.
V/tiny_hw ( 1025): adev_set_parameters: restarting=true
W/AudioPolicyManagerBase( 1025): setPhoneState() setting same state 0
V/tiny_hw ( 1025): adev_set_parameters: restarting=false