avconv: split selecting input file out of transcode().