-
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: s_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)
- 2007-02-01 16:25:15下载
- 积分:1
-
GPS-Second
基于STM32F10X系列GPS模块应用程序,真正实现GPS秒脉冲信号校准时间,实现ms级别精确对时(GPS接收信号本来只能实现秒级对时)(Based STM32F10X series GPS module application, real time GPS second pulse signal calibration to achieve the level of precision of the time ms (GPS reception signal had only seconds to realize when))
- 2015-04-21 15:55:37下载
- 积分:1
-
crysedit_src
a component of crysedit_src
- 2006-03-16 01:20:26下载
- 积分:1
-
CH2
李世国“Pro/TOOLKIT程序设计”光盘源代码,欢迎大家下载,这是第二章算例,希望对大家的学习有所帮助(Li Shiguo " Pro/TOOLKIT program design" CD-ROM source code, welcome to download, which is the second chapter examples, we hope to be helpful to learn)
- 2013-08-25 15:58:51下载
- 积分:1
-
单片机发送至电脑串口通信
说明: 完成电脑与单片机通信,通过hal库,方便STM32单片机初学者(Complete the communication between computer and MCU)
- 2020-06-25 15:00:02下载
- 积分:1
-
RemoteControl
说明: C#实现的远程控制代码,除远程桌面以外,也支持远程命令的执行.(C# Remote Control Code Sample.)
- 2011-03-13 13:34:15下载
- 积分:1
-
ex06_1
在基于对话框的程序中,默认是没有这个消息的,按下Ctrl+W,弹出类向导对话框,选择Class Info标签(Basic implementation of a drop source is relatively simple. The first step is to determine what events begin a drag operation.)
- 2013-11-22 16:15:09下载
- 积分:1
-
halcon_Demo1
代码是关于halcon学习的用C#编写的,供大家共同学习。(Code is on the Halcon learning C# prepared for everyone to learn.)
- 2020-07-02 16:40:01下载
- 积分:1
-
wuziqi
实现五子棋的功能,且是一个比较简单移动的程序(Realize the function of renju, and is a relatively simple mobile program
)
- 2012-04-15 11:17:34下载
- 积分:1
-
ProjectScheduling-true
针对飞机装配线的加工任务调度问题设计了基于遗传算法的调度算法,包含一套启发式规则和一系列线边约束。(Task scheduling problem for processing aircraft assembly line designed scheduling algorithm based on genetic algorithm, comprising a set of heuristic rules and a series of line side constraints.)
- 2020-06-26 14:20:01下载
- 积分:1