make it work with avconv also (Ubuntu)
shell arrays are bash specific, mark bash (will handle arrays) as interpreter
report errors, otherwise converter will fail silently
Merge pull request #10 from murzz/master

make it work on Ubuntu