VLC uses the libavcodec library (from the FFmpeg project) which includes an Xvid decoder. This means:
Given the dominance of H.264 (MP4) and H.265 (MKV), should you still use Xvid? xvid video codec vlc