Page 1 of 1

vidoe audio off sync -- playablity problems

Posted: 10 Feb 2004 05:32
by sash
Hi there
I was wondering is if there is any way to correct this problem that vlc 7.0 has with mpegs (ts or ps)if the video and audio flags are out of sync. as the flags become more and more out of sync the file becomes more and more unplayable. to about .25 sec the file is "playable " after this it will start to drop frames untill the video is unplayable. then either all you will see is blank video with audio . or just a blank video and audio.

I see this effects the playablity of DVDS. seems to be a form of copy potections on some DVDs. also the playablities of DVB streams. if the audio is not very close in sync with the video then it just drops every thing until the stream corrects itself.. could perhap vlc have a larger buffer for video and audio streams ( or is there a setting where one could define the buffer size)

that you for your time

Posted: 11 Feb 2004 23:42
by The DJ
This is correct.
VLC has a 300ms buffer. Since VLC is very very depandent on the timing information of streams, it shows this behaviour. Most players don't much care for this information since they sync on the decoded audio stream / audiocard.

This is a very good technique for streaming. However for somewhat borked files it bails out pretty quickly (something you want with streaming, so you can resync and get on with it).

VLC's structure is slowly changing to take into account the fact wether something is being streamed or played locally. Then we will be able to fix this. However this is a slow process and not nearly finished.