Body: <p>I am trying to convert a DTS stream to AAC(stereo) using the following command:</p>
  <pre><code>ffmpeg -i &quot;input.mkv&quot;  
  -c:v copy  
  -c:a aac -q:a 2 -ac 2 -ar 48000  
    &quot;output.mp4&quot;
  </code></pre>
  <p>[ffmpeg version : 3.4.8]</p>
  <p>Here q:a 2 controls the output bitrate or quality of the audio stream (VBR). In FFmpeg docs its effective range is given as 0.1-2 where 2 is the best quality. But I have tried increasing this number up to 5 or 6 and the bitrate of output stream keeps increasing.</p>
  <p>So I want to know the best possible way to convert the DTS   stream to AAC stream with the highest quality. For example, is there a number <strong>n</strong>  such that q:<strong>n</strong> will set the highest quality conversion?</p>
  <p>Thanks.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-03-07T04:44:40.823Z
Comments.Text: The native AAC encoder goes upto ~260 kbps. Set it usising bitrate.
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-03-07T05:53:29.713Z
Comments.Text: Thanks @Gyan  I will try it using bitrate.
Comments.UserDisplayName: Lalit Kumar
Tags: <ffmpeg><encoding><audio-quality>
Title: Quality control in DTS to AAC(stereo) conversion using ffmpeg
UserDisplayName: Lalit Kumar
ThreadText: # Quality control in DTS to AAC(stereo) conversion using ffmpeg
  
  (Asked by: username_0 on 2021-03-06)
  
  I am trying to convert a DTS stream to AAC(stereo) using the following command:
  
  ```
  ffmpeg -i "input.mkv"  
  -c:v copy  
  -c:a aac -q:a 2 -ac 2 -ar 48000  
    "output.mp4"
  
  ```
  
  [ffmpeg version : 3.4.8]
  
  Here q:a 2 controls the output bitrate or quality of the audio stream (VBR). In FFmpeg docs its effective range is given as 0.1-2 where 2 is the best quality. But I have tried increasing this number up to 5 or 6 and the bitrate of output stream keeps increasing.
  
  So I want to know the best possible way to convert the DTS stream to AAC stream with the highest quality. For example, is there a number **n** such that q:**n** will set the highest quality conversion?
  
  Thanks.
  
  **Tags:** ffmpeg, encoding, audio-quality
  
  > **Comments:**
  > **username_1**: The native AAC encoder goes upto ~260 kbps. Set it usising bitrate.  
  > **username_0**: Thanks @username_1  I will try it using bitrate.  
  
  ---
  
  ## 0 answers
  
  