Fixes audio bitrate parsing from metadata. Sometimes it returns null
Update: fixes incorrect parsing of audio bitrate from metadata
Merge pull request #75 from cmelendez/master

Updated: Fixes incorrect parsing of audio bitrate from metadata
Add additional check to _getProgressFromStdErr

On v1.2.0, the onProgress event will occasionally fail with the following error:

/node_modules/fluent-ffmpeg/lib/processor.js:369
    var progress = ll.split(/frame=([0-9\s]+)fps=([0-9\s]+)q=([0-9\.\s]+)(L?)s
                      ^
TypeError: Cannot call method 'split' of undefined
    at FfmpegCommand.module.exports._getProgressFromStdErr (/home/ec2-user/EncoderInstance/node_modules/fluent-ffmpeg/lib/processor.js:369:23)
    at Socket.module.exports.saveToFile (/home/ec2-user/EncoderInstance/node_modules/fluent-ffmpeg/lib/processor.js:102:16)
    at Socket.EventEmitter.emit (events.js:88:17)
    at Pipe.onread (net.js:390:31)

This change adds a check for the 'll' variable before calling 'split'.
Merge pull request #76 from bsorbo/master

onProgress event occasionally fails
Kill ffmpeg process when output stream closes.

This is handy for cases like streaming through express, where the process might go on for a long time and the output connection can be killed.
woops logger lives in options
Merge pull request #77 from cjbest/master

Kill ffmpeg process when outputs stream closes
Update lib/processor.js

I fixed the following problems about creating the screenshots without timemarks:

for (var i = 0; i < timemarks.length; i++) {
                             ^
TypeError: Cannot read property 'length' of undefined
Merge pull request #79 from damianociarla/patch-1

added check for timemarks type
fixed leaking var
version bump
used Array.isArray() instead of custom implementation
dropped option '-vpre superfast' since external libx264 presets were deprecated
implemented loop([duration]) and takeFrames(frameCount) methods (closes #78)
version bump
implemented windows compatible test-runner
fixed all unit tests on windows, run using '> build.bat'
version bump
minor fix