Only encode the first frame and ignore subsequent data