Help with custom encoding

Longtime Mythtv user here, just recently trying to make the move to Plex / MCEBuddy. I’ve been using a script in Linux to encode recordings after removing commercials, and haven’t been able to find the same functionality in MCEBuddy. The only reasonably close option from the encoding drop down is x264 normal. I want to encode using x265 with specific parameters. How can I do this in the MCEBuddy software?

nice HandBrakeCLI -i “$1.tmp” -o “/myth/HDD-1/videos/$4/$2 - S$season"Ep”$episode - $3.mkv" --preset=“H.265 MKV 720p30” -q 19 -a 1 -E copy --audio-copy-mask ac3 --audio-fallback ac3 -B 320 -6 5point1 --x265-preset medium deblock=-1:-1 >/dev/null 2>&1

Is this forum dead? I’d like to try to use the software, but I’m not going to pay for it if I can’t get a few questions answered.

This seems to work pretty well, but where can I find documentation to match the settings I first posted?

[MKV h265 TV q20]
Description=WARNING: Handbrake Constant Quality encoding (25) with Nvidia HVEC.
order=handbrake,ffmpeg
AllowH264CopyRemuxing=true
FixedResolution=true
AutoDeinterlace=true
ffmpeg-UsingHardwareEncoding=True
ffmpeg-general=-threads 0 -hwaccel auto
ffmpeg-video=-ss 9 -c:v hevc_nvenc -cq 20 -rc vbr -map 0:v
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384k -map 0:a
ffmpeg-ext=.mkv
ffmpeg-audiodelay=skip
handbrake-UsingHardwareEncoding=true
handbrake-general=–decomb --denoise=“weak” --loose-anamorphic --verbose=2 -T -O
handbrake-video=–start-at duration:3 -e x265 -q 20
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mkv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

MCEBuddy comes with a wide range of stock profiles including H.265 (HEVC) profiles. If you’re looking to customize/build your own profile I would recommend starting this topic: MCEBuddy - Understanding Profiles Basics

As for custom renaming, enable the Enable custom renaming option in your Conversion Task page and write your own file naming pattern. See this topic to see how to build your own custom renaming pattern using the metadata from your files: MCEBuddy - Advanced Settings, Commands and Tweaking

This documentation is also included in your MCEBuddy installation.

I read through all that, but still can’t really figure out where to put the --preset=“H.265 MKV 720p30” option. Does that go in handbrake-general or handbrake-video?

handbrake-video

Thanks, I’ll give it try

Seems I have something that’s pretty close to what I want. Do I need any of the ffmpeg in there, or can all that just be removed?
[MKV Preset H.265 MKV 1080p30]
Description=WARNING: Handbrake Constant Quality encoding H.265 MKV 1080p30.
order=handbrake,ffmpeg
AllowH264CopyRemuxing=true
FixedResolution=true
AutoDeinterlace=true
ffmpeg-UsingHardwareEncoding=True
ffmpeg-general=-threads 0 -hwaccel auto
ffmpeg-video=-ss 9 -c:v hevc_nvenc -cq 20 -rc vbr -map 0:v
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384k -map 0:a
ffmpeg-ext=.mkv
ffmpeg-audiodelay=skip
handbrake-UsingHardwareEncoding=true
handbrake-general= --verbose=2
handbrake-video= --preset=“H.265 MKV 1080p30” -q 20 --encoder-preset medium
handbrake-audio=-E copy:ac3 -R auto -a 1
handbrake-audioac3=-E copy:ac3 -R auto -a 1
handbrake-ext=.mkv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true