<span class="gmail_quote"><br><br></span>
<div>
<div>Hello,</div>
<div> </div>
<div>I want to send stream video from a PC with dvbstream to another PC with vlc,</div>
<div>first I try to save the stream in a file:</div>
<div> </div>
<div>dvbstream -c 1 -f 818000 -s 22000 VideoPID AudioPID 0 -ps -o > <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://file.ps/" target="_blank">file.ps</a></div>
<div> </div>
<div>but I know that I need PMTPid, then I use decode_pat and decode_pmt to do this,</div>
<div>first I do this to save all the stream:</div>
<div> </div>
<div>
<div>dvbstream -c 1 -f 818000 -s 22000 8192 -o > file.ts</div>
<div> </div>
<div>then I run decode_pat "decode_pat file.ts > file.pat" and I obtain this: </div>
<div> </div>
<div>New PAT<br> transport_stream_id : 1008<br> version_number : 3<br> | program_number @ [NIT|PMT]_PID<br> | 0 @ 0x10 (16)<br> | 382 @ 0x3e8 (1000)<br> | 383 @ 0x5dc (1500)
<br> | 385 @ 0x7d0 (2000)<br> | 386 @ 0x7da (2010)<br> | 387 @ 0x7e4 (2020)<br> | 490 @ 0x64 (100)<br> | 491 @ 0xc8 (200)<br> active : 1<br>
</div>
<div>later I run decode_pmt "decode_pmt /home/file.ts 490 100 > file.pmt" and I obtain this: </div>
<div> </div>
<div>New active PMT<br> program_number : 490<br> version_number : 25<br> PCR_PID : 0x65 (101)<br> | type @ elementary_PID<br> | 0x02 @ 0x65 (101)<br> | ] 0x02 : "~ZH_"<br> | 0x03 @ 0x67 (103)
<br> | ] 0x0a : "cat^@"<br> | 0x03 @ 0x68 (104)<br> | ] 0x0a : "esl^@"<br> | 0x06 @ 0x66 (102)<br> | ] 0x56 : "spa <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@spa%5EP~H" target="_blank">
^@spa^P~H</a>"<br> | ] 0xc3 : "^A^ZèéêëìíîïðóôõöÈÉÊËÌÍÎÏÐÓÔÕÖ" <br> | ] 0x45 : "^A^ZèéêëìíîïðóôõöÈÉÊËÌÍÎÏÐÓÔÕÖ"<br> | 0x0b @ 0x19d (413)<br> | ] 0x14 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5EAv%5E@%5E@%5EH~@4%5E@%5E@%5E@%5ETÿ" target="_blank">
^Av^@^@^H~@4^@^@^@^Tÿ</a>^@"<br> | ] 0x52 : "v" <br> | ] 0x13 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5E@%5E@%5EW%5EAP" target="_blank">^@^@^@^W^AP</a>^@<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5EOâ%5E@%5E@%5END%5E@%5E@%5E@%5END" target="_blank">^Oâ^@^@^ND^@^@^@^ND</a> ^DSGW^@"<br> | ] 0x66 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@ð" target="_blank">
^@ð</a>"<br> | 0x05 @ 0x1b8 (440) <br> | ] 0x6f : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5EAá" target="_blank">^@^Aá</a>"<br> | 0x0b @ 0x1b9 (441)<br> | ] 0x14 : "
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5EAw%5E@%5E@%5EH~@+%5E@%5EA%5E@%5EXp" target="_blank">^Aw^@^@^H~@+^@^A^@^Xp</a>@"<br> | ] 0x52 : "w" <br> | ] 0x13 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5E@%5E@%5EY%5EA" target="_blank">
^@^@^@^Y^A</a>+^@<br><a>^Oâ^@^@^Lÿ^@^@^@^Lÿ^O^DSGW</a>^@"<br> | ] 0x66 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@ð%5E@%5EA" target="_blank">^@ð^@^A</a>" <br> | 0x05 @ 0x1ba (442)
<br> | ] 0x6f : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5EAá" target="_blank">^@^Aá</a>"<br> | 0x0b @ 0x1bb (443)<br> | ] 0x14 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5EAx%5E@%5E@%5EH~@Z%5E@%5E@%5E@%5ETÿ" target="_blank">
^Ax^@^@^H~@Z^@^@^@^Tÿ</a>^@"<br> | ] 0x52 : "x"<br> | ] 0x13 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5E@%5E@%5EV%5EAZ" target="_blank">^@^@^@^V^AZ</a>^@<br>
<a>^Oâ^@^@^^~Q^@^@^@^^~Q^R^DSGW</a>^@"<br> | ] 0x66 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@ð" target="_blank"> ^@ð</a>"<br> | 0x05 @ 0x1bc (444)<br> | ] 0x6f : "
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5EAá" target="_blank">^@^Aá</a>"<br> | 0x0b @ 0x1bd (445)<br> | ] 0x14 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5EAs%5E@%5E@%5EH~@C%5E@%5EA%5E@%5ETÿ" target="_blank">
^As^@^@^H~@C^@^A^@^Tÿ</a>^@" <br> | ] 0x52 : "s"<br> | ] 0x13 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5E@%5E@%5EU%5EAC" target="_blank">^@^@^@^U^AC</a>^@<br>
<a>^Oâ^@^@^B¬^@^@^@^B¬^C^DSGW</a>^@"<br> | ] 0x66 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@ð" target="_blank"> ^@ð</a>"<br> | 0x05 @ 0x1c0 (448)<br> | ] 0x6f : "
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5EAá" target="_blank">^@^Aá</a>"<br> | 0x05 @ 0x1c2 (450)<br> | ] 0x6f : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5EAá" target="_blank">
^@^Aá</a>"<br> | 0x0b @ 0x1c3 (451) <br> | ] 0x14 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5EAy%5E@%5E@%5EH~@6%5E@%5E@%5E@%5ETÿ" target="_blank">^Ay^@^@^H~@6^@^@^@^Tÿ</a>
^@"<br> | ] 0x52 : "y"<br> | ] 0x13 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5E@%5E@%5EZ%5EA" target="_blank">^@^@^@^Z^A</a>=^@<br><a>^Oâ^@^@^QÃ^@^@^@^QÃ^K^DSGW
</a>^@"<br> | ] 0x66 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@ð" target="_blank">^@ð</a>"<br> | 0x05 @ 0x1c4 (452)<br> | ] 0x6f : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5EAá" target="_blank">
^@^Aá</a>"<br> | 0x0b @ 0x1c5 (453)<br> | ] 0x14 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5EAt%5E@%5E@%5EH~@-%5E@%5EA%5E@%5ETÿ" target="_blank">^At^@^@^H~@-^@^A^@^Tÿ</a>^@"
<br> | ] 0x52 : "t"<br> | ] 0x13 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@%5E@%5E@%5E[%5EAQ" target="_blank">^@^@^@^[^AQ</a>^@<br><a>^Oâ^@^@^Kã^@^@^@^Kã^G^DSGW</a>
^@"<br> | ] 0x66 : "<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:%5E@ð" target="_blank">^@ð</a>"<br> | 0x80 @ 0x1c6 (454)<br> | 0x80 @ 0x1c7 (455)<br> </div>
<div>With this data which parameters I should use to send videoPID 101 (The program that I want) to the client with dvbstream? which is the PMTPid that I need?</div>
<div>(first I want to probe to save to a file and then play the file with vlc)</div>
<div> </div>
<div>Thanks,</div></div></div>