0

If I'm encoding files like this:

ffmpeg -v quiet -hide_banner -y -i "$f" -passlogfile "$TEMP_FOLDER/ffmpeg.log" -c:v libx264 -b:v 2.5M -maxrate 2.5M -bufsize 5M -profile:v high -level 4.1 -pass 1 -sn -an -f matroska /dev/null < /dev/null
ffmpeg -v quiet -hide_banner -y -i "$f" -passlogfile "$TEMP_FOLDER/ffmpeg.log" -c:v libx264 -b:v 2.5M -maxrate 2.5M -bufsize 5M -profile:v high -level 4.1 -sn -an -pass 2 -f matroska "${f%.*}".h264 < /dev/null

Would setting preset speed increase quality? Should I use it on the first pass or the second ?

2
  • 1
    Yes, slower presets will yield better quality or a lower bitrate. Use in both passes.
    – Gyan
    Mar 18 '20 at 5:22
  • Thanks Gyan! If you want to elaborate it and post it I can accept it as answer. I trust you :)
    – Freedo
    Mar 18 '20 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.