文件名称:13818_5_for_vc

  • 所属分类:
  • DVD
  • 资源属性:
  • [C/C++] [Windows] [Visual C] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 97kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 陈**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

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
(系统自动生成,下载前可以参看下载内容)

下载文件列表

mpeg2系统层分析代码

...................\13818_5 code for Vc++ compile

...................\.............................\Consumer.cpp

...................\.............................\Consumer.H

...................\.............................\decode.cpp

...................\.............................\decode2.cpp

...................\.............................\decode2.dsp

...................\.............................\decode2.dsw

...................\.............................\decode2.plg

...................\.............................\Decoder.cpp

...................\.............................\Decoder.H

...................\.............................\Directory.cpp

...................\.............................\Directory.H

...................\.............................\encode.cpp

...................\.............................\Encoder.cpp

...................\.............................\Encoder.H

...................\.............................\Events.cpp

...................\.............................\Events.H

...................\.............................\InputPort.cpp

...................\.............................\InputPort.H

...................\.............................\IPortFromFile.cpp

...................\.............................\IPortFromFile.H

...................\.............................\IPortFromRam.cpp

...................\.............................\IPortFromRam.H

...................\.............................\OPortToFile.cpp

...................\.............................\OPortToFile.H

...................\.............................\OPortToRam.cpp

...................\.............................\OPortToRam.H

...................\.............................\OutputPort.cpp

...................\.............................\OutputPort.H

...................\.............................\PES.cpp

...................\.............................\PES.H

...................\.............................\PESConsumer.cpp

...................\.............................\PESConsumer.H

...................\.............................\pesin.cpp

...................\.............................\pesout.cpp

...................\.............................\PESProducer.cpp

...................\.............................\PESProducer.H

...................\.............................\Poly.cpp

...................\.............................\Poly.H

...................\.............................\Producer.cpp

...................\.............................\Producer.H

...................\.............................\ReadMe.txt

...................\.............................\Section.cpp

...................\.............................\Section.H

...................\.............................\SectionConsumers.cpp

...................\.............................\SectionConsumers.H

...................\.............................\SectionProducers.cpp

...................\.............................\SectionProducers.H

...................\.............................\StdAfx.cpp

...................\.............................\StdAfx.h

...................\.............................\streama

...................\.............................\streamb

...................\.............................\streamc

...................\.............................\streamd

...................\.............................\TimeStamp.cpp

...................\.............................\TimeStamp.H

...................\.............................\TS.cpp

...................\.............................\TS.H

...................\.............................\TSConsumer.cpp

...................\.............................\TSConsumer.H

...................\.............................\TSProducer.cpp

...................\.............................\TSProducer.H

...................\.............................\Utilities.cpp

...................\.............................\Utilities.H



...................\编译说明.txt

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org