Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900