If you have MJPEG .avi files to begin with, don't convert them to something else, just get the Main Concept MJPEG codec (or the Matrox codec set) and you are ready to go.
Thanks to all.
I believe that will use Main Concept codec since Vegas include others of the same company and with them I have obtained good results.
Good bye....