Go to the official Xvid website.
Click Xvid Video - Downloas in the menu at the top right. ( Do not select Xvid Codec. )

Click the link below.
Click the Download button to download it.
This is the installation screen. Click OK right away.
The detailed explanation is omitted. Just keep clicking the Next button to continue.
If oCam is already running, restart it, then click the Codec button in the oCam main window and click the External Codec menu.
Then check the Use External Codec checkbox, and you will see that the newly added Xvid MPEG-4 Codec is available.
Select that codec.
Click the Settings button to configure the detailed options of the Xvid codec.
