Russell,<br><br><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I get the following errors while playing the RTP stream via VLC...
<br>libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 5) for PID 0<br>libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 5) for PID 66
<br><br>But I think this discontinuity occurs due to my video restarting at the beginning.&nbsp; I get no errors or warnings other than those, either playing my file or playing the RTP stream.&nbsp; While the video is frozen, I can see that RTP packets are being sent.&nbsp; Whether it is the fault of VLC that the video is freezing or if the RTP packets are malformed is beyond me.&nbsp; Is there a way that I can check the RTP packets to verify that their structure and header info is correct?&nbsp; Thanks,
<br><br></blockquote></div><br>Were you able to play the TS file in VLC as &quot;file input&quot;? If the file played correctly, then the problem is probably in the way they&#39;re streamed back out. If the file doesn&#39;t play correctly, then the problem could be with the way they&#39;re captured and written. 
<br><br>You can try capturing the RTP stream using Wireshark (formerly Ethereal) and see if you can spot out any problems. Wireshark can help you analyze the RTP stream for missing packets, incorrect timestamps and bit-rates. The bit-rate analysis (Statistics-&gt;IO Graph) can help you identify  any issues due to excessive/bursty transmission. It may be worthwhile to run a similar test on a working / non-working stream to identify any particular issues due to streaming.
<br><br><br>Cheers<br>Shishir<br><br>PS: Sometimes, you may have do a RightClick on a UDP packet and choose DecodeAs-&gt;RTP&nbsp; for it to identify packets as RTP.<br><br><br>