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)); }
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); */ }
public static AvsNode NormalizedNode(FileInfo chunkFile, int fps, bool autolevel) { var chunk = new AvsChunk {ChunkFile = chunkFile, ConvertToFps = fps}; return NormalizedNode(chunk, autolevel); }