-
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
-
UDF控制柔性振动膜的动网格问题
动网格,DEFINE_CG_MOTION,DEFINE_GRID_MOTION,很好的模板(dynamic mesh good template)
- 2017-09-12 22:05:56下载
- 积分:1
-
K60CCD3.0
在飞思卡尔32位的单片机K60的平台上实现线性CCD采集图像的功能;能够实现自动曝光功能;很好的调节图像;(K60 implemented on Freescale MCU platform 32 linear CCD image acquisition functions able to achieve automatic exposure function well adjust the image )
- 2014-02-22 16:25:22下载
- 积分:1
-
JYNet
俄罗斯方块 联网版 不错很好,功能齐全。(Networked version of Tetris)
- 2011-10-01 09:48:17下载
- 积分:1
-
vc_calendar_software_source_code_written_in_compac
vc编写的小巧日历软件源码vc calendar software source code written in compact(vc small calendar software source code written in vc calendar software source code written in compact)
- 2010-08-06 22:43:24下载
- 积分:1
-
c
说明: c++教案.rar - RAR 压缩文件, 解包大小为 1,174,016 字节(c++ lesson plans. rar- RAR compressed files, unpack size is 1,174,016 bytes)
- 2010-11-11 23:03:23下载
- 积分:1
-
PID
最优控制率下的PID控制器参数,使其具有更好的鲁棒性和自适应的能力。(Optimal control rate of PID controller parameters, it has better robustness and adaptive capacity.)
- 2011-07-11 20:58:53下载
- 积分:1
-
Canny
用Canny算子提取边缘 用Canny算子提取边缘(Using Canny edge extraction Using Canny edge extraction Using Canny edge extraction Using Canny edge extraction Using Canny edge extraction)
- 2013-07-12 18:17:10下载
- 积分:1
-
interactions
qt实现的遗传算法 解决最大最小值得问题 (qt genetic algorithm to achieve the maximum and minimum worth solving problems)
- 2013-12-13 02:50:38下载
- 积分:1
-
attendance
这个程序是一个个人考勤软件,它从系统时钟获取时间信息,只要上下班时按时在当日考勤栏内点击相应的栏目标题即可逐日记录下个人每天的工作时间,按月统计汇总,按年形成文件.可以随意查看过去的记录,也可把记录按月打印出来.在年汇总栏内可以选择要查看或打印的月份。( This procedure is a each one person checks attendance software,
it from system clock gain time information, so long as time coming and
going to work on time checks attendance in the same day in the fence
to click on the corresponding column title then day after day to
record takes down individual daily operating time, monthly
缁熻?姹囨? yearly forms the document Was allowed to examine at
will the past the record, also might monthly print the recording
Compiles in the fence in the year to be allowed to choose 鎷╄? the
examination or the printing month. )
- 2004-07-05 12:05:55下载
- 积分:1