[linux-dvb] [ANNOUNCE] CA_ZAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allan Stirling wrote:
> Something is going wrong here. Adding some debugging to the /*      Get 
> PMT PID     */
> section gives...
>


If in case this helps ,



My channels.conf is like this ...

TVL:11996:h:0:27500:201:301:301
TVL+2:11996:h:0:27500:202:302:302
PRM:11996:h:0:27500:203:303:303
PRM+2:11996:h:0:27500:204:304:304
TMC:11996:h:0:27500:205:305:305
TMC+1:11996:h:0:27500:206:306:306


When running ca_zap after a szap,

# ca_zap -a 0 -c ~/channels.conf -t sat -d 0 -s 0 -f 0 -n TMC2


I get like this ...

[root@deploy ca_zap]#./ca_zap -a 0 -c ~/channels.conf  -t sat -d 0 -s 0 
-f 0 -n TMC2
Using Adpater=[/dev/dvb/adapter0]
  Frontend=[/dev/dvb/adapter0/frontend0]
  Demux=[/dev/dvb/adapter0/demux0]
  Slot=[/dev/dvb/adapter0/ca0]
Parsing /root/channels.conf
Satellite frontend
parse_sat_channel_list: Channel=[TMC2], Frequency=[11996], 
Satellite=[0], Symbol Rate=[27500], Video=[207], Audio=[307], Service=[307]
Service ID=[307]
parse_pat: ----------------->parse PAT section
parse_pat: PAT => Section Length=[69], TS ID=[17667]
parse_si: PMT PID = [107]
parse_si: PAT: Close Demux /dev/dvb/adapter0/demux0
parse_pmt: PMT Words=[ 02 b0 1f 01 33 c9 00 00 e0 cf f0 08 09 06 06 04 
05 4a ff f1 02 e0 cf f0 00 04 e1 33 f0 00 ed 73 38 4a ]

parse_pmt: ----------->parse PMT section, PMT PID=[107], bytes=[34]
parse_pmt_header: Table ID=[2], Section Length=[31], Program 
Number=[307], Section Number=[0], PCR PID=[207], Program info length=[8]
parse_pmt: Program info length=[8]
INFO:: Parsing descriptor: parse_ca_descriptor, Tag=[09], Length=[6]
parse_ca_descriptor: Tag=[09], Length=[06], CA System=[604], CA PID=[54a]
parse_ca_descriptor: CA Private Data=[ ff f1 ]
parse_ca_descriptor: Pos=[20]
parse_pmt: Count=[20], Position=[20], Program descriptor count=[8]

	parse_streams: Elements=[ 02 e0 cf f0 00]
	parse_streams: Stream=[0], Stream Type=[2], Elementary PID=[207], ES 
info length=[0]

	parse_streams: Elements=[ 04 e1 33 f0 00]
	parse_streams: Stream=[1], Stream Type=[4], Elementary PID=[307], ES 
info length=[0]

copy_en50221_pmt_object: Copying EN50221 Header
copy_en50221_pmt_object: Program Number=[307], Program info length=[8]
copy_en50221_pmt_object: Program level descriptor count=[1]
copy_en50221_pmt_object: CA descriptor=[09] found, @ [0xbfffe008], 
descriptor length=[06]
	copy_en50221_descriptor_object: Tag=[09], Length=[06], CA system 
ID=[604], CA PID=[54a]
copy_en50221_descriptor_object: Private bytes=[2] [ ff f1 ]
copy_en50221_pmt_object: [0] CA descriptor copied
copy_en50221_stream_object: Stream Type=[2], Elementary PID=[207], ES 
length=[0], Number of descriptors=[0]
copy_en50221_stream_object: Stream Type=[4], Elementary PID=[307], ES 
length=[0], Number of descriptors=[0]
do_en50221_pmt_object: CA PMT List Management=[03]
set_pmt_command: Setting PMT Command
set_pmt_command: CA descriptor found @ PROGRAM Level, Setting CA PMT 
command=[01]
do_en50221_pmt_object: Object length=[200], Total length=[25]
asn_1_encode: Length=[25]
asn_1_encode: length indicator=[19]
do_en50221_pmt_object: ASN.1 words=[1], Length Array=[  25 ]
en50221_encode_header: CA PMT List Mgmt=[3], Program Number=[307], 
Program info length=[8]
write_en50221_pmt_object: EN50221 header encoded
write_en50221_pmt_object: Program level descriptor @ [0x804e088], 
count=[1], tag=[09], length=[06]
encode_ca_pmt_command: Encoding SCRAMBLING @ PROGRAM Level, Command=[01]
en50221_encode_descriptor: Tag=[09], length=[06], CA system id=[604], CA 
PID=[54a]
en50221_encode_descriptor: Private Bytes=[2] [ ff f1 ]
en50221_encode_streams: Stream type=[02], ES PID=[cf], ES Info length=[00]
en50221_encode_streams: Stream type=[04], ES PID=[133], ES Info length=[00]
debug_message: CA MESSAGE=[ 9f 80 32 19 03 01 33 11 10 08 01 09 06 06 04 
05 4a ff f1 02 e0 cf f0 00 04 e1 33 f0 00  ]
[root@deploy ca_zap]# exit

Script done on Thu 23 Jun 2005 04:24:57 PM GST



> parse_pat: PAT => Section Length=[41], TS ID=[12270]
> program_count: 10
> p_params->service_id: 4703 p_pat->p_program_descriptor->program_number: 176
> p_params->service_id: 4703 p_pat->p_program_descriptor->program_number: 
> 61155
> p_params->service_id: 4703 p_pat->p_program_descriptor->program_number: 
> 12288
> p_params->service_id: 4703 p_pat->p_program_descriptor->program_number: 
> 65337
> p_params->service_id: 4703 p_pat->p_program_descriptor->program_number: 
> 65530
> p_params->service_id: 4703 p_pat->p_program_descriptor->program_number: 
> 4603
> p_params->service_id: 4703 p_pat->p_program_descriptor->program_number: 
> 15967
> p_params->service_id: 4703 p_pat->p_program_descriptor->program_number: 
> 65474
> p_params->service_id: 4703 p_pat->p_program_descriptor->program_number: 
> 4809
> p_params->service_id: 4703 p_pat->p_program_descriptor->program_number: 
> 4906
> 
> I notice in your channels.conf that some of the values are duplicated. 
> That's not true on this network :(
> 
> Cheers,
> 
> Allan.
> 
> _______________________________________________
> 
> linux-dvb@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> 
> 
> 




[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux