Converting .h264 videos to .m4v format.
Converting H.264 Encoded Video Files directly to iTunes Video Files (.h264 to .m4v conversion) should be possible and quite straightforward.
Use one of several video editing programs or (online) conversion tools, such as the Freemake Video Converter or FFmpeg, which allow users to import H264 videos and re-save them in M4V format.
A video converting tool
Program for multimedia streaming and conversion
One of the most popular and successful free video conversion softwares
A multimedia converter for formats suitable for iPad tablets