title: Proper params to convert mp3 to aac using avconv
body: <p>I am writing a little python script that converts <code>mp3</code> files to <code>aac</code>. I am doing so by using <code>avconv</code> and I am wondering if I am doing it right.
  Currently my command looks like this:</p>
  
  <pre><code>avconv -i input.mp3 -ab 80k output.aac
  </code></pre>
  
  <p>This brings me to my first question: I am using <code>-ab 80k</code> as this works with my test-files. On some files I can go higher and use <code>100k</code>. But I'd prefer to have that always on the highest settings. Is there a way to say that?</p>
  
  <p>The other question: I am using it in a python script. Currently I call it as a subprocess. What I'd prefer is not to do so, as this forces me to write a file to disc and then load it again when everything is done. Is there a way to only do it in memory? I am returning the file afterwards using <code>web.py</code> and don't need or want it on my disc? So would be cool not having to use temporary files at all.</p>
  
  <p>Thanks for any tipps and tricks :)</p>