Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am working on Wordpress plugin which can generate video from sequence of images. I read here that we can use FFMpeg and Imagemagick (or imagick) to implement this trick. But, FFMpeg is hardly supported on shared hosting. So, this option is ruled out.

I started working on Imagemagick. But, I was informed here that both of the above options cannot be used for Wordpress. So, is there any feasible option for developing a video file out of images for Wordpress???

I am storing sequence of images in /images folder and want to develop and video out of these images.

I appreciate any help.

share|improve this question
    
This question is more to do with general PHP, rather than WordPress, it would be better placed on perhaps stack overflow or the programmers exchange –  Tom J Nowell Mar 30 '12 at 16:12
1  
Besides, what you're trying to do is likely to upset shared hosters regardless because generating video is not cheap from a computational resource standpoint, and most rules on a shared host are because there isn't much in the way of resources to begin with. You would be best carting your images off to a service that would do the job for you –  Tom J Nowell Mar 30 '12 at 16:14
    
See the same, answered question on Stack Overflow: stackoverflow.com/q/9946343/299509 –  toscho Mar 31 '12 at 0:57
add comment

1 Answer 1

up vote 2 down vote accepted

What you're trying to do is likely to upset shared hosters regardless because generating video is not cheap from a computational resource standpoint, and most rules on a shared host are because there isn't much in the way of resources to begin with. You would be best carting your images off to a service that would do the job for you.

Trying to duplicate the work of ffmpeg etc in PHP will likely exceed the execution timeout, so you're not going anywhere where shared hosts are concerned. You may be able to get away with GIFs, and keep ffmpeg support for those on a VPS

share|improve this answer
    
This is sad to know. Thanks for the information friend. So, finally, no means to implement it on shared hosting, right??? –  Alex Mar 30 '12 at 16:33
    
I just checked out "ImageMagick Engine" plugin for Wordpress which runs well on my shared hosting. The plugin is using Imagemagick php module. So, cant this be used to generate a video file? Please reply. –  Alex Mar 30 '12 at 16:50
    
Image Magick isnt always available, and as the title suggests, it's intended for images. That plugin has nothing at all to do with video as the plugins description says. It simply replaces the calls to the GD image library with ones to the rival ImageMagick library –  Tom J Nowell Mar 30 '12 at 19:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.