Hi forum!
I am using VLC for a project where I receive an RTSP stream from a network video encoder connected to a video camera. There is a delay from reality and what shows on the video feed, which I am aware can be configured using the RTSP caching value. (I have read the numerous posts on this forum regarding the cache factor and video performance). The strange thing is I have reduced the cache factor such that a 720 x 576 video feed playing at 25 fps appears live. However, if I configure the IP camera to encode at 3 FPS the video feed in VLC is clearly delayed by about half a second. The network IP manufacturer provides a browser interface which displays the video (which tunnels RTSP over HTTP) live at 3 FPS.
I am wondering if during decoding VLC holds an entire frame or two behind, such that for 25 FPS, the lag is not discernible, but for 3 FPS, a 2 frame lag would equate to about 0.666 seconds delay which is roughly what I observe. With this in mind, I don't think the delay has anything to do with the RTSP caching, but rather with another parameter or the decoding process.
If anyone can point me to suitable information/parameters I should investigate, or totally tear my argument up whilst shedding light to my misunderstandings, I would be incredibly grateful.
Kind regards,
Voc.