[dvblast-devel] tsdecrypt

JULIAN GARDNER joolzg at btinternet.com
Tue Jan 24 15:37:40 CET 2012


And another bug
dvb.conv with missing CA pids

227.19.3.102:1234/udp 1 930 80,92,130


Use this and the 938 and 939 pid disappear, -W is needed to get the CA to be added

with -Y -W
debug: end PAT
debug: new PMT program=930 version=1 pcrpid=939
debug:   * ES pid=939 streamtype=0x02 streamtype_txt="13818-2 video (MPEG-2)"
debug:     - desc 09 ca sysid=0x500 pid=80
debug:     - desc 09 ca sysid=0x500 pid=92
debug:     - desc 09 ca sysid=0x500 pid=130
debug:   * ES pid=938 streamtype=0x03 streamtype_txt="11172-3 audio (MPEG-1)"
debug:     - desc 0a audio_language language=swe audiotype=0 audiotype_txt="undefined"
debug:     - desc 09 ca sysid=0x500 pid=80
debug:     - desc 09 ca sysid=0x500 pid=92
debug:     - desc 09 ca sysid=0x500 pid=130
debug: end PMT
debug: setting filter on PID 55
debug: setting filter on PID 49
debug: new CAT version=2
debug:     - desc 09 ca sysid=0x500 pid=55
debug:     - desc 09 ca sysid=0x500 pid=49
debug: end CAT


remove the 80,92,130 from the dvb.conf
debug: end PAT
debug: setting filter on PID 939
debug: setting filter on PID 938
debug: new PMT program=930 version=1 pcrpid=939
debug:   * ES pid=939 streamtype=0x02 streamtype_txt="13818-2 video (MPEG-2)"
debug:     - desc 09 ca sysid=0x500 pid=80
debug:     - desc 09 ca sysid=0x500 pid=92
debug:     - desc 09 ca sysid=0x500 pid=130
debug:   * ES pid=938 streamtype=0x03 streamtype_txt="11172-3 audio (MPEG-1)"
debug:     - desc 0a audio_language language=swe audiotype=0 audiotyype_txt="undefined"
debug:     - desc 09 ca sysid=0x500 pid=80
debug:     - desc 09 ca sysid=0x500 pid=92
debug:     - desc 09 ca sysid=0x500 pid=130
debug: end PMT
debug: setting filter on PID 55
debug: setting filter on PID 49
debug: new CAT version=2
debug:     - desc 09 ca sysid=0x500 pid=55
debug:     - desc 09 ca sysid=0x500 pid=49
debug: end CAT


Why would adding the CA pids cause the Audio/Video pids to be removed

joolz




>________________________________
> From: Doychin Dokov <dokov at silistra.tv>
>To: JULIAN GARDNER <joolzg at btinternet.com> 
>Cc: Mailing list for DVBlast developers <dvblast-devel at videolan.org> 
>Sent: Tuesday, 24 January 2012, 15:27
>Subject: Re: [dvblast-devel] tsdecrypt
> 
>
>You are correct. The CA descriptors are there, but it does not automatically include the ECM PIDs from the PMT. I guess this is another bug, though.
>
>
>2012/1/24 JULIAN GARDNER <joolzg at btinternet.com>
>
>Ive just checked the stream in TSreader and i can see the CAT and PMT are ok, as in the CA Desciptor is present.
>>
>>
>>Whats missing are the pids from the PMT
>>
>>
>>debug: setting filter on PID 939
>>debug: setting filter on PID 938
>>debug: new PMT program=930 version=1 pcrpid=939
>>debug:   * ES pid=939 streamtype=0x02 streamtype_txt="13818-2 video (MPEG-2)"
>>debug:     - desc 09 ca sysid=0x500 pid=80
>>debug:     - desc 09 ca sysid=0x500 pid=92
>>debug:     - desc 09 ca sysid=0x500 pid=130
>>debug:   * ES pid=938 streamtype=0x03 streamtype_txt="11172-3 audio (MPEG-1)"
>>debug:     - desc 0a audio_language language=swe audiotype=0
 audiotype_txt="undefined"
