Move vframes flag after input and change Popen from wait to communicate

New versions of ffmpeg check the location of vframes and will throw an error if it's specified before the input. 
Also changed wait to communicate (not sure if that's actually doing anything but people on bB think it does).