{"id":9,"date":"2004-01-03T08:41:00","date_gmt":"2004-01-03T13:41:00","guid":{"rendered":"http:\/\/www.familytidings.com\/blog\/?p=9"},"modified":"2004-01-03T08:41:00","modified_gmt":"2004-01-03T13:41:00","slug":"burning-a-dvd","status":"publish","type":"post","link":"https:\/\/www.familytidings.com\/blog\/?p=9","title":{"rendered":"Burning a DVD"},"content":{"rendered":"<p>The output from Kino isn&#8217;t suitable for burning a DVD.  It&#8217;s one giant mpeg file (in this case <code>dvd.mpeg<\/code>).  In order to create the directory structure DVD&#8217;s use, you need dvdauthor.  This program uses an XML file as input.  The simplest is a DVD with one chapter on it that just plays when you put it in a DVD player.  Here is dvd.xml:<br \/>\n<\/p>\n<pre>&lt;dvdauthor&gt;\n<br \/>    &lt;vmgm \/&gt;\n<br \/>    &lt;titleset&gt;\n<br \/>        &lt;titles&gt;\n<br \/>            &lt;pgc&gt;\n<br \/>                &lt;vob file=\"dvd.mpeg\" \/&gt;\n<br \/>            &lt;\/pgc&gt;\n<br \/>        &lt;\/titles&gt;\n<br \/>    &lt;\/titleset&gt;\n<br \/>&lt;\/dvdauthor&gt;\n<br \/><\/pre>\n<p>Then you run dvdauthor:  <code>dvdauthor -o dvd_dir -x dvd.xml<\/code> which creates a directory called dvd_dir.  Then you need to run <code>mkisofs -dvd-video -udf -o dvd.iso dvd_dir\/<\/code> to create the file that will be used to burn the DVD.<\/p>\n<p>The Plextor DVD burner is an IDE unit, so <a href=\"http:\/\/pingu.salk.edu\/LDP\/HOWTO\/CD-Writing-HOWTO-2.html#ss2.1\">SCSI emulation must be set up<\/a> for it.  For me, that meant adding the following lines to \/etc\/modules.conf:<br \/>\n<\/p>\n<pre># 27dec2003:  SCSI emulation for Plextor PX-708A DVD burner on \/dev\/hdc\n<br \/>options ide-cd ignore=hdc            # tell the ide-cd module to ignore hdc so scsi can have it\n<br \/>alias scd1 sr_mod                    # load sr_mod upon access of scd1 (scd0 is CD burner)\n<br \/>pre-install sg     modprobe ide-scsi # load ide-scsi before sg\n<br \/>pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod\n<br \/>pre-install ide-scsi modprobe ide-cd # load ide-cd   before ide-scsi\n<br \/><\/pre>\n<p>Burning a DVD threw me for a loop.  The Plextor burner supports DVD+RW and DVD-RW.  I bought +RW disks when I ordered it.  Initially I wanted to use RW disks for testing, so if I messed them up, I wouldn&#8217;t create a coaster.  Once I made a good disk, I&#8217;d use the DVD+R disks, as these are more likely to play in a standard DVD player.  The problem is, dvdrecord doesn&#8217;t work with plus media, only dash media, so I got this funny error:  <\/p>\n<pre>Last chance to quit, starting real write in 0 seconds. Operation starts.\n<br \/>trackno=0\n<br \/>dvdrecord: Input\/output error. reserve track: scsi sendcmd: no error\n<br \/>CDB:  53 00 00 00 00 00 05 2C 30 00\n<br \/>status: 0x2 (CHECK CONDITION)\n<br \/>Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 20 00 00 00\n<br \/>Sense Key: 0x5 Illegal Request, Segment 0\n<br \/>Sense Code: 0x20 Qual 0x00 (invalid command operation code) Fru 0x0\n<br \/>Sense flags: Blk 0 (not valid)\n<br \/>cmd finished after 0.000s timeout 200s\n<br \/>dvdrecord: Cannot open new session.\n<br \/><\/pre>\n<p>Using the tools from <a href=\"http:\/\/fy.chalmers.se\/~appro\/linux\/DVD+RW\/\">DVD+RW\/+R\/-R[W] for Linux<\/a> fixed that problem.  There&#8217;s a nice tutorial at the bottom of that page that explained everything.  I used these commands:   <\/p>\n<pre>dvd+rw-mediainfo \/dev\/dvdrw\n<br \/>dvd+rw-format \/dev\/dvdrw\n<br \/>growisofs -Z \/dev\/dvdrw=dvd.iso <\/pre>\n<p>then <code>ogle \/dev\/dvdrw<\/code> to play the new disc.<\/p>\n<p>One thing that still needs to be fixed is that the raw1394 module doesn&#8217;t get loaded automatically when Kino is started, so for now I have to check first with <code>\/sbin\/lsmod | grep 1394<\/code> and <code>modprobe raw1394<\/code> if it&#8217;s not there.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The output from Kino isn&#8217;t suitable for burning a DVD. It&#8217;s one giant mpeg file (in this case dvd.mpeg). In order to create the directory structure DVD&#8217;s use, you need dvdauthor. This program uses an XML file as input. The simplest is a DVD with one chapter on it that just plays when you put [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":0,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}