User Tools

Site Tools


ffmpeg:encoding:h265:1-pass_target_bitrate

This is an old revision of the document!


ffmpeg - Encoding - h265 - 1-pass target bitrate

A simple one-pass encode that tries to reach the specified bitrate at the end.

  • This will likely lead to the wrong bitrate estimations for the video part.
  • It is recommended to use a two-pass encoding mode if a certain target bitrate is required.

By setting -b:v and -b:a.


WARNING:

  • *-b:v is bitrate, so 10000 is actually 10 kbps. You probably want 10000k. </WRAP> —- ===== Example ===== <code bash> ffmpeg -i input.mp4 -c:v libx265 -b:v 8M -b:a 320k output.mkv ffmpeg -i input.mp4 -c:v libx265 -b:v 8000k -b:a 320k output.mkv </code>

    NOTE:

    • -b:v: Target bitrate for Video.
    • -b:a: Target bitrate for Audio.
    • Abbreviations can be used, like K for kBit/s and M for MBit/s.
ffmpeg/encoding/h265/1-pass_target_bitrate.1698841597.txt.gz · Last modified: 2023/11/01 12:26 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki