Do you remember what the error message was? Next time follow this workflow to help ensure the best quality final product and separate the encoding process from the burn process:
Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image menu option. This will separate the encoding process from the burn process.
To check the encoding mount the disk image and launch DVD Player and play it. If it plays OK with DVD Player the encoding was good.
Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality. Always use top quality media: Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
What was the source material used in the project, stills for a slideshow, movies, ...? Where did it come from?
It sounds like it may be an encoding or multiplexing erros. Look at this post by Bengt Wärleby on that subject: HT1645 I was burning a DVD and the...: Apple Support Communities.
OT