private void Process() { AviSynthBatchSettings avsBatchSettings = this.GetAVSBatchSettings(); AviSynthTemplateScript avsTemplateScript = this.GetAVSScript(); this.SetFFMSIndexSettings(); _fileService = new AviSynthFileService(avsBatchSettings, avsTemplateScript); _validationService = new AviSynthValidationService(avsBatchSettings); _avsService = new AviSynthWriteService(_fileService, _validationService, avsTemplateScript, avsBatchSettings); bgwCreateAviSynthFiles.RunWorkerAsync(); }