How to encode HEVC with FFmpeg and x265

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 3

  • @GeoffreyAngapa
    @GeoffreyAngapa  9 месяцев назад

    If your content is 2D animation, add the _-tune_ _animation_ switch to improve quality:
    ffmpeg -i source.mp4 -c:v libx265 -preset slow *-tune* *animation* -crf 24 -c:a copy FINAL.mp4

    • @Abdi-Hashi
      @Abdi-Hashi 7 месяцев назад

      How to do this with hardware acceleration using NVIDIA GPU HEVC nvenc is crap

    • @GeoffreyAngapa
      @GeoffreyAngapa  7 месяцев назад

      ​@@Abdi-Hashi You can try the following the command:
      ffmpeg -i source.mp4 -c:v hevc_nvenc -preset slow -b:v 1000k -c:a copy FINAL.mp4
      If the quality is bad, raise the 1000k by 500. If the file is too big, drop the value by 500. Keep on adjusting it till you find the right quality. Unfortunately, I don't have an NVIDIA GPU and can't test this. But give it a go and tell me if it works. Thanks.