表达式编码器 SDK 帮助
我目前正在尝试使用 Expression Encoder SDK,但我发现它在直播时使用起来非常混乱。 我正在尝试从网络摄像头捕获视频流,使用我的程序进行编码,然后从我的计算机将其作为实时流发布,同时注入脚本命令。 我一直在浏览 SDK,但找不到任何与直播或网络摄像头相关的内容。 一些代码示例提到了如何使用 Job
类进行编码,但我发现的只是在本地对文件进行编码。
I am currently experimenting with the Expression Encoder SDK, but I find it very confusing to use when it comes to live streaming. I am trying to capture a video stream from a webcam, encode with my program and then publish it as a live stream from my computer while also injecting script commands. I've been looking through the SDK but I can't find anything pertaining to live streams or webcams. A few code examples mention how to use the Job
class to encode, but all I've found is about encoding files locally.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
还没有尝试过,但有一个名为 Microsoft.Expression.Encoder.Live.LiveJob 的类应该支持流式传输。 我尝试了该示例,它从我的硬盘传输了一个文件。 我想它也应该支持编码视频流。 这是示例代码(适用于 Encoder 3.0)
Havent tried it yet but there is a class called Microsoft.Expression.Encoder.Live.LiveJob that is supposed to support streamning. I tried the sample and it streamed a file from my harddisk. I guess it should support encoding video streams too. Here is the sample code (for Encoder 3.0)