我有个在redhat(2.4核)下面用的一切都正常的摄像头显示程序(基于v4l的),但在ubuntu下面使用的时候就报错了,提示错误:
VIDIOCAPTURE(frame=0;,height=64,width=48;format=4) :Invalid argument failed to set video format
是v4l在2.6下面支持不好的原因么?
v4l程序 在ubuntu下面报错
-
- 帖子: 5
- 注册时间: 2007-12-19 0:54
-
- 帖子: 3
- 注册时间: 2011-04-29 10:33
Re: v4l程序 在ubuntu下面报错
好像V4L不支持2.6的内核,用V4L2可以的。
我在videodev.h里看到是支持2.2.x,2.4.x的内核的。
希望对你有所帮助。
我在videodev.h里看到是支持2.2.x,2.4.x的内核的。
希望对你有所帮助。