Video converters like the Freemake Video Converter supports great number of various multimedia formats and can usually freely convert between each other, including h264 to m2v conversion. You can use this software or perhaps some other for conversion of H.264 videos (.h264) to MPEG-2 videos (.m2v).
Open H264 file Open M2V file