RTSP Stream, audio and video not synchronized
Posted: 29 Mar 2009 11:32
Hy
I'm serving an rtsp-stream from my vlc-player:
On the client-side I've a java jVLC-client or a vlc-client which takes and controls the stream:
When I click on pause, after a second or two the video and the audio stops. All fine (one or two seconds delay is no problem). But when I click on start after pausing the stream, the audio begins before the video is shown. So every time it needs five or six seconds to get synchronized again (audio and video)...
What's the problem? Are there any options which I could add to the vlc rtsp-stream to avoid that?
Thanks for your help.
Peter
I'm serving an rtsp-stream from my vlc-player:
Code: Select all
Server:
cvlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host localhost:5554
Telnet:
telnet localhost 4212
new vod_test vod enabled input /home/videos/movie.mpg
Code: Select all
Client:
vlc rtsp://localhost:5554/vod_test
What's the problem? Are there any options which I could add to the vlc rtsp-stream to avoid that?
Thanks for your help.
Peter