I got correct output by making the following changes to the code
var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
NReco.VideoConverter.ConcatSettings set = new NReco.VideoConverter.ConcatSettings();
ffMpeg.ConcatMedia(_fileNames, videoRootPath + tobename + ".mp4", NReco.VideoConverter.Format.mp4, set);
NReco.VideoConverter.ConcatSettings had to be initialised with default values. This should have been the fourth parameter to "ffMpeg.Concatmedia" method.