コード例 #1
0
 public static Boolean tryConfiguration(out ConfigurationVO cvo)
 {
     cvo = new ConfigurationVO();
     // Verify properties and return false if any are missing
     if (cvo.FfmpegPath == null ||
         cvo.FlvmergePath == null ||
         cvo.SoxPath == null ||
         cvo.Segmenter == null ||
         cvo.SegmenterAudio == null ||
         cvo.ConnectionString == null ||
         cvo.UpdateServiceUrl == null ||
         cvo.ProcessingPath == null ||
         cvo.FfmpegPath.Length == 0 ||
         cvo.FlvmergePath.Length == 0 ||
         cvo.SoxPath.Length == 0 ||
         cvo.Segmenter.Length == 0 ||
         cvo.SegmenterAudio.Length == 0 ||
         cvo.ConnectionString.Length == 0 ||
         cvo.UpdateServiceUrl.Length == 0 ||
         cvo.ProcessingPath.Length == 0 ||
         cvo.SegmentLength == 0)
     {
         return(false);
     }
     return(true);
 }
コード例 #2
0
 public MediaFileMerger(ConfigurationVO cvo)
 {
     this.cvo = cvo;
     Utility.CreateDirectory(this.cvo.ProcessingPath);
 }
コード例 #3
0
 public Merger(ConfigurationVO cvo, List <MergedFile> clipData)
 {
     this.cvo      = cvo;
     commands      = new ExeCommands();
     this.clipData = clipData;
 }
コード例 #4
0
 public Merger(ConfigurationVO cvo)
 {
     this.cvo = cvo;
     commands = new ExeCommands();
 }
コード例 #5
0
 public MapMerger(ConfigurationVO cvo)
     : base(cvo)
 {
     MapStreams();
 }
コード例 #6
0
 public MapMerger(ConfigurationVO cvo, List <MergedFile> clipData)
     : base(cvo, clipData)
 {
     MapStreams();
 }
コード例 #7
0
 public ResizeMerger(ConfigurationVO cvo)
     : base(cvo)
 {
     MapResizedStreams();
 }
コード例 #8
0
 public ResizeMerger(ConfigurationVO cvo, List <MergedFile> clipData)
     : base(cvo, clipData)
 {
     MapResizedStreams();
 }