How to convert .mpeg videos to .h264 format.
Converting MPEG Videos directly to H.264 Encoded Video Files (.mpeg to .h264 conversion) is certainly possible and should be quite straightforward.
Try using one of several video editing programs or (online) conversion tools, such as the Freemake Video Converter or MediaCoder, which allow users to import MPEG videos and export them in H264 format.
Video converting software