<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>And another bug</span></div><div>dvb.conv with missing CA pids<br></div><div>227.19.3.102:1234/udp 1 930 80,92,130<br><br></div><div><span>Use this and the 938 and 939 pid disappear, -W is needed to get the CA to be added</span></div><div><br><span></span></div><div><span>with -Y -W</span></div><div><span>debug: end PAT<br>debug: new PMT program=930 version=1 pcrpid=939<br>debug:   * ES pid=939 streamtype=0x02 streamtype_txt="13818-2 video (MPEG-2)"<br>debug:     - desc 09 ca sysid=0x500 pid=80<br>debug:     - desc 09 ca sysid=0x500 pid=92<br>debug:     - desc 09 ca sysid=0x500 pid=130<br>debug:   * ES pid=938 streamtype=0x03 streamtype_txt="11172-3 audio (MPEG-1)"<br>debug:     - desc 0a audio_language language=swe
 audiotype=0 audiotype_txt="undefined"<br>debug:     - desc 09 ca sysid=0x500 pid=80<br>debug:     - desc 09 ca sysid=0x500 pid=92<br>debug:     - desc 09 ca sysid=0x500 pid=130<br>debug: end PMT<br>debug: setting filter on PID 55<br>debug: setting filter on PID 49<br>debug: new CAT version=2<br>debug:     - desc 09 ca sysid=0x500 pid=55<br>debug:     - desc 09 ca sysid=0x500 pid=49<br>debug: end CAT<br></span></div><div><br><span></span></div><div><span>remove the 80,92,130 from the dvb.conf</span></div><div><span>debug: end PAT<br>debug: setting filter on PID 939<br>debug: setting filter on PID 938<br>debug: new PMT program=930 version=1 pcrpid=939<br>debug:   * ES pid=939 streamtype=0x02 streamtype_txt="13818-2 video (MPEG-2)"<br>debug:     - desc 09 ca sysid=0x500 pid=80<br>debug:     - desc 09 ca
 sysid=0x500 pid=92<br>debug:     - desc 09 ca sysid=0x500 pid=130<br>debug:   * ES pid=938 streamtype=0x03 streamtype_txt="11172-3 audio (MPEG-1)"<br>debug:     - desc 0a audio_language language=swe audiotype=0 audiotyype_txt="undefined"<br>debug:     - desc 09 ca sysid=0x500 pid=80<br>debug:     - desc 09 ca sysid=0x500 pid=92<br>debug:     - desc 09 ca sysid=0x500 pid=130<br>debug: end PMT<br>debug: setting filter on PID 55<br>debug: setting filter on PID 49<br>debug: new CAT version=2<br>debug:     - desc 09 ca sysid=0x500 pid=55<br>debug:     - desc 09 ca sysid=0x500 pid=49<br>debug: end CAT<br></span></div><div><span><br></span></div><div><span>Why would adding the CA pids cause the Audio/Video pids to be removed</span></div><div><br><span></span></div><div><span>joolz</span></div><div><br><blockquote
 style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Doychin Dokov <dokov@silistra.tv><br> <b><span style="font-weight: bold;">To:</span></b> JULIAN GARDNER <joolzg@btinternet.com> <br><b><span style="font-weight: bold;">Cc:</span></b> Mailing list for DVBlast developers <dvblast-devel@videolan.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 24 January 2012, 15:27<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [dvblast-devel] tsdecrypt<br> </font> </div> <br><div id="yiv1282420186">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.<br><br><div class="yiv1282420186gmail_quote">2012/1/24 JULIAN GARDNER <span dir="ltr"><<a rel="nofollow" ymailto="mailto:joolzg@btinternet.com" target="_blank" href="mailto:joolzg@btinternet.com">joolzg@btinternet.com</a>></span><br>
