[Live-devel] Video Delay in Live Video Streaming

Abhishek Madaan abmadaan at yahoo.com
Wed Jul 18 20:37:45 PDT 2012


Hi Ross Finlayson, 
                                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:

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).


I am adding 0001 with every frame. What you have done in the H264FileSink, basically I am doing in dummysink class of testRTSp. Thanks

Regards,
Abhishek Madaan 


________________________________
 From: Ross Finlayson <finlayson at live555.com>
To: LIVE555 Streaming Media - development & use <live-devel at ns.live555.com> 
Sent: Wednesday, July 18, 2012 8:44 PM
Subject: Re: [Live-devel] Video Delay in Live Video Streaming
 

First, you should instead consider using the existing (open source) VLC media player <http://www.videolan.org/vlc/>, which also uses our libraries for its RTSP client implementation.

The increasing delay that you are seeing is unlikely to be due to a problem with our libraries.

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.

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).


But in any case, because you are a casual hobbyist, I suggest just using VLC.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/ 

_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120718/d648432c/attachment-0001.html>


More information about the live-devel mailing list