<?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; create</title>
	<atom:link href="http://www.bobdroog.nl/tag/create/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bobdroog.nl</link>
	<description>My life in this crazy world.</description>
	<lastBuildDate>Thu, 24 Feb 2011 01:02:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>How to create a sample of a video using bash?</title>
		<link>http://www.bobdroog.nl/2009/11/12/how-to-create-a-sample-of-a-video-using-bash/</link>
		<comments>http://www.bobdroog.nl/2009/11/12/how-to-create-a-sample-of-a-video-using-bash/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 15:41:48 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[.mp3]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[converting]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[create movie sample using linux]]></category>
		<category><![CDATA[creating movie sample]]></category>
		<category><![CDATA[creating movie sample using bash]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to create sample of movie]]></category>
		<category><![CDATA[how to create sample of video]]></category>
		<category><![CDATA[lame]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[movie sample]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[sample]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[video sample]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1045</guid>
		<description><![CDATA[With this code you can simply create a preview/sample of your video. Starts at 5.00 and ends on 8.00. Package needed: Mencoder user@server:$ mencoder movie.mkv -o movie.avi -ovc lavc -oac mp3lame -ss 5:00 -endpos 8:00]]></description>
			<content:encoded><![CDATA[<p>With this code you can simply create a preview/sample of your video. Starts at 5.00 and ends on 8.00.</p>
<p>Package needed: <em>Mencoder</em></p>

<div class="wp-terminal">user@server:$ mencoder movie.mkv -o movie.avi -ovc lavc -oac mp3lame -ss 5:00 -endpos 8:00<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/11/12/how-to-create-a-sample-of-a-video-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy full server backup using tar in bash.</title>
		<link>http://www.bobdroog.nl/2009/11/11/easy-full-server-backup-using-tar-in-bash/</link>
		<comments>http://www.bobdroog.nl/2009/11/11/easy-full-server-backup-using-tar-in-bash/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 13:46:58 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[creating backup]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[exclude]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[full]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to create backup from linux system]]></category>
		<category><![CDATA[how to create backup from server]]></category>
		<category><![CDATA[how to create backup using linux]]></category>
		<category><![CDATA[how to create backup using tar]]></category>
		<category><![CDATA[important]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[to]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1014</guid>
		<description><![CDATA[If you decide to use &#8220;tar&#8221; as your backup solution, you should probably take the time to get to know the various command-line options that are available; type &#8220;man tar&#8221; for a comprehensive list. The following code will create a full backup of your entire server. Excluding, /media, /proc and /var/spool/squid you might want to [...]]]></description>
			<content:encoded><![CDATA[<p>If you decide to use &#8220;tar&#8221; as your backup solution, you should probably take the time to get to know the various command-line options that are available; type &#8220;<strong>man tar</strong>&#8221; for a comprehensive list.</p>
<p>The following code will create a full backup of your entire server. Excluding, <strong>/media</strong>, <strong>/proc</strong> and <strong>/var/spool/squid</strong> you might want to add or delete some excludes. Like <strong>/mnt</strong>, most servers mount devices in that folder. You need to exclude these as well. Also, You need to make sure you are creating your backup in a excluded folder/area. I make my backups in a mounted 30GB HD Device located in <strong>/media</strong> which is excluded.</p>

<div class="wp-terminal">user@server:$ tar -cvpzf ServerBackup-`date '+%d-%B-%Y'`.tar.bz2 / --exclude=media --exclude=proc --exclude=var/spool/squid<br/></div>

<p>If you only want to make a Backup from your <strong>/home</strong> and <strong>/root</strong> directory (which are probably the most important) just use this command:</p>

<div class="wp-terminal">user@server:$ tar -cvpzf ServerBackup-`date '+%d-%B-%Y'`.tar.bz2 /root /home<br/></div>

<p>Hope it works for you like it did for me, if you have any questions regarding to this post, please leave a comment so others can read it too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/11/11/easy-full-server-backup-using-tar-in-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>

