Changed duration test to accomodate older versions of FFmpeg