Can I convert .mpg videos to .h264 format.
Converting MPEG Videos directly to H.264 Encoded Video Files (.mpg 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 MPG videos and export them in H264 format.
Video converting software