<?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>Aleks&#039; Domain &#187; videos</title>
	<atom:link href="http://metaleks.net/tag/video/feed" rel="self" type="application/rss+xml" />
	<link>http://metaleks.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 19 Apr 2010 20:33:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Removing Audio Delay From Videos</title>
		<link>http://metaleks.net/open-source/removing-audio-delay</link>
		<comments>http://metaleks.net/open-source/removing-audio-delay#comments</comments>
		<pubDate>Sat, 31 Oct 2009 08:22:27 +0000</pubDate>
		<dc:creator>Aleksandar Micovic</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://metaleks.net/?p=566</guid>
		<description><![CDATA[I&#8217;m often amazed at the things that can be accomplished with a single command. Seriously. A show I had recently downloaded didn&#8217;t have its video and audio synced. I don&#8217;t know about you, but for me, this is incredibly annoying. So much so, that I couldn&#8217;t watch it.
Luckily, there is a way to fix this. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m often amazed at the things that can be accomplished with a single command. Seriously. A show I had recently downloaded didn&#8217;t have its video and audio synced. I don&#8217;t know about you, but for me, this is incredibly annoying. So much so, that I couldn&#8217;t watch it.</p>
<p>Luckily, there is a way to fix this. If you&#8217;re suffering from the same problem, you&#8217;ll need mencoder. If you use Ubuntu, it&#8217;s in the repositories. Here is the command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mencoder <span style="color: #660033;">-audio-delay</span> <span style="color: #000000;">0.5</span> <span style="color: #660033;">-oac</span> copy <span style="color: #660033;">-ovc</span> copy TARGET.mpg <span style="color: #660033;">-o</span> OUTPUT.mpg</pre></div></div>

<p>If your audio is too fast, this example slows the audio down by half a second. The <strong>-oac copy</strong> and <strong>-ovc copy</strong> are so that we preserve the original quality of our file. You can change them if you&#8217;d like. TARGET is your target file, and OUTPUT is obviously your output. Make sure that you add the proper file extensions. In the example above I used <em>.mpg</em>.</p>
<p>Anyway, you&#8217;ll probably have to run this a few times, changing the delay so that it matches your video, and then testing it. It took me three tries to get it synced properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://metaleks.net/open-source/removing-audio-delay/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
