This issue can be solved by installing a codec.
Try installing a codec pack, such as this one:
https://codecguide.com/download_k-lite_codec_pack_mega.htm
Another option is to enable the conversion of the recorded video: