Not restricted to .avi and multiplatform (Linux/Win/Mac/BSD)
http://fixounet.free.fr/avidemux/
Reply on news.ycombinator.com