I figured I would share a new profile I am working on. It converts files to the HDHomerun h265 format. I have only briefly tested it and it currently only supports ffmpeg. Nvenc is working with it. I am not an expert in handbrake so I will leave that part up to someone else. Anyway enough chatting here it is.
[HDHomeRun H.265] Description=Use this to remove the commercials and convert the source video into a SiliconDust HDHomeRun compatible MPG file with (H.265/AAC) video/audio. order=ffmpeg ffmpeg-general=-threads 0 ffmpeg-video=-vf yadif=0:-1:1,hqdn3d -vcodec libx265 -preset medium -x265-params crf=18 -f mpegts -map 0:v -sn ffmpeg-audio=-acodec libfdk_aac -ab 160k -map 0:a ffmpeg-ext=.ts ffmpeg-audiodelay=skip PreConversionCommercialRemover=true RenameExt=.mpg