title: How can i fix ( combine 1 audio and 1 image) with ffmpeg
body: <p>I have to create a video from an image and a wav file. the video must be of the length of the audio file.
  I copied ffmpeg (static version) into the solution folder.
  I also created an environment variable on windows.
  I tried to start ffmpg with this code inserted in my c # program, but it does not work.
  how can I fix it?</p>
  
  <pre><code>string immagine = folderBrowserDialog1.SelectedPath + "/" + nomeFile + ".jpg";
              bmp.Save(immagine);
              string video = folderBrowserDialog2.SelectedPath + "/" + nomeFile + ".mp4";
  
  
              using (Process proc  = new Process()) 
  
              {
                  proc.StartInfo.FileName = "ffmpeg.exe"; 
                  proc.StartInfo.Arguments = " -loop 1 -i \"" + immagine + "\" -i \"" + suono + "\" -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest " + video + " -y";
                  proc.Start();
  
              }
  </code></pre>