Exemplo n.º 1
0
 //Скрипт из файла
 public void OpenScript(string scriptPath)
 {
     try
     {
         this.environment = new AviSynthScriptEnvironment();
         this.clip        = environment.OpenScriptFile(scriptPath, forced_colorspace, forced_sampletype);
         //if (!this.clip.HasVideo) throw new ArgumentException("Script doesn't contain video");
     }
     catch (Exception)
     {
         cleanup();
         throw;
     }
 }
Exemplo n.º 2
0
 //Скрипт из файла
 public void OpenScript(string scriptPath)
 {
     try
     {
         this.environment = new AviSynthScriptEnvironment();
         this.clip = environment.OpenScriptFile(scriptPath, forced_colorspace, forced_sampletype);
         //if (!this.clip.HasVideo) throw new ArgumentException("Script doesn't contain video");
     }
     catch (Exception)
     {
         cleanup();
         throw;
     }
 }