2019独角兽企业重金招聘Python工程师标准>>>

For h.264 users, how to specify the profile/level seems to be a fairly common 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. To calculate this:

    Macroblocks are 16×16 in H.264 and so to code a frame one can calulate the number of macroblocks per frame as:

    ceil( width / 16.0 ) * ceil( height / 16.0 )

    Note: The ceil() function rounds up its argument to the next integer. For example, ceil( 10.2 ) returns 11.

    Then you need to multiply the number of macroblocks per frame by the number of frames per second to get the number of macroblocks per second.

    macroblocks per second = ceil( width / 16.0 ) * ceil( height / 16.0 ) * frame rate

    Level

    VBV maximum bit rate [1000bits/s]

    VBV buffer size [1000bits]

    Macroblocks/s

    Resolution and frame rate

    1

    64

    175

    1485

    128×96@30 or 176×144@15

    1b

    128

    350

    1485

    128×96@30 or 176×144@15

    1.1

    192

    500

    3000

    176×144@30 or 320×240@10

    1.2

    384

    1000

    6000

    176×144@60 or 320×240@20

    1.3

    768

    2000

    11880

    352×288@30

    2

    2000

    2000

    11880

    352×288@30

    2.1

    4000

    4000

    19800

    352×288@50

    2.2

    4000

    4000

    20250

    352×288@50 or 640×480@15

    3

    10000

    10000

    40500

    720×480@30 or 720×576@25

    3.1

    14000

    14000

    108000

    1280×720@30

    3.2

    20000

    20000

    216000

    1280×720@60

    4

    20000

    25000

    245760

    1920×1088@30 or 2Kx1K@30

    4.1

    50000

    62500

    245760

    1920×1088@30 or 2Kx1K@30

    4.2

    50000

    62500

    522240

    1920×1088@60 or or 2Kx1K@60

    5

    135000

    135000

    589824

    2560×1920@30

    5.1

    240000

    240000

    983040

    4Kx2K@30 or 4

转载于:https://my.oschina.net/zhangxu0512/blog/178765

H264 profile and level相关推荐

  1. h264中profile和level的含义

    转自: https://blog.csdn.net/xiaojun111111/article/details/52090185 Profile是对视频压缩特性的描述(CABAC呀.颜色采样数等等). ...

  2. H.264 Profile、Level、Encoder三张简图

    H.264有四种画质级别,分别是BP.EP.MP.HP: 1.BP-Baseline Profile:基本画质.支持I/P 帧,只支持无交错(Progressive)和CAVLC: 2.EP-Exte ...

  3. HEVC/H.265理论知识(2)——profile、level、tier

    转载自:http://www.itdadao.com/articles/c15a782132p0.html 一.profile(档次).level(水平).tier(等级)存在的目的是为了让不同应用之 ...

  4. H264 profile 及帧类型介绍

    1. h264 profile: h264 分为三种profile 基准档次:baseline profile; 主要档次:main profile; 扩展档次:extended profile(常见 ...

  5. Profile and Level

    小编初学,好多东西还没明白,先记录一下,以后再来详细补充. Profile和Level指定了一致性点,这些一致性点提供了标准应用程序中的编码器和解码器实现之间以及具有类似功能需求的各种应用程序之间的互 ...

  6. h264 profile level

    H.264 Profiles H.264有四种profile,每个profile支持一组特定的编码功能,并支持一类特定的应用,分别是BP.EP.MP.HP: 1.BP-Baseline Profile ...

  7. H264 Profile对比分析

    https://blog.csdn.net/matrix_laboratory/article/details/72764621 https://www.jianshu.com/p/48d723bb2 ...

  8. Nvidia Deepstream极致细节:3. Deepstream Python RTSP视频输出显示

    Nvidia Deepstream极致细节:3. Deepstream Python RTSP视频输出显示 此章节将详细对官方案例:deepstream_test_1_rtsp_out.py作解读.d ...

  9. 调通sina33m下的GC0308(分色排版)V1.0

    调通sina33m下的GC0308 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 wb4916 AT qq.com 完成时间:2017/7/13 14:52 版本:V1.0 SDK:Android6.0 ...

最新文章

  1. Entity Freamwork 6连接PostgreSql数据库
  2. 注释(Annotation)
  3. 判断一个变量是不是数组
  4. 我很懒,什么都没留下系列 之 教你上手React服务端渲染(React SSR) HMR
  5. Linux下配置tomcat+apr+native应对高并发
  6. 从客户的角度看网站涉及的第一要素
  7. LeetCode 166. 分数到小数(小数除法)
  8. java sql update用法_使用if else条件将SQL UPDATE语句转换为php(codeigniter)
  9. vsftpd pam_mysql_vsftpd+mysql+pam虚拟用户无法登录ftp服务器,请给位大侠帮忙!
  10. Tp 引入 simple_html_dom.php
  11. acrobat缺少字体 adobe_PDF 字体
  12. windows 保护色设置
  13. c语言编程汉诺塔问题,C语言解决汉诺塔问题
  14. 机房巡检知识点(一)
  15. PLSQL 导出、导入 表和数据
  16. 医疗物联网行业调研报告 - 市场现状分析与发展前景预测
  17. 抑郁症/新药等最新研究成果进展(2021年10月)
  18. SPSS MODELER笔记1----数据基本处理和整体方法概念
  19. 计算机国际会议口头报告范例,国际会议口头报告ppt演讲内容准备模板
  20. SpringBoot接口实现视频在线播放

热门文章

  1. C++socket编程(四):4.1 跨平台封装XTcp类接口
  2. python的__name__
  3. 燕山大学计算机考研专硕专业课,燕山大学(专业学位)计算机技术研究生考试科目和考研参考书目...
  4. ffmpeg获取设备支持的分辨率_Qt音视频开发6-ffmpeg解码处理
  5. 设计php框架_PHP微型框架设计
  6. Linux arm 下载程序,arm-linux—gcc如何下载安装
  7. oracle安装gcc报错,ubuntu 安装oracle10g
  8. android gdb 远程调试工具,gdb输入/输出错误远程调试到Android
  9. nginx .conf
  10. TensorFlow tf.keras.layers.Permute