ahh, nevermind, here's a way to do it in less:
here it ends on the first move of move 16
So 16 is an upperbound... for a lower bound, 8 pawns have to be captured, so that takes at least 8 moves. The first move, no capturing can happen, so thats 9 moves. It is obvious that a piece must be used, and when they return to their original spot, that won't be a capture, so at least 10 moves. It's rather obvious that it will take more than 10, but not easy to prove, so I'm going to stick with 10
So the shortest way is somewhere between 10 and 16. I think it would be hard to get more precise then that.
Kilonewton, heres a way to get there on the first move of move 18:
it seems like there might be a faster way(especially since white has to make that repeat with the knights to get everyone back home) but I cant see it.