<blockquote class="yiv1282420186gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div>Ive just checked the stream in TSreader and i can see the CAT and PMT are ok, as in the CA Desciptor is present.</div>
<div><br></div><div>Whats missing are the pids from the PMT</div><div><br></div><div>debug: setting filter on PID 939<br>debug: setting filter on PID 938<br>debug: new PMT program=930 version=1 pcrpid=939<br>debug:   * ES pid=939 streamtype=0x02 streamtype_txt="13818-2 video (MPEG-2)"<br>
debug:     - desc 09 ca sysid=0x500 pid=80<br>debug:     - desc 09 ca sysid=0x500 pid=92<br>debug:     - desc 09 ca sysid=0x500 pid=130<br>debug:   * ES pid=938 streamtype=0x03 streamtype_txt="11172-3 audio (MPEG-1)"<br>
debug:     - desc 0a audio_language language=swe audiotype=0
 audiotype_txt="undefined"<br>debug:     - desc 09 ca sysid=0x500 pid=80<br>debug:     - desc 09 ca sysid=0x500 pid=92<br>debug:     - desc 09 ca sysid=0x500 pid=130<br>debug: end PMT<br>debug: setting filter on PID 55<br>
debug: setting filter on PID 49<br>debug: new CAT version=2<br>debug:     - desc 09 ca sysid=0x500 pid=55<br>debug:     - desc 09 ca sysid=0x500 pid=49<br>debug: end CAT<br></div><div><br></div><div>Now the pids 80, 92 and 130 are needed, but as seen in the log they are not in the output stream</div>
<div><br></div><div>If i add these to the dvb.conf it works</div><div><br></div><div>joolz</div><div><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;">
 <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial"><div class="yiv1282420186im"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Doychin Dokov <<a rel="nofollow" ymailto="mailto:dokov@silistra.tv" target="_blank" href="mailto:dokov@silistra.tv">dokov@silistra.tv</a>><br>
 <b><span style="font-weight:bold;">To:</span></b> JULIAN GARDNER <<a rel="nofollow" ymailto="mailto:joolzg@btinternet.com" target="_blank" href="mailto:joolzg@btinternet.com">joolzg@btinternet.com</a>>; Mailing list for DVBlast developers <<a rel="nofollow" ymailto="mailto:dvblast-devel@videolan.org" target="_blank" href="mailto:dvblast-devel@videolan.org">dvblast-devel@videolan.org</a>> <br>
 </div><b><span style="font-weight:bold;">Sent:</span></b> Tuesday, 24 January 2012, 15:08<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [dvblast-devel] tsdecrypt<br> </font> </div><div><div class="yiv1282420186h5"> <br>
<div>Well, please use something like TSreader to confirm the output.<div><br></div><div>Make sure also that you have git pulled the changes, make clean, make, make install, and then restart the dvblast process.</div><div>
<br></div>
<div>For sure it's working nice now here. Please also try to specify manually the ECM PID to tsdecrypt with -X xxxx</div><div><br><div>2012/1/24 JULIAN GARDNER <span dir="ltr"><<a rel="nofollow" ymailto="mailto:joolzg@btinternet.com" target="_blank" href="mailto:joolzg@btinternet.com">joolzg@btinternet.com</a>></span><br>

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div><span>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</span></div>

<div><span><br></span></div><div><span>joolz</span></div><br><div><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;">

 <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial"><div> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Doychin Dokov <<a rel="nofollow" ymailto="mailto:dokov@silistra.tv" target="_blank" href="mailto:dokov@silistra.tv">dokov@silistra.tv</a>><br>

 </div><b><span style="font-weight:bold;">To:</span></b> Mailing
 list for DVBlast developers <<a rel="nofollow" ymailto="mailto:dvblast-devel@videolan.org" target="_blank" href="mailto:dvblast-devel@videolan.org">dvblast-devel@videolan.org</a>> <br> <b><span style="font-weight:bold;">Sent:</span></b> Tuesday, 24 January 2012, 15:01<br>
 <b><span style="font-weight:bold;">Subject:</span></b> [dvblast-devel]  tsdecrypt<br>
 </font> </div><div><div> <br><div><div><br>Try also -C -Y, though I think -Y implies -C.<div><br></div><div>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.</div>