>>debug:     - desc 09 ca sysid=0x500 pid=80
>>debug:     - desc 09 ca sysid=0x500 pid=92
>>debug:     - desc 09 ca sysid=0x500 pid=130
>>debug: end PMT
>>debug: setting filter on PID 55
>>debug: setting filter on PID 49
>>debug: new CAT version=2
>>debug:     - desc 09 ca sysid=0x500 pid=55
>>debug:     - desc 09 ca sysid=0x500 pid=49
>>debug: end CAT
>>
>>
>>
>>Now the pids 80, 92 and 130 are needed, but as seen in the log they are not in the output stream
>>
>>
>>If i add these to the dvb.conf it works
>>
>>
>>joolz
>>
>>
>>
>>>________________________________
>>> From: Doychin Dokov <dokov at silistra.tv>
>>>To: JULIAN GARDNER <joolzg at btinternet.com>; Mailing list for DVBlast developers <dvblast-devel at videolan.org> 
>>>Sent: Tuesday, 24 January 2012, 15:08
>>>Subject: Re: [dvblast-devel] tsdecrypt
>>> 
>>>
>>>
>>>Well, please use something like TSreader to confirm the output.
>>>
>>>
>>>Make sure also that you have git pulled the changes, make clean, make, make install, and then restart the dvblast process.
>>>
>>>
>>>For sure it's working nice now here. Please also try to specify manually the ECM PID to tsdecrypt with -X xxxx
>>>
>>>
>>>2012/1/24 JULIAN GARDNER <joolzg at btinternet.com>
>>>
>>>tried and no difference, if i look at the output of dvblast "-x text" i see the pmt decoded and the 3 pids needed for each audio/video, but these are not added into the system, the CAT pids are only added when the -W command is on the command like
>>>>
>>>>
>>>>joolz
>>>>
>>>>
>>>>>________________________________
>>>>> From: Doychin Dokov <dokov at silistra.tv>
>>>>>To: Mailing list for DVBlast developers <dvblast-devel at videolan.org> 
>>>>>Sent: Tuesday, 24 January 2012, 15:01
>>>>>Subject: [dvblast-devel]  tsdecrypt
>>>>> 
>>>>>
>>>>>
>>>>>
>>>>>Try also -C -Y, though I think -Y implies -C.
>>>>>
>>>>>
>>>>>The "ENABLE" part of the config is actually "ALWAYS ON". If 1, this makes dvblast restart the CI module (if present) if the service fails to decrypt.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>2012/1/24 JULIAN GARDNER <joolzg at btinternet.com>
>>>>>
>>>>>OK tried and nothing, i always thought the format of the conf file was
>>>>>>
>>>>>>
>>>>>>ip ENABLE sid
>>>>>>
>>>>>>
>>>>>>
>>>>>>I have tried your idea and again no decode, tsdecrypt does not show any ecm/emm coming in
>>>>>>
>>>>>>
>>>>>>
>>>>>>joolz
>>>>>>
>>>>>>
>>>>>>
>>>>>>>________________________________
>>>>>>> From: Doychin Dokov <dokov at silistra.tv>
>>>>>>>To: JULIAN GARDNER <joolzg at btinternet.com>; Mailing list for DVBlast developers <dvblast-devel at videolan.org> 
>>>>>>>Sent: Tuesday, 24 January 2012, 14:53
>>>>>>>Subject: Re: [dvblast-devel] tsdecrypt
>>>>>>> 
>>>>>>>
>>>>>>>
>>>>>>>You don't need -M 930 in your tsdecrypt command line as well, since you are feeding a single service to it.
>>>>>>>
>>>>>>>
>>>>>>>2012/1/24 JULIAN GARDNER <joolzg at btinternet.com>
>>>>>>>
>>>>>>>just did a pull for your changes
>>>>>>>>
>>>>>>>>
>>>>>>>>dvb.conf contains
>>>>>>>>224.10.0.3:1234/udp 1 930
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>Test cases
>>>>>>>>dvblast -f x -s y -c dvb.conf                 NOT WORKINGdvblast -f x ls y -c dvb.conf -Y            NOT WORKING 
>>>>>>>>dvblast -f x ls y -c dvb.conf -Y -W      NOT WORKING
>>>>>>>>dvblast -f x ls y -c dvb.conf -W           NOT WORKING
>>>>>>>>
>>>>>>>> All the above cases dont seem to add int the CA pids from the PMT
>>>>>>>>
>>>>>>>>224.10.0.3:1234/udp 1 930 1,49,55,80,92,130,938,939
>>>>>>>>
>>>>>>>>if i add these missing pids, even the audio video pids, to the dvb.conf file it works, no -Y or  -W needed.
>>>>>>>>
>>>>>>>>am i doing something wrong? i have -M 930 in my tsdecrypt command line as well
>>>>>>>>
>>>>>>>>
>>>>>>>>joolz
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>________________________________
>>>>>>>>> From: Georgi Chorbadzhiyski <gf at unixsol.org>
>>>>>>>>>To: Mailing list for DVBlast developers <dvblast-devel at videolan.org> 
>>>>>>>>>Cc: JULIAN GARDNER <joolzg at btinternet.com> 
>>>>>>>>>Sent: Tuesday, 24 January 2012, 14:33
>>>>>>>>>Subject: Re: [dvblast-devel] tsdecrypt
>>>>>>>>> 
>>>>>>>>>Around 01/24/2012 03:18 PM, Georgi Chorbadzhiyski scribbled:
>>>>>>>>>> Around 01/24/2012 03:16 PM, JULIAN GARDNER scribbled:
>>>>>>>>>>> with -Y -W no change
>>>>>>>>>> 
>>>>>>>>>> If you remove the whole line:
>>>>>>>>>> 
>>>>>>>>>> if ( b_enable_ecm && i_tag == 0x9 ) continue;
>>>>>>>>>> 
>>>>>>>>>> does it work?
>>>>>>>>>
>>>>>>>>>Ok, I think you were not applying the test patch. Without the patch
>>>>>>>>>CA descriptors were missing, with the patch CA descriptors are in PMT.
>>>>>>>>>I pushed the commit to dvblast repo so you can update it.
>>>>>>>>>
>>>>>>>>>I have tested using:
>>>>>>>>>
>>>>>>>>>./dvblast \
>>>>>>>>>    --ecm-passthrough \
>>>>>>>>>    --emm-passthrough \
>>>>>>>>>    --epg-passthrough \
>>>>>>>>>    --udp \
>>>>>>>>>    --rtp-input 239.78.78.1:5000/udp \
>>>>>>>>>    --config-file
 dvblast.conf
