In other words: Is it possible to create CarrierWave versions without processing and then assign them different url locations?
CarrierWave makes creating and accessing versions easy when you do the processing on your own server, but in certain cases I’d like services outside my app to process images and video.
For example, you can send an Amazon S3 URL to ZenCoder and instruct it to create two smaller video files. One optimized for the web and one for mobile. The following tutorial does a great job explaining how to assign one zencoder url to the mounted attribute. http://www.nickdesteffen.com/blog/video-encoding-with-uploadify-carrierwave-and-zencoder
I’d like to figure out how to assign the encoded web video url to a “:web” version and the encoded mobile video url to a “:mobile” version.
If you designate versions in your CarrierWave uploader class without any processing, CarrierWave will create a copy of the movie with the version prefix.
Specify an empty version:
Carrierwave creates two files:
To encode only the mobile version, pass Zencoder the link via: