H.264 Profiles and Levels

H.264 Profiles and Levels

For h.264 users, how to specify the profile/level seems to be a fairly comon question. Profiles define sets of bit stream features a h.264 stream can use. Levels define restrictions on the video resolution, frame rate and some stuff called VBV (Video Buffer Verifier).

H.264 Profiles

H.264 Profiles are discussed in depth on Wikipedia, but to simplify the considerations for the average user, I will focus on the Baseline, Main and High Profiles.

  • Baseline Profile
    • I/P slices
    • Multiple reference frames (–refs <int>, >1 in the x264 CLI)
    • In-loop deblocking
    • CAVLC entropy coding (–no-cabac in the x264 CLI)
  • Main Profile
    • Baseline Profile features mentioned above
    • B slices
    • CABAC entropy coding
    • Interlaced coding - PAFF/MBAFF
    • Weighted prediction
  • High Profile
    • Main Profile features mentioned above
    • 8×8 transform option (–8×8dct in the x264 CLI)
    • Custom quantisation matrices

H.264 Levels

H.264 Levels are also discussed on Wikipedia, though in my opinion, less explicitly and less successfully than for the profiles. For practical use, to specify a Level, a number of constraints have to be met. The resolutions/frame rates in the following table are merely a guideline - the number of macroblocks per second is the actual restriction.

LevelVBV maximum bit rate [1000bits/s]VBV buffer size [1000bits]Macroblocks/sResolution and frame rate
1641751485128×96@30 or 176×144@15
1b1283501485128×96@30 or 176×144@15
1.11925003000176×144@30 or 320×240@10
1.238410006000176×144@60 or 320×240@20
1.3768200011880352×288@30
22000200011880352×288@30
2.14000400019800352×288@50
2.24000400020250352×288@50 or 640×480@15
3100001000040500720×480@30 or 720×576@25
3.114000140001080001280×720@30
3.220000200002160001280×720@60
420000250002457601920×1088@30 or 2Kx1K@30
4.150000625002457601920×1088@30 or 2Kx1K@30
4.250000625005222401920×1088@60 or or 2Kx1K@60
51350001350005898242560×1920@30
5.12400002400009830404Kx2K@30 or 4096×2304@25
Updated: 2007/09/20 Thu 00:22
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值