H265计算Level的方法

比如分辨率: 1920*1080, 参考帧率: 60的h265码流是哪个level呢?
H.265的亮度(luma)图像的大小计算公式为:
samples =  width  *  height
1920*1080计算得:2073600


每秒亮度采样数量为每帧samples乘以帧率.
samples/s =samples*参考帧率
2073600*60 计算得:124416000
参考Rec. ITU-T H.265 v5 (02/2018) 267页查表

Tiers and levels with maximum property values [13]
LevelMax luma sample rate
(samples/s)
Max luma picture size
(samples)
Max bit rate for Main
and Main 10 profiles (kbit/s)[A]
Example picture resolution @
highest frame rate[B]
(MaxDpbSize[C])

More/Fewer examples

Main tierHigh tier
1552,96036,864128

128×96@33.7 (6)

176×144@15.0 (6)
23,686,400122,8801,500

176×144@100.0 (16)

352×288@30.0 (6)
2.17,372,800245,7603,000

352×288@60.0 (12)

640×360@30.0 (6)
316,588,800552,9606,000

640×360@67.5 (12)
720×576@37.5 (8)

960×540@30.0 (6)
3.133,177,600983,04010,000

720×576@75.0 (12)
960×540@60.0 (8)

1280×720@33.7 (6)
466,846,7202,228,22412,00030,000

1,280×720@68.0 (12)
1,920×1,080@32.0 (6)

2,048×1,080@30.0 (6)
4.1133,693,44020,00050,000

1,280×720@136.0 (12)
1,920×1,080@64.0 (6)

2,048×1,080@60.0 (6)
5267,386,8808,912,89625,000100,000

1,920×1,080@128.0 (16)
3,840×2,160@32.0 (6)

4,096×2,160@30.0 (6)
5.1534,773,76040,000160,000

1,920×1,080@256.0 (16)
3,840×2,160@64.0 (6)

4,096×2,160@60.0 (6)
5.21,069,547,52060,000240,000

1,920×1,080@300.0 (16)
3,840×2,160@128.0 (6)

4,096×2,160@120.0 (6)
61,069,547,52035,651,58460,000240,000

3,840×2,160@128.0 (16)
7,680×4,320@32.0 (6)

8,192×4,320@30.0 (6)
6.12,139,095,040120,000480,000

3,840×2,160@256.0 (16)
7,680×4,320@64.0 (6)

8,192×4,320@60.0 (6)
6.24,278,190,080240,000800,000

3,840×2,160@300.0 (16)
7,680×4,320@128.0 (6)

8,192×4,320@120.0 (6)

查表可知
Level 3.1
samples 983040

Level 4 和 Level 4.1
samples 2228224
根据samples可知,Level为Level 4或Level 4.1; Level的确定原则是找<=的关系.

Level 4
samples/s 66846720

Level 4.1
samples/s 133693440
根据samples/s可知,Level为Level 4.1; Level的确定原则是找<=的关系.

补充说明: RTP传输h265的RFC协议是7798协议, RTP Payload Format for High Efficiency Video Coding (HEVC)

 

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值