I’ve not used Carlos’ code, so I can’t really help you there. Make sure you have the serial communication working in a primitive way first, before trying to send captured frames.
The problem with recording the video is that you can’t do it fast enough. There are 60 frames per second, and 1536 bytes per frame. You just can’t write to an SD card that fast when most of the processing time is being spent with the video processing. Sorry, everyone wants to record video, but that’s not going to happen on a microcontroller that costs $2.