On a side note, I just figured out how to speed up h.265 encoding by a factor of 10: use Intel Quick Sync Video found in most current CPUs... it's a world of difference... add "modprobe i915" and "chmod -R 777 /dev/dri" to /boot/config/go at the end, then proceed to add the /dev/dri device to your handbrake docker container... lastly, chose the "H.265 (Intel QSV)" codec in the video section of handbrake... profit!! 😎