title: Golang exec.Command() error - ffmpeg command through golang
body: <p>Currently working with this ffmpeg command to edit video </p>
  
  <pre><code>ffmpeg -i "video1.ts" -c:v libx264 -crf 20 -c:a aac -strict -2 "video1-fix.ts"
  </code></pre>
  
  <p>When I enter it in the terminal, it works. However when I try to use the Golang exec.Command() func, I get err response of </p>
  
  <pre><code>&amp;{/usr/local/bin/ffmpeg [ffmpeg -i "video1.ts" -c:v libx264 -crf 20 -c:a aac -strict -2 "video1-fix.ts"] []  &lt;nil&gt; &lt;nil&gt; &lt;nil&gt; [] &lt;nil&gt; &lt;nil&gt; &lt;nil&gt; &lt;nil&gt; &lt;nil&gt; false [] [] [] [] &lt;nil&gt; &lt;nil&gt;}
  </code></pre>
  
  <p>Here below is my code</p>
  
  <pre><code>cmdArguments := []string{"-i", "\"video-1.ts\"", "-c:v", "libx264",
           "-crf", "20", "-c:a", "aac", "-strict", "-2", "\"video1-fix.ts\""}
  
  err := exec.Command("ffmpeg", cmdArguments...)
  fmt.Println(err)
  </code></pre>
  
  <p>Am i missing something from my command syntax? Not sure why it is not loading the videos</p>