Solve issue #2482

Changed the order of arguments in the call to ffmpeg. Now output options go with the output file instead of the input file. This avoids an issue with ffmpeg 2.x rejecting the call.