I had very similar intermittent problems with my CDRW drive in my old PC a while back (the drive is now unused in my new PC).
I am now experiencing the same with a Philips DVDRW drive, which I have tried cleaning, upgraded firmware successfully, uninstalled and reinstalled software (Nero), all without success.
Must note that CDs burn successfully, but DVDs do not?!?
It is now and costing me time and money trying to resolve, especially ruining new dvds which keep failing!!
I assume it is then end of the life of the drive, and it burnt less 100 CD/DVDs!! Do I return to the vendor and get a replacement?
Could it be the media, using a 50 pack of Logik DVD+R, and problem arose after using about 35 of them successfully.
AMD Phenom II X4 965, Mobo: Biostar A880G+ c/w onboard Graphics & Sound, RAM: 8Gb DDR2, HDDs 2+2+4Tb, Monitor 24"
Using: Win10 64bit with Trend Micro TMS