Re: V4L Camera frame timestamp question

2010-06-10 Thread Jean-Francois Moine
On Thu, 10 Jun 2010 03:24:05 + (UTC) jiajun zhujia...@gmail.com wrote: I'm currently using the V4L-DVB driver to control a few logitech webcams and playstation eye cameras on a Gubuntu system. Everything works just fine except one thing: the buffer timestamp value seems wrong.

Re: V4L Camera frame timestamp question

2010-06-10 Thread Paulo Assis
2010/6/10 Jean-Francois Moine moin...@free.fr: On Thu, 10 Jun 2010 03:24:05 + (UTC) jiajun zhujia...@gmail.com wrote: I'm currently using the V4L-DVB driver to control a few logitech webcams and playstation eye cameras on a Gubuntu system. Everything works just fine except one thing:  

Re: V4L Camera frame timestamp question

2010-06-10 Thread Paulo Assis
Hi, 2010/6/10 Jiajun Zhu zhujia...@gmail.com: Thanks for the discussion. Based on my testing, the image timestamps or ktime is the system uptime in nanosecond, is this correct? For my application, I need to synchronize the camera image with other data which are all timestamped by

V4L Camera frame timestamp question

2010-06-09 Thread jiajun
Hi, I'm currently using the V4L-DVB driver to control a few logitech webcams and playstation eye cameras on a Gubuntu system. Everything works just fine except one thing: the buffer timestamp value seems wrong. The way I get the timestamp value is through the v4l2_buffer struct like this: