I am writing a python/django application and it needs to do image manipulation and then combine the images into a video (each image is a frame). Image manipulation is easy.
Use OpenCV and python binding. There is cv.WriteFrame function. Similar question and answer
cv.WriteFrame