Created
September 17, 2014 19:00
-
-
Save Stephenitis/36e6bbcb47dc0a3ebd4a to your computer and use it in GitHub Desktop.
IronWorker .worker file using PHP and ffmpeg stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"require": { | |
"php-ffmpeg/php-ffmpeg": "0.5.*@dev", | |
"codescale/ffmpeg-php": "dev-master", | |
"pulse00/ffmpeg-bundle": "dev-master", | |
"php-ffmpeg/extras": "0.3.*@dev" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# declare runtime | |
runtime "php" | |
# define IronWorker stack | |
stack "ffmpeg-2.3" | |
# include your package.json and build script, builds happen once initialy on upload on not each time task is run | |
file "composer.phar" | |
file "composer.json" | |
build "php composer.phar install" | |
# define your executable | |
exec "ffmpeg_php_worker.php" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment