SuperIC社区_

标题: 美国ATSC时间差五天的问题 [打印本页]

作者: halleyhuang    时间: 2016-7-13 18:47
标题: 美国ATSC时间差五天的问题
美国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天即可。

作者: halleyhuang    时间: 2016-7-13 18:48
(, 下载次数: 0)   ATSC的PSIP文档参考




欢迎光临 SuperIC社区_ (/) Powered by Discuz! X3.3