public void WriteFile(string path)
        {
            var writer = new VideoFileWriter();

            writer.Open(path, 320 * 3, 240 * 2, 10, VideoCodec.MPEG4);

            _imageFile.SelectedIndex = 0;

            while (_imageFile.SelectedIndex < _imageFile.FrameCount)
            {
                writer.WriteVideoFrame(StitchImages());
                _imageFile.Next();
            }

            writer.Close();
        }
Exemplo n.º 2
0
 private void nextButton_Click(object sender, EventArgs e)
 {
     _imageFile.Next();
 }