Exemple #1
0
        public static AvsNode NormalizedNode(FileInfo chunkFile, bool autolevel)
        {
            var chunk = new AvsChunk {
                ChunkFile = chunkFile
            };

            return(NormalizedNode(chunk, autolevel));
        }
Exemple #2
0
        public override void SerializeToContext(AvsContext context)
        {
            id = context.Id;
            var reference = new AvsChunk()
            {
                ChunkFile = VideoReference
            };

            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);
             */
        }