After trying out different softwares, I noticed that:
Nero Burning Rom burns less than 10% and shows that error that I posted earlier.
Nero StartSmart burns more than 90% and says Write errorG: tsstcorp/dvdw sh-s182f.
ImgBurn burns upto 75% and just stalls there.
Tried to burn flv files.