how to reduce rtsp stream lag ?

This forum is about all development around libVLC.
mighty_scoop
New Cone
New Cone
Posts: 5
Joined: 10 Feb 2010 16:10

how to reduce rtsp stream lag ?

Postby mighty_scoop » 16 Feb 2010 10:00

Hi together,

yesterday i implemented libvcl to encode and display a rtsp ip camera stream (either mpeg4 or mjpeg). Unfortunately i noticed a significant lag (1-2 sec) which makes the stream for my purposes useless.
Does anybody know why there is a lag (the original cam software shows the live stream without lag) and how to reduce or eliminate it ? Oh btw. i'm using vmem.
Thx in advance

mighty_scoop

mighty_scoop
New Cone
New Cone
Posts: 5
Joined: 10 Feb 2010 16:10

Re: how to reduce rtsp stream lag ?

Postby mighty_scoop » 16 Feb 2010 15:55

Hi together,

i manged to solve this problem. I had to change the rtsp-caching value in the vlcrc file to a lower number (200 works very well) are use the --rtsp-caching option.

Greetings


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests