搜索
 找回密码
 立即注册

简单一步 , 微信登陆

美国ATSC时间差五天的问题

作者:halleyhuang | 时间:2016-7-13 18:47:20 | 阅读:4657| 只看该作者
美国ATSC的基准时间是2000,01,06,参考atsc_psip
而我们代码的基准时间是2000,01,01
/* default base date = 2000 Jan/1 00:00:00 */
#define DEFAULT_MJD                             51544
#define DEFAULT_YEAR                            2000
#define DEFAULT_MONTH                           1
#define DEFAULT_DAY                             1
#define DEFAULT_HOUR                            0
#define DEFAULT_MIN                             0
#define DEFAULT_SEC                             0
/* total accumulative seconds from 1980 Jan/6 00:00:00 to 2000 Jan/1 00:00:00 */
//hint: (2000 1/1 0:0:0 ~ 1980 1/1 0:0:0) - (1980 1/6 0:0:0 ~ 1980 1/1 0:0:0)
#define DEFAULT_SYSTEM_TIME                    630720000
修改基准时间或者在转换时间以后添加5天即可。
收藏
收藏0
分享
分享
点赞
点赞0
反对
反对0
该会员没有填写今日想说内容.
回复

使用道具 举报

大神点评1

沙发#
halleyhuang 发表于:2016-7-13 18:48:26
atsc_psip.zip (1.26 MB, 下载次数: 0)   ATSC的PSIP文档参考
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册
手机版