Does anyone know of a method to save a sequence of pixel values, stored in an array to a video? Currently I\'m using Cimg to visualise a simple n-body simulation, whilst I c
If saving image files is slow, you may have done something wrong. The cons of saving image files is disk space.
To produce video there are many choices:
On linux I strongly recommend libx264 or ffmpeg, they also provide example to save a video file from bitmap sequence.