从USB捕获视频和音频 [英] Capture video and audio from USB

查看:151
本文介绍了从USB捕获视频和音频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是c#的初学者,我真的需要知道如何从USB插入的捕获硬件中捕获视频和音频.我正在使用Grabster AV300,它在提供的软件中工作正常.现在我想获取信号并在我的winform中显示它.我尝试过这里提到的一些文章,例如:

"http://www.codeproject.com/Articles/3566/DirectX-Capture-Class-Library"

并在网络上做了一些研究,但我只能得到视频信号.

提供的软件将视频驱动程序标识为"AV300 Grabster",将音频驱动程序标识为"AV300 Grabster或AV300 Grabster WDM",但是我无法像其他一些文章中所述,选择正确的音频输入.我一直在使用代码,但是没有运气,我无法弄清楚.
我尝试用同一设备定义音频,但出现异常或只录制了没有声音的图像.

我真的很感谢这方面的帮助.有什么建议吗?

最好的问候.

Hi everyone,

I''m a beginner at c# and i really need to know how to capture video and audio from a capturing HW plugged by USB. I''m using Grabster AV300 and it works fine in the provided software. Now i want to adquire the signal and display it im my winform. I''ve tried some articles mentioned here like:

"http://www.codeproject.com/Articles/3566/DirectX-Capture-Class-Library"

And did some research in the web but i can only get the video signal.

The provided software identifies the video driver as "AV300 Grabster" and the audio driver as "AV300 Grabster OR AV300 Grabster WDM" but i was unable with the article mentioned before as in some others, to chose the correct audio input. I''ve been working with the code but with no luck and i can''t figure it out.
I''ve tried to define the audio with the same device but i get exceptions or just record the image with no sound..

I really apprecciate some help on this matter. Any suggestions?

Best regards.

推荐答案

找到了!解决方案是渲染音频,因为我只渲染视频. (以防万一有人遇到相同的问题).
Found it! The solution was rendering the audio also because i was only rendering the video. (just in case if someone is facing the same issue).


这篇关于从USB捕获视频和音频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