How to convert .mts videos to .h264 format.
Converting AVCHD Videos directly to H.264 Encoded Video Files (.mts to .h264 conversion) is possible and should be straightforward.
Try using video editing programs or (online) conversion tools, such as the Freemake Video Converter or MediaCoder, which allow users to import MTS videos and export them in H264 format.