Image recording
-
So far i've set up a timer for 1000ms and each WM_TIMER event I capture the screen and save it to a BMP. If I wanted to record at 12 FPS how would I do this...? Would I basically setup a counter and stop recording when it reaches 12? How do I ensure I get 12 frames per second? Also when playing the images back, how would I allow some frames to have differ delays? p.s-If you know of any code on CP or wherever than would convert 24bit images to 8bit RLE encoded, please let me know... Thanks. "Two wrongs don't make a right, but three lefts do!" - Alex Barylski :)
-
So far i've set up a timer for 1000ms and each WM_TIMER event I capture the screen and save it to a BMP. If I wanted to record at 12 FPS how would I do this...? Would I basically setup a counter and stop recording when it reaches 12? How do I ensure I get 12 frames per second? Also when playing the images back, how would I allow some frames to have differ delays? p.s-If you know of any code on CP or wherever than would convert 24bit images to 8bit RLE encoded, please let me know... Thanks. "Two wrongs don't make a right, but three lefts do!" - Alex Barylski :)
You could set your timer to 83ms which would happen roughly 12 times per second. -Jack
There are 10 types of people in this world, those that understand binary and those who don't.
-
So far i've set up a timer for 1000ms and each WM_TIMER event I capture the screen and save it to a BMP. If I wanted to record at 12 FPS how would I do this...? Would I basically setup a counter and stop recording when it reaches 12? How do I ensure I get 12 frames per second? Also when playing the images back, how would I allow some frames to have differ delays? p.s-If you know of any code on CP or wherever than would convert 24bit images to 8bit RLE encoded, please let me know... Thanks. "Two wrongs don't make a right, but three lefts do!" - Alex Barylski :)
-
You could set your timer to 83ms which would happen roughly 12 times per second. -Jack
There are 10 types of people in this world, those that understand binary and those who don't.
Cool idea, I didn't even think of that... Thanks "Two wrongs don't make a right, but three lefts do!" - Alex Barylski :)