set frame rate, output as mjpg