Page 1 of 1

Dirty Live Video Settings

Posted: 15 Mar 2013 14:18
by Xagour
Hello,

I'm trying to use VLC to decode and display a video stream from an RTSP-server over a very low bandwidth connection. Doing so VLC manages to establish the RTP stream but after a short time the video freezes and stops, while the following errors are thrown:

main warning: picture is too late to be displayed (missing 2252 ms)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
live555 warning: no data received in 10s, eof ?

These errors disappears when one increases "network-caching" to ~20 s (for obvious reasons). But since this is a live video stream, latency is an issue and increasing network-caching is undesirable.

I have however no need for fancy stuff like smooth playback and audio sync. A quick and dirty solution where the latest decoded frame is displayed is more than sufficient for me. I know for a fact that this reduces latency using Gstreamer. So I'm looking for a way to do it in VLC wrapped in vlcj. Is it possible to do using setting flags in VLC or do I have to modify the source?

Regards