Use Xilisoft Video Converter Ultimate its grate
link:(key included)
http://thepiratebay.org/torrent/4341625/Xilisoft_Video_Converter_Ultimate_5___Serial_--_G147_--
avi to mkv use handbrake(no key needed)
http://download.handbrake.fr/handbrake/releases/HandBrake-0.9.3-Win_GUI.exe
Enjoy !!!