<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bob Droog &#187; AVI</title>
	<atom:link href="http://www.bobdroog.nl/tag/avi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bobdroog.nl</link>
	<description>My life in this crazy world.</description>
	<lastBuildDate>Sat, 31 Jul 2010 20:33:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Convert .mkv to .avi and merge subtitles using bash.</title>
		<link>http://www.bobdroog.nl/2009/11/13/convert-mkv-to-avi-and-merge-subtitles-using-bash/</link>
		<comments>http://www.bobdroog.nl/2009/11/13/convert-mkv-to-avi-and-merge-subtitles-using-bash/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 16:54:59 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[.mkv]]></category>
		<category><![CDATA[.srt]]></category>
		<category><![CDATA[AVI]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[convert .mkv to .avi]]></category>
		<category><![CDATA[converting movie]]></category>
		<category><![CDATA[converting video]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to convert .mkv to .avi with subtitles]]></category>
		<category><![CDATA[how to merge .srt file in .avi]]></category>
		<category><![CDATA[how to merge subtitles]]></category>
		<category><![CDATA[how to merge subtitles in .avi]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[subtitles]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[using subtitles]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1094</guid>
		<description><![CDATA[Converting a .mkv file to .avi is easy using this command. It should also merge the standard subtitles. The only problem is that the .avi is still large. user@server:$ mencoder "video.mkv" -ovc lavc -lavcopts vcodec=mpeg4:threads=8:vbitrate=3000 -oac copy -o video.avi]]></description>
			<content:encoded><![CDATA[<p>Converting a .mkv file to .avi is easy using this command. It should also merge the standard subtitles. The only problem is that the .avi is still large.</p>

<div class="wp-terminal">user@server:$ mencoder "video.mkv" -ovc lavc -lavcopts vcodec=mpeg4:threads=8:vbitrate=3000 -oac copy -o video.avi<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/11/13/convert-mkv-to-avi-and-merge-subtitles-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a DVD from .MPG and add subtitles using Spumux in bash.</title>
		<link>http://www.bobdroog.nl/2009/11/13/create-a-dvd-from-mpg-and-add-subtitles-using-spumux-in-bash/</link>
		<comments>http://www.bobdroog.nl/2009/11/13/create-a-dvd-from-mpg-and-add-subtitles-using-spumux-in-bash/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 09:14:41 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[.mpeg]]></category>
		<category><![CDATA[.mpg]]></category>
		<category><![CDATA[AVI]]></category>
		<category><![CDATA[burn]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[dvdauthor]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[growisofs]]></category>
		<category><![CDATA[how to create dvd from mpg]]></category>
		<category><![CDATA[how to create dvd from mpg with subtitles]]></category>
		<category><![CDATA[how to create dvd from mpg with subtitles in linux]]></category>
		<category><![CDATA[how to create dvd from mpg with subtitles using bash]]></category>
		<category><![CDATA[how to create dvd from mpg with subtitles using linux]]></category>
		<category><![CDATA[how to create dvd from mpg with subtitles using ssh]]></category>
		<category><![CDATA[how to create dvd from mpg with subtitles using terminal]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[mkisofs]]></category>
		<category><![CDATA[ntsc]]></category>
		<category><![CDATA[ntsc-dvd]]></category>
		<category><![CDATA[pal]]></category>
		<category><![CDATA[pal-dvd]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[using bash]]></category>
		<category><![CDATA[using linux]]></category>
		<category><![CDATA[using ssh]]></category>
		<category><![CDATA[using terminal]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1049</guid>
		<description><![CDATA[Packages needed: FFmpeg, spumux, dvdauthor. And maybe mkisofs to create a dvd iso. Or growisofs to burn directly. (If you need to identify your video, install Mplayer. user@server:$ yum install ffmpeg spumux dvdauthor mkisofs growisofs mplayer First we need a .mpg or .mpeg file. For example if you have an .avi file, convert this to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Packages needed</strong>: <em>FFmpeg, spumux, dvdauthor</em>. And maybe <em>mkisofs </em>to create a dvd iso. Or <em>growisofs </em>to burn directly. (If you need to identify your video, install Mplayer.</p>

<div class="wp-terminal">user@server:$ yum install ffmpeg spumux dvdauthor mkisofs growisofs mplayer<br/></div>

<p>First we need a .mpg or .mpeg file. For example if you have an .avi file, convert this to .mpg (change pal-dvd to ntsc-dvd if needed)</p>

<div class="wp-terminal">user@server:$ ffmpeg -i movie.avi -target pal-dvd movie.mpg<br/></div>

<p>Now we have the .mpg file we can set up the XML files with the settings for the conversion. Create spumux.xml and add the following settings into it.</p>
<div class="codesnip-container" >
<div class="xml codesnip" style="font-family:monospace;"><span class="sc3"><span class="re1">&lt;subpictures<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp;<span class="sc3"><span class="re1">&lt;stream<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;textsub</span> <span class="re0">filename</span>=<span class="st0">&quot;yoursubsname.srt&quot;</span> <span class="re0">characterset</span>=<span class="st0">&quot;ISO8859-1&quot;</span> </span><br />
<span class="sc3"> &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">fontsize</span>=<span class="st0">&quot;28.0&quot;</span> <span class="re0">font</span>=<span class="st0">&quot;arial.ttf&quot;</span> <span class="re0">horizontal-alignment</span>=<span class="st0">&quot;left&quot;</span> </span><br />
<span class="sc3"> &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">vertical-alignment</span>=<span class="st0">&quot;bottom&quot;</span> <span class="re0">left-margin</span>=<span class="st0">&quot;60&quot;</span> <span class="re0">right-margin</span>=<span class="st0">&quot;60&quot;</span> </span><br />
<span class="sc3"> &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">top-margin</span>=<span class="st0">&quot;20&quot;</span> <span class="re0">bottom-margin</span>=<span class="st0">&quot;30&quot;</span> <span class="re0">subtitle-fps</span>=<span class="st0">&quot;25&quot;</span> </span><br />
<span class="sc3"> &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">movie-fps</span>=<span class="st0">&quot;25&quot;</span> <span class="re0">movie-width</span>=<span class="st0">&quot;720&quot;</span> <span class="re0">movie-height</span>=<span class="st0">&quot;576&quot;</span></span><br />
<span class="sc3"> &nbsp; &nbsp; &nbsp;<span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp;<span class="sc3"><span class="re1">&lt;/stream<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;/subpictures<span class="re2">&gt;</span></span></span></div>
</div>
<p>You have to replace the filename, movie-width and the movie-height to your video preferences. You have seen them while converting if not use this command.</p>

<div class="wp-terminal">user@server:$ mplayer -identify output.mpg<br/></div>

<p>Now before we start processing, we need <strong>arial.ttf</strong> in our .spumux folder. If you don&#8217;t have a .spumux folder, create one;</p>

<div class="wp-terminal">user@server:$ mkdir ~/.spumux<br/></div>

<p>OK &#8212; now we are all set, what you have to do now is use the following command.</p>

<div class="wp-terminal">user@server:$ spumux spumux.xml < out.mpg > output.mpg<br/></div>

<div class="codesnip-container" >
<div class="xml codesnip" style="font-family:monospace;">DVDAuthor::spumux, version 0.6.11.<br />
Build options: gnugetopt iconv freetype<br />
Send bugs to</p>
<p>INFO: Locale=en_US.UTF-8<br />
INFO: Converting filenames to UTF-8<br />
INFO: Detected subtitle file format: subviewer<br />
INFO: Opened iconv descriptor. *UTF-8* *ISO8859-1*<br />
INFO: Read 1340 subtitles<br />
INFO: Adjusted 39 subtitle(s).<br />
INFO: Unicode font: 1418 glyphs.<br />
INFO: Found EOF in .sub file.<br />
WARN: &nbsp;Read 0, expected 4<br />
INFO: 1340 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.50</p>
<p>Statistics:<br />
- Processed 1340 subtitles.<br />
- The longest display line had 48 characters.<br />
- The maximum number of displayed lines was 3.<br />
- The normal display height of the font arial.ttf was 32.<br />
- The bottom display height of the font arial.ttf was 45.<br />
- The biggest subtitle box had 4470 bytes.</div>
</div>
<p>Alright, when this is done we have to make another .xml file. Create dvd.xml and put this in there.</p>
<div class="codesnip-container" >
<div class="xml codesnip" style="font-family:monospace;"><span class="sc3"><span class="re1">&lt;dvdauthor</span> <span class="re0">dest</span>=<span class="st0">&quot;DVD&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; <span class="sc3"><span class="re1">&lt;vmgm</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp;<span class="sc3"><span class="re1">&lt;titleset<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp;<span class="sc3"><span class="re1">&lt;titles<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp;<span class="sc3"><span class="re1">&lt;pgc<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="sc3"><span class="re1">&lt;vob</span> <span class="re0">file</span>=<span class="st0">&quot;output.mpg&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp;<span class="sc3"><span class="re1">&lt;/pgc<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp;<span class="sc3"><span class="re1">&lt;/titles<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp;<span class="sc3"><span class="re1">&lt;/titleset<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;/dvdauthor<span class="re2">&gt;</span></span></span></div>
</div>
<p>Obviously you have to change the vob file to your output video name. When you have done that we can do the following command.</p>

<div class="wp-terminal">user@server:$ dvdauthor -x dvd.xml<br/></div>

<div class="codesnip-container" >
<div class="xml codesnip" style="font-family:monospace;">DVDAuthor::dvdauthor, version 0.6.11.<br />
Build options: gnugetopt iconv freetype<br />
Send bugs to</p>
<p>INFO: Locale=en_US.UTF-8<br />
INFO: Converting filenames to UTF-8<br />
INFO: dvdauthor creating VTS<br />
STAT: Picking VTS 01</p>
<p>STAT: Processing output.mpg&#8230;<br />
STAT: VOBU 12080 at 4249MB, 1 PGCS<br />
INFO: Video pts = 0.500 .. 5813.060<br />
INFO: Audio[0] pts = 0.500 .. 5813.172<br />
INFO: Audio[32] pts = 5.660 .. 5760.406<br />
STAT: VOBU 12086 at 4250MB, 1 PGCS<br />
INFO: Generating VTS with the following video attributes:<br />
INFO: MPEG version: mpeg2<br />
INFO: TV standard: pal<br />
INFO: Aspect ratio: 4:3<br />
INFO: Resolution: 720&#215;576<br />
INFO: Audio ch 0 format: ac3/6ch, 48khz drc</p>
<p>STAT: fixed 12086 VOBUS<br />
INFO: dvdauthor creating table of contents<br />
INFO: Scanning DVD/VIDEO_TS/VTS_01_0.IFO</div>
</div>
<p>You have just created a dvd including subtitles which you can enable or disable. What you got to do now is simply make a ISO or burn it directly to your blank dvd.</p>
<p>To make a ISO you can use this command:</p>

<div class="wp-terminal">user@server:$ mkisofs -dvd-video -o name-your-dvd.iso DVD/<br/></div>

<div class="codesnip-container" >
<div class="xml codesnip" style="font-family:monospace;">97.40% done, estimate finish Fri Nov 13 08:53:17 2009<br />
97.63% done, estimate finish Fri Nov 13 08:53:16 2009<br />
97.86% done, estimate finish Fri Nov 13 08:53:17 2009<br />
98.09% done, estimate finish Fri Nov 13 08:53:17 2009<br />
98.32% done, estimate finish Fri Nov 13 08:53:16 2009<br />
98.55% done, estimate finish Fri Nov 13 08:53:17 2009<br />
98.78% done, estimate finish Fri Nov 13 08:53:16 2009<br />
99.01% done, estimate finish Fri Nov 13 08:53:16 2009<br />
99.24% done, estimate finish Fri Nov 13 08:53:16 2009<br />
99.46% done, estimate finish Fri Nov 13 08:53:15 2009<br />
99.69% done, estimate finish Fri Nov 13 08:53:15 2009<br />
99.92% done, estimate finish Fri Nov 13 08:53:16 2009<br />
Total translation table size: 0<br />
Total rockridge attributes bytes: 0<br />
Total directory bytes: 4096<br />
Path table size(bytes): 42<br />
Max brk space used 15000<br />
2176659 extents written (4251 MB)<br />
[user@server]$</div>
</div>
<p>If you want to burn it directly without making a .iso then use this command; (Replace /dev/scd0 with the device path to your DVD recorder)</p>

<div class="wp-terminal">user@server:$ growisofs -Z /dev/scd0 -dvd-video DVD/<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/11/13/create-a-dvd-from-mpg-and-add-subtitles-using-spumux-in-bash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add .srt subtitles to .avi using bash.</title>
		<link>http://www.bobdroog.nl/2009/10/12/add-srt-subtitles-to-avi-using-bash/</link>
		<comments>http://www.bobdroog.nl/2009/10/12/add-srt-subtitles-to-avi-using-bash/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 19:33:57 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[.srt]]></category>
		<category><![CDATA[add]]></category>
		<category><![CDATA[AVI]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[how to add .srt subtitles to .avi using bash]]></category>
		<category><![CDATA[how to add .srt subtitles to .avi using server]]></category>
		<category><![CDATA[how to add .srt subtitles to .avi using ssh]]></category>
		<category><![CDATA[how to add .srt subtitles to .avi using terminal]]></category>
		<category><![CDATA[how to merg subtitles to .avi]]></category>
		<category><![CDATA[how to merg subtitles to .avi in linux]]></category>
		<category><![CDATA[how to merg subtitles to .avi using bash]]></category>
		<category><![CDATA[how to merg subtitles to .avi using server]]></category>
		<category><![CDATA[how to merg subtitles to .avi using ssh]]></category>
		<category><![CDATA[how to merg subtitles to .avi using terminal]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[mergin .srt]]></category>
		<category><![CDATA[mergin subtitles]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[xvid]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=917</guid>
		<description><![CDATA[Package needed: Mencoder It is actually easier then I thought, I have been spending almost a whole day to figure out how to add subtitles to an .avi file using bash. (Terminal) So I hope I can help you out with this one! user@server:$ mencoder -sub sub_name.srt -subcp iso-8857-9 -ovc xvid -xvidencopts bitrate=687 -oac copy [...]]]></description>
			<content:encoded><![CDATA[<p>Package needed: <a href="http://en.wikipedia.org/wiki/MEncoder"><em>Mencoder</em></a></p>
<p>It is actually easier then I thought, I have been spending almost a whole day to figure out how to add subtitles to an .avi file using bash. (Terminal) So I hope I can help you out with this one!</p>

<div class="wp-terminal">user@server:$ mencoder -sub sub_name.srt -subcp iso-8857-9 -ovc xvid -xvidencopts bitrate=687 -oac copy -o Movie-IN.avi Movie-OUT.avi<br/></div>

<p>If it&#8217;s not working for you or you know other cool ways to do it, please leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/10/12/add-srt-subtitles-to-avi-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create DVD from .AVI using bash.</title>
		<link>http://www.bobdroog.nl/2009/10/09/create-dvd-from-avi-using-bash/</link>
		<comments>http://www.bobdroog.nl/2009/10/09/create-dvd-from-avi-using-bash/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 14:16:14 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[AVI]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[commend]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[create dvd]]></category>
		<category><![CDATA[create dvd from avi]]></category>
		<category><![CDATA[creating]]></category>
		<category><![CDATA[dag]]></category>
		<category><![CDATA[DVD]]></category>
		<category><![CDATA[dvd to avi]]></category>
		<category><![CDATA[dvd to avi using bash]]></category>
		<category><![CDATA[dvd to avi using command line]]></category>
		<category><![CDATA[dvd to avi using linux]]></category>
		<category><![CDATA[dvd to avi using ssh]]></category>
		<category><![CDATA[dvd to avi using terminal]]></category>
		<category><![CDATA[dvdauthor]]></category>
		<category><![CDATA[encoder]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to create a dvd from .avi]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[mkisofs]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[steps]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=901</guid>
		<description><![CDATA[Step 1. We need the following tools installed : mencoder: (MPlayer’s Movie Encoder) is a simple movie encoder. ffmpeg: FFmpeg video converter. dvdauthor: assembles multiple mpeg program streams into a suitable DVD file system. If you already have them installed just ignore the following step. Step 2. We can easily install the three packages using [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Step 1.</strong> We need the following tools installed :<br />
<em>mencoder</em>: (MPlayer’s Movie Encoder) is a simple movie encoder.<br />
<em>ffmpeg</em>: FFmpeg video converter.<br />
<em>dvdauthor</em>: assembles multiple mpeg program streams into a suitable DVD file system.</p>
<p>If you already have them installed just ignore the following step. </p>
<p><strong>Step 2.</strong> We can easily install the three packages using DAG Repo. We need to activate it though.</p>
<p>Edit /etc/yum.repos.d</p>

<div class="wp-terminal">user@server:$ nano -w /etc/yum.repos.d/dag.repo<br/></div>

<p>And insert</p>
<div class="codesnip-container" >
<div class="xml codesnip" style="font-family:monospace;">[dag]<br />
name=Dag RPM Repository for Red Hat Enterprise Linux<br />
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag<br />
gpgcheck=1<br />
enabled=1</div>
</div>
<p>When /etc/yum.repos.d is updated. Simply install the packages using yum.</p>

<div class="wp-terminal">user@server:$ yum install mencoder ffmpeg dvdauthor ffmpeg-devel<br/></div>

<p>If you have any lib problems please read <strong><a href="http://www.tuxmachines.org/node/17063" target="_blank">here more about it.</a></strong></p>
<p><strong>Step 3.</strong> If you are a pro command line user, type the following commands to convert file1.avi fille2.avi to DVD format (if you have only one .avi file, then just skip following command):</p>

<div class="wp-terminal">user@server:$ cat file1.avi file2.avi > ccmovie.avi<br/></div>

<p><strong>Step 4.</strong> Now run the movie encoder to create out.avi from yourname.avi (option -ovc and -oac sets no encoding, just stream copy.)</p>

<div class="wp-terminal">user@server:$ mencoder -o out.avi -noidx -oac copy -ovc copy yourname.avi<br/></div>

<p><strong>Step 5.</strong> Next run FFmpeg Video Converter to set aspect ratio, ntsc/pal dvd television standard etc:</p>
<p>For USA</p>

<div class="wp-terminal">user@server:$ ffmpeg -i out.avi -y -target ntsc-dvd -sameq -aspect 16:9 out.mpg<br/></div>

<p>For Europe</p>

<div class="wp-terminal">user@server:$ ffmpeg -i out.avi -y -target pal-dvd -sameq -aspect 4:3 out.mpg<br/></div>

<p><strong>Step 6.</strong> At a high level, a DVD is a collection of menus and titles. Conceptually, a menu contains buttons which can be assigned actions and provides a list of choices to the end user, while a title contains the main content of the DVD. However, in reality many of the features available in menus (including buttons, pausing, and looping) are also available in titles. Use dvdauthor assembles multiple mpeg program streams into a suitable DVD file system. You should see DVD file system in DVD directory:</p>

<div class="wp-terminal">user@server:$ dvdauthor --title -o dvd -f out.mpg<br/></div>

<p><strong>Step 7.</strong> Create the table of contents file instead of a titleset:</p>

<div class="wp-terminal">user@server:$ dvdauthor -o dvd -T<br/></div>

<p><strong>Step 8. </strong>Now your all set, the DVD is done. But what you see is that the DVD files are all loose in the folder. So what we want to do is make a .ISO (Image) of the dvd. So it&#8217;s ready to burn. What we need for that is the RPM mkisofs. We can easily install that, because we have activated the DAG Repo. So install the mkisofs package using yum.</p>

<div class="wp-terminal">user@server:$ yum install mkisofs<br/></div>

<p><strong>Step 9.</strong> Now you have installed mkisofs, we can create .ISO files using this command.</p>

<div class="wp-terminal">user@server:$ mkisofs -dvd-video -o name-your-dvd.iso dvd/<br/></div>

<p><strong>Step 10.</strong> Now your DVD is done. I hope this tutorial has helped you and may help others. We finish with burning the DVD onto an empty DVD.</p>

<div class="wp-terminal">user@server:$ growisofs -dvd-compat -dvd-video -speed=4 -Z /dev/dvd dvd/*<br/></div>

<p>If you have any questions or thoughts to share please leave it here in a comment. Thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/10/09/create-dvd-from-avi-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
