1

I use standart codec for encoding and i don't like the quality of audio even if there is larger audio bitrate.

ffmpeg -y -i input.avi -i watermark.png -filter_complex \"scale=-2:'min(360,ih)',overlay=(main_w-overlay_w)-20:(main_h-overlay_h)-20\" -codec:v libx264 -profile:v main -preset slow -maxrate 400k -bufsize 800k -codec:a aac -strict experimental -b:a 320k -crf 20 output.mp4 1> error.log 2>&1
2
  • 1
    You will find anything to know about encoding AAC with FFmpeg here : trac.ffmpeg.org/wiki/Encode/AAC
    – Ely
    Aug 28, 2015 at 10:35
  • 1
    libfdk-aac generally produces better quality
    – szatmary
    Aug 28, 2015 at 13:54

0

You must log in to answer this question.

Browse other questions tagged .