>>>>>>>>>
>>>>>>>>>in dvblast.conf I have one service only:
>>>>>>>>>
>>>>>>>>>239.78.78.2:5000/udp    1   1815
>>>>>>>>>
>>>>>>>>>this service is encrypted, and with the patch CA descriptors in PMT
>>>>>>>>>are there so tsdecrypt works.
>>>>>>>>>
>>>>>>>>>-- 
>>>>>>>>>Georgi Chorbadzhiyski
>>>>>>>>>http://georgi.unixsol.org/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>_______________________________________________
>>>>>>>>dvblast-devel mailing list
>>>>>>>>dvblast-devel at videolan.org
>>>>>>>>http://mailman.videolan.org/listinfo/dvblast-devel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>dvblast-devel mailing list
>>>>>dvblast-devel at videolan.org
>>>>>http://mailman.videolan.org/listinfo/dvblast-devel
>>>>>
>>>>>
>>>>>
>>>>_______________________________________________
>>>>dvblast-devel mailing list
>>>>dvblast-devel at videolan.org
>>>>http://mailman.videolan.org/listinfo/dvblast-devel
>>>>
>>>>
>>>
>>>
>>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/dvblast-devel/attachments/20120124/cd870457/attachment-0001.html>


More information about the dvblast-devel mailing list