Click here to Skip to main content
14,494,281 members
Rate this:
Please Sign up or sign in to vote.
I tried to create a video from a sequence image using FFmpeg in c#.
I wrote this code but I didn't get the output
how to solve this problem...thanks

What I have tried:

public void  Execute()
       {

           using (var process = new Process())
   {
       process.StartInfo.RedirectStandardOutput = true;
       process.StartInfo.RedirectStandardError = true;
       process.StartInfo.FileName = "D:\\h\\t\\N\\ffmpeg.exe";
       process.StartInfo.Arguments = "ffmpeg -start_number 10 -i %d.jpg video.mp4";
       process.StartInfo.UseShellExecute = false;
       process.StartInfo.CreateNoWindow = true;



       process.Start();
       process.BeginErrorReadLine();
       process.WaitForExit();


               }

           }
Posted
Updated 26-Mar-20 14:09pm

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100