Skip to main content

Subscribe to GoRails to get access to this episode and all other pro episodes, and new awesome content every month.

Subscribe Now
Only $19/month

Unlimited access. Cancel anytime.

15 Shrine Backgrounding and Video Transcoding

Episode 150 · November 3, 2016

Transcode videos in the background using Shrine

File Uploading


Transcripts

Subscribe or login to view the transcript for this episode.

Discussion


Gravatar
Zulhilmi Zainudin (270 XP) on

Thanks Chris for this. I'm really excited to watch next episode and really can't wait to see how to perform background transcoding using AWS Elastic Transcoder and AWS S3!

For that episode, can you cover using Sidekiq instead of sucker_punch? 😀

Gravatar
Chris Oliver (170,390 XP) on

I may or may not cover Sidekiq in that episode. The trick is as long as you use ActiveJob, there's no difference if use sucker_punch or Sidekiq to power it. They'll work exactly the same except that with Sidekiq you just need to make sure the Sidekiq process is running. ActiveJob provides that nice abstraction layer on top so that your code is exactly the same and you can swap background workers easily.

Gravatar
Zulhilmi Zainudin (270 XP) on

Noted Chris. Thanks!


Gravatar
Marc Gayle (320 XP) on

One mistake in this video Chris is that you set the filetype for the screenshot to be ".mp4" as opposed to "jpg". Not sure how it still worked, but I noticed that.

Or was that intentional?

Gravatar
Chris Oliver (170,390 XP) on

Oh nope, screenshot should be .jpg if it wasn't.


Login or create an account to join the conversation.