...and the native mpeg4 encoder: ffmpeg -i input.avi -c:v mpeg4 -vtag xvid output. avi. The native encoder has the advantage of not requiring an external library ...
trac.ffmpeg.org