Discussion:
[vlc] Video delay grows over time
David R Robison
2013-09-09 19:09:15 UTC
Permalink
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
--
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



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.
David R Robison
2013-09-12 00:54:15 UTC
Permalink
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
Post by David R Robison
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.
Continue reading on narkive:
Loading...