Saturday, 15 August 2015

ruby on rails - Amazon S3: how to combine all images into a video? -


I am in my rail app, I enable users to upload images, to create a video slideshow For processing using FFPAP.

I have to do this locally, but I am thinking that how to do it during the deployment of an app using Heroku. Specifically, I know that Hiroka has limited storage and is a read-only file system, so using CarrierWave does not seem like an alternative to S3 or external storage option.

But how do I run a task using the following S3, where do I add all the images to a video?

The FFPAP command is

  ffmpeg -r 5 -i https://s3.amazonaws.com / [] / uploads / image / image_file / 26 / img% 03d .jpg output.mp4 -y  

and the AWS "folder" has the following:

When I try to do the following, then I get an error with FFPAG Which does not know about:

  https://s3.amazonaws.com/ [] / upload / image / image_file / 26 / img% 03d.jpg  < / Pre> 

Note, this video compilation process works perfectly for me locally, so I know that proven This work should be done in the context.

It's really easy to fix - just replace https with https!


No comments:

Post a Comment