bandwidth configuration for video communication

 这里搜集一些关于实时视频传输的带宽需求的数据。数据来源不一,说法各异。实时视频传输的一个主要应用场景就是网络电话(微信电话,QQ视频)。
 实时猫的视频通信带宽要求(15fps):

分辨率总像素数(kilopixel)平均码率(kbps)波动幅度(kbps)
160x1201915064
240x1603827080
320x24077500100
480x3201541600120
640x4803071800160
800x6405122000200
1024x7687862100200

 腾讯云的视频通信带宽要求:

应用场景videoResolutionvideoFpsvideoBitrate
视频通话(手机)640x36015550kbps
视频会议(主画面 @ Mac Win)1280x720151200kbps
视频会议(主画面 @ 手机)640x36015900kbps
视频会议(小画面)320x18015250kbps
在线教育(老师 @ Mac Win)960x54015850kbps
在线教育(老师 @ iPad)640x36015550kbps
在线教育(学生)320x18015250kbps

 来自Twilio的资料:

MediaData transfer rate in Kilobits per second (Kbps)
HD Audio only (no video)40 Kbps
Lo-res Video (240x180) + HD Audio150 Kbps VP8/H.264 (240 Kbps Simulcast)
SD Video (640x480) + HD Audio540 Kbps VP8/H.264 (865 Kbps Simulcast)
HD Video (1280x720) + HD Audio1,500 Kbps VP8/H.264 (2,500 Kbps Simulcast)

 论文[5]中提到,webrtc中的最大码率是2500kbps,而最小的码率(可接受的视频质量)是250kbps.
 [6]给出了一个测试,视频编码码率与PSNR的关系。
在这里插入图片描述

When you’re signed into Skype on your computer and the software is idle, it needs an average Internet speed of 0 to 4 kilobits per second. You need anywhere from 24Kbps to 128Kbps for a regular call. Video calling and screen sharing require an upload and download speed of at least 128Kpbs. High-definition video calling requires an upload and download speed of at least 1.2 megabits per second. For a group video call, Skype requires a minimum download speed of 512Kbps and a minimum upload speed of 128Kbps. If you add more people to the video call, the download speed requirements increase. A group video call that contains seven or more users requires a download speed of at least 4Mbps. For best performance, Sype recommends at least double the minimum speeds for group video calls.

So, how much bandwidth is enough? For simple video calling, 300 kbps (kilobits per second) is sufficient. For HD video, you need at least 1 Mbps (Megabits per second) and are sure to have good quality with 1.5 Mbps. That’s for a one-to-one conversation. How about when there are more participants? Add another 1 Mbps per added participant for comfortable video conferencing. For example, for a group video call with 7-8 persons, 8 Mbps should be largely sufficient for HD video quality if you want to talk concurrently to them.

 流媒体的编码速率[8]:

在这里插入图片描述
 根据[9]中一位博主的说法:
在这里插入图片描述
在这里插入图片描述
 bitmovin[10]给出的数据:

  • Minimum Video Bitrate
ResolutionFPSBitrate (Kbps)Bits per Pixel
426×240242500.10
640×360245000.09
854×480247500.08
1280×7202415000.07
1920×10802430000.06
4096×216024100000.05
  • Average Video Bitrate
ResolutionFPSBitrate (Kbps)Bits per Pixel
426×240244000.17
640×360248000.15
854×4802412000.12
1280×7202424000.11
1920×10802448000.10
4096×216024160000.08
  • Maximum Video Bitrate
ResolutionFPSBitrate (Kbps)Bits per Pixel
426×240247000.29
640×3602414000.26
854×4802421000.22
1280×7202442000.19
1920×10802484000.17
4096×216024280000.14

 [11]根据测试,4G的上传带宽有时候只能达到2.78Mbps。
 [12]对于实时视频传输码率的要求。

Test results for the limits from webrtc-experiment.com https://www.webrtc-experiment.com/webrtcpedia/
Maximum video bitrate on chrome is about 2Mb/s (i.e. 2000kbits/s). 
Minimum video bitrate on chrome is .05Mb/s (i.e. 50kbits/s). 
Starting video bitrate on chrome is .3Mb/s (i.e. 300kbits/s).
As a result, everyone needs to measure the best performant configuration of their infrastructure by 
changing them step-by-step. My suggestions are as follows:
20 for FPS is optimum; however, 10 and 15 should be examined.
720p is good enough for video quality, especially for mobile platforms.
1000 Kbps is optimum for 720p, 750 Kbps is also acceptable when FPS is 10.

 [13]给出webrtc中的码率参考配置:

{ //4:3
    { 160, 120, 65, 15 },
    { 180, 180, 100, 15 },
    { 240, 180, 120, 15 },
    { 240, 240, 140, 15 },
    { 320, 240, 200, 15 },
    { 360, 360, 260, 15 },
    { 360, 360, 400, 30 },
    { 480, 360, 320, 15 },
    { 480, 360, 490, 30 },
    { 480, 480, 400, 15 },
    { 480, 480, 600, 30 },
    { 640, 480, 400, 10 },
    { 640, 480, 500, 15 },
    { 640, 480, 750, 30 },
    { 960, 720, 910, 15 },
    { 960, 720, 1380, 30 },
    { 0, 0, 0, 0}
},
{ // 16:9
     { 320, 180, 140, 15 },
     { 424, 240, 220, 15 },
     { 640, 360, 400, 15 },
     { 640, 360, 800, 24 },
     { 848, 480, 610, 15 },
     { 848, 480, 930, 30 },
     { 960, 540, 800, 15 },
     { 960, 540, 1200, 30 },
     { 1280, 720, 1130, 15 },
     { 1280, 720, 1710, 30 },
     { 1920, 1080, 2080, 15 },
     { 1920, 1080, 3150, 30 },
     { 1920, 1080, 4780, 60 },
     { 2560, 1440, 4850, 30 },
     { 2560, 1440, 7350, 60 },
     { 3840, 2160, 8910, 30 },
     { 3840, 2160, 13500, 60 },
     { 0, 0, 0, 0}
}

[1] 实时猫通信带宽要求
[2] 腾讯云实时音视频通信质量配置
[3] Bandwidth consumption and usage with Twilio Programmable Video
[4] Video Encoding Settingsfor H.264 Excellence
[5] Performance Evaluation of WebRTC-based Video Conferencing
[6] Turing H.264 Video Encoding Speed and Quality
[7] The Bandwidth Required for a Skype HD Video Call
[8] Dynamic Adaptive Streaming over HTTP Dataset
[9] H.264输出的时候,码率设置多少合适?
[10] Choosing the Right Video Bitrate for Streaming HLS and DASH https://bitmovin.com/video-bitrate-streaming-hls-dash/
[11] 4G降速为5G铺路
[12] How to improve WebRTC bit rate?
[13] 如何计算视频最佳码率

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值