title: How to get Runtime to create A audio file using FFMPEG in OSX
body: <p>This code is very similar to many other posts code concerning this issue, however, I cannot seem to get the code working. Could someone please offer some advice on where I am going wrong, thank you.  </p>
  
  <pre><code>public class Test {
      public static void main(final String[] args)  {
          try {
              Runtime.getRuntime().exec("/Users/NN/desktop/ffmpeg -i aud.mp3 a.wmv");
          } catch (IOException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
  
      }
  }
  </code></pre>