{"id":88,"date":"2007-04-14T07:13:00","date_gmt":"2007-04-14T12:13:00","guid":{"rendered":"http:\/\/www.familytidings.com\/blog\/?p=88"},"modified":"2007-04-14T07:13:00","modified_gmt":"2007-04-14T12:13:00","slug":"authoring-a-dvd","status":"publish","type":"post","link":"https:\/\/www.familytidings.com\/blog\/?p=88","title":{"rendered":"Authoring a DVD"},"content":{"rendered":"<p>I&#8217;m using <a href=\"http:\/\/www.dvdstyler.de\/\">DVDStyler<\/a> to create a DVD of video I shot in Florida on vacation with the kids.  DVDStyler (or any authoring software) needs a temporary directory:<\/p>\n<p><code># qtparted <\/code><br \/>Create 50 GB partition (\/dev\/hdb2)<br \/><code># mkfs.ext3 -c -L temp \/dev\/hdb2<\/code><br \/>Add this line to \/etc\/fstab:<br \/><code>\/dev\/hdb2       \/mnt\/temp       ext3    defaults 0 0<br \/># mkdir \/mnt\/temp<br \/># mount \/mnt\/temp<\/code><\/p>\n<p>I edited the videos in Kino and output individual MPEG files for each chapter.  I grabbed frames to use in the menus in DVDStyler.  I have four sub-menus under the &#8220;scenes&#8221; menu.  On the main scenes menu, I took one frame from each of the submenus as a button.  On each submenu, that same frame was used as a background.  So it didn&#8217;t get in the way of the buttons, I edited the frame in Gimp, set a grey (R=G=B=128) background and put the frame in a foreground layer with 25% opacity.<\/p>\n<p>Each button is a rectangle with the image in it.  The border is set to be normally transparent, but yellow when selected.<\/p>\n<p>DVDStyler will either generate the DVD structure, an ISO or burn the DVD.  I used the first while checking my menus, then the second when checking the DVD in a standalone player.  I had trouble with the DVD player using a DVD+RW disk.  My Sony DVD\/VCR combo said:<\/p>\n<p><code>This disc cannot be played.<\/p>\n<p>Playback prohibit by area limitations.<\/p>\n<p>DVD_ERRLOG5 00DF5108000000000007<br \/>            05040728000800000100A7<\/code><\/p>\n<p>That made me think the disk was generated with a non-US region code.  Here&#8217;s  a page on <a href=\"http:\/\/inferno.slug.org\/cgi-bin\/wiki?DVD_Ripping_And_Burning\">how to check the region code<\/a>.  I took the dvd.iso file and did this:<\/p>\n<p><code># mount dvd.iso \/mnt\/loop -t udf -o loop=\/dev\/loop3<br \/>$ cd \/mnt\/loop\/VIDEO_TS<br \/>$ emacs VIDEO_TS.IFO<\/code><\/p>\n<p>In Emacs, switch to hex mode with <code><u>M-x<\/u> hexl-mode <u>RET<\/u><\/code>.  At offset 0x23, if the value is 0, there&#8217;s no region set.  That&#8217;s what I saw.<\/p>\n<p><code>$ cd \/<br \/># umount \/mnt\/loop<\/code><\/p>\n<p>Thinking it must be the DVD+RW disk, I burned a DVD+R:<\/p>\n<p><code># growisofs -dvd-compat -Z \/dev\/dvd=dvd.iso<\/code><\/p>\n<p>That failed too.  The standalone player showed the same error.  I found a <a href=\"http:\/\/sourceforge.net\/tracker\/index.php?func=detail&#038;aid=1500564&#038;group_id=92301&#038;atid=600266\">bug in DVDStyler 1.5b6 and earlier<\/a> that causes this on NTSC players.  The workaround notes a page that doesn&#8217;t exist anymore, but there are files attached at the end of the bug report.<\/p>\n<p>Then I got this error:<br \/><code><br \/>**ERROR: [mplex] Can't find next AC3 frame: @ 72192 we have 0a20 - broken bit-stream?<br \/>Error executing of command: mplex -f 8 -S 0 -M -V -o \"\/mnt\/temp\/florida-2007\/dvd\/menu1-0.mpg_bg.mpg\" \"\/mnt\/temp\/florida-2007\/dvd\/menu1-0.mpg_bg.m2v\" \"\/usr\/share\/dvdstyler\/data\/silence.mp2\"<br \/><\/code><\/p>\n<p>I found a page with instructions to <a href=\"http:\/\/gecius.de\/linux\/dvd.html\">generate silence.mp2<\/a>:<\/p>\n<p><code>$ arecord -f dat -twav -d 1 silence.wav<br \/>$ mp2enc -r 48000 -o silence.mp2 < silence.wav<\/code><\/p>\n<p>That fixed the problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using DVDStyler to create a DVD of video I shot in Florida on vacation with the kids. DVDStyler (or any authoring software) needs a temporary directory: # qtparted Create 50 GB partition (\/dev\/hdb2)# mkfs.ext3 -c -L temp \/dev\/hdb2Add this line to \/etc\/fstab:\/dev\/hdb2 \/mnt\/temp ext3 defaults 0 0# mkdir \/mnt\/temp# mount \/mnt\/temp I edited the [&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-88","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\/88","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=88"}],"version-history":[{"count":0,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}