Using RaspiVid software with a RaspiCam results in a .h264 encoded video file.
Most media players require .h264 to be "packaged" into a suitable video container format like .mp4.
This very simple Gambas project uses the program MP4Box to convert or package a bunch of .h264 files into .mp4 files ready to be edited or played using popular applications.