Skip to content

Busy error when establish streaming #15

@ivan-ushakov

Description

@ivan-ushakov

Hello,
We faced with I/O error which in fact is EBUSY error. Here is stack trace:

W/System.err( 1337): com.jwoolston.android.uvc.StreamCreationException: Probe set request failed: Input/Output Error
W/System.err( 1337): 	at com.jwoolston.android.uvc.StreamManager.establishStreaming(StreamManager.java:87)
W/System.err( 1337): 	at com.jwoolston.android.uvc.WebcamConnection.beginConnectionStreaming(WebcamConnection.java:88)
W/System.err( 1337): 	at com.jwoolston.android.uvc.WebcamImpl.beginStreaming(WebcamImpl.java:50)
W/System.err( 1337): 	at com.jwoolston.usb.webcam.app.MainActivity.onNewVideoFormatSelected(MainActivity.java:93)
W/System.err( 1337): 	at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1337): 	at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 1337): 	at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:507)
W/System.err( 1337): 	at org.greenrobot.eventbus.EventBus.postToSubscription(EventBus.java:434)
W/System.err( 1337): 	at org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:411)
W/System.err( 1337): 	at org.greenrobot.eventbus.EventBus.postSingleEvent(EventBus.java:384)
W/System.err( 1337): 	at org.greenrobot.eventbus.EventBus.post(EventBus.java:265)
W/System.err( 1337): 	at com.jwoolston.usb.webcam.app.FormatPickerDialog$2.onClick(FormatPickerDialog.java:73)
W/System.err( 1337): 	at android.support.v7.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
W/System.err( 1337): 	at android.os.Handler.dispatchMessage(Handler.java:102)
W/System.err( 1337): 	at android.os.Looper.loop(Looper.java:136)
W/System.err( 1337): 	at android.app.ActivityThread.main(ActivityThread.java:5001)
W/System.err( 1337): 	at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1337): 	at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 1337): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:801)
W/System.err( 1337): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:617)
W/System.err( 1337): 	at dalvik.system.NativeStart.main(Native Method)

Here is libusb debug output:

D/libusb  ( 1337): [ 1.915186] [00000539] libusb: debug [libusb_alloc_transfer] transfer 0x68325bf4
D/libusb  ( 1337): [ 1.915323] [00000539] libusb: debug [libusb_submit_transfer] transfer 0x68325bf4
E/libusb  ( 1337): [ 1.915679] [00000539] libusb: error [submit_control_transfer] submiturb failed error -1 errno=16
D/libusb  ( 1337): [ 1.915768] [00000539] libusb: debug [libusb_free_transfer] transfer 0x68325bf4

Here are settings:

D/dalvikvm( 1337): Trying to load lib /data/app-lib/com.jwoolston.android.uvc.demo-1/libwrapper_libusb.so 0x41bda4a8
D/dalvikvm( 1337): Added shared lib /data/app-lib/com.jwoolston.android.uvc.demo-1/libwrapper_libusb.so 0x41bda4a8
D/dalvikvm( 1337): No JNI_OnLoad found in /data/app-lib/com.jwoolston.android.uvc.demo-1/libwrapper_libusb.so 0x41bda4a8, skipping init

D/UsbManager-Native( 1337): Initializing libusb.
D/WebcamConnection( 1337): Initializing native layer.
D/UsbDevice-Native( 1337): Wrapping USB Device Handle.


D/libusb  ( 1337): [timestamp] [threadID] facility level [function call] <message>
D/libusb  ( 1337): --------------------------------------------------------------------------------
D/libusb  ( 1337): [ 0.005551] [00000539] libusb: debug [libusb_wrap_fd] wrap 51
D/libusb  ( 1337): [ 0.005581] [00000539] libusb: debug [linux_get_device_address] getting address for device: (null) detached: 1
D/libusb  ( 1337): [ 0.005712] [00000539] libusb: debug [op_wrap_fd] allocating new device for fd 51
D/libusb  ( 1337): [ 0.006051] [00000539] libusb: debug [initialize_handle] getcap not available
D/libusb  ( 1337): [ 0.006076] [00000539] libusb: debug [usbi_add_pollfd] add fd 51 events 4
D/libusb  ( 1337): [ 0.006285] [00000539] libusb: debug [libusb_get_device_descriptor]

