silverlight自适应流,服务器端编码?
有人使用微软表达式编码器 SDK 对视频进行服务器端编码,为 silverlight 自适应流媒体做好准备吗?
您对此有什么经验?
has anyone used microsoft expression encoder SDK to do server side encoding of videos to preapare it for silverlight adaptive streaming?
What is your experience with it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我制作了一个 Windows 服务,用于对电影文件进行编码,以便在上传后动态创建自适应流文件。对我来说,缺点是我想将自适应流文件存储在数据库中。实现此目的的唯一选择是创建您自己的 WIN32 文件 API 或某种可以返回文件流的 WebDav 系统。您无法创建自己的 SmoothStreamHandler 扩展来以其他方式获取文件流(例如从数据库或其他方式)。
请注意,它会占用您系统中的所有 CPU,因此不要在您的网络服务器上运行它,而是为其准备一个单独的服务器。此外,服务器不需要有太多内存,因为它没有 64 位版本,因此不能使用更多 3.2GB 内存。最好只有 CPU 能力和一些快速磁盘。
还有支持 Silverlight 自适应流式处理的硬件解决方案,例如 Elemental Server。
SDK本身相当容易使用:
示例:
I made a windows service for encoding movie files to create Adaptive Streaming files on the fly once uploaded. The downside for me was that I wanted to store the adapative stream files inside a database. The only option to achieve this was to create your own WIN32 File API or some sort of WebDav system which can return the filestreams. You can't create your own extention of SmoothStreamHandler to get your filestream other ways (like from database or whatever).
Beware that it eats up all CPU's you have in your system, so dont run this on your webserver but have a seperate server for it. Also the server doesn't have to have much memory as it doesn't have a 64-bit version so it cant use more as 3,2gb. Just CPU power and some fast disks would be best.
There are also hardware solutions which support Silverlight Adaptive Streaming, like Elemental Server.
The SDK itself is rather easy to use:
Sample: