An H.264 sensor aided encoder for aerial video sequences with in-the-loop metadata enhancement