Webcam Colored Lines - Hardware Issue?
Note that I am GUESSING here but that looks awfully like a damaged sensor. You occasionally see similar displays on LCD panels when they go bad so this might indeed be the hardware error you think it is.