Some media players, like VLC, come with built-in support for Xvid. You can install VLC and use it to play Xvid videos:
If you have installed codecs or players and are still facing issues, try these fixes: xvid video codec for windows 10
Install Xvid only if you’re editing/encoding video for legacy hardware or older software that specifically requires it. For just watching videos on Windows 10, skip it and use VLC or a modern media player instead. Some media players, like VLC, come with built-in
Installing the codec allows native Windows applications like Windows Media Player to decode Xvid content. Download - Xvid Some media players