So far as I know, h264 is actually a video compression codec that requires a video container to host the encoded video. Therefore, a file with the ".h264" extension may be a misnamed .MP4 file.
Simply changing file extension to ".h264" won't do anything if the file is corrupted.
The most...