- creating a video frame by frame from a picture
- Posted by Leopard2 on December 16th, 2004
Hi
I have an image (about 10.000 x 10.000 points) and I want to create a
video (about 600x400 points) which shows a section of this image. This
section should move over the image. The program should be implemented
in C. My problem is how do I get my pictures into a codec which
creates a video ?
- Posted by Daniel Moree on December 20th, 2004
Don't try to load a codec to do the work or any of that. That is hard to do.
If you want to do it easily, just load it in your project as a resource.
Next, Get a book on DirectX programming. That will teach you how to use
DirectX to create a surface of any size and then create a back buffer of the
same size. Then you just load the section of the picture to the backbuffer,
flip it to the front and load the next frame to the back buffer, flip it,
and so on. Suprise!!! you have a full function movie. If you do this just
right it looks really good
Daniel Moree
- Frame (Computers & Technology) by yakis
- X in a frame where a picture should be? (Computers & Technology) by CL Force
- Laptop as dynamic picture frame (Computers & Technology) by Chris Fonville
- Frame capturing in C with a PX500 frame grabber card (Programming) by iamhimeros
- BSPlayer any good (video player with frame capture)? (Software & Applications) by fitwell

