简体   繁体   English

用块控制参数录制网络摄像头视频

[英]Recording webcam video with parameter control in chunks

I am trying to record video from a webcam for a long period of time - about 16 hours - and I really don't want the application to crash. 我试图长时间(大约16小时)从网络摄像头录制视频,我真的不希望该应用程序崩溃。

I would like to break the video up into chunks while recording, probably about 10GB each or so. 我想在录制时将视频分成几块,大概每个大约10GB。 I have seen software for other camera types that does this, but not for webcams. 我见过用于其他相机类型的软件,但没有用于网络摄像头的软件。

Further, I need to be able to control camera parameters such as white-balance and exposure. 此外,我需要能够控制相机参数,例如白平衡和曝光。

I have tried Accord.NET, but I'm getting intermittent memory corruption problems. 我已经尝试过Accord.NET,但是遇到了间歇性的内存损坏问题。 I have tried OpenCV, but it doesn't support webcam properties well on Windows and I can't control the bitrate of the files I'm recording. 我已经尝试过OpenCV,但是它在Windows上不能很好地支持网络摄像头属性,因此我无法控制正在录制的文件的比特率。

Are there any other frameworks that will do this easily? 还有其他框架可以轻松做到这一点吗? I can't be first person to face this problem. 我不能成为面对这个问题的第一人。

Are there any example projects of this for DirectShow or MediaFoundation? 是否有针对DirectShow或MediaFoundation的示例项目? I'm familiar with DirectShow, but not an expert. 我熟悉DirectShow,但不是专家。

您也可以使用MediaCapture

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM