计算每位用户的视频数据消耗 [英] Calculate Video data consumption per user

查看:177
本文介绍了计算每位用户的视频数据消耗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们正在创建一个解决方案,用户可以在该解决方案中流式传输来自Azure媒体服务的视频.我们想根据我们的用户收费下载的视频数据.

We are creating a solution where users will stream videos from Azure Media Services. We want to bill our users depending on  the video data downloaded.

我们找不到任何可用来评估下载数据的文档.关于如何做到这一点有什么建议吗?

We could not find any documentation which allows us to measure the data downloaded. Any suggestions as to how this can be done?

致谢

推荐答案

您实际上只能猜测最坏的情况,而没有任何实际数据来作为假设依据

You can really only guess the worst case scenario without having any real-world data to base the assumptions on.

您必须估算以下内容:

  • 您的视频使用的最高编码比特率是多少.您可以假设在最坏的情况下,每个观看者始终观看整个视频,这就是每个用户每个视频的最坏情况下的总出口带宽.
  • 如果您使用的是自适应比特率流式传输,您真的不知道客户最终将获得什么样的比特率-因为随着网络条件的变化(例如,从Wi-Fi迁移到LTE/4G),玩家会从任何可用的比特率轨道中进行选择. 因此,最好只是根据预期的客户群以及您认为他们会从中回放内容的情况来研究最坏的情况.有时您可以得到更多的真实世界"信息.与客户端遥测推动 将数据发送到Google Analytics(分析)或PowerBI仪表板,以向您显示客户的平均比特率交付情况.
  • 下载的数据实际上是编码设置以及客户端/播放器如何消费内容的因素.您必须先了解这些详细信息,然后才能进行大量计算.
  • What is the highest encoded bitrate you are using for your video.  You can assume that at the worst case, every viewer watches the entire video all the way through, and that is your total worst case egress bandwidth per video, per user. 
  • If you are using adaptive bitrate streaming, you don't really know what bitrate the customer will finally get - as the player will be choosing from any one of the available bitrate tracks as network conditions change (moving from Wi-Fi to LTE/4G for example.)  So it is best to just look at the worst case scenario based on your expected customer base and where you think that they will be playing the content back from.  Sometimes you can get this more "real-world" with client side telemetry pushing data to Google analytics or PowerBI dashboard that shows you what customers average bitrate delivery is. 
  • Data downloaded is really a factor of your encoding settings, and how the content is being consumed by the client/player. You have to know those details before you can calculate much. 


这篇关于计算每位用户的视频数据消耗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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