[vlc] Video delay grows over time

David R Robison drrobison at openroadsconsulting.com
Thu Sep 12 02:54:15 CEST 2013


Here is an example of the logging where the buffer grows to over 2 seconds

main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay 
increased to 381 ms)
main error: ES_OUT_RESET_PCR called
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Stream buffering done (2202 ms in 1025 ms)
main debug: End of video preroll
main debug: Received first picture
main debug: Decoder buffering done in 0 ms

So, PCR jitter kicks off a re-buffer of the stream and a re-sync of the 
clock.
4 times it records 0% buffering
then reports that 2.2 seconds was buffered in 1 second when the target 
buffer was 381ms.

Any idea what could cause this? What could cause 2s to be buffered when 
only 381ms was wanted?
Thanks, David

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobison at openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: 
http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526

On 9/9/2013 3:09 PM, David R Robison wrote:
> We are playing RTSP video with network-caching set to 200ms. However, we
> have times where the delay in the decoded picture can grow to as much as
> 4 to 8 seconds. Any idea what could be causing the delay inside of vlc?
> It almost seems like the buffering time is getting extended. Thanks, David
>



This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.
If you are not the intended recipient, please delete this email immediately.




More information about the vlc mailing list