Converting H264 bit stream to. MP4 format by ffmpeg ffmpeg -f h264 -i source.264 -vcodec copy out.mp4