TS 系统解码
TS 系统解码.......................................................................................................................................1
1 TS 流的内容....................................................................................................................................2
1.1 ES.........................................................................................................................................2
1.2 PES.......................................................................................................................................2
1.3 TS.........................................................................................................................................8
2 TS 流的解码过程(只考虑本地文件,解码只涉及到系统层打包的解码,不涉及到编码的
解码)...............................................................................................................................................10
2.1 PAT 解码:........................................................................................................................10
2.2 PMT 解码...........................................................................................................................10
2.3 音视频解码........................................................................................................................11
3 TS 流解码......................................................................................................................................12
3.1 总用例图............................................................................................................................12
3.2 各解码类的 UML 图.........................................................................................................13
3.2.1 解码主类.................................................................................................................13
3.2.2 事件管理类.............................................................................................................14
3.2.3 各类包解析的关系图.............................................................................................15
3.2.4 输入输出类.............................................................................................................16
3.2.5 解析 PAT、PMT、私有数据等.............................................................................17
3.2.6 解析 TS 包..............................................................................................................18
3.2.7 解析 PES 包............................................................................................................19
3.2.8 PCR 时钟类............................................................................................................20
3.2.9 CRC 校验类............................................................................................................21
3.3 解码流程图........................................................................................................................22
3.3.1 TS 包解析流程图..................................................................................................22
3.3.2 Section 解码流程图...............................................................................................23
3.3.3 PES 解码流程图....................................................................................................24
4 TS 流合成(编码).....................................................................................................................25
4.1 各编码类的 UML 图.........................................................................................................25
4.1.1 编码主类.................................................................................................................25
4.1.2 合成各类之间的关系.............................................................................................26
4.2 编码主要流程....................................................................................................................27
4.2.1 TS 编码流程图.......................................................................................................27
4.2.2 负载(pes、section)打包过程............................................................................28
附表一:..........................................................................................................................................29
附表二:..........................................................................................................................................31
评论5
最新资源