<?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>compbrain.net &#187; avi</title>
	<atom:link href="http://compbrain.net/archives/tag/avi/feed" rel="self" type="application/rss+xml" />
	<link>http://compbrain.net</link>
	<description>A collection of occasional thoughts</description>
	<lastBuildDate>Fri, 09 Dec 2011 03:06:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Fix a Broken AVI Seek Table/Index</title>
		<link>http://compbrain.net/archives/18</link>
		<comments>http://compbrain.net/archives/18#comments</comments>
		<pubDate>Wed, 29 Jul 2009 16:21:42 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[avi]]></category>
		<category><![CDATA[fixit]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://compbrain.net/?p=18</guid>
		<description><![CDATA[Recently I was given a video by a friend in AVI format that caused trouble when playing it on my Neuros OSD. When I watched the video on my laptop with mplayer, everything was fine, but &#8230; <a class="more-link" href="http://compbrain.net/archives/18">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I was given a video by a friend in AVI format that caused trouble when playing it on my <a title="Neuros OSD" href="http://www.neurostechnology.com/osd">Neuros OSD</a>. When I watched the video on my laptop with mplayer, everything was fine, but when you tried to seek with the Neuros it reported a video 16 minutes in length instead of the full hour it should have been. Poking around the internet I found the following solution: Use mencoder to rebuild the AVI index, and write it out to a new copy of the video.</p>
<p><code><br />
$ mencoder -forceidx input.avi -o output.avi -oac copy -ovc copy<br />
$ mv output.avi input.avi<br />
</code></p>
<p>After that, the new input.avi should be playable, and seeking should work properly again.</p>
]]></content:encoded>
			<wfw:commentRss>http://compbrain.net/archives/18/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

