摄像头捕获并转换成avi [英] Webcam capture and convert to avi
问题描述
我试着使捕获从网络摄像头和声音从麦克风,但即时通讯视频被卡住的部分,其中香港专业教育学院尝试拍电影静像方案
Im trying to make a program that captures a video from the webcam and sound from the microphone but im getting stuck at the part where ive try to make a movie out of still images
香港专业教育学院听说你需要使用DirectShow的,但它不喷为我工作
ive heard you need to use directshow but it doesnt jet work for me
是否有人知道一个好片的示例代码捕获视频和声音,并能够编码它到一个文件(DivX或者类似的东西)?
Does someone know a good piece of example code that captures video and sound and can encode it to a file (divx or something like that) ?
或一些建议去哪里找这样我就可以建立它自己
or some suggestions where to look so i can build it myself
(如果其他编程语言比较好为此我很高兴早知道这一点。)
(if a other programming language is better for this im happy to know it early. )
推荐答案
我相信AForge.net有内置的视频创作工具。它可以使用DirectShow的背景。 !但我用它捕获视频流,而且我敢肯定,90%可用于视频编码
I believe AForge.net has video creation utilities built in. It might use DirectShow in the background. But I've used it for capturing a video stream, and I'm 90% sure it can be used for encoding video!
查找您binarys /来源为:
Find your binarys/source at:
http://code.google.com / p / aforge /
这篇关于摄像头捕获并转换成avi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!