DirectShow的推源过滤器在C#中? [英] DirectShow Push Source filter in C#?

查看:135
本文介绍了DirectShow的推源过滤器在C#中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人在C#开发一个DirectShow源推过滤任何运气?

Has anybody had any luck in developing a DirectShow source push filter in C#?

我们有一个共享内存的原始位图和PCM音频,想喂表达编码器与它。对于不同的(好)的原因,我们不希望使用DirectShow.Net。

We have raw bitmaps and pcm audio in a shared memory and want to feed the Expression Encoder with it. For various (good) reasons we don't want to use DirectShow.Net.

另外,我们要避免C ++。

Also, we want to avoid C++.

推荐答案

过滤器可能最终在C ++做。如果您正试图避免这种尽可能的,你想拥有的C ++尽可能薄,实际上提出了呼吁转化为实际的行动管理域。这是DirectShowLib的 GSSF过滤器确实,这是什么,否则你很可能会实现。

The filter is likely to eventually be made in C++. If you are trying to avoid this as much as possible, you want to have the C++ as thin as possible and actually forward the calls into managed domain for the real action. This is what DirectShowLib's GSSF Filter does and this is what you otherwise would likely have to implement.

我想你已经阅读的 C#版本PushSource例如

这篇关于DirectShow的推源过滤器在C#中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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