编码器3 API:如何选择设备捕获格式 [英] Encoder 3 API: How to select device capture format

查看:60
本文介绍了编码器3 API:如何选择设备捕获格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在尝试实现一种自动开始从输入设备发布实时流的服务器服务。使用表达式编码器Gui时,我可以列出设备并配置捕获格式(我假设使用DirectShow属性页)。但是,我没有找到如何使用API​​以编程方式执行此操作。有没有办法配置设备输出格式?获取DirectShow设备对象的任何其他方式?

我需要选择合适的格式才能"锁定"。设备在输入信号上,否则卡片返回黑框。

感谢,

问候,

委托,Oussama LAYAIDA

Hi all,

I am trying to implement a server service that automatically starts publishing live stream from an input device. When using expression encoder Gui, I can list the device and configure the capture format (I assume using a DirectShow property page). However, I did not find how to do this programatically using the API. Is there a way to configure device output format ? ot any other way to get the DirectShow device object  ?

I need to select the appropriate format in order to "Lock" the device on the input signal, otherwise the card returns black frames.

thanks,

Regards,

Oussama LAYAIDA

推荐答案

下午好。

我担心我们不会公开一种方法,您可以通过该方式以编程方式配置实时源Expression Encoder API。 要做到这一点,微软必须对硬件制造商的配置界面施加标准。
至少可以说不是最佳。

I'm afraid we don't expose a means by which you can programatically configure the live source via the Expression Encoder API.  To do so, Microsoft would have to impose standards on the hardware manufacturers relating to their configuration interface. Not optimal to say the least.

我为此带来的不便表示歉意,但不支持该功能。

I apologize for the inconvenience but that functionality is not supported.


这篇关于编码器3 API:如何选择设备捕获格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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