A few weeks ago I was having a realy hard time trying to figure out how to transcode audio with ffmpeg. It turned out to pretty straight forward, but I ended up crawling through ffmpeg.c to find out how to do it.
As I want to figure out other concepts with ffmpeg I will add them to this project. Because it's not terribly useful (mostly POC) just source is available in SVN.
Hopefully this will save others time and trouble.