Eric Valette wrote:
> I've applied the patch and retested, now tsinfo find only too little packets
>
> "Found 2 PAT packets and 1 PMT packet in 754002 TS packets" (2 min recording size /188). Going home!!!
>
> Thanks for the support.
>
> BTW: you should add this line to the PAT/PMT packet generation code : pm->pm_pc += 2;
tested with dvdbsnoop. Indeed tsinfo is bogus but check with todays git!!!
dvbsnoop -s ts -n 5005 -if JUNGLE-D_EAU-DOUCE-\(HD\).2012-11-16.ts | grep 'Program Association Table'
PID: 0 (0x0000) [= ISO 13818-1 Program Association Table (PAT)]
==> Section table: 0 (0x00) [= Program Association Table (PAT)]
PID: 0 (0x0000) [= ISO 13818-1 Program Association Table (PAT)]
==> Section table: 0 (0x00) [= Program Association Table (PAT)]
PID: 0 (0x0000) [= ISO 13818-1 Program Association Table (PAT)]
==> Section table: 0 (0x00) [= Program Association Table (PAT)]
PID: 0 (0x0000) [= ISO 13818-1 Program Association Table (PAT)]
==> Section table: 0 (0x00) [= Program Association Table (PAT)]
PID: 0 (0x0000) [= ISO 13818-1 Program Association Table (PAT)]
==> Section table: 0 (0x00) [= Program Association Table (PAT)]
root@STB-atom-ion-3:/home/hts# dvbsnoop -s ts -n 5005 -if JUNGLE-D_EAU-DOUCE-\(HD\).2012-11-16.ts | grep 'Program MAP Table'root@STB-atom-ion-3:/home/hts# dvbsnoop -s ts -n 5005 -if JUNGLE-D_EAU-DOUCE-\(HD\).2012-11-16.ts | grep 'Program Map Table'
==> Section table: 2 (0x02) [= Program Map Table (PMT)]
==> Section table: 2 (0x02) [= Program Map Table (PMT)]
==> Section table: 2 (0x02) [= Program Map Table (PMT)]
==> Section table: 2 (0x02) [= Program Map Table (PMT)]
==> Section table: 2 (0x02) [= Program Map Table (PMT)]
root@STB-atom-ion-3:/home/hts# dvbsnoop -s ts -n 5005 -if test1.2013-03-07.ts | grep 'Program Map Table'
==> Section table: 2 (0x02) [= Program Map Table (PMT)]
root@STB-atom-ion-3:/home/hts# dvbsnoop -s ts -n 5005 -if test1.2013-03-07.ts | grep 'Program Association Table'
PID: 0 (0x0000) [= ISO 13818-1 Program Association Table (PAT)]
==> Section table: 0 (0x00) [= Program Association Table (PAT)]
root@STB-atom-ion-3:/home/hts# tsinfo -max 5005 JUNGLE-D_EAU-DOUCE-\(HD\).2012-11-16.ts
Reading from JUNGLE-D_EAU-DOUCE-(HD).2012-11-16.ts
Scanning 5005 TS packets
Packet 2 is PAT
Program list:
Program 1 -> PID 02c6 (710)
Packet 1003 is PMT with PID 02c6 (710)
Program 1, version 0, PCR PID 02d0 (720)
Program streams:
PID 02db ( 731) -> Stream type 04 ( 4) 13818-3 audio (MPEG-2)
ES info (6 bytes): 0a 04 71 61 61 00
Languages: qaa
PID 02dc ( 732) -> Stream type 04 ( 4) 13818-3 audio (MPEG-2)
ES info (6 bytes): 0a 04 67 65 72 00
Languages: ger
PID 02dd ( 733) -> Stream type 04 ( 4) 13818-3 audio (MPEG-2)
ES info (6 bytes): 0a 04 71 61 61 00
Languages: qaa
PID 02d0 ( 720) -> Stream type 1b ( 27) H.264/14496-10 video (MPEG-4/AVC)
PID 02da ( 730) -> Stream type 04 ( 4) 13818-3 audio (MPEG-2)
ES info (6 bytes): 0a 04 66 72 65 00
Languages: fre
PID 02e4 ( 740) -> Stream type 06 ( 6) H.222.0/13818-1 PES private data (maybe Dolby/AC-3 in DVB)
ES info (10 bytes): 59 08 66 72 65 10 00 03 00 01
subtitling_descriptor:
language='fre', subtitling_type=16
composition_page_id=3, ancillary_page_id=1
PID 02e5 ( 741) -> Stream type 06 ( 6) H.222.0/13818-1 PES private data (maybe Dolby/AC-3 in DVB)
ES info (10 bytes): 59 08 67 65 72 10 00 01 00 01
subtitling_descriptor:
language='ger', subtitling_type=16
composition_page_id=1, ancillary_page_id=1
PID 02e6 ( 742) -> Stream type 06 ( 6) H.222.0/13818-1 PES private data (maybe Dolby/AC-3 in DVB)
ES info (10 bytes): 59 08 66 72 65 10 00 02 00 01
subtitling_descriptor:
language='fre', subtitling_type=16
composition_page_id=2, ancillary_page_id=1
Found 10 PAT packets and 4 PMT packets in 5005 TS packets