示例#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);
 }
示例#2
0
 public void ExecuteSegmenter(string segmenterType, String args)
 {
     LogMessage(String.Concat("segmenter ", args));
     CommandLineProcessor.ExecuteCommand(segmenterType, args);
 }
示例#3
0
 public void ExecuteFlvMdi(String args)
 {
     CommandLineProcessor.ExecuteCommand(cvo.FlvmdiPath, args);
 }
示例#4
0
 public void ExecuteSox(String args)
 {
     LogMessage(String.Concat("sox ", args));
     CommandLineProcessor.ExecuteCommand(cvo.SoxPath, args);
 }
示例#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);
 }