Image Sequence Processing
Posted: 2012-01-11T14:49:55-07:00
I'm working on generating short videos from still images (kind of a powerpoint to video equivalent converter.)
It's working nicely, but it's just dog dirt slow. By the time you generate 30 frames for a second of video and you try to feed in 50 slides at 10 seconds each it takes a long time to process.
My question is can I load in the video background photo and the slide photo into memory and the output a large sequence of images from it without processing them all multiple times loading them in and out of memory thousands of times (in my current process the slides are being slowly animated and dissolve transitions are being inserted - it's not as simple as using the copy command instead.) So for instance if I can load image A and image B into memory and then composite them hundreds of times while changing the -geometry values to simulate animation.
Currently I'm using a simple bash script on Ubuntu Server; but I'm open to switching to C-based languages if there's a significant performance advantage.
Thanks!
It's working nicely, but it's just dog dirt slow. By the time you generate 30 frames for a second of video and you try to feed in 50 slides at 10 seconds each it takes a long time to process.
My question is can I load in the video background photo and the slide photo into memory and the output a large sequence of images from it without processing them all multiple times loading them in and out of memory thousands of times (in my current process the slides are being slowly animated and dissolve transitions are being inserted - it's not as simple as using the copy command instead.) So for instance if I can load image A and image B into memory and then composite them hundreds of times while changing the -geometry values to simulate animation.
Currently I'm using a simple bash script on Ubuntu Server; but I'm open to switching to C-based languages if there's a significant performance advantage.
Thanks!