What is the source of each frame of your videos? Is it from a camera, or is it something you are generating?
Do you need actual video clips, or do you need just series of images saved to disk? Is this real-time or can you take as long as you want per frame? Is this a one-off thing?
If you just need to test, try
PILLOW for accessing the images and individual pixels. If you want to accelerate performance with GPU, I'd be thinking about
pyOpenCL or
pyCuda probably.
If you have a bunch of images on disk, or just image buffers in memory, I'd be thinking about using
ffmpeg to compress that into a video file of some sort.