当前位置:网站首页>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

边栏推荐
- [collect first and use it sooner or later] 100 Flink high-frequency interview questions series (I)
- Getting started with Wireshark
- Implementation of servlet file upload function (Commons fileUpload)
- Spring 2021 daily question [week3 not finished]
- ctfhub-sql布尔盲注
- SQL statement when the query condition is blank, all data will be queried by default. If it is not blank, the query will be performed according to the condition
- Getting started with CTF
- Why OKR needs to be challenging
- HashSet集合
- Radio button text background changes at the same time
猜你喜欢

Network Security Threat Intelligence System

SISO Decoder for SPC (补充章节1)

10 ways to reset any user password

Database lock and transaction isolation level

Radiogroup dynamically add RadioButton

How to learn and self-study

Common shortcut keys for Hello go (x) and GoLand

Hello go (XV). Go language common standard library V

264 Concepts

TR-069协议介绍
随机推荐
LDAP 目录服务器的现代化应用
Spring 2021 daily question [week7 not finished]
EditText amount limit
DC-DC自举电容(BOOT)几个问题
SISO Decoder for a General (n, N - 1) SPC Code (Supplementary section 3)
Spring 2021 daily question [week3 not finished]
Feign 共享登录信息进行请求
Class question: how to ensure that line table storage can be inserted at any time?
SQL statement when the query condition is blank, all data will be queried by default. If it is not blank, the query will be performed according to the condition
【MapReduce】一个完整MR程序案例教你如何用IDEA打包及运行
Jsfinder, wafw00f installation, nmap configuration (msvcr120.dll file is missing)
SISO decoder for a general (n,n-1) SPC code(补充章节3)
Getting started with CTF
vulhub
Acwing game 40 [End]
SISO Decoder for SPC (补充章节1)
vim常用命令
264 Concepts
Sa-Token 单点登录 SSO模式二 URL重定向传播会话示例
Hello go (XIV). Go language common standard library IV