Petras
Petras

Reputation: 4769

Is there a php library to generate mov or avi movies from images and mp3's

I am trying to create a web application where users generate movies. They make the movies out of images and mp3's they upload.

The final result must be a movie file eg mp4/mov or avi.

In order to do this, I need a php library that creates movie from these sources.

Does anyone know of one?

Upvotes: 0

Views: 2522

Answers (3)

DhruvPathak
DhruvPathak

Reputation: 43265

Yes you can, You should use ffmpeg or mencoder.

see this for example : http://electron.mit.edu/~gsteele/ffmpeg/

Upvotes: 2

Eva611
Eva611

Reputation: 6194

Look into phpvideotoolkit and ffmpeg-php

Among other things the description says...

assemble a video stream from a set of separate video images

http://code.google.com/p/phpvideotoolkit/

http://ffmpeg-php.sourceforge.net/

Upvotes: 4

McKayla
McKayla

Reputation: 6959

I don't think PHP is powerful enough to achieve that and I hope you realize that the load on the server would be insane.

Your best bet is to use server-side Java, or better yet, use a Java Applet, to keep the servers resources free.

Upvotes: 0

Related Questions