Just compress it using an external program like besweet and then just mux it using virtualdubmod . Shouldn't really give you and sync issues at all .