Skip to content

Instantly share code, notes, and snippets.

@Stephenitis
Last active October 18, 2015 04:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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