
UVC Camera / Usb Camera custom
4.7Rating
Jul 16, 2024Latest update
2.2.4Version
About UVC Camera / Usb Camera custom
Android-UVC-Camera
The app connects to a usb camera from your Android Device. (OTG cabel or OTG Hub needed)
This Project was built to perform an Isochronous Video Stream for all Android Devices (Above 4.1 Ice Cream Sandwich)(Mediathek Devices too) with UVC Cameras.
The program uses your userspacr usb device driver to perform an isochronous transfer with your camera device.
Follow this way to set up your own userspace device driver:
First you have to set up all camera settings for your device. The program then saves the values and you can restore them later or overwrite them with other values. Use the "Edit/Save/Restore" Button to adjust the values.
Use the automatic camera serarch to find and set up the camera.
Explaination:
When the automatic search succeeds, you first set up the MAXIMAL PACKET SIZE. If your device is a mediathek device, you may have to lower the value for the max packet size.
The Value PACKETS PER REQUEST defines the Number of the Packets sended to the device: One packet has a size of 3000 bytes and you use 16 packets at one time for sending. Here you define the amount of Bytes which were sent.
Next thing are the USB REQUEST BLOCKS (activeUrb): These are in relation to the max packet size. You have to find here the right values for your device and control the output on the screen under the menupoint "Isoread".
Some typically values for Qualcom Devices are: 8 for the activeUrbs and 16 Packets per Request....
The first thing of the method Isoread is a Controltransfer to the camera device:
If the controlltransfer is successful, than you are ready to go.
Next take a look at the frames.
When you receive identically and long frames, you can proceed to the method Isostream, where the frames were displayed on your screen.
To know how big be a Frame should be, you can look at the output of the controll transfer of the camera in the log: maxVideoFrameSize, This value is returned from the camera and should be the valid frame size (The value is calculated by Imagewidth x Imagehight x 2).
The IsochronousRead1 class shows you how the frames are structered by the camera. Different camerasetting == Different Frame structers. Try it out with different setting and look at the output. The eof hint shows the framesize in the log. For valid camera settings the size should be the same as maxFrameSize value of the controlltransfer.
Output method Isoread: (Controltransfer) Thirst the program will send a controlltransfer to your camera device. The output of it looks as following: Initial streaming parms: hint=0x0 format=1 frame=1 frameInterval=2000000 keyFrameRate=0 pFrameRate=0 compQuality=0 compWindowSize=0 delay=0 maxVideoFrameSize=0 maxPayloadTransferSize=0 Probed streaming parms: hint=0x0 format=1 frame=1 frameInterval=2000000 keyFrameRate=0 pFrameRate=0 compQuality=0 compWindowSize=0 delay=0 maxVideoFrameSize=614400 maxPayloadTransferSize=3000 Final streaming parms: hint=0x0 format=1 frame=1 frameInterval=2000000 keyFrameRate=0 pFrameRate=0 compQuality=0 compWindowSize=0 delay=0 maxVideoFrameSize=614400 maxPayloadTransferSize=3000 The first line are the values you set in the program, to connect the camera. (Initial streaming parms}
The secound line are the values from the camera, which the camera returned from your values.
And in the third line are the new saved and final values from the usb camera.
Outpuf from the first Method: isoRead:
EOF frameLen=10436. --> For Example here a frame ends with a length of 10436 wich is not 614400 as we expected from the controltransfer, so you may have to change some values of you program to get a valid frame size.
The app connects to a usb camera from your Android Device. (OTG cabel or OTG Hub needed)
This Project was built to perform an Isochronous Video Stream for all Android Devices (Above 4.1 Ice Cream Sandwich)(Mediathek Devices too) with UVC Cameras.
The program uses your userspacr usb device driver to perform an isochronous transfer with your camera device.
Follow this way to set up your own userspace device driver:
First you have to set up all camera settings for your device. The program then saves the values and you can restore them later or overwrite them with other values. Use the "Edit/Save/Restore" Button to adjust the values.
Use the automatic camera serarch to find and set up the camera.
Explaination:
When the automatic search succeeds, you first set up the MAXIMAL PACKET SIZE. If your device is a mediathek device, you may have to lower the value for the max packet size.
The Value PACKETS PER REQUEST defines the Number of the Packets sended to the device: One packet has a size of 3000 bytes and you use 16 packets at one time for sending. Here you define the amount of Bytes which were sent.
Next thing are the USB REQUEST BLOCKS (activeUrb): These are in relation to the max packet size. You have to find here the right values for your device and control the output on the screen under the menupoint "Isoread".
Some typically values for Qualcom Devices are: 8 for the activeUrbs and 16 Packets per Request....
The first thing of the method Isoread is a Controltransfer to the camera device:
If the controlltransfer is successful, than you are ready to go.
Next take a look at the frames.
When you receive identically and long frames, you can proceed to the method Isostream, where the frames were displayed on your screen.
To know how big be a Frame should be, you can look at the output of the controll transfer of the camera in the log: maxVideoFrameSize, This value is returned from the camera and should be the valid frame size (The value is calculated by Imagewidth x Imagehight x 2).
The IsochronousRead1 class shows you how the frames are structered by the camera. Different camerasetting == Different Frame structers. Try it out with different setting and look at the output. The eof hint shows the framesize in the log. For valid camera settings the size should be the same as maxFrameSize value of the controlltransfer.
Output method Isoread: (Controltransfer) Thirst the program will send a controlltransfer to your camera device. The output of it looks as following: Initial streaming parms: hint=0x0 format=1 frame=1 frameInterval=2000000 keyFrameRate=0 pFrameRate=0 compQuality=0 compWindowSize=0 delay=0 maxVideoFrameSize=0 maxPayloadTransferSize=0 Probed streaming parms: hint=0x0 format=1 frame=1 frameInterval=2000000 keyFrameRate=0 pFrameRate=0 compQuality=0 compWindowSize=0 delay=0 maxVideoFrameSize=614400 maxPayloadTransferSize=3000 Final streaming parms: hint=0x0 format=1 frame=1 frameInterval=2000000 keyFrameRate=0 pFrameRate=0 compQuality=0 compWindowSize=0 delay=0 maxVideoFrameSize=614400 maxPayloadTransferSize=3000 The first line are the values you set in the program, to connect the camera. (Initial streaming parms}
The secound line are the values from the camera, which the camera returned from your values.
And in the third line are the new saved and final values from the usb camera.
Outpuf from the first Method: isoRead:
EOF frameLen=10436. --> For Example here a frame ends with a length of 10436 wich is not 614400 as we expected from the controltransfer, so you may have to change some values of you program to get a valid frame size.
UVC Camera / Usb Camera custom Screenshots
Old Versions of UVC Camera / Usb Camera custom
UVC Camera / Usb Camera custom FAQ
How do I download UVC Camera / Usb Camera custom from PGYER APK HUB?
Is the UVC Camera / Usb Camera custom on PGYER APK HUB free to download?
Do I need an account to download UVC Camera / Usb Camera custom from PGYER APK HUB?
How can I report a problem with UVC Camera / Usb Camera custom on PGYER APK HUB?
Did you find this helpfull
Yes
No
User Reviews
+ Reviews
4.7
5
4
3
2
1
Most Popular

