I have cut out bad frames many times with virtual dub, saved as avi (ds/ds) and then converted to svcd. This Xvid that I have is not co-operating. After I have cut out the bad frames and saved as avi, the new xvid avi has terminal audio sync. It may be out by at least a handful of seconds. I have followed the guides on this site for cutting out bad frames and also for masking bad frames.
Any other ideas would help.

Mark