Re: [GD-DEVEL] gdImage to Bitmap
[email protected] (Pierre)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
On 3/10/07, Fletcher, Will <[email protected]> wrote: > Pierre, > > Funny you should mention that, I just got the command line ffmpeg to do > it for me from a series of image files I generate using gd. It's the > long way 'round, but it should work fine for my purposes... Thanks! I added two examples in the GD playground repository: http://cvs.php.net/viewvc.cgi/gd/playground/ffmpeg/ ffmpeg_thumb saves the first 10 frames of a video as PNG (easy to fetch other frames and use another format). ffmpeg_out creates a video from GD images, this example simply draws a text in a circle which grows in each frame (it is pretty slow and can be optimized, but it shows the principles), it includes a sample audio stream as well. They are based on the demos available in ffmpeg and from Martin Böhme. It should be easy to use it on windows, you have to get ffmpeg binaries or compile it yourself (using ming, you cannot compile ffmpeg with VC). Regards, --Pierre