Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

create .flv from images

I need some suggestions about to create .flv from 1000 images.

The application I'm building will be use flash to show the .flv, and the server, who have red5 rtmp and php5. The server will be do the conversion from .jpg to .flv.

I searching information but I didn't find which language can be the best to do conversion, or some examples about it...

Someone can help me?

Any idea from I can start it?

thanks!

like image 411
cunoc515 Avatar asked Jun 10 '26 23:06

cunoc515


2 Answers

You can use ffmpeg library. It is very useful library for convertion.

Here is the link

http://www.ffmpeg.org/

You can run this command from your php code.And you can run it in a loop for all images.

ffmpeg -f image2 -i image%d.jpg video.mpg

Also you can find many commands about ffmpeg here.

http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs

like image 167
onurbaysan Avatar answered Jun 13 '26 20:06

onurbaysan


A thought: why do you have to convert the images in the first place? Why not just use Flash to display the images. That can be done using ActionScript.

If the images are not the correct size, then use your application server to resize them before putting them in a location accessible to your Flash application.

like image 37
Ciaran Archer Avatar answered Jun 13 '26 20:06

Ciaran Archer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!