Camera synchronization

16 views
Skip to first unread message

Eduardo

unread,
Jun 25, 2013, 10:48:53 AM6/25/13
to v4...@googlegroups.com
Hi, I just started working with v4l4j, and was wondering what is the best way to capture frames from two cameras with the smallest time difference possible between them (the cameras I am using do not have support for hardware synchronization). Running the DualViewer example, the average time difference between the frames captured by each camera is about 9ms.
Thanks in advance!
Eduardo

Gilles Gigan

unread,
Jun 25, 2013, 7:45:38 PM6/25/13
to v4...@googlegroups.com
Hi Eduardo,
AFAIK, there is nothing in the v4l API (and therefore in v4l4j) to synchronise the start of multiple captures. In fact, the documentation page for the STREAM_ON ioctl (used to start capturing) says "[...] there is no notion of starting or stopping "now". Buffer timestamps can be used to synchronize with other events. " (see http://linuxtv.org/downloads/v4l-dvb-apis/vidioc-streamon.html )
So I m afraid there is no simple answer to your issue.

Gilles



Eduardo

--
You received this message because you are subscribed to the Google Groups "v4l4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v4l4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages