Answers.Body: <p>Problem found. The input quality was already very bad. I used higher quality input which sounded already better.
  Also minimizing the amount of conversions helped to increase output quality. Nothing too special but when I asked the question it was not obvious to me.</p>
  <p>Hope it helps. Cheers.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-14T09:49:39.467Z
Answers.LastActivityDate: 2022-07-14T09:49:39.467Z
Answers.UserDisplayName: letsPWR
Body: <p>I used some complex filters on a audio file and did some re-encoding.</p>
  <pre><code>ffmpeg -f lavfi -t 5 -i anullsrc=channel_layout=stereo:sample_rate=192000 -i file1.mp3 -filter_complex &quot;[1:a][0:a]concat=n=2:v=0:a=1[audio_silence],amovie=file2.mp3:loop=0,asetpts=N/SR/TB,volume=0.1[music];[audio_silence][music]amix=duration=shortest,volume=1&quot; out.mp3
  </code></pre>
  <p>Everytime I do this the audio gets worse. The audio is some speech recording and there are a lot of hisses and high frequency noices in the output.
  How can this be prevented or equalized afterwards?
  I tried some low pass filters but that doesn't seem to work.</p>
  <p>Cheers</p>
  
Tags: <ffmpeg>
Title: ffmpeg complex filter lowering audio quality
UserDisplayName: letsPWR
ThreadText: # ffmpeg complex filter lowering audio quality
  
  (Asked by: username_0 on 2022-06-27)
  
  I used some complex filters on a audio file and did some re-encoding.
  
  ```
  ffmpeg -f lavfi -t 5 -i anullsrc=channel_layout=stereo:sample_rate=192000 -i file1.mp3 -filter_complex "[1:a][0:a]concat=n=2:v=0:a=1[audio_silence],amovie=file2.mp3:loop=0,asetpts=N/SR/TB,volume=0.1[music];[audio_silence][music]amix=duration=shortest,volume=1" out.mp3
  
  ```
  
  Everytime I do this the audio gets worse. The audio is some speech recording and there are a lot of hisses and high frequency noices in the output.
  How can this be prevented or equalized afterwards?
  I tried some low pass filters but that doesn't seem to work.
  
  Cheers
  
  **Tags:** ffmpeg
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-07-14. Score: 1 | Accepted answer
  
  Problem found. The input quality was already very bad. I used higher quality input which sounded already better.
  Also minimizing the amount of conversions helped to increase output quality. Nothing too special but when I asked the question it was not obvious to me.
  
  Hope it helps. Cheers.
  
  
  ---
  
  