South Africa inflicted a record 408-run defeat on India in the second Test in Guwahati on Wednesday to clinch the series 2-0.