Is a mpg file the same as a MPEG file?

Yes. .mpg and .mpeg are both file extensions for the same type of file.