You should copy the dvd2avi.vfp file to your TMPGenc folder. Check in TMPGenc's Options/Environmental Settings/VFAPI-plugin that the dvd2avi.vfp file is actually listed and ticked.
DVD2AVI ver 1.76 is the best to use and so is CCE rather than TMPGenc.
DVD2AVI ver 1.76 is the best to use and so is CCE rather than TMPGenc.