Strong delay VLC video stream versus WebGUI
Hello dear people,
can anyone tell me why I have delays of up to 10 seconds with a video stream displayed via VLC (1280x720, 100ms buffer) compared to the video in the RS WebGUI?
I have already tried a few things, even set a very high priority for this stream in the router (CAT7 / GS748Tv3).
But that hasn't changed anything...
Is this system-related? Is there any way to significantly improve this?
can anyone tell me why I have delays of up to 10 seconds with a video stream displayed via VLC (1280x720, 100ms buffer) compared to the video in the RS WebGUI?
I have already tried a few things, even set a very high priority for this stream in the router (CAT7 / GS748Tv3).
But that hasn't changed anything...
Is this system-related? Is there any way to significantly improve this?
Comments
With VLC you do it differently I think. Are you connecting to mjpg_streamer directly? Then you get the full mjpg and when network gets slow these get delivered with delay since they get buffered on mjpg_streamer side for receiving.
What FPS are you using? MJPG is not best compressed format so can be quite high in bandwidth and when it runs on pi over wifi this is a frequent problem. Main reason why we switched to our solution dropping frames when needed to have not so much delay.
The frame rate is currently at 15FPS at 1280x720
If I understand correctly, what is displayed in the GUI is not what is sent to the network via the streamer?
You bypass server and query streamer (port 8080 or similar I guess). If you go over web proxy that could also add a delay and buffer. When I looked in mjpg_streamer I saw no real buffer so not sure if it buffers frames or also skips when reader is to slow, but over a proxy that can queue data.