how can i convert a video into image files using ffmpeg in c#?
<pre><code>        string inputpath = strFileNamePath;
        string outputpath = "C:\\Image\\";
        //for (int iIndex = 0; iIndex &lt; 1000; iIndex++)
        //{
            //string fileargs = "-i" + " " + inputpath + "  -ab 56 -ar 44100 -b 200 -r 15 -s 320x240 -f flv " + outputpath + "SRT.flv";
            string fileargs = "-i" + " " + inputpath + " " + outputpath + "image.jpg";
            System.Diagnostics.Process p = new System.Diagnostics.Process();
            p.StartInfo.FileName = "C:\\Documents and Settings\\Badr\\My Documents\\Visual Studio 2008\\Projects\\Video2image2video.\\ffmpeg\\ffmpeg.exe";
            p.StartInfo.Arguments = fileargs;
            p.StartInfo.UseShellExecute = false;
            p.StartInfo.CreateNoWindow = true;
            p.StartInfo.RedirectStandardOutput = true;
            p.Start();
</code></pre>

<p>i have this code this creates only 1 image of video i apply a loop but i repeatedly generates the initial image how can i get images of all the video </p>

<p>thanx in advance </p>
