Link Search Menu Expand Document

Merge WMV Video Files - C#

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

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

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

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

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

Download Source Code (.zip)

Return to the previous page Explore Screen Capturing SDK