Best way to convert JPEG sequence to a video file?

I made a work recently in which I write JPEG files to disc with ofxTurboJpeg and load them to have video delays of various lengths.

I still have the JPEGs and I know the framerate, so what’s the best way to convert the JPEGs to video? Just play them back and record the output with ofxFFmpegRecorder?

As long as they are named properly (sequential numbers at the end of the file names), pretty much all video editors will recognise them as a sequence. You can also convert them to video with something like shutter encoder. These will likely be better options than recording the output.