文件名称:13818_5_for_vc
介绍说明--下载内容均来自于网络,请自行研究使用
1、简介
此代码是IS0 13818-5 MPEG2系统层协议分析代码,经过我的一点修改,现在终于可以在VC++ 6.0下编译运行, 发布上来献给那些为了理解MPEG2系统层协议而苦苦加班的程序员。为了可以在windows下编译,我修改了部分操作系统相关代码,注解掉了一些main函数,只留下decode.cpp中的main函数没有注解,所以编译后的程序是TS流系统层解码分析程序,如果要实现其他功能如encode,只要把decode.cpp中的main函数注解,把encode.cpp中的main函数注解去掉即可。
2、VC++6.0编译设置
需要在菜单Poject-〉Settings 弹出的对话框中把预编译头设置成Not using precompiled headers,如Vc_setting.jpg中的图片所示。
3、运行
编译生成decode2.exe文件后在命令行如下运行
decode2.exe d:\\cctv.ts
一开始在没有分析完PAT和PMT表时会打印一些如unexpected pid: 513的消息,请耐心等待一会儿就会发现分析的系统层信息打印了。可能刷屏很快导致你看不清信息,可以将打印信息重定向到某个文件中,如下:
decode2.exe d:\\cctv.ts >c:\\ts_decode.txt
运行decode2.exe的同时会在当前目录生成过滤后的PES文件,文件名格式stream512,512为PID。
-a brief account of this code is ISO 13818-5 MPEG2 system layer protocol analysis code, After I few modifications, now he can finally in VC 6.0 compiler operation, Published line with those dedicated to understanding MPEG2 system layer protocol and an overtime programmers. To be compiled under the windows, I revised the relevant part of the operating system code, Notes swap some of the main function, leaving only the main decode.cpp function without notes, So when a compiled program is TS system layer decoding process analysis, if we are to achieve other functions such as encode. decode.cpp as long as the main function of the rich encode.cpp put the main function annotation will be removed. 2. VC 6.0 compiler installed in the menu Poject - "Settings pop-up dialog box put pre - translat
此代码是IS0 13818-5 MPEG2系统层协议分析代码,经过我的一点修改,现在终于可以在VC++ 6.0下编译运行, 发布上来献给那些为了理解MPEG2系统层协议而苦苦加班的程序员。为了可以在windows下编译,我修改了部分操作系统相关代码,注解掉了一些main函数,只留下decode.cpp中的main函数没有注解,所以编译后的程序是TS流系统层解码分析程序,如果要实现其他功能如encode,只要把decode.cpp中的main函数注解,把encode.cpp中的main函数注解去掉即可。
2、VC++6.0编译设置
需要在菜单Poject-〉Settings 弹出的对话框中把预编译头设置成Not using precompiled headers,如Vc_setting.jpg中的图片所示。
3、运行
编译生成decode2.exe文件后在命令行如下运行
decode2.exe d:\\cctv.ts
一开始在没有分析完PAT和PMT表时会打印一些如unexpected pid: 513的消息,请耐心等待一会儿就会发现分析的系统层信息打印了。可能刷屏很快导致你看不清信息,可以将打印信息重定向到某个文件中,如下:
decode2.exe d:\\cctv.ts >c:\\ts_decode.txt
运行decode2.exe的同时会在当前目录生成过滤后的PES文件,文件名格式stream512,512为PID。
-a brief account of this code is ISO 13818-5 MPEG2 system layer protocol analysis code, After I few modifications, now he can finally in VC 6.0 compiler operation, Published line with those dedicated to understanding MPEG2 system layer protocol and an overtime programmers. To be compiled under the windows, I revised the relevant part of the operating system code, Notes swap some of the main function, leaving only the main decode.cpp function without notes, So when a compiled program is TS system layer decoding process analysis, if we are to achieve other functions such as encode. decode.cpp as long as the main function of the rich encode.cpp put the main function annotation will be removed. 2. VC 6.0 compiler installed in the menu Poject - "Settings pop-up dialog box put pre - translat
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 3176765913818_5_for_vc.rar 列表 mpeg2系统层分析代码\Vc_setting.jpg mpeg2系统层分析代码\编译说明.txt mpeg2系统层分析代码\13818_5 code for Vc++ compile\Consumer.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\Consumer.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\decode.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\decode2.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\decode2.dsp mpeg2系统层分析代码\13818_5 code for Vc++ compile\decode2.dsw mpeg2系统层分析代码\13818_5 code for Vc++ compile\decode2.plg mpeg2系统层分析代码\13818_5 code for Vc++ compile\Decoder.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\Decoder.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\Directory.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\Directory.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\encode.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\Encoder.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\Encoder.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\Events.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\Events.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\InputPort.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\InputPort.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\IPortFromFile.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\IPortFromFile.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\IPortFromRam.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\IPortFromRam.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\OPortToFile.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\OPortToFile.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\OPortToRam.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\OPortToRam.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\OutputPort.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\OutputPort.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\PES.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\PES.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\PESConsumer.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\PESConsumer.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\pesin.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\pesout.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\PESProducer.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\PESProducer.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\Poly.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\Poly.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\Producer.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\Producer.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\ReadMe.txt mpeg2系统层分析代码\13818_5 code for Vc++ compile\Section.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\Section.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\SectionConsumers.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\SectionConsumers.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\SectionProducers.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\SectionProducers.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\StdAfx.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\StdAfx.h mpeg2系统层分析代码\13818_5 code for Vc++ compile\streama mpeg2系统层分析代码\13818_5 code for Vc++ compile\streamb mpeg2系统层分析代码\13818_5 code for Vc++ compile\streamc mpeg2系统层分析代码\13818_5 code for Vc++ compile\streamd mpeg2系统层分析代码\13818_5 code for Vc++ compile\TimeStamp.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\TimeStamp.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\TS.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\TS.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\TSConsumer.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\TSConsumer.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\TSProducer.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\TSProducer.H mpeg2系统层分析代码\13818_5 code for Vc++ compile\Utilities.cpp mpeg2系统层分析代码\13818_5 code for Vc++ compile\Utilities.H mpeg2系统层分析代码\13818_5 code for Vc++ compile mpeg2系统层分析代码