예제 #1
0
파일: AvsNode.cs 프로젝트: jokalee/Tuto
        public static AvsNode NormalizedNode(StreamChunk chunkFile, int fps, bool autolevel, int shift)
        {
            var chunk = new AvsChunk {
                Chunk = chunkFile, ConvertToFps = fps
            };

            chunk.SyncShift = shift;
            return(NormalizedNode(chunk, autolevel));
        }
예제 #2
0
 public override void SerializeToContext(AvsContext context)
 {
     id = context.Id;
     var reference = new AvsChunk {ChunkFile = VideoReference, ConvertToFps = Fps};
     reference.SerializeToContext(context);
     context.AddData(string.Format(Format, Id, reference.Id, ImageFile, Duration));
     /*
      var script = String.Format(@"
                 video = DirectShowSource(""{0}"")
                 Intro(video, ""{1}"", {2})
                 ", pathToReference, pathToImage, EffectDuration);
      */
 }
예제 #3
0
파일: AvsNode.cs 프로젝트: IvanSorokin/Tuto
        public static AvsNode NormalizedNode(FileInfo chunkFile, int fps, bool autolevel)
        {
            var chunk = new AvsChunk {ChunkFile = chunkFile, ConvertToFps = fps};

            return NormalizedNode(chunk, autolevel);
        }