opencv 读取摄像头并保存
m_capture = 0; m_writer = 0; m_frame = 0; m_capture = cvCaptureFromCAM(0/*m_CamIndex*/); int count = 0; m_frame = cvQueryFrame( m_capture ); while (m_frame==NULL) { m_frame = cvQueryFrame( m_