Exemplo n.º 1
0
        public VideoStrech GetVideoStream()
        {
            IntPtr aviStream;

            int result = Avi32.AVIFileGetStream(aviFile, out aviStream, Avi32.streamtype_video, 0);

            if (result != 0)
            {
                throw new Exception("Exception in AVIFileGetStream: " + result.ToString());
            }

            VideoStrech stream = new VideoStrech(aviFile, aviStream);
            branches.Add(stream);
            return stream;
        }
Exemplo n.º 2
0
 public void Open()
 {
     videoStretch = this.GetVideoStream();
     videoStretch.GetFrameOpen();
 }