add catch H264 and YUV420P data, and save them into the file