asysbang

 找回密码
 立即注册
查看: 3753|回复: 0
打印 上一主题 下一主题

解析SPS实例

[复制链接]

520

主题

2

好友

6551

积分

管理员

Rank: 80Rank: 80Rank: 80Rank: 80Rank: 80

最佳新人 活跃会员 热心会员 推广达人 宣传达人 灌水之王 突出贡献 优秀版主 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2020-6-24 18:09:57 |只看该作者 |倒序浏览



https://zhuanlan.zhihu.com/p/27896239

00000000-0                00               
00000000-0                00
00000001-1                    01        start code

01100111-103                禁止位 1bit 默认0  优先级 2bit 类型 5bit  (7-SPS, 8-PPS  ,5-IDR)                        NAL头
01001101-77                    profile_idc  8bit          77-main profile  66-baseline profile  88-extended profile
01000000-64                constraint_set0~3 每个1bit        reserved_zero_4bit 0000
00011111-31                level_idc 8bit        标识当前码流的Level
11101100--20                seq_parameter_set_id 0 (根据无符号哥伦布码解码规则)        log2_max_frame_num_minus4 0    pic_order_cnt_type 0        log2_max_pic_order_cnt_lsb_minus4 2
                        max_num_ref_frames 4
1010 0000--96                gaps_in_frame_num_allowed_flag  0   pic_width_in_mbs_minus1 (101000 79)
00 101000-40               
0 0000010-2                pic_height_in_map_units_minus1 44
1101 1 1 0 1--35                frame_mbs_only_flag 1  direct_8x8_inferene_flag 1 frame_cropping_flag 0  vui_parameters_present_flag        1
11111001--7
10000000--128
10001000--120
00000000-0
00000000-0
00000011-3
00000000-0
00001000-8
00000000-0
00000000-0
00000011-3
00000001-1
10010000--112
01111000-120
11000001--63
10001100--116
10110000--80
00000000,00000000,00000001,01100111,01001101,01000000,00011111,11101100,10100000,00101000,00000010,11011101,11111001,10000000,10001000,00000000,00000000,00000011,00000000,00001000,00000000,00000000,00000011,00000001,10010000,01111000,11000001,10001100,10110000

Process finished with exit code 0


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

Archiver|手机版|aSys-帮 ( 京ICP备13033689号 )

GMT+8, 2026-1-29 02:01 , Processed in 0.044665 second(s), 19 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部