转自:http://blog.chinaunix.net/uid-29339876-id-4042245.html 利用V4L2读取UVC摄像头数据并保存成视频文件,主要参考http://linuxtv.org/downloads/v4l-dvb-apis/index.html中的示例Appendix D. Video Capture Example,将读取的文件保存在当前目录下的file.yuv中,修改后的完成代码如下: 点击(此处)折叠或打开 /* * V4L2 video capture
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; //引入MySQL using MySql.Data.MySqlClient; using System.Data.SqlClien