{"id":579,"date":"2018-10-11T17:25:31","date_gmt":"2018-10-11T21:25:31","guid":{"rendered":"https:\/\/blog.lufamily.ca\/kang\/?p=579"},"modified":"2018-10-11T17:25:31","modified_gmt":"2018-10-11T21:25:31","slug":"creating-dvd-video-discs","status":"publish","type":"post","link":"https:\/\/blog.lufamily.ca\/kang\/2018\/10\/11\/creating-dvd-video-discs\/","title":{"rendered":"Creating DVD Video Discs"},"content":{"rendered":"<p>Recently I created a video to commemorate my mom&#8217;s 80<sup>th<\/sup> birthday. Of course once the video is created, there is always the challenge of distributing the video. For people who are always online and have a respectable bandwidth, they can simply view the video online, as I have made arrangements to post it here on my blog site. The video is embedded in <a href=\"https:\/\/blog.lufamily.ca\/kang\/2018\/10\/11\/a-grand-birthday\/\" target=\"_blank\" rel=\"noopener\">The Grand Birthday<\/a> post. What about others who are not online savvy or are still clung to their DVD players.<\/p>\n<p>I usually use a program called <a href=\"http:\/\/burn-osx.sourceforge.net\/Pages\/English\/home.html\" target=\"_blank\" rel=\"noopener\">Burn<\/a> on my Mac to burn videos into DVD Video discs. However I find the process unsatisfying. I needed something that can be applied to mass processing. I also did not like the unprofessional DVD menu that Burn applies to the DVD disc. Also the program is quite old and I fear may not work for future versions of macOS.<\/p>\n<p>I came across this <a href=\"https:\/\/wiki.archlinux.org\/index.php\/Convert_any_Movie_to_DVD_Video\" target=\"_blank\" rel=\"noopener\">Convert any Movie to DVD Video<\/a> wiki link, and found some really useful information. After reading through their process, I found, practiced, and proven this trimmed down version on my Mac.<\/p>\n<p>First I had to install several utilities through the <strong>brew<\/strong> packaging system on my Mac.<\/p>\n<pre>brew install ffmpeg dvdauthor cdrtools\n<\/pre>\n<p>I use the above utilities to perform the following steps:<\/p>\n<ol>\n<li>Convert the source video (typically optimized for my Apple devices and my TV&#8217;s) to an NTSC DVD compatible format;<\/li>\n<li>Author a DVD directory structure using the video;<\/li>\n<li>Create an ISO from the DVD directory structure for archiving and burning purposes;<\/li>\n<li>Burn the ISO to a physical DVD-R disc.<\/li>\n<\/ol>\n<p>The first step is to convert the video:<\/p>\n<pre style=\"padding-left: 30px;\">ffmpeg -i original.mp4 -target ntsc-dvd -r 29.97 -s 720x480 -aspect 16:9 -b 8000k -g 12 -mbd rd -flags +aic -trellis 1 -cmp 2 -subcmp 2 video.mpg<\/pre>\n<p>I ended up using the above command which supposedly yields the most optimum \u00a0quality in terms of viewing. The output\u00a0<strong>video.mpg<\/strong> is DVD compatible. The above command assumes an aspect of 16:9, which is what most home videos are shot at today.<\/p>\n<p>I then use the\u00a0<a href=\"http:\/\/dvdauthor.sourceforge.net\" target=\"_blank\" rel=\"noopener\"><strong>dvdauthor<\/strong><\/a> tool to create the DVD directory structure. Before I use the tool, I first have to create an XML file containing how I like the DVD to be configured. Below is a bare minimum XML file configuration that I used to simply create a DVD disc containing a single movie. The tool gives me the option in the future to add menus, chapters, etc.<\/p>\n<pre><span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>&lt;dvdauthor format=\"ntsc\"&gt;\n<span class=\"Apple-converted-space\">\u00a0 \u00a0 \u00a0 \u00a0 <\/span>&lt;vmgm \/&gt;\n<span class=\"Apple-converted-space\">\u00a0 \u00a0 \u00a0 \u00a0 <\/span>&lt;titleset&gt;\n<span class=\"Apple-converted-space\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span>&lt;titles&gt;\n<span class=\"Apple-converted-space\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span>&lt;subpicture lang=\"en\" \/&gt;\n<span class=\"Apple-converted-space\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span>&lt;audio lang=\"en\" \/&gt;\n<span class=\"Apple-converted-space\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span>&lt;pgc&gt;\n<span class=\"Apple-converted-space\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span>&lt;vob file=\"\/Users\/kanglu\/Downloads\/video.mpg\" \/&gt;\n<span class=\"Apple-converted-space\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span>&lt;\/pgc&gt;\n<span class=\"Apple-converted-space\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span>&lt;\/titles&gt;\n<span class=\"Apple-converted-space\">\u00a0 \u00a0 \u00a0 \u00a0 <\/span>&lt;\/titleset&gt;\n<span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>&lt;\/dvdauthor&gt;<\/pre>\n<p>I then proceed to run the tool with the above XML file, which I named\u00a0<strong>dvd.xml<\/strong>.<\/p>\n<pre><span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>dvdauthor -o dvd -x dvd.xml<\/pre>\n<p>This will result in a folder called\u00a0<strong>dvd<\/strong> which will contain the contents of the DVD disc. Once I have the folder, I can then create the ISO file.<\/p>\n<pre><span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>mkisofs -dvd-video -udf -o dvd.iso dvd<\/pre>\n<p>The resulting\u00a0<strong>dvd.iso<\/strong> file is a good archiving format in case I want to make more DVD discs in the future. At this point, I no longer need\u00a0<strong>video.mpg<\/strong>,\u00a0<strong>dvd.xml<\/strong>, and the\u00a0<strong>dvd<\/strong> folder. The ISO file is all I need to create a DVD Video disc containing my video. After sticking in a blank DVD-R disc, I executed the following command.<\/p>\n<pre><span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>hdiutil burn dvd.iso<\/pre>\n<p>I repeated the above\u00a0<strong>hdiutil<\/strong> command with several more blank discs to make a bunch of discs for distribution. The resulting DVD Video disc contains a single video without any confusing menu system; the way I like it &#8212; keep it simple and stupid.<\/p>\n<p>Too bad not everybody has <a href=\"https:\/\/www.plex.tv\" target=\"_blank\" rel=\"noopener\">Plex<\/a> or <a href=\"https:\/\/kodi.tv\" target=\"_blank\" rel=\"noopener\">Kodi<\/a>. Even a Raspberry Pi with <a href=\"https:\/\/osmc.tv\" target=\"_blank\" rel=\"noopener\">OSMC<\/a> installed would be wonderful. That will make future distribution of family videos a lot easier!<\/p>\n<p>However, I am now happy to have a workflow that works for me. I hope you will find this helpful.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I created a video to commemorate my mom&#8217;s 80th birthday. Of course once the video is created, there is always the challenge of distributing the video. For people who are always online and have a respectable bandwidth, they can simply view the video online, as I have made arrangements to post it here on &hellip; <a href=\"https:\/\/blog.lufamily.ca\/kang\/2018\/10\/11\/creating-dvd-video-discs\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Creating DVD Video Discs&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":583,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[54,56,55,28],"class_list":["post-579","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-dvd","tag-family-video","tag-media","tag-technology"],"jetpack_featured_media_url":"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2018\/10\/Unknown.jpeg","jetpack_shortlink":"https:\/\/wp.me\/p7V6i8-9l","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/comments?post=579"}],"version-history":[{"count":4,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/579\/revisions"}],"predecessor-version":[{"id":584,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/579\/revisions\/584"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/media\/583"}],"wp:attachment":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/media?parent=579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/categories?post=579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/tags?post=579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}