BERSHKA
Inditex
4.8
Poppy Playtime Chapter 4
RICHIEMANMARIO ALT
3.8
PRX XIT MOBILE PANEL
PRX XIT MOBILE PANEL - Comprehensive Overview
Introduction
Discover the PRX XIT MOBILE PANEL, a cutt
4.9
Adobe Acrobat Reader: Edit PDF
Adobe
4.6
iQIYI Video – Dramas & Movies
iQIYI
4.6
Bluetooth LE Spam
Bluepixel Technologies
4.9
Higgs Domino Global
Higgs Games
4.8
JioCinema
JioCinema APK - Your Ultimate Streaming Experience
Description:
JioCinema is a cutting-edge video st
4.9
BIGO LIVE Lite – Live Stream
Bigo Technology Pte. Ltd.
4.3
PLN Mobile
P L N
4.7
Microsoft Word: Edit Documents
Microsoft Corporation
4.6
MiChat - Chat, Make Friends
MICHAT PTE. LIMITED
4.0
WEBTOON
NAVER WEBTOON
4.6
SuperFishing Casino- Slots 777
Joyous.games
4.6
ChatGPT
OpenAI
4.8
TippoParty
TippoParty
4.6
WePlay(ويبلاي) - Game & Chat
WEJOY Pte. Ltd.
4.6
HeeSay - Blued LIVE & Dating
iRainbow
4.1
Grand Theft Auto: San Andreas
Rockstar Games
4.9
Max: Stream HBO, TV, & Movies
WarnerMedia Global Digital Services, LLC
4.7
App Market
Oppo
4.6
ENUYGUN
WINGIE ENUYGUN GROUP
4.7
Kalos TV
Kalos_ShortTV
4.6
Game Booster VIP Lag Fix & GFX
TOLAN
4.8