GB28181打包方式:
1、视频关键帧的封装 RTP + PS header + PS system header + PS system Map + PES header +h264 data
2、视频非关键帧的封装 RTP +PS header + PES header + h264 data
3、音频帧的封装: RTP + PES header + G711
GB28181判断音视频格式:
psm header中判断,

3.audio的PES字段
00 00 01 (stream id 1B) (packet len 2B)(control info 3B) ( PTS 5B)

4.海康的每秒25 fps,
每一个I帧图像后面,都有一个音频帧,音频帧的大小为0x140个G711 音频数据,也就是320个字节,320x25 = 8000,也就是音频采样率为8000.
阅读(2135) | 评论(0) | 转发(0) |