/// <summary>
 /// Ctors for creating a streamgroup from an existing batch file
 /// </summary>
 /// <param name="videoDescriptor"></param>
 public StreamGroup(ArchiveTranscoderJobSegmentVideoDescriptor videoDescriptor)
 {
     streams      = new ArrayList();
     this.cname   = videoDescriptor.VideoCname;
     this.name    = videoDescriptor.VideoName;
     this.payload = "dynamicVideo";
 }
        public ArchiveTranscoderJobSegmentVideoDescriptor ToVideoDescriptor()
        {
            ArchiveTranscoderJobSegmentVideoDescriptor d = new ArchiveTranscoderJobSegmentVideoDescriptor();

            d.VideoCname = this.cname;
            d.VideoName  = this.name;
            return(d);
        }
Пример #3
0
 public PresentationFromVideoMgr(ArchiveTranscoderJobSegmentVideoDescriptor videoDescriptor,
                                 long start, long end, long offset, LogMgr errorLog, long previousSegmentEnd, ProgressTracker progressTracker)
 {
     this.videoDescriptor    = videoDescriptor;
     this.start              = start;
     this.end                = end;
     this.offset             = offset;
     this.errorLog           = errorLog;
     this.previousSegmentEnd = previousSegmentEnd;
     this.progressTracker    = progressTracker;
     this.tempdir            = null;
     this.videoStream        = null;
     this.deckGuid           = Guid.Empty;
 }