Re: [GD-DEVEL] gdImage to Bitmap
| From: | Pierre | Date: | Mon, 12 Mar 2007 11:50:46 +0000 |
| Subject: | Re: [GD-DEVEL] gdImage to Bitmap | ||
| References: | 1 2 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-125@lists.php.net to get a copy of this message | ||
On 3/10/07, Fletcher, Will <wfletche@harris.com> 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