https://wiki.archlinux.org/api.php?action=feedcontributions&user=Archer3&feedformat=atomArchWiki - User contributions [en]2024-03-28T11:20:40ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=DVD_Burning&diff=261691DVD Burning2013-06-07T16:22:47Z<p>Archer3: /* Overview */</p>
<hr />
<div>[[Category:Optical]]<br />
[[es:DVD Burning]]<br />
{{Article summary start}}<br />
{{Article summary text|An overview of DVD writing tools and methods.}}<br />
{{Article summary heading|Series}}<br />
{{Article summary wiki|DVD Playing}}<br />
{{Article summary wiki|DVD Ripping}}<br />
{{Article summary wiki|DVD Burning}}<br />
{{Article summary heading|Related articles}}<br />
{{Article summary wiki|CD Burning}}<br />
{{Article summary wiki|Video2dvdiso}}<br />
{{Article summary end}}<br />
<br />
Writing (or "burning") DVDs requires a different approach than burning CDs. DVDs offer much higher capacities, and the standard CD writing tools will not suffice.<br />
<br />
This HOWTO covers a narrow scope for now: writing data onto DVDs using the command line.<br />
<br />
==Required packages==<br />
# You still need the standard CD writing tools known as {{Pkg|cdrtools}} (which can be replaced by {{Pkg|cdrkit}}, if desired).<br />
# You also need the new DVD writing tools known as {{Pkg|dvd+rw-tools}} found in the [[Official Repositories|official repositories]].<br />
<br />
{{Note|Do not install the package known as {{Pkg|dvdrtools}}. It conflicts with {{Pkg|cdrtools}}, and {{Pkg|dvd+rw-tools}} is the superior DVD writing package.}}<br />
<br />
{{Note|1={{Pkg|cdrtools}} provides all the functionality of {{Pkg|dvd+rw-tools}}, as growisofs depends on mkisofs. Also the development of dvd+rw-tools seems to be stalled for the past 5 years (the last release was in [http://fy.chalmers.se/~appro/linux/DVD+RW/tools/?M=D 2008])}}<br />
<br />
{{Tip|If you wish to use a graphical front-end, install {{Pkg|k3b}} or {{Pkg|brasero}}, and you need to read no further.}}<br />
<br />
==Procedure==<br />
This HOWTO will use the command {{ic|growisofs}} from the {{Pkg|dvd+rw-tools}} package. If you have ever written CDs from the command line before, you will know the process of first creating an iso9660 file ({{ic|mkisofs}}), and then burning it to CD ({{ic|cdrecord}}). {{ic|growisofs}} merges these steps, so you do not need extra storage space for the ISO file anymore. Another advantage is that multisession writing has been simplified.<br />
<br />
===Overview===<br />
Essentially, writing a '''new''' DVD follows this procedure:<br />
$ growisofs -Z /dev/sr0 -r -J ''/path/to/files''<br />
<br />
where {{ic|/dev/sr0}} is your DVD writer device.<br />
<br />
To '''continue''' a DVD (write an additional session), you use:<br />
$ growisofs -M /dev/sr0 -r -J ''/path/to/files''<br />
<br />
To burn an ISO '''image''' to disc, use:<br />
$ growisofs -dvd-compat -Z /dev/sr0=''/path/to/iso''<br />
<br />
To create a video DVD, use the following:<br />
$ growisofs -Z /dev/sr0 -dvd-video ''/path/to/video''<br />
<br />
; {{ic|-Z}}: start at the beginning of the DVD using the following device<br />
; {{ic|-M}}: start after the last session on the disc using the following device<br />
; {{ic|-r}}: [[Wikipedia:Rock Ridge|Rock Ridge]] support with sane permission settings (recommended, extended Unix info)<br />
; {{ic|-J}}: [[Wikipedia:Joliet (file system)|Joliet]] support (recommended, extended info for Windows NT and Windows 95)<br />
<br />
{{Note|{{ic|-r}} will choose different permissions than the real ones; to use the exact permissions use {{ic|-R}} instead. See the man page of {{ic|mkisofs}} for more information.}}<br />
<br />
{{Tip|1=If you want to copy an existing DVD, one way that works is to make an ISO using {{ic|readcd}}:<br />
$ readcd -v dev=/dev/sr0 -f image.iso<br />
<br />
as per [[CD Burning Tips]], then use the {{ic|growisofs}} example above to burn the ISO to a new blank disc.}}<br />
<br />
===Example===<br />
<br />
Although the above might suffice for you, some users require extra settings to successfully write DVDs.<br />
<br />
A simple DVD writing template:<br />
$ growisofs -Z /dev/cdrw -v -l -dry-run -iso-level 3 -R -J -speed=2 -joliet-long -graft-points /files/=/path/to/files/<br />
<br />
; {{ic|-Z}}: as seen above, this starts a new DVD; to continue a multisession DVD, use {{ic|-M}}<br />
; {{ic|-v}}: increase verbosity level (more output)<br />
; {{ic|-l}}: breaks DOS compatibility but allows for longer filenames<br />
; {{ic|-dry-run}}: simulate writing (remove this flag if you are sure that everything is set up correctly)<br />
; {{ic|-iso-level 3}}: defines how strict you want to adhere to the iso9660 standard ({{ic|-iso-level 1}} is very strict while {{ic|-iso-level 4}} is very loose)<br />
; {{ic|-R}}: see above<br />
; {{ic|-J}}: see above<br />
; {{ic|1=-speed=2}}: start burning at 2X speed<br />
; {{ic|-joliet-long}}: allows longer Joliet file names<br />
<br />
The final part needs more explanation:<br />
-graft-points /files/=/path/to/files/<br />
<br />
This specifies that files will be stored in the subdirectory {{ic|/files}} rather than the DVD root. See the {{ic|mkisofs}} manual for details.<br />
<br />
{{Note|{{ic|growisofs}} is basically just a front-end to {{ic|mkisofs}}. That means that any option for {{ic|mkisofs}} also works with {{ic|growisofs}}. See the {{ic|mkisofs}} man page for details.}}<br />
<br />
==Re-writable DVDs==<br />
<br />
The process for burning re-writable discs is almost the same as for normal DVDs. However, keep in mind that virgin DVD+RW media needs to be initially formatted ("blanked") prior to usage. Blanking can be done using the program {{ic|dvd+rw-format}} like this:<br />
$ dvd+rw-format /dev/cdrw<br />
<br />
where {{ic|/dev/cdrw}} is your DVD writer device.</div>Archer3