Easy Import of Handbrake Profile!

So I’ve been a long time MCEBuddy user now and it’s great, however for years I tried to figure out, unsuccessfully, how to import and use my Handbrake GUI presets. I’m sorry if this is a duplicate post, but as I had trouble finding this out I figured I’d share just in case.

  1. Build your preset in Handbrake GUI and export out the JSON preset to your MCEBuddy Handbrake folder (C:\Program Files\MCEBuddy2x\handbrake)
  2. Edit your MCEBuddy config file to add the new preset code below (C:\Program Files\MCEBuddy2x\config\profiles.conf)
  3. Replace PRESETNAME.json in the config with your preset name, save, stop/start MCEBuddy and enjoy!

[Handbrake Preset]
Description=Utilizes a Handbrake GUI built preset
2pass=true
order=handbrake
handbrake-general=–preset-import-file PRESETNAME.json
handbrake-audio=-E faac -R auto -B 128-D 0
handbrake-audioac3=-E faac -R auto -B 384 -D 0
handbrake-ext=.mp4
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

You will need to add

handbrake-VideoOptimized=true

to your profile to tell MCEBuddy to skip over validating the video parameters

Also the handbrake-general should be present and empty and you should put your preset in handbrake-video in the profile.

More details here: MCEBuddy - Advanced Settings, Commands and Tweaking

So this what I end up with?

2pass=true
order=handbrake
handbrake-general=
handbrake-video=–preset-import-file PRESETNAME.json
handbrake-audio=-E faac -R auto -B 128-D 0
handbrake-audioac3=-E faac -R auto -B 384 -D 0
handbrake-ext=.mp4
handbrake-audiodelay=skip
handbrake-VideoOptimized=true
PreConversionCommercialRemover=true

I am new to MCEBuddy. I would like to learn more on this topic of importing Handbrake profiles.

I use the Matroska H.264 presets on Handbrake. I prefer the subtitles from those Handbrake presets. Those presets embed subtitle tracks without the need for extracting closed captions and using an additional .SRT file.

This is my profile that has been working:

[MKV preset test]
Description=MKV preset test
order=handbrake
2pass=true
handbrake-general=
handbrake-video=–preset-import-file hbpreset.json
handbrake-audio=–preset-import-file hbpreset.json
handbrake-audioac3=–preset-import-file hbpreset.json
handbrake-ext=.mkv
handbrake-audiodelay=skip
handbrake-VideoOptimized=true

I was unsure about the audio lines, I would like some advice for building the profile correctly.

Thank you.

I would recommend start by looking at this post and then go onto the advanced commands post from there: MCEBuddy - Understanding Profiles Basics

You’ll need to also set the handbrake-AudioOptimized parameter since you don’t want mcebuddy to automatically adjust those settings either.