Hi,
I am new to c++ builder. I like it a lot as I slowly get some grip on it.
I am trying to learn by creating a video app that captures bitmaps at certain time intervals and saves them as jpeg's.
At the moment I am at the stage where I managed to get the video pic running and a button on the form that captures the current frame and saves it as a bitmap.
capFileSaveDIB is used for this. Now comes the part where the bitmap has to be converted to a jpeg. What is the best way to go (most efficient less CPU intensive as finally I hope to get it working in a way that it is constantly updating the jpeg)? use the structure I have now with the saved bitmap or instead use capEditCopy and save the currentframe to the clipboard and continue from there?
And anyone knows a good source that explains the process of converting a bmp to a jpg?
Thanks,
Ron
I am new to c++ builder. I like it a lot as I slowly get some grip on it.
I am trying to learn by creating a video app that captures bitmaps at certain time intervals and saves them as jpeg's.
At the moment I am at the stage where I managed to get the video pic running and a button on the form that captures the current frame and saves it as a bitmap.
capFileSaveDIB is used for this. Now comes the part where the bitmap has to be converted to a jpeg. What is the best way to go (most efficient less CPU intensive as finally I hope to get it working in a way that it is constantly updating the jpeg)? use the structure I have now with the saved bitmap or instead use capEditCopy and save the currentframe to the clipboard and continue from there?
And anyone knows a good source that explains the process of converting a bmp to a jpg?
Thanks,
Ron