Error 1004 indicates a hardware error. This type of error is normally caused by the drive. The drive failed to complete or respond to a command it was sent. Possible causes: drive is failing, bad or low quality media.
Possible solutions: lower the write speed, check with the drive manufacturer for firmware updates, clean the drive (a dirty laser lens can prevent the drive from operating properly), and/or try a different type/brand of media.