V4L2

From IPRE Wiki
Jump to: navigation, search

Testing OpenCV, Video4Linux2 on colossus at Bryn Mawr College.

  1. Updated OpenCV from 1.0.0 to 1.1.0pre1

Running xawtv on Fedora9 you may get the following error:

$ xawtv -device /dev/video1
This is xawtv-3.95, running on Linux/i686 (2.6.27.21-78.2.41.fc9.i686)
xinerama 0: 1280x1024+0+0
X Error of failed request:  XF86DGANoDirectVideoMode
  Major opcode of failed request:  136 (XFree86-DGA)
  Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
  Serial number of failed request:  65
  Current serial number in output stream:  65

To avoid that error, use the -nodga flag:

xawtv -nodga -device /dev/video1

This may also initialize the camera correctly (which Pyro and OpenCV don't?).

OpenCV still crashes, but maybe not as often. See bugs:

  1. https://sourceforge.net/tracker/?func=detail&aid=2585068&group_id=22870&atid=376677
  2. https://sourceforge.net/tracker/?func=detail&aid=2593654&group_id=22870&atid=376677
  3. https://sourceforge.net/tracker/?func=detail&aid=2827098&group_id=22870&atid=376677