Android-UVC-Camera icon indicating copy to clipboard operation
Android-UVC-Camera copied to clipboard

can i use this app for my camera PLUG417

Open ghost opened this issue 2 years ago • 15 comments

i install it and it shows very bad feed on my app help me

ghost avatar Jul 04 '22 15:07 ghost

Hello,

it can be, that this camera works with my app.

Try to find out, if the camera is an UVC device:

On a Linux System run this command:

lsusb` -v -d xxxx:xxxx The first 4 x are the product and the second 4 x are the vendor id. If you can run this command successfully, you can attach the output.

If the camera supports uvc, you can use it with my app.

Peter-St avatar Jul 05 '22 16:07 Peter-St

bro check this please USB board user manual-V1.1-20200316.pdf

ghost avatar Jul 05 '22 19:07 ghost

this file has all the information

ghost avatar Jul 05 '22 19:07 ghost

also can i get the y16 data in your app?

ghost avatar Jul 05 '22 19:07 ghost

also I try with your app but its results not good see camera output.txt

ghost avatar Jul 05 '22 19:07 ghost

also i have test video

https://user-images.githubusercontent.com/74451202/177401391-05cf6e05-bbe1-4677-8b2f-3d719d7e17ea.mp4

ghost avatar Jul 05 '22 19:07 ghost

also can it supports Yuy2 and RGB 565?

ghost avatar Jul 05 '22 19:07 ghost

also i think it needs to add bulk end points https://linux-usb.vger.kernel.narkive.com/Z1eSNhTV/patch-1-1-usb-gadget-uvc-add-support-for-bulk-endpoint-to-be-used-as-video-streaming-ep

ghost avatar Jul 05 '22 19:07 ghost

ok,

i noticed you used uyvy as video format, but the usb adapter supports yuy2 and y16 format.

Try to change to yuy2 format and see if it works.

To know if it supports bulk endpoints, you have to read out the uvc descriptor with the command from my first post and attach the output.

Generaly you are able to receive the frames, but the video conversation from my app fails. I have recently made some updates to my app, but had not enough time, to test them, so some bugs could happen too.

Thx, Peter

Peter-St avatar Jul 05 '22 22:07 Peter-St

idVendor 0x04b4 Cypress Semiconductor Corp. idProduct 0xf8f8

ghost avatar Jul 06 '22 06:07 ghost

  • have you tried to change the frame format to YUY2 ?
  • PLZ try to set up the camera with the manual method (UVC Settings Button) --> plz. attach a video from the whole setup process to complete setup and after that run the Testrun 1 and Testrun 2.

Peter-St avatar Jul 06 '22 14:07 Peter-St

here i try using your settings https://user-images.githubusercontent.com/74451202/177695994-249330f6-733e-4770-b90e-985b2134fe4e.MOV

ghost avatar Jul 07 '22 05:07 ghost

here it work with these settings https://user-images.githubusercontent.com/74451202/177696036-21ba9211-40ca-473e-9a2c-8a94aec0cb9b.MOV

ghost avatar Jul 07 '22 05:07 ghost

Hi

  • Can you plz make a video from the button "Set Up With Uvc Setting" --> choose the manual method and select all inputs.
  • It looks like your camera supports bulk transfer.
  • It would also help, if you can read out the UVC informations on a linux PC:

lsusb` -v -d xxxx:xxxx

The` first 4 x are the product and the second 4 x are the vendor id.

If you can run this command successfully, you can attach the output.

Peter-St avatar Jul 08 '22 16:07 Peter-St

Hi,

Your camera should run with my app. Bulk endpoint stream is enabled in the latest version. I have tested several Usb 3.0 UVC cams which works fine.

On the video you posted, the picture you got looks like it was not correctly converted . Perhaps you can try out the app with the latest changes, so if this frame conversation could be fixed.

Peter-St avatar Mar 23 '23 19:03 Peter-St