Fix fail with ffmpeg 1.1
Migrate to posix-spawn
Remove unused vars