Skip to content

Instantly share code, notes, and snippets.

@Stephenitis
Last active August 29, 2015 14:06
Show Gist options
  • Save Stephenitis/f0abd59a604e978b02a9 to your computer and use it in GitHub Desktop.
Save Stephenitis/f0abd59a604e978b02a9 to your computer and use it in GitHub Desktop.
ffmpeg_python.worker
# declare runtime
runtime "python"
# define IronWorker stack, note that this stack uses python 2.3
stack "ffmpeg-2.3"
# include your favorite python/ffmpeg dependencies via pip
pip "ffvideo"
pip "moviepy"
# define your executable
exec "ffmpeg_python_worker.py"
# "pshh.. who needs a FFmpeg python wrapper?"
# this is a useful resource if you are a fan of using default pipes instead of a python wrapper around ffmpeg
# http://zulko.github.io/blog/2013/09/27/read-and-write-video-frames-in-python-using-ffmpeg/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment