1. Yes, your code is correct. The only issue - check if (result.empty()) before imshow.
2. The first call of nextFrame method takes long time, because algorithm initialize inner frame queue. It will process temporalAreaRadius + 1 (5 for default parameters) frames from input source. So, first call is ~5x slower than next calls.