Exemplo n.º 1
0
 // Creates a new file by performing some sort FFMPEG operation
 // Always delete the output file because the overwrite parameter isn't working
 public void ExecuteFFmpeg(String args, String destFile)
 {
     if (destFile.Length != 0)
     {
         Utility.DeleteFileIfExists(destFile);
     }
     LogMessage(String.Concat("ffmpeg ", args));
     CommandLineProcessor.ExecuteCommand(cvo.FfmpegPath, args);
 }
Exemplo n.º 2
0
 public void ExecuteSegmenter(string segmenterType, String args)
 {
     LogMessage(String.Concat("segmenter ", args));
     CommandLineProcessor.ExecuteCommand(segmenterType, args);
 }
Exemplo n.º 3
0
 public void ExecuteFlvMdi(String args)
 {
     CommandLineProcessor.ExecuteCommand(cvo.FlvmdiPath, args);
 }
Exemplo n.º 4
0
 public void ExecuteSox(String args)
 {
     LogMessage(String.Concat("sox ", args));
     CommandLineProcessor.ExecuteCommand(cvo.SoxPath, args);
 }
Exemplo n.º 5
0
 public void ExecuteFlvMerge(String args, String destFile)
 {
     LogMessage(String.Concat("flvmerge ", args));
     CommandLineProcessor.ExecuteCommand(cvo.FlvmergePath, args);
     Utility.MoveFile(String.Concat(ConfigurationVO.ExecutableDirectory, "merge.flv"), destFile);
 }