W/dalvikvm( 1337): JNI WARNING: NewStringUTF input is not valid Modified UTF-8: illegal continuation byte 0x51
W/dalvikvm( 1337):              string: 'H| @�Q!@lston.android.libusb.LibUsbDeviceDescrip8'
W/dalvikvm( 1337):              in Lcom/jwoolston/android/libusb/UsbDevice;.nativeGetManufacturerString:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljava/lang/String; (NewStringUTF)
W/dalvikvm( 1337): JNI WARNING: NewStringUTF input is not valid Modified UTF-8: illegal continuation byte 0x51
W/dalvikvm( 1337):              string: 'H| @�Q!@lston.android.libusb.LibUsbDeviceDescrip8'
W/dalvikvm( 1337):              in Lcom/jwoolston/android/libusb/UsbDevice;.nativeGetProductNameString:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljava/lang/String; (NewStringUTF)

D/libusb  ( 1337): [ 0.011234] [00000539] libusb: debug [libusb_get_config_descriptor] index 0
D/libusb  ( 1337): [ 0.011276] [00000539] libusb: debug [parse_configuration] skipping descriptor 0xb
D/libusb  ( 1337): [ 0.011292] [00000539] libusb: debug [parse_endpoint] skipping descriptor 25
D/libusb  ( 1337): [ 0.011328] [00000539] libusb: debug [parse_endpoint] skipping descriptor b
D/libusb  ( 1337): [ 0.011344] [00000539] libusb: debug [parse_endpoint] skipping descriptor 25
D/libusb  ( 1337): [ 0.011357] [00000539] libusb: debug [parse_endpoint] skipping descriptor 25
D/libusb  ( 1337): [ 0.011376] [00000539] libusb: debug [parse_endpoint] skipping descriptor 25
D/libusb  ( 1337): [ 0.011388] [00000539] libusb: debug [parse_endpoint] skipping descriptor 25


