loss of videoquality after encoding

After encoding, I have loss of quality of video.
What settings you should make to FFMPEG for better quality ?


  • Does anyone have an Example for H.264 Encoding option or another option?
  • You could add the -crf NUM flag to the encoding options. Where NUM is any number from 0 to 50 (lower means higher quality & larger file size).

    Another option is to add a preset: -preset VALUE. Where allowed values are: ultrafast, superfast, veryfast, faster, fast, medium (default), slow and veryslow. Slower means higher quality.

    Take a look at this link: https://trac.ffmpeg.org/wiki/Encode/H.264
  • Thank you for this information !
This discussion has been closed.