[dvblast-devel] Can dvblast stream to a file?
cedric.dewijs at telfort.nl
cedric.dewijs at telfort.nl
Sun Dec 29 17:44:11 CET 2013
Now lets test with an encrypted channel :-)
>
>Regards,
>Cedric
>
Now I have
# cat ~/dvblast.conf
127.0.01:9999 1 36
# multicat @:9999 test.ts
# dvblast -W -Y -a 1 -f 498000000 -c ~/dvblast.conf
Now try to decode it:
# ./tsdecrypt -I file:///var/lib/video/test.ts -O file://out.ts -s 192.168.31.201:15050 -U user2 -P password2 -B 000102030405060708090A0B0C0D -C 0B00 -D 3 -c CONAX -p
2013-12-29 17:36:51 | Syslog : disabled
2013-12-29 17:36:51 | CA System : CONAX
2013-12-29 17:36:51 | Input file : /var/lib/video/test.ts
2013-12-29 17:36:51 | Output file: out.ts
2013-12-29 17:36:51 | Out filter : disabled (output everything)
2013-12-29 17:36:51 | TS discont : report
2013-12-29 17:36:51 | Decoding : single thread
2013-12-29 17:36:51 | CAMD proto : cs378x
2013-12-29 17:36:51 | CAMD addr : 192.168.31.201:15050 (IPv4/IPv6)
2013-12-29 17:36:51 | CAMD user : user2
2013-12-29 17:36:51 | CAMD pass : password2
2013-12-29 17:36:51 | EMM process: No
2013-12-29 17:36:51 | ECM process: Yes
2013-12-29 17:36:51 | ECM report : 60 sec
2013-12-29 17:36:51 | CW warning : 60 sec
2013-12-29 17:36:51 | Start tsdecrypt v10.0 (release, build 2013-12-23_21:37 libdvbcsa)
2013-12-29 17:36:51 | CAM | Connecting to server 192.168.31.201 port 15050
2013-12-29 17:36:51 | CAM | Connected to server 192.168.31.201 port 15050 (addr=192.168.31.201 fd=5).
2013-12-29 17:36:51 | CAT table
2013-12-29 17:36:51 | *** tei:0 pusi:1 prio:0 pid:0001 (1) scramble:0 adapt:0 payload:1 adapt_len:0 adapt_flags:0 | pofs:4 plen:184
2013-12-29 17:36:51 | * Section header
2013-12-29 17:36:51 | - Table id : 001 (1) conditional_access_section
2013-12-29 17:36:51 | - Section length : 00f (15) [num_packets:1]
2013-12-29 17:36:51 | - TS ID / Program No : ffff (65535)
2013-12-29 17:36:51 | - Version number 3, current next 1, section number 0, last section number 0
2013-12-29 17:36:51 | - CRC : 0x0b07a83b
2013-12-29 17:36:51 | * Descriptor dump:
2013-12-29 17:36:51 | * Tag 0x09 (09), sz: 4, CA descriptor: CAID 0x0b00 (2816) | CA PID 0x00b6 (182) | CONAX
2013-12-29 17:36:51 | **** CAT (tspacket->struct) generator is correct ****
2013-12-29 17:36:51 | **** CAT (struct->tspacket) generator is correct ****
2013-12-29 17:36:51 | --- | EMM CAID: 0x0b00 (CONAX)
2013-12-29 17:36:51 | --- | EMM pid : 0x00b6 (CONAX)
2013-12-29 17:36:51 | NEW | Input PID 0x0001 appeared (CAT)
2013-12-29 17:36:51 | NEW | Input PID 0x00b6 appeared (EMM)
2013-12-29 17:36:51 | PAT table
2013-12-29 17:36:51 | *** tei:0 pusi:1 prio:0 pid:0000 (0) scramble:0 adapt:0 payload:1 adapt_len:0 adapt_flags:0 | pofs:4 plen:184
2013-12-29 17:36:51 | * Section header
2013-12-29 17:36:51 | - Table id : 000 (0) program_association_section
2013-12-29 17:36:51 | - Section length : 011 (17) [num_packets:1]
2013-12-29 17:36:51 | - TS ID / Program No : 08a5 (2213)
2013-12-29 17:36:51 | - Version number 13, current next 1, section number 0, last section number 0
2013-12-29 17:36:51 | - CRC : 0x0aab63d9
2013-12-29 17:36:51 | * PAT data
2013-12-29 17:36:51 | * num_programs: 2
2013-12-29 17:36:51 | * [01/02]: Program No 0x0000 ( 0) -> PID 0010 (16) /res: 0x07/
2013-12-29 17:36:51 | - NIT PID 0010 (16)
2013-12-29 17:36:51 | * [02/02]: Program No 0x0024 ( 36) -> PID 0bf4 (3060) /res: 0x07/
2013-12-29 17:36:51 | **** PAT (tspacket->struct) generator is correct ****
2013-12-29 17:36:51 | **** PAT (struct->tspacket) generator is correct ****
2013-12-29 17:36:51 | PAT | Using service 0x0024 (36), PMT pid: 0bf4 (3060)
2013-12-29 17:36:51 | NEW | Input PID 0x0000 appeared (PAT)
2013-12-29 17:36:51 | PMT table
2013-12-29 17:36:51 | *** tei:0 pusi:1 prio:0 pid:0bf4 (3060) scramble:0 adapt:0 payload:1 adapt_len:0 adapt_flags:0 | pofs:4 plen:184
2013-12-29 17:36:51 | * Section header
2013-12-29 17:36:51 | - Table id : 002 (2) program_map_section
2013-12-29 17:36:51 | - Section length : 029 (41) [num_packets:1]
2013-12-29 17:36:51 | - TS ID / Program No : 0024 (36)
2013-12-29 17:36:51 | - Version number 1, current next 1, section number 0, last section number 0
2013-12-29 17:36:51 | - CRC : 0xbc74f21a
2013-12-29 17:36:51 | * PMT data
2013-12-29 17:36:51 | * PID : 0bf4 (3060)
2013-12-29 17:36:51 | * reserved1 : 7
2013-12-29 17:36:51 | * PCR PID : 0bf5 (3061)
2013-12-29 17:36:51 | * reserved2 : 15
2013-12-29 17:36:51 | * program_len : 6
2013-12-29 17:36:51 | * num_streams : 3
2013-12-29 17:36:51 | * Program info:
2013-12-29 17:36:51 | * program info size: 6
2013-12-29 17:36:51 | * Tag 0x09 (09), sz: 4, CA descriptor: CAID 0x0b00 (2816) | CA PID 0x0bfd (3069) | CONAX
2013-12-29 17:36:51 | * [01/03] PID 0bf5 (3061) -> Stream type: 0x02 (2) /es_info_size: 0/ H.262/13818-2 video (MPEG-2) or 11172-2 constrained video
2013-12-29 17:36:51 | * [02/03] PID 0bf6 (3062) -> Stream type: 0x03 (3) /es_info_size: 0/ 11172-3 audio (MPEG-1)
2013-12-29 17:36:51 | * [03/03] PID 0bf7 (3063) -> Stream type: 0x06 (6) /es_info_size: 7/ H.222.0/13818-1 PES private data
2013-12-29 17:36:51 | * Tag 0x56 (86), sz: 5, Teletext descriptor:
2013-12-29 17:36:51 | * Lang: dut
2013-12-29 17:36:51 | * Type: 1, Desc: Initial
2013-12-29 17:36:51 | * Magazine: 1, Page: 0
2013-12-29 17:36:51 | **** PMT (tspacket->struct) generator is correct ****
2013-12-29 17:36:51 | **** PMT (struct->tspacket) generator is correct ****
2013-12-29 17:36:51 | --- | ECM CAID: 0x0b00 (CONAX)
2013-12-29 17:36:51 | --- | ECM pid : 0x0bfd (CONAX)
2013-12-29 17:36:51 | NEW | Input PID 0x0bf4 appeared (PMT)
2013-12-29 17:36:51 | NEW | Input PID 0x0bf5 appeared (H.262/13818-2 video (MPEG-2) or 11172-2 constrained video)
2013-12-29 17:36:51 | NEW | Input PID 0x0bf6 appeared (11172-3 audio (MPEG-1))
2013-12-29 17:36:51 | NEW | Input PID 0x0bf7 appeared (H.222.0/13818-1 PES private data)
2013-12-29 17:36:51 | ECC | SID 0x0024 ------------ EcmChng: 0 ms
2013-12-29 17:36:51 | ECM | SID 0x0024 CAID: 0x0b00 PID 0x0bfd Table: 0x81 Length: 71 Data: 81 70 44 70 42 63 20 c9 cf b6 33 6b 18 95 b4 ..
2013-12-29 17:36:51 | ERR | [cs378x] recv auth 0xa68800f8 != camd_auth 0x110696b8
2013-12-29 17:36:52 | ERR | [cs378x] Unexpected server response on code word request (ret data[0] == 0x12 /Unknown err/)
2013-12-29 17:36:52 | NEW | Input PID 0x0bfd appeared (ECM)
2013-12-29 17:36:52 | NEW | Input PID 0x0012 appeared (EPG)
2013-12-29 17:36:52 | ECC | SID 0x0024 ------------ EcmChng: 1043 ms
2013-12-29 17:36:52 | ECM | SID 0x0024 CAID: 0x0b00 PID 0x0bfd Table: 0x81 Length: 71 Data: 81 70 44 70 42 63 20 c9 cf b6 33 6b 18 95 b4 ..
2013-12-29 17:36:52 | ERR | Error sending ecm packet, reconnecting to camd.
2013-12-29 17:36:52 | CAM | Connecting to server 192.168.31.201 port 15050
2013-12-29 17:36:52 | CAM | Connected to server 192.168.31.201 port 15050 (addr=192.168.31.201 fd=5).
2013-12-29 17:36:52 | ECC | SID 0x0024 ------------ EcmChng: 16 ms
2013-12-29 17:36:52 | ECM | SID 0x0024 CAID: 0x0b00 PID 0x0bfd Table: 0x81 Length: 71 Data: 81 70 44 70 42 63 20 c9 cf b6 33 6b 18 95 b4 ..
2013-12-29 17:36:52 | ERR | [cs378x] recv auth 0x2f3d9a50 != camd_auth 0x110696b8
2013-12-29 17:36:53 | ERR | [cs378x] Unexpected server response on code word request (ret data[0] == 0x7e /Unknown err/)
2013-12-29 17:36:53 | ECC | SID 0x0024 ------------ EcmChng: 1019 ms
2013-12-29 17:36:53 | ECM | SID 0x0024 CAID: 0x0b00 PID 0x0bfd Table: 0x81 Length: 71 Data: 81 70 44 70 42 63 20 c9 cf b6 33 6b 18 95 b4 ..
2013-12-29 17:36:53 | ERR | Error sending ecm packet, reconnecting to camd.
More information about the dvblast-devel
mailing list