当前位置:网站首页>H. 264 concept
H. 264 concept
2022-06-11 18:17:00 【Chenxiaoshuai HH】
One 、H.264 Concept
H.264 By ITU-T Video expert group and ISO/IEC A joint group of motion picture experts (JVT,Joint Video Team) Proposed Video codec standard for highly compressed data .
Two 、H.264 Data format
H.264 By ** Video coding layer (VCL) and Network adaptation layer (NAL)** form .
①VCL:H264 code / The core of compression , Mainly responsible for encoding video data / Compress , Re segmentation .
②NAL The basic unit of a layer is NALU( Network abstraction layer unit )
blog.csdnimg.cn/25b161a63ce74813a55a1b090a51d6ea.png)
NALU = NALU header + NALU payload
(1) General structure :
RBSP: Raw data ( It could be encoded video data , It could also be other data ), Add... For alignment “0”
bits .
(2)NALU The head of the (8bit)
(3)nalu The type of
–>DCT Change and quantification –> Bitstream coding .
② Segmentation data , Mainly for the third step .“ section (slice)”、“ Macroblock (macroblock)” Is in VCL The concept of , On the one hand, improve coding efficiency and reduce coding rate , On the other hand, improve the flexibility of network transmission .
③ Package as NAL.
VCL Finally, it will be packaged as NAL.
Four 、NAL The data structure of the header



5、 ... and 、H.264 Bitstream structure
H.264 = start_code + NALU
(start_code:00000001 or 000001)

6、 ... and 、H.264 Three frames
Most video compression , All the frames are classified , Mainly divided into I frame 、P frame 、B frame , These are not H264 Unique , We just H264 Let's talk about these categories .
①I frame :Intra-coded picture, Represents a keyframe , Full intra compression . Compressing this frame does not require reference to other frames .
②P frame :Predicted picture, Forward prediction frame , To compress this frame, you need to refer to the previous one I/P Frame as reference , Do motion estimation , In order to get a comparison I Larger compression ratio of frames .
③B frame :Bi-predictive picture, Two way prediction frame . Compressing this frame not only refers to the previous I/P frame , You also need to refer to the following one P frame , Perform bidirectional motion estimation , In some cases, a ratio of P Higher compression ratio of frames .
Compression ratio :B > P > I
image quality :I > P > B ( Because the motion vector obtained from motion estimation will be quantized , Loss introduced . And P、B The frame may refer to other P frame ( chain ), Thus, it is easier to cause error accumulation and error drift .)
7、 ... and 、 Decode timestamp and display timestamp

边栏推荐
- SISO decoder for a general (n,n-1) SPC code(补充章节3)
- Initial experience of MariaDB spider sharding engine
- Some thoughts on how to do a good job of operation and maintenance management
- [Golang]力扣Leetcode - 292. Nim 游戏(数学)
- SISO decoder for a general (n, n-1) SPC code (supplementary Chapter 3)
- HashSet集合存储学生对象并遍历
- [collect first and use it sooner or later] 49 Flink high-frequency interview questions series (I)
- System learning typescript (V) - joint type
- Common shortcut keys for Hello go (x) and GoLand
- 【MapReduce】一个完整MR程序案例教你如何用IDEA打包及运行
猜你喜欢
![Spring 2021 daily question [end of week4]](/img/b3/2f5a66b0d4374db3d4db0b71d72f7e.jpg)
Spring 2021 daily question [end of week4]

vim常用命令

Getting started with Wireshark

SISO Decoder for min-sum(补充章节2)

How ZABBIX can customize MySQL monitoring items and trigger alarms

Use egg Js+mongodb simple implementation of curdapi
![Spring 2021 daily question [week5 not finished]](/img/bd/35a8e0ded3b1a0727415c4cd95e781.jpg)
Spring 2021 daily question [week5 not finished]
![Winter vacation daily question 2022 [week1 not finished]](/img/56/a5ca98ddd128bcceb8e24f0edfeac6.jpg)
Winter vacation daily question 2022 [week1 not finished]

Radiogroup dynamically add RadioButton

ACL 2022: is it no longer difficult to evaluate word polysemy? A new benchmark "dibimt"
随机推荐
jsfinder,wafw00f安装,nmap配置(缺少msvcr120.dll文件)
MMA-Self-defining function
关于keil中,while循环条件不成立却无法跳出的问题
Various poses for text modification using sed
Codeworks round 479 (Div. 3) [done]
Acwing game 40 [End]
[C语言]用结构体把最高分的学生输出,可有多个最高分
Secret comment-----
vim常用命令
SISO decoder for a general (n,n-1) SPC code(补充章节3)
[pat grade B question bank] complete summary
[collect first and use it sooner or later] 100 Flink high-frequency interview questions series (III)
SISO Decoder for a General (n, N - 1) SPC Code (Supplementary section 3)
RadioGroup动态添加RadioButton
【新手上路常见问答】关于项目管理
Rtsp/onvif protocol easynvr video platform arm version cross compilation process and common error handling
Tle6288r is a 6-channel (150 MOhm) intelligent multi-channel switch using intelligent power technology - keshijin mall
SQL报错注入1
ISCSI详解(四)——ISCSI服务端配置实战
mariadb spider分片引擎初體驗