I am trying to encode videos from avi to mpeg1 (VCD) with the mencvcd script but I have sync problems. I found out that there is an option in mplex (-O) through which I can set the desired delay. I managed to do it by hand but I wonder if there is a way to get the exact value to pass to mplex by examining mplayer's output or similar. Thanks.