c# - Windows Azure 上每分钟或每秒视频的成本

标签 c# azure azure-storage azure-media-services

我将在 Azure 平台上构建一个网站,该网站广泛使用 Windows Azure 媒体服务进行视频上传。

我正在尝试计算将视频编码为所有支持的格式以及每月将视频存储在 Windows Azure 存储中所需的费用。例如。 1 分钟的视频大小为“xMB”,在 Azure 存储中的成本为“$x”,编码成本为“$x”。

我可以在任何地方或任何方式找到此信息吗?

谢谢!

最佳答案

以下是我不久前与媒体服务团队就定价进行的讨论的摘录(仅是我的评论)。基本上,Azure 媒体服务对于直接内容提供商(例如 Netflix 或 Hulu)更有用,在这些提供商中,您将在保护对内容的访问方面拥有既得利益,并且每个内容都可以让您赚钱。

对于 YouTube 风格的服务,与其他编码器相比,它的竞争力并不强,因为成本(当然忽略实际流式传输所用的带宽)几乎完全取决于媒体编码器的使用情况。

Below is a pricing scenario I worked out, based on my understanding of Media Services' pricing. This is ignoring bandwidth costs, just focusing on the encoding:

For one 45 second, 50MB HD WMV video, converted to a 5 bitrate set of SD mp4's (about 28MB when done), that's a total of 78MB data processed. So:

@ $1.99/GB: $0.155. As far as I know, using the Media Encoder to get thumbnails requires creating a separate Task, with a separate input asset, effectively duplicating the input cost just to get thumbnails. Waiting to use the encoded asset first (instead of the original 50MB uploaded video) would make this cheaper, costing about another $0.056, totaling about $0.21. This is assuming we stay in the 0.5TB/mo realm of pricing for a while.

By comparison, other services like ZenCoder ignore the source video and charge only per minute of output video ($0.05 per minute at the lower-use end), with multiple outputs at a 20% discount. So if I specified an output of five different bitrates (about the same as the H264 Adaptive Bitrate MP4 Set SD 16x9 configuration Media Services offers) on the same 45 second video, the cost comes to $0.15.

If I choose to ignore bitrate sets and just go for 480p, the costs drop, but for Media Services I'm still paying $0.155 to send the source video to the encoder. ZenCoder only charges for output runtime, so I'd only pay about $0.03. There's another competitor built on the CPUsage platform called GridVid.Me that looks even cheaper (https://gridvid.me/index/more-info) .

So you can see how long-form video encoding scales with both of those plans; with Media Services it scales with quality, which I like very much, but because it charges for the source video it also puts me at the mercy of whatever people are uploading to it.

关于c# - Windows Azure 上每分钟或每秒视频的成本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15180463/

相关文章:

azure - 如何更改从 Visual Studio 2015 运行负载测试时使用的 VSTS 实例?

Azure 订阅 ID 与帐户 ID

c# - Azure存储表查询: Building a Contains Filter

c# - 定期打印形状

c# - 如何将来自物联网设备的消息路由到 IoT Edge 设备?

c# - 修改正则表达式组优先级

c# - 为什么发布 Azure Function 后出现内部服务器错误?

Azure 存储帐户指标仅对经典存储帐户可见

C#单例实现性能

c# - Asp.net core 为身份创建接口(interface)