<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Ross Finlayson, </span></div><div><span> Thanks for the reply. I didn't say that delay is happening due to a problem with your libraries. I don't have experience with your library and I am still learning. I can play the camera in VLC player and it runs fine. Although i have to make the caching 200ms in VLC player as well for it to have no delay. I am running windows and not easy to import VLC player code in Visual Studio. Also I don't want to copy VLC code either. Could you please explain on the following part which you mentioned in the last email:</span></div><div><span><br></span></div><div><span>Another possibility is that you are not using the 'presentation times' for each received video frame (in
this case, H.264 'NAL units') correctly. Each frame's "presentation time" tells you the relative time at which each frame should be displayed (after decoding).<br></span></div><div><br></div><div>I am adding 0001 with every frame. What you have done in the H264FileSink, basically I am doing in dummysink class of testRTSp. Thanks</div><div><br></div><div>Regards,</div><div>Abhishek Madaan </div><div><br></div> <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> Ross Finlayson <finlayson@live555.com><br> <b><span style="font-weight: bold;">To:</span></b> LIVE555 Streaming Media - development & use <live-devel@ns.live555.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday,
July 18, 2012 8:44 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Live-devel] Video Delay in Live Video Streaming<br> </font> </div> <br>
<div id="yiv1995014650"><div>First, you should instead consider using the existing (open source) VLC media player <<a rel="nofollow" target="_blank" href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/</a>>, which also uses our libraries for its RTSP client implementation.<div><br></div><div>The increasing delay that you are seeing is unlikely to be due to a problem with our libraries.</div><div><br></div><div>One possible cause is that your computer doesn't have enough CPU power to handle the video decoding and rendering (as well as the RTSP/RTP reception, which has relatively little overhead). One way to test this hypothesis is to try running VLC instead.</div><div><br></div><div>Another possibility is that you are not using the 'presentation times' for each received video frame (in this case, H.264 'NAL units') correctly. Each frame's "presentation time" tells you the relative time at which each frame should be displayed
(after decoding).<br></div><div><br></div><div>But in any case, because you are a casual hobbyist, I suggest just using VLC.</div><br><br><div>
<span class="yiv1995014650Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; "><span class="yiv1995014650Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br>http://www.live555.com/</span></span>
</div>
<br></div></div><br>_______________________________________________<br>live-devel mailing list<br><a ymailto="mailto:live-devel@lists.live555.com" href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br><br><br> </div> </div> </div></body></html>