My guess is none of them supported a video of 60x80. Making a custom app with 60x80 support would most likely be the best option.
I tested the two boards/cameras on Linux and Mac and I can see the video feed perfectly. However on Android I only get a black screen. When I use the saki4510/UVCCamera project, with Compatibility feature ON the logs says "could not negotiate with camera". With Compatibility turned off I see a "setPreviewSize" error. With your app the only error message I see is "E/ViewRootImpl: sendUserActionEvent() mView == null"
I pasted some of the output below.
Using saki4510t/UVCCamera:
With Compatibility ON:
03-01 15:20:24.345 8786-9804/? E/UVCPreview: [9804*UVCPreview.cpp:254:setPreviewSize]:could not negotiate with camera:request format=9,size(80,60),fps(1,30),err=-51
03-01 15:20:24.345 8786-9804/? E/UVCPreview: [9804*UVCPreview.cpp:254:setPreviewSize]:could not negotiate with camera:request format=3,size(80,60),fps(1,30),err=-51
With Compatibility Off:
03-01 15:20:41.892 8786-9804/? E/libandrousb: [9804*uvc_client.cpp:198:setPreviewSize]:mPreview->setPreviewSize:err=-12
This is the output I see when using your thermalcamviewer:
03-01 16:17:05.567 22709-22709/com.serenegiant.thermalcamviewer V/USBMonitor: requestPermission:device=UsbDevice[mName=/dev/bus/usb/002/003,mVendorId=7758,mProductId=256,mClass=239,mSubclass=2,mProtocol=1,mManufacturerName=GroupGets,mProductName=PureThermal 1,mSerialNumber=000000000001,mConfigurations=[
UsbConfiguration[mId=1,mName=null,mAttributes=128,mMaxPower=50,mInterfaces=[
UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=14,mSubclass=1,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=130,mAttributes=3,mMaxPacketSize=8,mInterval=32]]
UsbInterface[mId=1,mAlternateSetting=0,mName=null,mClass=14,mSubclass=2,mProtocol=0,mEndpoints=[]
UsbInterface[mId=1,mAlternateSetting=1,mName=null,mClass=14,mSubclass=2,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=129,mAttributes=1,mMaxPacketSize=482,mInterval=1]]]]
03-01 16:17:05.577 22709-22709/com.serenegiant.thermalcamviewer V/USBMonitor: processConnect:
03-01 16:17:05.587 22709-22709/com.serenegiant.thermalcamviewer V/MainActivity: onConnect:
03-01 16:17:05.587 22709-22733/com.serenegiant.thermalcamviewer V/CameraThread: handleOpen:
03-01 16:17:05.597 22709-22733/com.serenegiant.thermalcamviewer V/CameraThread: handleClose:
03-01 16:17:05.597 22709-22733/com.serenegiant.thermalcamviewer V/CameraThread: handleStopRecording:mMuxer=null
03-01 16:17:05.617 22709-22709/com.serenegiant.thermalcamviewer V/UVCCameraTextureView: getPreviewTexture:
03-01 16:17:05.617 22709-23009/com.serenegiant.thermalcamviewer I/UVCCameraTextureView: RenderThread#updatePreviewSurface:
03-01 16:17:05.617 22709-23009/com.serenegiant.thermalcamviewer D/UVCCameraTextureView: release mPreviewSurface
03-01 16:17:05.627 22709-23009/com.serenegiant.thermalcamviewer V/GLDrawer2D: deleteTex:
03-01 16:17:05.627 22709-23009/com.serenegiant.thermalcamviewer V/GLDrawer2D: initTex:
03-01 16:17:05.627 22709-23009/com.serenegiant.thermalcamviewer V/UVCCameraTextureView: getPreviewSurface:tex_id=1
03-01 16:17:05.627 22709-22709/com.serenegiant.thermalcamviewer E/ViewRootImpl: sendUserActionEvent() mView == null (THIS IS THE ONLY ERROR I SEE)
03-01 16:17:05.667 22709-22733/com.serenegiant.thermalcamviewer I/MainActivity: supportedSize:{"formats":[{"index":1,"type":4,"default":1,"size":["80x60"]},{"index":2,"type":4,"default":1,"size":["80x60"]},{"index":3,"type":4,"default":1,"size":["80x60"]},{"index":4,"type":4,"default":1,"size":["80x60"]},{"index":5,"type":4,"default":1,"size":["80x60"]},{"index":6,"type":4,"default":1,"size":["80x60"]},{"index":7,"type":4,"default":1,"size":["80x60"]}]}
03-01 16:17:05.667 22709-22733/com.serenegiant.thermalcamviewer V/CameraThread: handleStartPreview:
03-01 16:17:05.667 22709-22733/com.serenegiant.thermalcamviewer V/CameraThread: handleClose:
03-01 16:17:05.667 22709-22733/com.serenegiant.thermalcamviewer V/CameraThread: handleStopRecording:mMuxer=null
!requestMode ? UVC_FRAME_FORMAT_YUYV : UVC_FRAME_FORMAT_MJPEG
Wherever I saw that I removed it and in one occasion I added it and it works now.thermalcamviewer I/libUVCCamera: [7252*UVCPreview.cpp:492:prepare_preview]:frameSize=(80,60)@YUYVI/libUVCCamera: [7254*UVCPreview.cpp:258:callbackPixelFormatChanged]:PIXEL_FORMAT_RAW:This is probably just a workaround but for now it is working!Thanks!
We unfortunately call the color definition YUYV in the PT1 code, but if you look at the USB descriptors it's actually the UYUV type
We unfortunately call the color definition YUYV in the PT1 code, but if you look at the USB descriptors it's actually the UYVY type
I should clarify a couple things, when I say "won't go into DFU", I mean that most boards won't get as far as yours got. Some fail right away during the download (like yours), some manage to make it all the way through by chance. There's a possibility that if you retry a few times, or plug into a hub, or something else, it /might/ work. But the point is, DFU is unreliable and probably won't work.Also for anyone following along with the programming adapter, the st-flash program is part of texane/stlink (http://github.com/texane/stlink.git). On Mac OS in homebrew this is part of the "stlink" package.
--
You received this message because you are subscribed to the Google Groups "Flir Lepton" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flir-lepton+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/flir-lepton.
To view this discussion on the web visit https://groups.google.com/d/msgid/flir-lepton/9e798114-cadd-4733-8c74-e36636239b24%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Flir Lepton" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flir-lepton+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/flir-lepton.
To view this discussion on the web visit https://groups.google.com/d/msgid/flir-lepton/806c9cb5-4c20-494d-acd0-b57f8c48120f%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to flir-lepton...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flir-lepton/806c9cb5-4c20-494d-acd0-b57f8c48120f%40googlegroups.com.