Encoding H.265 Video with HandBrake

Create a H265 Profile

Output Settings

Format: MKV File

Video Tab

  • Video Codec: H.265 (x265)
  • Quality: Constant Quality (Unless you really need to aim for a target filesize (which we recommend against), it is highly recommended that you use Constant Quality.)
  • RF
    • A lower RF number means higher quality.
    • Recommended settings for x264 and x265 encoders:
    • RF 18-22 – 20 <720×480 SD 4:3/16:9 480p/576p Standard Definition
    • RF 19-23 – 21 1280×720 HD 16:9 720p High Definition
      *** RF 19-23 – 21 1440×810 HD 16:9
      *** RF 20-24 – 22 1920×1080 HD 16:9 1080i/p 2K Full High Definition
      *** RF 22-28 – 25 4096×2160 UHD 16:9 2160p 4K Ultra High Definition
  • Framerate: Same as source

Picture Settings

  • Size:
    ** Cropping: Custom (all 0s)
    ** Anamorphic: Strict
  • Filters:
    In the Filters tab, you’ll only want to modify these settings where necessary, leaving everything else ‘off’.
  • If a TV show is interlaced, for example, it’s a good idea to set Decomb to Fast as this will only deinterlace frames that are visibly interlaced. If you want to remove noise or grain from a source, setting Denoise to hqdn3d with a custom preset of 1:1:4:4 is a solid choice.

Audio Tab

  • Codec: HE-AAC
  • Bitrate: 80

Optional: Pass through any subtitles from your source by heading to the Subtitle tab, clicking Add Track, then selecting Add All Remaining Tracks. From here you can also “burn in” subtitles, which codes the text into the video stream so you can see the subtitles on video players that don’t support in-file subtitles (though you can’t turn off the subtitles). Setting subtitles to “forced only” tells a video player to display subtitles even when the audio track matches your set language: this is useful for displaying a subtitles when dialogue isn’t in English; for example, during alien conversations in a sci-fi film.

Save Custom Presets

  • You can create your own presets by clicking the “Add” button on the preset pane.
  1. Enter a name for your preset (remember, presets are sorted by name)
  2. In the “Use Picture Size” dropdown, select one of the following:
  3. None: use this if you do not want the preset to save any of the current picture size settings, this is a good choice if you like to save all other settings, but like to tweak your picture size settings based on your source.
  4. Current: Choose this if you wish to save all of the picture size settings currently in use. Be aware that using “Current” will apply Width, Height, Keep Aspect Ratio, and Anamorphic regardless of source, so if you have a 4:3 aspect ratio movie at the time you create your new preset, you may get undesirable output sizes when the preset is applied to a 16:9 aspect ratio source.
  5. Source Maximum (post source scan) : Choose this if you wish to use the maximum picture size available for the source. This will also take into account anamorphic if anamorphic is in effect at the time the preset is created. Note: Keep Aspect Ratio is also respected when using “Source Maximum”.
  6. Check the “Use Current Picture Filters” checkbox if you wish to save the settings for Detelecine, VFR, Deinterlace, Denoise and Deblock.
  7. Enter a preset description: The preset description you enter is displayed as a tooltip when you hover over the preset name in the preset drawer.
  8. Click “Save”. HandBrake will use the default behavior rules you’ve set and any settings from the main window just before you pressed “Add Preset”.

More Resources