Use camera recording buffer as input for encoder