Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
#!/usr/bin/env bash | |
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ]; then | |
>&2 echo "No enough arguments provided. use ./build_nginx.sh nginx-version PCRE-version libressl-version" | |
exit 1 | |
fi | |
# names of latest versions of each package | |
export NGINX_VERSION=$1 | |
export VERSION_PCRE="pcre-$2" | |
export VERSION_LIBRESSL="libressl-$3" | |
export VERSION_NGINX=nginx-$NGINX_VERSION |
#!/bin/bash | |
KillNode() { | |
NODE_PID=`ps aux | grep [n]ode | awk '{print $2}'` | |
kill $NODE_PID 2>/dev/null | |
} | |
if [ -z $1 ]; then | |
echo "I need ghost version number as parameter." |