Fixed quoting error
Fixed file duration error

This requires a certain version of ffmpeg (later than 2.1.4,
but 2.2.3 works--need to find the dividing line).