VirtualDub2 (64-bit) or FFmpeg (command line).

Windows does not natively support Xvid via the built-in "Movies & TV" app. You have two options: