当前位置:网站首页>h264 protocol
h264 protocol
2022-08-09 13:03:00 【Know 12】
h264 data consists of a Nalu header and bare stream
h264 protocol frame header data is often sps and pps
A complete h264 stream (excluding B-frames) consists of the following parts:
1.sps
The common value is 00 00 00 01 67, which contains the sequence parameters of this batch of images
2.pps
The common value is 00 00 00 01 68, which contains the parameters contained in a frame highlighting
3.sei
The common name is 00 00 00 06 05, which contains some supplementary information
3.I frame
Commonly it is 00 00 00 01 65, which is the key frame. When decoding, we only need to decode this frame.
4.P frame
Commonly it is 00 00 00 01 41, the difference from the previous frame is recorded here, and the previous frame can be superimposed
Only one thread is used here, ret is 1 frameThe data, x264Encoder.m_pX264Nals[i].i_payload is the payload data, Each key frame consists of 4 Nalu:
The first one is sps, which has 31 bytes
The second is pps, with 8 bytes
The third is sei, with 596 bytes
The fourth is I frame, this picture is 1085 bytes
KeyAfter the frame is the P frame: you can see that the latter P frame has 36988 bytes
Here is what the decoding tool sees:
边栏推荐
- Byte Qiu Zhao confused me on both sides, and asked me under what circumstances would the SYN message be discarded?
- [Interview high-frequency questions] Linked list high-frequency questions that can be gradually optimized
- Too much volume... Tencent was asked on the side that the memory was full, what would happen?
- 微信小程序支付及退款整体流程
- shell脚本------函数的格式,传参,变量,递归,数组
- JS封装防抖(代码持续优化)
- 阿里云新增三大高性能计算解决方案,助力生命科学行业快速发展
- 正则表达式(规则,匹配,和实际使用)
- TI的片上固化好的boot ROM(上电引导加载程序)退出后的去向
- 索引index
猜你喜欢
金融业“限薪令”出台/ 软银出售过半阿里持仓/ DeepMind新实验室成立... 今日更多新鲜事在此...
ARP协议原理
web课程设计
Programmer's Exclusive Romance - Use 3D Engine to Realize Fireworks in 5 Minutes
【微服务~远程调用】整合RestTemplate、WebClient、Feign
The latest interview summary in 20022 brought by Ali senior engineer is too fragrant
ABAP 面试题:如何使用 ABAP 编程语言的 System CALL 接口,直接执行 ABAP 服务器所在操作系统的 shell 命令?
罗振宇折戟创业板/ B站回应HR称用户是Loser/ 腾讯罗技年内合推云游戏掌机...今日更多新鲜事在此...
阿里高工带来的20022最新面试总结太香了
中科院打脸谷歌:普通电脑追上量子优越性,几小时搞定原本要一万年的计算...
随机推荐
web课程设计
在北京参加UI设计培训到底怎么样?
ABAP 面试题:如何使用 ABAP 编程语言的 System CALL 接口,直接执行 ABAP 服务器所在操作系统的 shell 命令?
十分钟教会你如何使用VitePress搭建及部署个人博客站点
Django 无法链接mysql数据库
The redis library cannot be imported
PM2 configuration file
Simple understanding of ThreadLocal
go基础之web获取参数
Information system project managers must memorize the core test sites (63) The main process of project portfolio management & DIPP analysis
箭头函数和普通函数的常见区别
非科班AI小哥火了:他没有ML学位,却拿到DeepMind的offer
水能自发变成“消毒水”,83岁斯坦福教授:揭示冬天容易得流感的部分原因...
GPT-3组合DALL·E,60秒内搞定游戏设定和原型动画!网友看后:这游戏想玩
罗振宇折戟创业板/ B站回应HR称用户是Loser/ 腾讯罗技年内合推云游戏掌机...今日更多新鲜事在此...
Adalvo收购其首个品牌产品Onsolis
微信小程序支付及退款整体流程
1小时直播招募令:行业大咖干货分享,企业报名开启丨量子位·视点
900页数学论文证明旋转的黑洞不会爆炸,丘成桐:30多年来广义相对论首次重大突破...
内网穿透工具ngrok使用教程