Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public MediaFileMerger(ConfigurationVO cvo)
 {
     this.cvo = cvo;
     Utility.CreateDirectory(this.cvo.ProcessingPath);
 }
Ejemplo n.º 3
0
 public Merger(ConfigurationVO cvo, List <MergedFile> clipData)
 {
     this.cvo      = cvo;
     commands      = new ExeCommands();
     this.clipData = clipData;
 }
Ejemplo n.º 4
0
 public Merger(ConfigurationVO cvo)
 {
     this.cvo = cvo;
     commands = new ExeCommands();
 }
Ejemplo n.º 5
0
 public MapMerger(ConfigurationVO cvo)
     : base(cvo)
 {
     MapStreams();
 }
Ejemplo n.º 6
0
 public MapMerger(ConfigurationVO cvo, List <MergedFile> clipData)
     : base(cvo, clipData)
 {
     MapStreams();
 }
Ejemplo n.º 7
0
 public ResizeMerger(ConfigurationVO cvo)
     : base(cvo)
 {
     MapResizedStreams();
 }
Ejemplo n.º 8
0
 public ResizeMerger(ConfigurationVO cvo, List <MergedFile> clipData)
     : base(cvo, clipData)
 {
     MapResizedStreams();
 }