I have USB Camera delay problem, how to fix it ?

Post Reply
buzlucay
Posts: 16
Joined: Fri Oct 02, 2015 9:27 pm
languages_spoken: english
ODROIDs: ODROID-XU4
Contact:

I have USB Camera delay problem, how to fix it ?

Unread post by buzlucay » Thu Oct 08, 2015 5:11 pm

I have ODROID-XU4 device. I am using CM-12.1 Android 5.1.1 Lollipop for ODROID-XU3/XU4.
I use USB Camera for my project, but I have just about 1 second delay.
The solution to this problem would you be your ODROID USB-CAM 720P?

User avatar
odroid
Site Admin
Posts: 29677
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: I have USB Camera delay problem, how to fix it ?

Unread post by odroid » Thu Oct 08, 2015 7:10 pm

500~1000msec delay seems to be caused by software decoding and rendering.
Our webcam also has the delay probably. I have no idea how to reduce the delay at this moment.

buzlucay
Posts: 16
Joined: Fri Oct 02, 2015 9:27 pm
languages_spoken: english
ODROIDs: ODROID-XU4
Contact:

Re: I have USB Camera delay problem, how to fix it ?

Unread post by buzlucay » Fri Oct 09, 2015 4:22 pm

Do you think we can solve the problem if we use the serial camera?

User avatar
odroid
Site Admin
Posts: 29677
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: I have USB Camera delay problem, how to fix it ?

Unread post by odroid » Fri Oct 09, 2015 8:24 pm

It is not a hardware nor device driver issue.
If you test the webcam preview performance on the Ubuntu OS with Camorama app, the delay looks like less than 50msec.
It means somewhere in the camera framework on Android platform seems to be a root cause. But it is very hard to find it :(

buzlucay
Posts: 16
Joined: Fri Oct 02, 2015 9:27 pm
languages_spoken: english
ODROIDs: ODROID-XU4
Contact:

Re: I have USB Camera delay problem, how to fix it ?

Unread post by buzlucay » Fri Oct 09, 2015 10:30 pm

I don't have delay problem with USB Camera Trial Program : https://play.google.com/store/apps/deta ... mera&hl=tr
Unity is using direct camera device source for camara feed.
Can you suggest me USB Camera supporting different Android version?

User avatar
odroid
Site Admin
Posts: 29677
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: I have USB Camera delay problem, how to fix it ?

Unread post by odroid » Sat Oct 10, 2015 3:01 pm

We don't have another version Android.

The reference Android app source code is here.
http://brain.cc.kogakuin.ac.jp/research/usb-e.html
https://bitbucket.org/neuralassembly/si ... /downloads

It is a preview app which displays 2 inputs of MJPEG stream from two 720p webcams.
It can be a good starting point.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest