Ask A Question

Notifications

You’re not receiving notifications from this thread.

Anyone had luck with Active Storage and Cloud Front?

Dalton Cole asked in General

Hey everyone,

I am working on an on demand video site that would (ideally) involve a user uploading a video via rails active storage direct upload to s3, then that video being served up via cloudfront to other users. With some elemental mediaconvert action happening.

Has anyone has any success with CDN's and Active Storage?

Reply

Unfortunately, ActiveStorage isn't currently flexible enough on the processing side of things.

You'll be better off using Shrine if you want to do any transcoding right now (unless you pay a service to do transcoding for you). I've used streamio-ffmpeg with Shrine to convert videos before.

https://gorails.com/episodes/shrine-background-and-video-transcoding

Reply

Looks like I was about 3 minutes ahead of you, already started watching that lesson. Thanks!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,140+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.