The best program to use is called SUPER I've been using this program for many months. you can turn any container into just about any other container you want.
mp4 to avi, 3pg to avi, or avi to 3pg, mepg to avi or avi to mpeg. I think you get the picture. Just about anything you want it can...