Build an ffmpeg command for each input file. Rearrange preset format. Added basename function.