D/WebcamConnection( 1337): Parsing raw association descriptors.
D/InterfaceAssociationDes( 1337): Parsing Interface Association Descriptor.
I/UvcInterface( 1337): Creating control interface
D/VideoControlInterface( 1337): Parsing Video Class Interface header.
D/VideoControlInterface( 1337): Parsing Video Class Interface header.
D/VideoControlInterface( 1337):     VideoControlInterface{
D/VideoControlInterface( 1337):             uvc=1
D/VideoControlInterface( 1337):             numberStreamingInterfaces=1
D/VideoControlInterface( 1337):             streamingInterfaces=[1]
D/VideoControlInterface( 1337):             USB Interface=UsbInterface[id=0,alternateSetting=0,name=null,interfaceClass=14,subclass=1,protocol=0,endpoints=[
D/VideoControlInterface( 1337): UsbEndpoint[address=135,attributes=3,maxPacketSize=16,interval=8]]
D/VideoControlInterface( 1337):             Endpoints=[null]
D/VideoControlInterface( 1337):             input terminals=[]
D/VideoControlInterface( 1337):             output terminals=[]
D/VideoControlInterface( 1337):             Video Units:}
D/VideoProcessingUnit( 1337): Parsing video processing unit.
D/VideoControlInterface( 1337): Parsing video extension unit.
D/VideoControlInterface( 1337): Parsing video extension unit.
D/VideoControlInterface( 1337): Parsing video extension unit.
D/VideoControlInterface( 1337): Parsing video extension unit.
D/Endpoint( 1337): Parsing Class Specific Endpoint Descriptor.
I/UvcInterface( 1337): Creating streaming interface.
D/VideoStreamInputHeader( 1337): Parsing VideoStreamInputHeader
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=1, StillImageSupported=true, FixedFrameRateEnabled=false, Width=640, Height=480, MinBitRate=24576000, MaxBitRate=147456000, DefaultFrameInterval=333333, FrameIntervalType=6, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=2, StillImageSupported=true, FixedFrameRateEnabled=false, Width=160, Height=120, MinBitRate=1536000, MaxBitRate=9216000, DefaultFrameInterval=333333, FrameIntervalType=6, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=3, StillImageSupported=true, FixedFrameRateEnabled=false, Width=176, Height=144, MinBitRate=2027520, MaxBitRate=12165120, DefaultFrameInterval=333333, FrameIntervalType=6, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/dalvikvm( 1337): GC_CONCURRENT freed 311K, 12% free 3043K/3440K, paused 1ms+3ms, total 18ms
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=4, StillImageSupported=true, FixedFrameRateEnabled=false, Width=320, Height=176, MinBitRate=4505600, MaxBitRate=27033600, DefaultFrameInterval=333333, FrameIntervalType=6, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=5, StillImageSupported=true, FixedFrameRateEnabled=false, Width=320, Height=240, MinBitRate=6144000, MaxBitRate=36864000, DefaultFrameInterval=333333, FrameIntervalType=6, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=6, StillImageSupported=true, FixedFrameRateEnabled=false, Width=352, Height=288, MinBitRate=8110080, MaxBitRate=48660480, DefaultFrameInterval=333333, FrameIntervalType=6, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=7, StillImageSupported=true, FixedFrameRateEnabled=false, Width=432, Height=240, MinBitRate=8294400, MaxBitRate=49766400, DefaultFrameInterval=333333, FrameIntervalType=6, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=8, StillImageSupported=true, FixedFrameRateEnabled=false, Width=544, Height=288, MinBitRate=12533760, MaxBitRate=75202560, DefaultFrameInterval=333333, FrameIntervalType=6, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=9, StillImageSupported=true, FixedFrameRateEnabled=false, Width=640, Height=360, MinBitRate=18432000, MaxBitRate=110592000, DefaultFrameInterval=333333, FrameIntervalType=6, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=10, StillImageSupported=true, FixedFrameRateEnabled=false, Width=752, Height=416, MinBitRate=25026560, MaxBitRate=125132800, DefaultFrameInterval=400000, FrameIntervalType=5, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[83887642, 400000, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=11, StillImageSupported=true, FixedFrameRateEnabled=false, Width=800, Height=448, MinBitRate=28672000, MaxBitRate=114688000, DefaultFrameInterval=500000, FrameIntervalType=4, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[67110817, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=12, StillImageSupported=true, FixedFrameRateEnabled=false, Width=800, Height=600, MinBitRate=38400000, MaxBitRate=153600000, DefaultFrameInterval=500000, FrameIntervalType=4, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[67110817, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=13, StillImageSupported=true, FixedFrameRateEnabled=false, Width=864, Height=480, MinBitRate=33177600, MaxBitRate=132710400, DefaultFrameInterval=500000, FrameIntervalType=4, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[67110817, 500000, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=14, StillImageSupported=true, FixedFrameRateEnabled=false, Width=960, Height=544, MinBitRate=41779200, MaxBitRate=125337600, DefaultFrameInterval=666666, FrameIntervalType=3, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[50334252, 666666, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=15, StillImageSupported=true, FixedFrameRateEnabled=false, Width=960, Height=720, MinBitRate=55296000, MaxBitRate=110592000, DefaultFrameInterval=1000000, FrameIntervalType=2, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[33558338, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=16, StillImageSupported=true, FixedFrameRateEnabled=false, Width=1024, Height=576, MinBitRate=47185920, MaxBitRate=94371840, DefaultFrameInterval=1000000, FrameIntervalType=2, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[33558338, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=17, StillImageSupported=true, FixedFrameRateEnabled=false, Width=1184, Height=656, MinBitRate=62136320, MaxBitRate=124272640, DefaultFrameInterval=1000000, FrameIntervalType=2, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[33558338, 1000000]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=18, StillImageSupported=true, FixedFrameRateEnabled=false, Width=1280, Height=720, MinBitRate=73728000, MaxBitRate=147456000, DefaultFrameInterval=2000000, FrameIntervalType=2, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[33562244, 1333333]}
D/UncompressedVideoFormat( 1337): Adding video frame: UncompressedVideoFrame{Frame Index=19, StillImageSupported=true, FixedFrameRateEnabled=false, Width=1280, Height=960, MinBitRate=98304000, MaxBitRate=196608000, DefaultFrameInterval=2000000, FrameIntervalType=2, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[33562244, 1333333]}
D/VideoStreamingInterface( 1337): VideoColorMatchingDescriptor{colorPrimaries=BT_709, transferCharacteristics=BT_709, matrixCoefficients=SMPTE_170M}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=640, mHeight=480, mMinBitRate=24576000, mMaxBitRate=147456000, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=160, mHeight=120, mMinBitRate=1536000, mMaxBitRate=9216000, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=176, mHeight=144, mMinBitRate=2027520, mMaxBitRate=12165120, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=320, mHeight=176, mMinBitRate=4505600, mMaxBitRate=27033600, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=320, mHeight=240, mMinBitRate=6144000, mMaxBitRate=36864000, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=352, mHeight=288, mMinBitRate=8110080, mMaxBitRate=48660480, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=432, mHeight=240, mMinBitRate=8294400, mMaxBitRate=49766400, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=544, mHeight=288, mMinBitRate=12533760, mMaxBitRate=75202560, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=640, mHeight=360, mMinBitRate=18432000, mMaxBitRate=110592000, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=752, mHeight=416, mMinBitRate=25026560, mMaxBitRate=150159360, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=800, mHeight=448, mMinBitRate=28672000, mMaxBitRate=172032000, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=800, mHeight=600, mMinBitRate=38400000, mMaxBitRate=230400000, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=864, mHeight=480, mMinBitRate=33177600, mMaxBitRate=199065600, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=960, mHeight=544, mMinBitRate=41779200, mMaxBitRate=250675200, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=960, mHeight=720, mMinBitRate=55296000, mMaxBitRate=331776000, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=1024, mHeight=576, mMinBitRate=47185920, mMaxBitRate=283115520, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=1184, mHeight=656, mMinBitRate=62136320, mMaxBitRate=372817920, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=1280, mHeight=720, mMinBitRate=73728000, mMaxBitRate=442368000, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/MJPEGVideoFormat( 1337): Adding video frame: MJPEGVideoFrame{mStillImageSupported=true, mFixedFrameRateEnabled=false, mWidth=1280, mHeight=960, mMinBitRate=98304000, mMaxBitRate=589824000, mDefaultFrameInterval=333333, mFrameIntervalType=6, mMinFrameInterval=0, mMaxFrameInterval=0, mFrameIntervalStep=0, mFrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}
D/VideoStreamingInterface( 1337): VideoColorMatchingDescriptor{colorPrimaries=BT_709, transferCharacteristics=BT_709, matrixCoefficients=SMPTE_170M}
I/UvcInterface( 1337): Creating streaming interface.
D/dalvikvm( 1337): GC_CONCURRENT freed 490K, 16% free 3063K/3640K, paused 2ms+2ms, total 26ms
D/dalvikvm( 1337): WAIT_FOR_CONCURRENT_GC blocked 6ms
I/UvcInterface( 1337): Creating streaming interface.
I/UvcInterface( 1337): Creating streaming interface.
I/UvcInterface( 1337): Creating streaming interface.
I/UvcInterface( 1337): Creating streaming interface.
I/UvcInterface( 1337): Creating streaming interface.
I/UvcInterface( 1337): Creating streaming interface.
I/UvcInterface( 1337): Creating streaming interface.
I/UvcInterface( 1337): Creating streaming interface.
I/UvcInterface( 1337): Creating streaming interface.
I/UvcInterface( 1337): Creating streaming interface.
D/dalvikvm( 1337): GC_FOR_ALLOC freed 253K, 17% free 3059K/3660K, paused 14ms, total 14ms
I/WebcamConnection( 1337): Determined IADs: [VideoIAD{FirstInterface=0, InterfaceCount=2, IndexFunction=0,
I/WebcamConnection( 1337): Interfaces:
I/WebcamConnection( 1337):  VideoControlInterface{
I/WebcamConnection( 1337):          uvc=1
I/WebcamConnection( 1337):          numberStreamingInterfaces=1
I/WebcamConnection( 1337):          streamingInterfaces=[1]
I/WebcamConnection( 1337):          USB Interface=UsbInterface[id=0,alternateSetting=0,name=null,interfaceClass=14,subclass=1,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=135,attributes=3,maxPacketSize=16,interval=8]]
I/WebcamConnection( 1337):          Endpoints=[Endpoint{endpoint=UsbEndpoint[address=135,attributes=3,maxPacketSize=16,interval=8], type=EP_INTERRUPT, rawAttributes=3, endpointAddress=135, interval=8, maxPacketSize=4096}]
I/WebcamConnection( 1337):          input terminals=[CameraTerminal{terminalType=ITT_CAMERA, terminalID=1, associatedTerminalID=0, Min Objective Focal Length: 0, Max Objective Focal Length: 0, Objective Focal Length: 0, Ocular Focal Length: 0, Available Controls: AUTO_EXPOSURE_PRIORITY,AUTO_EXPOSURE_MODE,EXPOSURE_TIME_ABSOLUTE}]
I/WebcamConnection( 1337):          output terminals=[OutputTerminal{terminalType=TT_STREAMING, terminalID=5, associatedTerminalID=0, sourceID=4}]
I/WebcamConnection( 1337):          Video Units:
I/WebcamConnection( 1337):              VideoProcessingUnit{Unit ID: 2, Source ID: 1, Max Multiplier: 16384, Index Processing: 0, Available Controls: }},
I/WebcamConnection( 1337): VideoStreamingInterface{
I/WebcamConnection( 1337):  inputHeader=VideoStreamInputHeader{
I/WebcamConnection( 1337):  infoMask=0
I/WebcamConnection( 1337):  terminalLink=5
I/WebcamConnection( 1337):  stillCaptureMethod=1
I/WebcamConnection( 1337):  hardwareTriggerSupported=false
I/WebcamConnection( 1337):  triggerStillImageCapture=true
I/WebcamConnection( 1337):  controlsMask=[0]}
I/WebcamConnection( 1337):  outputHeader=null
I/WebcamConnection( 1337):  videoFormats=[UncompressedVideoFormat{formatIndex=1, numberFrames=19, GUID=32595559-0000-0010-8000-00AA00389B71, bitsPerPixel=16, defaultFrameIndex=1, AspectRatio=0:0, interlaceFlags=0x00, copyProtect=false}, MJPEGVideoFormat{formatIndex=2, numberFrames=19, fixedSampleSize=true, defaultFrameIndex=1, AspectRatio=0:0, interlaceFlags=0x00, copyProtect=false}]
I/WebcamConnection( 1337):  colorMatchingDescriptor=VideoColorMatchingDescriptor{colorPrimaries=BT_709, transferCharacteristics=BT_709, matrixCoefficients=SMPTE_170M}
I/WebcamConnection( 1337):  Usb Interface=[UsbInterface[id=1,alternateSetting=0,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[], UsbInterface[id=1,alternateSetting=1,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=129,attributes=5,maxPacketSize=192,interval=1]], UsbInterface[id=1,alternateSetting=2,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=129,attributes=5,maxPacketSize=384,interval=1]], UsbInterface[id=1,alternateSetting=3,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=129,attributes=5,maxPacketSize=512,interval=1]], UsbInterface[id=1,alternateSetting=4,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=129,attributes=5,maxPacketSize=640,interval=1]], UsbInterface[id=1,alternateSetting=5,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=129,attributes=5,maxPacketSize=800,interval=1]], UsbInterface[id=1,alternateSetting=6,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=129,attributes=5,maxPacketSize=944,interval=1]], UsbInterface[id=1,alternateSetting=7,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=129,attributes=5,maxPacketSize=2688,interval=1]], UsbInterface[id=1,alternateSetting=8,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=129,attributes=5,maxPacketSize=2848,interval=1]], UsbInterface[id=1,alternateSetting=9,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=129,attributes=5,maxPacketSize=3040,interval=1]], UsbInterface[id=1,alternateSetting=10,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=129,attributes=5,maxPacketSize=4992,interval=1]], UsbInterface[id=1,alternateSetting=11,name=null,interfaceClass=14,subclass=2,protocol=0,endpoints=[
I/WebcamConnection( 1337): UsbEndpoint[address=129,attributes=5,maxPacketSize=5116,interval=1]]]
I/WebcamConnection( 1337):  Number Alternate Functions=12},
I/WebcamConnection( 1337): }]

D/WebcamConnection( 1337): Establishing streaming parameters.
V/StreamManager( 1337): Using video format: UncompressedVideoFormat{formatIndex=1, numberFrames=19, GUID=32595559-0000-0010-8000-00AA00389B71, bitsPerPixel=16, defaultFrameIndex=1, AspectRatio=0:0, interlaceFlags=0x00, copyProtect=false}
V/StreamManager( 1337): Using video frame: UncompressedVideoFrame{Frame Index=1, StillImageSupported=true, FixedFrameRateEnabled=false, Width=640, Height=480, MinBitRate=24576000, MaxBitRate=147456000, DefaultFrameInterval=333333, FrameIntervalType=6, MinFrameInterval=0, MaxFrameInterval=0, FrameIntervalStep=0, FrameIntervals=[100664598, 333333, 400000, 500000, 666666, 1000000]}

Any idea why this could happen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions