Link Search Menu Expand Document

Merge AVI Video Files - C#

Screen Capturing SDK sample in C# demonstrating ‘Merge AVI Video Files’

Program.cs
using BytescoutScreenCapturingLib; // import bytescout screen capturing activex object 
using System;
using System.Diagnostics;

namespace MergeAVIVideos
{
    class Program
    {
        static void Main(string[] args)
        {
            // Create new Capturer object
            Capturer capturer = new Capturer();

            // Merge AVI files that were previously created by the ByteScout Screen Capturer (must be of same size, FPS and type)
            capturer.JoinAVIFiles("Sample1.avi", "Sample2.avi", "output.avi");

            Console.WriteLine("Files merged successfully!");
            Process.Start("output.avi");
        }
    }
}

Download Source Code (.zip)

Return to the previous page Explore Screen Capturing SDK