added fix of Paddingfunction
added fix for non filesystem Streams
[Added] ability to specify input format and error detection on input stream

original by [smremde](https://github.com/smremde) as in schaermu/node-fluent-ffmpeg#114