开发者

create .flv from images

开发者 https://www.devze.com 2023-01-05 17:55 出处:网络
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

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!


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号