<div><div>
<div><br></div><div><br><div>2012/1/24 JULIAN GARDNER <span dir="ltr"><<a rel="nofollow" ymailto="mailto:joolzg@btinternet.com" target="_blank" href="mailto:joolzg@btinternet.com">joolzg@btinternet.com</a>></span><br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



<div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div><span>OK tried and nothing, i always thought the format of the conf file was</span></div><div><span><br></span></div><div><span>ip ENABLE sid<br>



</span></div><div><br></div><div>I have tried your idea and again no decode, tsdecrypt does not show any ecm/emm coming in<br></div><div><br></div><div>joolz</div><div><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">



  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Doychin Dokov <<a rel="nofollow" ymailto="mailto:dokov@silistra.tv" target="_blank" href="mailto:dokov@silistra.tv">dokov@silistra.tv</a>><br>



 <b><span style="font-weight:bold;">To:</span></b> JULIAN GARDNER
 <<a rel="nofollow" ymailto="mailto:joolzg@btinternet.com" target="_blank" href="mailto:joolzg@btinternet.com">joolzg@btinternet.com</a>>; Mailing list for DVBlast developers <<a rel="nofollow" ymailto="mailto:dvblast-devel@videolan.org" target="_blank" href="mailto:dvblast-devel@videolan.org">dvblast-devel@videolan.org</a>> <br>



 <b><span style="font-weight:bold;">Sent:</span></b> Tuesday, 24 January 2012, 14:53<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [dvblast-devel] tsdecrypt<br> </font> </div><div><div> <br><div>
You don't need -M 930 in your tsdecrypt command line as well, since you are feeding a single service to it.<br><br><div>2012/1/24 JULIAN GARDNER <span dir="ltr"><<a rel="nofollow" ymailto="mailto:joolzg@btinternet.com" target="_blank" href="mailto:joolzg@btinternet.com">joolzg@btinternet.com</a>></span><br>




<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div><span>just did a pull for your changes</span></div>




<div><br><span></span></div><div>dvb.conf contains</div><div><a rel="nofollow" target="_blank"  href="http://224.10.0.3:1234/udp">224.10.0.3:1234/udp</a> 1 930<br>
</div><div><span><br></span></div><div><span>Test cases</span></div><div>dvblast -f x -s y -c dvb.conf                 NOT WORKING</div>dvblast -f x ls y -c dvb.conf -Y            NOT WORKING
<div>dvblast -f x ls y -c dvb.conf -Y -W      NOT WORKING</div><div>dvblast -f x ls y -c dvb.conf -W           NOT WORKING</div>
<div><br>
</div><div>
</div><div>
</div>
  <span></span>
All the above cases dont seem to add int the CA pids from the PMT<br><div><a rel="nofollow" target="_blank"  href="http://224.10.0.3:1234/udp">224.10.0.3:1234/udp</a> 1 930 1,49,55,80,92,130,938,939<br>

</div>

<br>if i add these missing pids, even the audio video pids, to the dvb.conf file it works, no -Y or  -W needed.<br><br>am i doing something wrong? i have -M 930 in my tsdecrypt command line as well<br><br><br>joolz<br><br>




<br><br><br><div><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;">




 <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Georgi Chorbadzhiyski <<a rel="nofollow" ymailto="mailto:gf@unixsol.org" target="_blank" href="mailto:gf@unixsol.org">gf@unixsol.org</a>><br> <b><span style="font-weight:bold;">To:</span></b> Mailing list for DVBlast developers <<a rel="nofollow" ymailto="mailto:dvblast-devel@videolan.org" target="_blank" href="mailto:dvblast-devel@videolan.org">dvblast-devel@videolan.org</a>> <br>




