title: CBR libx265, constant bitrate with HEVC
body: <p>I was trying to use FFmpeg and libx265, but actually, I can't find any working solution for HEVC and Constant bitrate</p>
  
  <pre><code>*ffmpeg -i "D:\video\Mixer test.mp4" -c:v libx265 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v 1M -minrate 1M -maxrate 1M -bufsize 2M output.ts*
  </code></pre>
  
  <p>or</p>
  
  <pre><code>ffmpeg -i "D:\video\Mixer test.mp4" -c:v libx265 -preset medium  -pass 1 -b:v 5000k -preset 5 -x265-params -strict-cbr -crf 28 -c:a aac -b:a 128k output.mp4
  </code></pre>
  
  <p><strong><em>Is it possible to get CBR with h265 ?</em></strong> </p>
  
  <p><strong><em>If it isn't possible can you share some official information about it</em></strong></p>
  
  <p>Thank you.</p>