Skip to content

Instantly share code, notes, and snippets.

@Stephenitis
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stephenitis/7d6b9c482d76c3f3c210 to your computer and use it in GitHub Desktop.
Save Stephenitis/7d6b9c482d76c3f3c210 to your computer and use it in GitHub Desktop.
IronWorker .worker file using node and ffmpeg stack
# declare runtime
runtime "node"
# define IronWorker stack
stack "ffmpeg-2.3"
# include your package.json and build command
file "package.json"
build "npm install"
# define your executable
exec "ffmpeg_node_worker.js"
{
"name": "ffmpeg_node_worker",
"version": "1.0.0",
"description": "IronWorker .worker file using node and ffmpeg stack",
"main": "ffmpeg_node_worker.js",
"dependencies": {
"//": "Include your favorite ffmpeg node modules!"
"ffmpeg": "0.0.4",
"ffmpeg-node": "0.0.1",
"fluent-ffmpeg": "^2.0.0-rc2",
"grunt-ffmpeg": "^0.1.3",
"ironio": "0.0.2",
"liquid-ffmpeg": "^1.0.2",
"stream-transcoder": "0.0.5"
},
"author": "stephen@iron.io",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment