mirakc / mirakc-arib

mirakc-tools for Japanese TV broadcast contents
Apache License 2.0
24 stars 6 forks source link

`sync-clocks` for CS6 and CS16 fails #3

Closed masnagam closed 4 years ago

masnagam commented 4 years ago

There seem to be PCR packets which have no PCR...

$ recpt1 --device /dev/px4video0 CS6 - - 2>/dev/null | MIRAKC_ARIB_LOG=debug mirakc-arib sync-clocks
[2020-02-08 15:35:40.045] [sync-clocks] [info] Read packets from STDIN...
[2020-02-08 15:35:40.045] [sync-clocks] [info] --sids SIDs:
[2020-02-08 15:35:40.045] [sync-clocks] [info] --xsids SIDs:
[2020-02-08 15:35:40.045] [sync-clocks] [info] Feed packets...
[2020-02-08 15:35:41.495] [sync-clocks] [debug] Demux SDT
[2020-02-08 15:35:44.294] [sync-clocks] [debug] Demux PMT#0404 for SID#0126 ServiceType(01)
[2020-02-08 15:35:44.294] [sync-clocks] [debug] Demux PMT#0402 for SID#0144 ServiceType(01)
[2020-02-08 15:35:44.294] [sync-clocks] [debug] Demux PMT#0406 for SID#0149 ServiceType(01)
[2020-02-08 15:35:44.294] [sync-clocks] [debug] Demux PMT#0403 for SID#014B ServiceType(01)
[2020-02-08 15:35:44.294] [sync-clocks] [debug] Demux PMT#0407 for SID#0154 ServiceType(01)
[2020-02-08 15:35:44.294] [sync-clocks] [debug] Demux PMT#0408 for SID#0155 ServiceType(01)
[2020-02-08 15:35:44.294] [sync-clocks] [debug] Demux PMT#0405 for SID#0162 ServiceType(01)
[2020-02-08 15:35:44.294] [sync-clocks] [debug] Demux PMT#0401 for SID#016B ServiceType(01)
[2020-02-08 15:35:44.295] [sync-clocks] [debug] PCR#1004 for SID#0126
[2020-02-08 15:35:44.320] [sync-clocks] [debug] PCR#1006 for SID#0149
[2020-02-08 15:35:44.321] [sync-clocks] [debug] PCR#1008 for SID#0155
[2020-02-08 15:35:44.321] [sync-clocks] [debug] PCR#1007 for SID#0154
[2020-02-08 15:35:44.351] [sync-clocks] [debug] PCR#1002 for SID#0144
[2020-02-08 15:35:44.351] [sync-clocks] [debug] PCR#1003 for SID#014B
[2020-02-08 15:35:44.352] [sync-clocks] [debug] PCR#1001 for SID#016B
[2020-02-08 15:35:44.353] [sync-clocks] [debug] PCR#1005 for SID#0162
[2020-02-08 15:35:44.353] [sync-clocks] [debug] Demux TOT
[2020-02-08 15:35:46.488] [sync-clocks] [info] Time: 2020/02/08 15:35:46.000
[2020-02-08 15:35:46.488] [sync-clocks] [critical] Assertion failed: packet.hasPCR()
masnagam commented 4 years ago
$ recpt1 --device /dev/px4video0 CS6 - - 2>/dev/null | MIRAKC_ARIB_LOG=debug mirakc-arib sync-clocks
...
[2020-02-08 16:30:16.512] [sync-clocks] [debug] PCR#1002 has no PCR...
[2020-02-08 16:30:16.512] [sync-clocks] [debug] PCR#1001 has no PCR...
[2020-02-08 16:30:16.512] [sync-clocks] [debug] PCR#1007 has no PCR...
[2020-02-08 16:30:16.512] [sync-clocks] [debug] PCR#1006 has no PCR...
[2020-02-08 16:30:16.512] [sync-clocks] [debug] PCR#1004 has no PCR...
[2020-02-08 16:30:16.513] [sync-clocks] [debug] PCR#1008 has no PCR...
[2020-02-08 16:30:16.513] [sync-clocks] [debug] PCR#1003 has no PCR...
[2020-02-08 16:30:16.513] [sync-clocks] [debug] PCR#1005 has no PCR...
...