in reply to Encoding Video

If you are on Linux, and IO is your only concern, and you have enough memory available, create a ram disk somewhere and write the images there.

It has a couple of drawbacks (for example losing data on power outage), but it's a very simple solution for performance problems with temporary files.