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