<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A No Nonsense Blog &#187; Audio Video Interleave</title>
	<atom:link href="http://blog.sandeep.co.in/tag/audio-video-interleave/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sandeep.co.in</link>
	<description>Actually Its full of Nonsense</description>
	<lastBuildDate>Fri, 10 Feb 2012 17:32:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.sandeep.co.in' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>A No Nonsense Blog &#187; Audio Video Interleave</title>
		<link>http://blog.sandeep.co.in</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.sandeep.co.in/osd.xml" title="A No Nonsense Blog" />
	<atom:link rel='hub' href='http://blog.sandeep.co.in/?pushpress=hub'/>
		<item>
		<title>Convert AVI to 3gp with ffmpeg</title>
		<link>http://blog.sandeep.co.in/2008/06/19/convert-avi-to-3gp-with-ffmpeg/</link>
		<comments>http://blog.sandeep.co.in/2008/06/19/convert-avi-to-3gp-with-ffmpeg/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 17:48:33 +0000</pubDate>
		<dc:creator>d1g1t</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[AAC]]></category>
		<category><![CDATA[Advanced Audio Coding]]></category>
		<category><![CDATA[Audio Video Interleave]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[Graphical user interface]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mobile phone]]></category>
		<category><![CDATA[MPEG-4]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[sony ericsson]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[winff]]></category>

		<guid isPermaLink="false">http://d1g1t.net/?p=46</guid>
		<description><![CDATA[Ok, I wanted to put some music videos onto my Sony Ericsson K530i so they had to be converted to .3gp with the AAC audio codec. After a lot of googling for GUI tools, I found WinFF. Looked like a great tool, but I got the error &#8220;unknown codec &#8216;libamr_nb&#8217;&#8221; while trying to convert files [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sandeep.co.in&amp;blog=20174603&amp;post=46&amp;subd=sandeepdotcodotin&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ok, I wanted to put some music videos onto my <a class="zem_slink" title="Sony Ericsson" rel="wikipedia" href="http://en.wikipedia.org/wiki/Sony_Ericsson">Sony Ericsson</a> K530i so they had to be converted to <a class="zem_slink" title="3GP" rel="wikipedia" href="http://en.wikipedia.org/wiki/3GP">.3gp</a> with the <a class="zem_slink" title="Advanced Audio Coding" rel="wikipedia" href="http://en.wikipedia.org/wiki/Advanced_Audio_Coding">AAC</a> audio codec. After a lot of googling for <a class="zem_slink" title="Graphical user interface" rel="wikipedia" href="http://en.wikipedia.org/wiki/Graphical_user_interface">GUI</a> tools, I found WinFF. Looked like a great tool, but I got the error &#8220;unknown codec &#8216;libamr_nb&#8217;&#8221; while trying to convert files from <a class="zem_slink" title="Audio Video Interleave" rel="wikipedia" href="http://en.wikipedia.org/wiki/Audio_Video_Interleave">.avi</a> to .3gp</p>
<p>Had to fall back on <a class="zem_slink" title="Command line interface" rel="wikipedia" href="http://en.wikipedia.org/wiki/Command_line_interface">Command Line</a>. I tried to use <a href="http://goinggnu.wordpress.com/2007/02/13/convert-avi-to-3gp-using-ffmpeg/">this</a> guide for a few files, but they didn&#8217;t play on my phone.<br />
DUH it didn&#8217;t support mp3 audio for videos I suppose. I needed the AAC codec according to my phone specifications, so after replacing mp3 with aac the command would be</p>
<blockquote><p>ffmpeg -i inputfile.avi -s qcif -vcodec h263 -acodec aac -ac 1 -ar 8000 -r 25 -ab 32 -y outputfile.3gp</p></blockquote>
<p>(use &#8216;-acodec libfaac&#8217; if you get unknown encoder error)<br />
And I had a lot of files, so this is how I managed to convert them using WinFF:</p>
<p>Open WinFF (<a href="http://winff.org/html/downloads.html">Click here to go to download page if don&#8217;t already have WinFF</a>)</p>
<p>Go to EDIT &gt; PRESETS</p>
<p><img src="http://dstatic.com/blog/presets.jpg" alt="WinFF Preset" /></p>
<p>Give the new Preset a Name and Label</p>
<p>then edit the Preset command line to</p>
<blockquote><p>-s qcif -vcodec h263 -acodec aac -ac 1 -ar 8000 -r 25 -ab 32 -y</p></blockquote>
<p>Output extension of course will be</p>
<blockquote><p>3gp</p></blockquote>
<p>And whatever Category Name you want</p>
<p>Click Add/Update and then Save</p>
<p>Now Back on WinFF, Add your files. Select your category in &#8220;Convert to&#8221; and the Preset. Select Save directory. And just hit Convert!</p>
<p>At this point I get a Box named <a class="zem_slink" title="FFmpeg" rel="wikipedia" href="http://en.wikipedia.org/wiki/FFmpeg">FFmpeg</a> Command line filled with code in it(Not sure if its supposed to do this, but anyway&#8230;). Now copy+paste the lines that begin with /usr/bin/ffmpeg one by one into a terminal and the videos will be converted.</p>
<p>I&#8217;m sure this could be done more easily with some kind of scripting, But I&#8217;m no good at it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<div class="zemanta-pixie" style="margin-top:10px;height:15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/762ca3dd-03e9-4e82-978d-ceb9b0289dfb/"><img class="zemanta-pixie-img" style="border:medium none;float:right;" src="http://img.zemanta.com/reblog_e.png?x-id=762ca3dd-03e9-4e82-978d-ceb9b0289dfb" alt="Reblog this post [with Zemanta]" /></a></div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sandeepdotcodotin.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sandeepdotcodotin.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sandeepdotcodotin.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sandeepdotcodotin.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sandeepdotcodotin.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sandeepdotcodotin.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sandeepdotcodotin.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sandeepdotcodotin.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sandeepdotcodotin.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sandeepdotcodotin.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sandeepdotcodotin.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sandeepdotcodotin.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sandeepdotcodotin.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sandeepdotcodotin.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sandeepdotcodotin.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sandeepdotcodotin.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sandeep.co.in&amp;blog=20174603&amp;post=46&amp;subd=sandeepdotcodotin&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sandeep.co.in/2008/06/19/convert-avi-to-3gp-with-ffmpeg/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a3c966a28c6647b518bac954473cb4f7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">d1g1t</media:title>
		</media:content>

		<media:content url="http://dstatic.com/blog/presets.jpg" medium="image">
			<media:title type="html">WinFF Preset</media:title>
		</media:content>

		<media:content url="http://img.zemanta.com/reblog_e.png?x-id=762ca3dd-03e9-4e82-978d-ceb9b0289dfb" medium="image">
			<media:title type="html">Reblog this post [with Zemanta]</media:title>
		</media:content>
	</item>
	</channel>
</rss>
