PleaseI would go for huffyuv for video codec which is lossless. Audio could be plain pcm or flac.
You should always check out the captured video in mplayer or vlc if you experience image corruption in kdenlive or any other video editing software.
I can post my ffmpeg rec command this evening if you like.
I use VLC to check my video's.