<b><span style="font-weight:bold;">Cc:</span></b> JULIAN GARDNER <<a rel="nofollow" ymailto="mailto:joolzg@btinternet.com" target="_blank" href="mailto:joolzg@btinternet.com">joolzg@btinternet.com</a>> <br> <b><span style="font-weight:bold;">Sent:</span></b> Tuesday, 24 January 2012, 14:33<br>




 <b><span style="font-weight:bold;">Subject:</span></b> Re: [dvblast-devel] tsdecrypt<br> </font> </div> <br>Around 01/24/2012 03:18 PM, Georgi Chorbadzhiyski scribbled:<br>> Around 01/24/2012 03:16 PM, JULIAN GARDNER scribbled:<br>




>> with -Y -W no change<br>> <br>> If you remove the whole line:<br>> <br>> if ( b_enable_ecm && i_tag == 0x9 ) continue;<br>> <br>> does it work?<br><br>Ok, I think you were not applying the test patch. Without the patch<br>




CA descriptors were missing, with the patch CA descriptors are in PMT.<br>I pushed the commit to dvblast repo so you can update it.<br><br>I have tested using:<br><br>./dvblast \<br>    --ecm-passthrough \<br>    --emm-passthrough \<br>




    --epg-passthrough \<br>    --udp \<br>    --rtp-input <a rel="nofollow" target="_blank"  href="http://239.78.78.1:5000/udp">239.78.78.1:5000/udp</a> \<br>    --config-file
 dvblast.conf<br><br>in dvblast.conf I have one service only:<br><br><a rel="nofollow" target="_blank"  href="http://239.78.78.2:5000/udp">239.78.78.2:5000/udp</a>    1   1815<br><br>this service is encrypted, and with the patch CA descriptors in PMT<br>




are there so tsdecrypt works.<span><font color="#888888"><br><br>-- <br>Georgi Chorbadzhiyski<br><a rel="nofollow" target="_blank" href="http://georgi.unixsol.org/">http://georgi.unixsol.org/</a><br><br><br> </font></span></div>




 </div> </blockquote></div>   </div></div><br>_______________________________________________<br>
dvblast-devel mailing list<br>
<a rel="nofollow" ymailto="mailto:dvblast-devel@videolan.org" target="_blank" href="mailto:dvblast-devel@videolan.org">dvblast-devel@videolan.org</a><br>
<a rel="nofollow" target="_blank" href="http://mailman.videolan.org/listinfo/dvblast-devel">http://mailman.videolan.org/listinfo/dvblast-devel</a><br>
<br></blockquote></div><br>
</div><br><br> </div></div></div> </div> </blockquote></div>   </div></div></blockquote></div><br></div>
</div></div></div><br>
</div><br>_______________________________________________<br>dvblast-devel mailing list<br><a rel="nofollow" ymailto="mailto:dvblast-devel@videolan.org" target="_blank" href="mailto:dvblast-devel@videolan.org">dvblast-devel@videolan.org</a><br><a rel="nofollow" target="_blank" href="http://mailman.videolan.org/listinfo/dvblast-devel">http://mailman.videolan.org/listinfo/dvblast-devel</a><br>

<br><br> </div></div></div> </div> </blockquote></div>   </div></div><br>_______________________________________________<br>
dvblast-devel mailing list<br>
<a rel="nofollow" ymailto="mailto:dvblast-devel@videolan.org" target="_blank" href="mailto:dvblast-devel@videolan.org">dvblast-devel@videolan.org</a><br>
<a rel="nofollow" target="_blank" href="http://mailman.videolan.org/listinfo/dvblast-devel">http://mailman.videolan.org/listinfo/dvblast-devel</a><br>
<br></blockquote></div><br></div>
</div><br><br> </div></div></div> </div> </blockquote></div>   </div></div></blockquote></div><br>
</div><br><br> </div> </div> </blockquote></div>   </div></body></html>