A "better" encode always maintains the source frame rate (usually 23.976 fps or 24 fps). Avoid encodes that convert to 30fps or 60fps artificially unless it is for a specific animation workflow; these often introduce interpolation artifacts (the "soap opera effect").
The x265 encoder has a "preset" slider ranging from ultrafast to veryslow. rarbg x265 encoding settings better
If you encode Anime (where RARBG often failed with banding in skies):
Add these parameters:
-x265-params "crf=21:profile=main10:no-sao=1:aq-mode=4:qg-size=8:psy-rd=1.5" A "better" encode always maintains the source frame