SoaringLee

###Date:2018.4.1

==============================================================

参考:SVAC1标准《GBT 25724-2010 安全防范监控数字视音频编解码技术要求》

1、nal封装

     编码器通过下列步骤能够从一个RBSP中产生一个NAL单元:

     从RBSP及其以后的认证数据负载中查找字节对齐的下面二进制比特图案:

00000000 00000000 000000xx (其中xx代表任意2比特图案:“00”、“01”、“10”或“11”),并且使用其中插入一个等于0x03(emulation_prevention_three_bytes的字节:

  \' 00000000 00000000 00000011 000000xx\'

得到的字节序列加上包含标识RBSP数据结构类型的NAL单元的单元头部分就形成了整个NAL单元。

2、完整nal的组成

nal_start_code(0x00 00 00 01) + nal_header(nal_ref_idc,nal_unit_type,encryption_idc,authentication_idc) +sps/pps/Slice + rbsp_trailing_bits(1000 .....)+ emulation_prevention_three_bytes(0x03)


分类:

技术点:

相关文章:

  • 2021-11-23
  • 2021-10-08
  • 2021-10-08
  • 2020-12-27
  • 2021-03-31
  • 2021-07-06
  • 2021-12-08
  • 2021-03-31
猜你喜欢
  • 2021-09-21
  • 2021-03-16
  • 2021-10-08
  • 2021-08-14
  • 2021-10-22
  • 2022-01-02
相关资源
相似解决方案