Sensor aided H.264 video encoder for UAV applications