View Full Version : Video generator
tanffn
19-06-2006, 05:59 AM
Any one here know of a good (easy + free) lib for creating a video from a sequence of images?
I am able to create every frame a bitmap (or whatever), I want to pass it as a stream and receive in the end a compressed avi file (using the available codecs on my computer)
For now even if it would be a standalone program it will do. (I will save A LOT of .bmp files :) )
Clootie
19-06-2006, 06:06 AM
This should be rather easy with Video for Windows API.
Another option is to use DirectShow - probably someone at www.progdigy.com has working application with DSPack library?
You should be able to use VirtualDub (http://www.virtualdub.org/) to do this.
tanffn
19-06-2006, 09:58 PM
DSPack does seam like the right way to go, but I wasn't able to find a demo application that demonstrate anything like that nor anything in their forum.. :(
idee_fixe
20-06-2006, 03:19 PM
i know programs like adobe premiere and maybe even windows movie maker will make movies out of images - just load them in one after another on the timeline, set their duration for 1/30th of a second (or 1/24, 1/60, whatever you want your framerate to be). This is essentially like doing stop motion or traditional animation.
Incidently, this is an easy way to make HiDef animations!
tanffn
21-06-2006, 09:43 AM
Thanks! :) I completely forgot about windows movie maker.
Too bad it creates wmv..
Edit: Apparently it can handle 200 pics without a problem, but 4000 pics is a different story.. it took 900MB of mem and 99% of my CPU for the last few hours, I think its time to giveup on it :(
savage
21-06-2006, 01:02 PM
Have you looked here - http://www.efg2.com/Lab/Library/Delphi/Graphics/FileFormatsAndConversion.htm
under AVI?
savage
21-06-2006, 01:04 PM
Have you looked here - http://www.efg2.com/Lab/Library/Delphi/Graphics/FileFormatsAndConversion.htm
under AVI?
Also worth looking at is this -
http://www.koders.com/delphi/fid4B15E8EFE3C8FD0C591A60587A0A33493C57D9DF.aspx?s =aviwriter
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.