Used NameSpace
PowerShell
using AForge;
using AForge.Imaging.Filters;
using AForge.Imaging;
using AForge.Video;
using AForge.Video.DirectShow;
using AForge.Vision;
using AForge.Vision.Motion;
using AForge.Video.VFW;
using AForge.Video.FFMPEG;
 
 
.Cs 
 
Java
AVIWriter writer = new AVIWriter();

            writer.Open(@"c:\\abc.mp4",10,10);
            Bitmap one = new Bitmap(@"D:\images\1.jpg");
            Bitmap two = new Bitmap(@"D:\images\2.jpg");
            writer.AddFrame(one);
            writer.AddFrame(two);
            writer.Close();
 
 
Errror code
 
A first chance exception of type 'System.ApplicationException' occurred in AForge.Video.VFW.dll
Additional information: Failed opening file
 
 
 
Help Me Please