halleyhuang 发表于 2016-7-13 18:47:20

美国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:26

ATSC的PSIP文档参考
页: [1]
查看完整版本: 美国ATSC时间差五天的问题