Can I convert .h264 videos to .mkv format.
Converting H.264 Encoded Video Files directly to Matroska Videos (.h264 to .mkv conversion) is certainly possible, and quite simple.
Use one of many available video editors or (online) conversion tools, such as Freemake Video Converter or FFmpeg, which are capable of converting .h264 to .mkv.
A free video converter offering high-quality conversions between many video formats