title: How do i know in the ffmpeg arguments command line what each argument do?
body: <p>I have this code:</p>
  
  <pre><code>public void Start(string FileName, Bitmap Sample_Bitmap, int BitmapRate )
          {
              p = new NamedPipeServerStream(pipename, PipeDirection.Out, 1, PipeTransmissionMode.Byte);
              byte[] b = new byte[1280 * 720 * 3]; // some buffer for the r g and b of pixels of an image of size 720p 
              System.Diagnostics.Process process = new System.Diagnostics.Process();
              process.StartInfo.FileName = @"D:\pipetest\pipetest\ffmpegx86\ffmpeg.exe";
              process.EnableRaisingEvents = false;
              process.StartInfo.WorkingDirectory = @"D:\pipetest\pipetest\ffmpegx86";
              process.StartInfo.Arguments = @"-f rawvideo -pix_fmt rgb24 -video_size 1280x720 -i
                                            \\.\pipe\mytestpipe -map 0 -c:v libx264 -r " + BitmapRate + " " + FileName;
              process.Start();
  
              process.StartInfo.UseShellExecute = false;
              process.StartInfo.CreateNoWindow = false;
              p.WaitForConnection();
          }
  </code></pre>
  
  <p>So i know what BitmapRate do and the FileName but the rest of the arguments.</p>
  
  <p>What odes it mean the <code>-f ?</code> and the rawvideo is that from the decoders or encoders <code>? -i ? -c:v ? libx264</code> is a codec i guess and <code>-r ?</code></p>
  
  <p>Tried to google for this arguments format but didn't find any.</p>
  
  <p>I have 4 text files lists:</p>
  
  <p><code>encoders.txt decoders.txt</code> in both files i have rawvideo too.
  I have <code>pixfmts.txt and fileformats.txt</code> files.</p>
  
  <p>I want to build the arguments string from variables.</p>
  
  <p>So for example BitmapRate is int and FileName is string. And the rest of the arguments what types of variables each one i should put to get in the function ?</p>
  
  <p>For example </p>
  
  <blockquote>
    <p>the rgb24 what type is it ? the 1280x720 what type of variable it
    should be ?</p>
  </blockquote>