Error Downloading Codec/Recording

I'm trying to record using DosBox and its saying Error Downloading Codec and only plays the audio in my output avis. Anyone know what's going on?