On a Mac computer there are two of programs that come standard with OSX which are compatible with the H.264 MP4 codec. 

For simple video playback QuickTime Player is ideal. If you are looking to edit your videos, iMovie is a good choice for most users, however more advanced editors will want to look into using Final Cut (not a native Mac OSX program).