<?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>robert.swain &#187; AAC</title>
	<atom:link href="http://rob.opendot.cl/index.php/category/aac/feed/" rel="self" type="application/rss+xml" />
	<link>http://rob.opendot.cl</link>
	<description>stuff about me, what i do and some other hopefully useful stuff</description>
	<lastBuildDate>Mon, 06 Sep 2010 06:35:09 +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>A wedding, OpenKvarken, ffmpeg-mt, Collabora</title>
		<link>http://rob.opendot.cl/index.php/2009/10/13/a-wedding-openkvarken-ffmpeg-mt-collabora/</link>
		<comments>http://rob.opendot.cl/index.php/2009/10/13/a-wedding-openkvarken-ffmpeg-mt-collabora/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 18:34:41 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[AAC]]></category>
		<category><![CDATA[Collabora]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://rob.opendot.cl/?p=207</guid>
		<description><![CDATA[Well, I&#8217;ve been quite busy over the past months, despite my lack of blog posts.
My brother got married.
FFmpeg finally has channel layout support for AAC and Vorbis. I&#8217;ve published my work-in-progress HE AAC v1 (Spectral Band Replication) code in FFmpeg&#8217;s  &#8230; <a href="http://rob.opendot.cl/index.php/2009/10/13/a-wedding-openkvarken-ffmpeg-mt-collabora/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve been quite busy over the past months, despite my lack of blog posts.</p>
<p>My brother got married.</p>
<p>FFmpeg finally has channel layout support for AAC and Vorbis. I&#8217;ve published my work-in-progress HE AAC v1 (Spectral Band Replication) code in FFmpeg&#8217;s Summer of Code repository (though it has nothing to do with Google SoC).</p>
<p>A collaboration focused on open source software between two universities in <a href="http://ucoss.se/">Umeå, Sweden</a> and <a href="http://vcoss.fi/">Vaasa, Finland</a> called <a href="http://openkvarken.fi/">OpenKvarken</a> held a <a href="http://openkvarken.fi/?q=content/seminar-5">seminar</a> about VoIP and related technologies. I did two talks there titled: <em>An Open Standard IPTV Implementation in MythTV</em> and <em>Improving FFmpeg for High Definition Video Conferencing</em>.</p>
<p>The latter refers to <a href="http://gitorious.org/ffmpeg/ffmpeg-mt">ffmpeg-mt</a> &#8211; multi-threaded decoding for macroblock-based codecs as developed by Alexander Strange. OpenKvarken should be funding the merge of this code into FFmpeg trunk.</p>
<p>I should be getting a new job with <a href="http://www.collabora.co.uk/">Collabora</a> working to improve the quality of open source multimedia on the whole. It&#8217;s a very exciting venture for me and it may lead to more regular blog posts. <img src='http://rob.opendot.cl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://rob.opendot.cl/index.php/2009/10/13/a-wedding-openkvarken-ffmpeg-mt-collabora/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Main and SBR</title>
		<link>http://rob.opendot.cl/index.php/2008/11/24/main-and-sbr/</link>
		<comments>http://rob.opendot.cl/index.php/2008/11/24/main-and-sbr/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 00:50:10 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[AAC]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://rob.opendot.cl/?p=133</guid>
		<description><![CDATA[Alex Converse has provided a patch to add frequency domain prediction to the FFmpeg AAC decoder which completes the tools required for Main profile support. This is included in FFmpeg trunk as of r15919.
SBR is coming along quite nicely and  &#8230; <a href="http://rob.opendot.cl/index.php/2008/11/24/main-and-sbr/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Alex Converse has provided a patch to add frequency domain prediction to the FFmpeg AAC decoder which completes the tools required for Main profile support. This is included in FFmpeg trunk as of r15919.</p>
<p>SBR is coming along quite nicely and I hope to have it working soon. <img src='http://rob.opendot.cl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://rob.opendot.cl/index.php/2008/11/24/main-and-sbr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LC AAC and SBR, AMR-NB floating point, presets</title>
		<link>http://rob.opendot.cl/index.php/2008/07/23/lc-aac-and-sbr-amr-nb-floating-point-presets/</link>
		<comments>http://rob.opendot.cl/index.php/2008/07/23/lc-aac-and-sbr-amr-nb-floating-point-presets/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 12:38:16 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[AAC]]></category>
		<category><![CDATA[AMR]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[google summer of code]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[x264]]></category>

		<guid isPermaLink="false">http://rob.opendot.cl/?p=100</guid>
		<description><![CDATA[The LC AAC decoder for FFmpeg is shaping up quite well now and has entered round 4 of the reviewing process. I have a feeling that this will be the last round as the code is looking quite clean now.
I  &#8230; <a href="http://rob.opendot.cl/index.php/2008/07/23/lc-aac-and-sbr-amr-nb-floating-point-presets/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The LC AAC decoder for FFmpeg is shaping up quite well now and has entered round 4 of the reviewing process. I have a feeling that this will be the last round as the code is looking quite clean now.</p>
<p>I do have a pending patch to use some new IMDCT functions that Loren Merritt has introduced that take advantage of symmetries of the MDCT. The patch as it is has a bug in it that produces audible artifacts so I think I&#8217;ll need to draw out the different window types and check all the buffer indices. This isn&#8217;t a blocker though and I&#8217;ll maintain the AAC code after it&#8217;s committed to FFmpeg.</p>
<p>Loren suggested a rewrite of the overlapping and windowing code to output samples from the midpoint of the last MDCT block of the last frame to the midpoint of the last MDCT block of the current frame. This makes the code quite complex and may mess with post-processing style extensions like SBR so I don&#8217;t know if I&#8217;ll do this yet or not.</p>
<p>SBR is almost completely integrated and I&#8217;m starting debugging. Hopefully I&#8217;ll have that up and running within the next couple of weeks so Kostya can add SBR encoding to his AAC encoder he&#8217;s been working on for SoC. <img src='http://rob.opendot.cl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Vladimir Voroshilov inspired me to briefly revisit my AMR-NB floating point encoder and we ironed out a number of bugs. We do at least have some sound output now, even if it is mostly garbage. I&#8217;ll jump back on that once I&#8217;m done with AAC or when I get sick of it for a moment. <img src='http://rob.opendot.cl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The eventual goal will be to share some floating point functions in a similar fashion to Vladimir&#8217;s fixed point implementations of various speech codec routines. I expect writing a fixed point AMR-NB decoder wouldn&#8217;t be too difficult using Vladimir&#8217;s routines and I did also start work on this.</p>
<p>UPDATE: Please use the preset files from the 0.5 FFmpeg release or from a current subversion checkout of the FFmpeg development code. These preset files in this post are deprecated! As always, see <a href="http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/">the FFmpeg x264 encoding guide</a> for up-to-date information.</p>
<p>I&#8217;ve uploaded a few libx264 ffpreset files but I&#8217;m still waiting for someone in the know to fix a bug in string option parsing for presets. The presets are:</p>
<ul>
<li><a href="http://rob.opendot.cl/wp-content/files/libx264-default.ffpreset">default</a> &#8211; x264 CLI default values</li>
<li><a href="http://rob.opendot.cl/wp-content/files/libx264-fastfirstpass.ffpreset">fastfirstpass</a> &#8211; disables options unnecessary for first pass</li>
<li><a href="http://rob.opendot.cl/wp-content/files/libx264-normal.ffpreset">normal</a> &#8211; Dark Shikari&#8217;s Q55 preset</li>
<li><a href="http://rob.opendot.cl/wp-content/files/libx264-hq.ffpreset">hq</a> &#8211; Dark Shikari&#8217;s Q75 preset</li>
<li><a href="http://rob.opendot.cl/wp-content/files/libx264-max.ffpreset">max</a> &#8211; all options maxed out</li>
</ul>
<p>If you dump them into ~/.ffmpeg/ then you can use them as noted in the previous post but due to the string option parsing bug you have to explicitly state the rc_eq option as follows. When this bug is fixed I&#8217;ll merge the rc_eq into the preset files.</p>
<p><code>ffmpeg -i infile -vcodec libx264 -vpre hq -rc_eq 'blurCplx(1-qComp)' -b 1M -bt 1M outfile.mp4</code></p>
<p>When I get bored again I&#8217;ll write some out for the different H.264 profiles and levels.</p>
<p>Have fun! <img src='http://rob.opendot.cl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://rob.opendot.cl/index.php/2008/07/23/lc-aac-and-sbr-amr-nb-floating-point-presets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FFmpeg gets presets. AAC and SBR progress.</title>
		<link>http://rob.opendot.cl/index.php/2008/06/07/ffmpeg-gets-presets-aac-and-sbr-progress/</link>
		<comments>http://rob.opendot.cl/index.php/2008/06/07/ffmpeg-gets-presets-aac-and-sbr-progress/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 10:29:19 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[AAC]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[google summer of code]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[x264]]></category>

		<guid isPermaLink="false">http://rob.opendot.cl/?p=99</guid>
		<description><![CDATA[Michael Niedermayer has added some code to FFmpeg trunk that parses text files to assign values to FFmpeg CLI options. The files have to be in &#60;home dir&#62;/.ffmpeg/&#60;codec name&#62;-&#60;preset name&#62;.ffpreset and can be used via -vpre/-apre/-spre for video/audio/subtitles respectively.
For example,  &#8230; <a href="http://rob.opendot.cl/index.php/2008/06/07/ffmpeg-gets-presets-aac-and-sbr-progress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://guru.multimedia.cx/">Michael Niedermayer</a> has added some code to FFmpeg trunk that parses text files to assign values to FFmpeg CLI options. The files have to be in &lt;home dir&gt;/.ffmpeg/&lt;codec name&gt;-&lt;preset name&gt;.ffpreset and can be used via -vpre/-apre/-spre for video/audio/subtitles respectively.</p>
<p>For example, one could have a preset file for high quality x264 encoding. The file would be ~/.ffmpeg/libx264-hq.ffpreset and would be used by `ffmpeg -i infile -vcodec libx264 -vpre hq -b 500k outfile.mp4` or something like that.</p>
<p>We have something in the works for per codec defaults that will greatly reduce the number of options required for x264 use in FFmpeg. Fun times in terms of usability. <img src='http://rob.opendot.cl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Needless to say I&#8217;ll be expending some effort making presets and getting them published somehow and also endeavouring to get useful per codec defaults applied as well.</p>
<p>The Google Summer of Code AAC decoder for FFmpeg is almost polished up. I have one patch pending at the time of writing and then I think I&#8217;ll be just about ready to request another full review. In the mean time I can start gluing in my SBR code and prodding it into life. Also fun times. <img src='http://rob.opendot.cl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://rob.opendot.cl/index.php/2008/06/07/ffmpeg-gets-presets-aac-and-sbr-progress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>progress update</title>
		<link>http://rob.opendot.cl/index.php/2008/05/30/progress-update/</link>
		<comments>http://rob.opendot.cl/index.php/2008/05/30/progress-update/#comments</comments>
		<pubDate>Fri, 30 May 2008 21:59:47 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[AAC]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://rob.opendot.cl/?p=98</guid>
		<description><![CDATA[The code for SBR is mostly finished. The bitstream parsing has been implemented and all required code is completed. However, I&#8217;ve diverted my attention to getting the LC AAC code from the SoC repository into FFmpeg&#8217;s SVN trunk. Progress on  &#8230; <a href="http://rob.opendot.cl/index.php/2008/05/30/progress-update/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The code for SBR is mostly finished. The bitstream parsing has been implemented and all required code is completed. However, I&#8217;ve diverted my attention to getting the LC AAC code from the SoC repository into FFmpeg&#8217;s SVN trunk. Progress on this is good and there aren&#8217;t too many things remaining to address. I hope to have it merged within the next couple of weeks. After that I will return my focus to getting SBR integrated and working.</p>
]]></content:encoded>
			<wfw:commentRss>http://rob.opendot.cl/index.php/2008/05/30/progress-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
