Don't hard code the "bits" parameter to 16. Try to use the input's sample format, if possible.
Attach a file by drag & drop or click to upload