I’ve not had any luck using handbrake presets in MCEBuddy, so you have to dissect them to get the proper commands called. I do use handbrake in MCEBuddy though so can try and help you out. Here is the profile I suggest trying to start with.
This is based on your initial post:
[Handbrake H.265 MKV 720p30]
Description=Using Handbrake H.265 MKV 720p30 preset.
order=handbrake
handbrake-general=-v=2
handbrake-video=--comb-detect=Default --decomb=Default --auto-anamorphic -e h265 --encoder-preset slow -q 21 --pfr --deblock=-1:-1 -Y 720 -r 30
handbrake-audio=-E copy --audio-copy-mask ac3 --audio-fallback ac3 -B 320 -R auto
handbrake-audioac3=-E copy --audio-copy-mask ac3 --audio-fallback ac3 -B 320 -R auto
handbrake-ext=.mkv
handbrake-audiodelay=skip
handbrake-AudioOptimized=true
handbrake-VideoOptimized=true
This should get you as close as I can determine to that preset. The last two values for the Audio and Video Optimized prevents any further detection and optimized of these settings supplied.
Just in case you want to play around with it some. Here is my most recent profile I’ve been using after spending some time tweaking it. I usually use Intel hardware encoding so this is the software encoding version of that.
[HEVC MKV Handbrake Software Encode]
Description=HEVC in MKV
order=handbrake
handbrake-general=-v=2
handbrake-video=--comb-detect=Default --decomb=Default --auto-anamorphic -e x265 --encoder-preset slow -q 26 --cfr
handbrake-audio=-E copy --audio-copy-mask ac3,eac3,truehd,dts,dtshd,mp3,flac --audio-fallback ffac3 -R auto
handbrake-audioac3=-E copy -R auto
handbrake-ext=.mkv
handbrake-audiodelay=skip
Hopefully this helps out. I’m by no means an expert but I like to try and figure things out. I’m still learning about Handbrake and ffmpeg and I’m sure will be tweaking my profile a dozen more times. The constant quest of balance in quality and file size.