Rewrite saveToFile and writeToStream to use common code
Install flvtool2 on travis
Use bigger file and timeouts for time-based tests
Delay killing ffmpeg on output stream close event
Merge pull request #207 from njoyard/rewrite-streaming

Rewrite saveToFile / writeToStream
Use boolean argument for constant video bitrate
Allow usingPreset to use preset functions
Add addInputOption and addInputOptions
Document small API changes
Make stream tests output more info on failure
Use full precision timestamps, fixes #81
Add withAudioFilter/withVideoFilter
Avoid using exec(), prefer spawn()
Merge pull request #209 from njoyard/small-api-cleanup

Small api cleanup