自定义虚拟视频捕获设备 [英] Custom virtual video capture device
问题描述
我是媒体基础和C ++的新手. 但是我想创建一个虚拟的视频捕获设备,它可以被Microsoft Expression Encoder使用. 你能告诉我朝哪个方向看吗? 我认为这应该是异步工作,并且源将是来自移动设备的字节流. 预先感谢.
I`m new to media foundation and C++. But I want to create a virtual video capture device which can be used by Microsoft Expression Encoder. Can you tell me in which direction to look? I think it should be something working asynchronously and a source will be byte stream from mobile device. Thanks in advance.
推荐答案
我认为您不想为此而向Media Foundation寻求帮助. Expression Encoder使用更丰富的API使用DirectShow
捕获视频.您需要一个虚拟的DirectShow摄像机,该摄像机已经讨论了多次,并且有一个简单的示例项目开始.
I don't think you want to look into Media Foundation for this. Expression Encoder uses a richer API to capture video with, DirectShow
. You want a virtual DirectShow camera, which was discussed multiple times and has a simple sample project to start from.
- Virtual webcam input as byte stream
- Simulate a DirectShow Webcam
- How to use directshow filter as a live input for Expression Encoder 4?
EE4支持任何提供dshow过滤器的设备. 当前,没有可用的受支持设备的列表, 尽管大多数USB设备的编码器几乎没有问题.
Any device that provides a dshow filter is supported by EE4. Currently, there is no list currently available of supported devices, though most usb devices have little to no issues with encoder.
这篇关于自定义虚拟视频捕获设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!