Search:  
Gentoo Wiki

HOWTO_Create_a_DVD:Burn

DVD Definition

Create DVD Video Index

Encode

Filesystem

Burn

edit


Contents

CLI

First, emerge the dvd+rw-tools package to obtain the necessary tools:

# emerge -av dvd+rw-tools

After you have your dvd/ directory set up, you can either burn it directly to a dvd using growisofs with the -dvd-compat option, or create a dvd image using mkisofs.

On-the-fly, one-step VIDEO burning - growisofs

Make sure that your dvd/ directory contains the VIDEO_TS directory and that it is written in UPPERCASE, otherwise it will not work.

Here's the command you need to run to create the dvd on-the-fly using growisofs:

$ growisofs -dvd-compat -Z <device> -dvd-video -V "<volumelabel>" dvd/

Replace <device> with your dvd device (for example /dev/dvd), <volumelabel> with the volume label you want on the disc and dvd/ with the actual name of the directory with the contents to burn. Note that the indicated directory will be the root directory of the dvd.

For more general information on writing data to DVD+RW, refer to the dvd+rw-tools web page.

On-the-fly, one-step DATA burning - growisofs

Use these options to burn data on the DVD:

$ growisofs -dvd-compat -Z <device> -joliet-long -R -V "<volumelabel>" dvd/

Again, replace <device>, <volumelabel> and dvd/ with the appropriate values. For more information about the -joliet-long and -R options, refer to the growisofs and mkisofs manuals.

Create an Image - mkisofs

Creating an image first is useful if you plan to make multiple copies of the DVD, or if you want to mount it from your hard drive as if it was a DVD, for testing purposes (See: Mount ISO and MDF Images). In most cases, this way also allows a faster DVD burning as the image does not need to be created on-the-fly.

To create a dvd image, here's the command you need to run:

$ mkisofs -dvd-video -o dvd.iso dvd/

You can then burn the dvd.iso file using any DVD burning program that you like (see below).

Burn It (From an Image) - growisofs or cdrecord-prodvd

growisofs

# emerge -av dvd+rw-tools
$ growisofs -dvd-compat -Z <device>=dvd.iso

dvdrecord / cdrecord

dvdrecord has been masked, because cdrecord now burn dvds! You no longer need cdrecord-prodvd with a key to burn DVDs.

# emerge -av cdrtools
$ cdrecord -dao -speed=<speed> -dev=<device> dvd.iso
Note: Replace <device> with your dvd device (for example /dev/dvd) and <speed> with your dvd device supported speed. Use cdrecord -scanbus to find out which devices you can use.

Tip: to display the progress of writing, add -v to the parameters.

To increase the memory cache, if the computer is doing many tasks at the same time add -fs=xx to the parameters. Make sure you have enough free ram to do so. Example for a 128MB FIFO cache:

$ cdrecord -v -fs=128m -dao -speed=<speed> -dev=<device> dvd.iso

note: The default FIFO size is currently 4 MB. If you burn at high speeds, such as 16x, using FIFO of 300m to 400m might help prevent write errors.

GUI

Right now (if you're like most people) you're probably just about sick of the commandline - after all, you did come here for creating DVD video, which is visual by nature. So if you follow one of the steps above to create an image, you can get yourself a nice progress bar for that final burning process!

gnomebaker

Actions » Burn DVD Image

xfburn

Actions » Burn Image

nautilus-cd-burner

In Nautilus: right-click img » Write To Disc...

k3b

To burn the image you've created go through the menu...
-Tools
--DVD
---Burn DVD ISO Image

Tools » DVD » Burn DVD ISO Image If you created the image with the extension .img, you will need change the Filter to All Files to be able to see your file.

Retrieved from "http://www.gentoo-wiki.info/HOWTO_Create_a_DVD:Burn"

Last modified: Sun, 21 Sep 2008 11:43:00 +0000 Hits: 63,266