For those that want to keep the YTS going (No, IDGAF about people that don't care for YTS quality) get HandbrakeCLI https://handbrake.fr/downloads... and use the following settings:
user@user:~$HandBrakeCLI -i /file/input.mp4 -o /file/out.mp4 -E fdk_faac -B 96k -6 stereo -R 44.1 -e x264 -q 27 -x cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all
** Don't Re-encode already shitty encodes...get good source!**
Changed HandbrakeCli:
This is the ffmpeg version:
I modded some things. This keep all audio, video and subtitle tracks. The max audio channels number is 5.1.
Okay, the file size a little bit larger, but I think, the audio tracks and channels is more important than ~150 mb save.
I tested both codes and got same filesize with same quality. The only one problem is the x264 so you will need a super strong CPU to transcode movies (my test configuration had a Core i7-4720HQ and the transcoding speed ~0.5x and the movie was 1080p)
I tested the nvenc (nvidia hardware accelerated transcoding), but I can't modify deeply enough the configuration. The result was ~same file size, but poor quality :(