Gerd Knorr wrote:
But my primary question was how to address the capturing of video from two sources. (I'd prefer if it was possibile to use one single thread because (IMHO) it ensures better sync.With v4l2 API you can use select() to do exactly that. Gerd
With the v4l2 API, you get timestamps anyway, so you can decide after the fact, which two images are closest in time to each other... No real need for synchronous capture then...
;-> -justin