Skip to content

Instantly share code, notes, and snippets.

@Stephenitis
Last active October 18, 2015 04:46
Show Gist options
  • Save Stephenitis/e862df1cb7df75706e9b to your computer and use it in GitHub Desktop.
Save Stephenitis/e862df1cb7df75706e9b to your computer and use it in GitHub Desktop.
IronWorker .worker file using ruby and ffmpeg stack
# declare runtime
runtime "ruby"
# define IronWorker stack
stack "ffmpeg-2.3"
# define your gemfile w/ gem dependencies
gemfile "Gemfile"
# define your executable
exec "transcode_video.rb"
source "http://rubygems.org"
gem "streamio-ffmpeg"
# general ffmpeg wrapper https://github.com/streamio/streamio-ffmpeg
gem "paperclip-ffmpeg"
# video handling to Paperclip via ffmpeg https://github.com/owahab/paperclip-ffmpeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment