1050 Ti - YouTube preset with hevc_nvenc

You don’t need a new computer. You have 4 GHz cores, which is a thing of beauty. The problem is that you don’t have a lot of them, and the libx264 Fast preset used for exporting YouTube videos would ideally like more cores than you have.

I’m not able to make an ideal recommendation for you because it sounds like you’re trying to get excellent video quality in the smallest file while using the least processing time. Those are conflicting goals. :slight_smile: Excellent quality requires a big file. Shrink the file and you lose quality. Limit the processing time, and either the file size goes up because mild lossless compression was used, or the quality goes down because rash decisions were made for lossy compression. If you tell us which property is most valuable to you, we can recommend settings that will max out that property.

Here is a general purpose recommendation, though… Start with the YouTube preset as a base, open the Export > Advanced tabs, then make these changes:

  • Codec > Quality: See if 54% is good enough for you
  • Codec > GOP: Set to 149, which exceeds YouTube’s recommendation, but they accept it anyway
  • Codec > B frames: Set to 3
  • Other: Change the preset=fast line to preset=veryfast

The longer GOP should save space, the 54% quality setting is hopefully “good enough without going over”, and the veryfast preset will give you a smaller file in less time for an almost visually indistinguishable drop in quality.

EDIT: I use the terms libx264 and libx265 interchangeably from here on because the YouTube preset is libx264 but your hardware encoding is HEVC/libx265.

As for hevc_nvenc not meeting your expectations, that is not really a surprise. There are very few hardware encoders that actually look good while producing a small file. That’s why the NVIDIA RTX 2060 (specifically the Turing architecture) is considered such a big deal for hardware encoding on a budget. They finally got the quality to approach libx264 at the Fast preset. Prior to that, the hardware was simply not optimized enough to match libx264.

Hardware speed comes from breaking a frame into small tiles and working on the tiles in parallel. But working in parallel means limited (or zero) visibility into what neighboring tiles look like, which can miss opportunities for more compression. When video isn’t fully compressed, it takes more bitrate to get the same quality as libx264. Or, if the bitrate is constrained, then the quality can’t match libx264 because fewer pixels can be represented with the same bitrate. Achieving optimal compression in parallel hardware is actually a very tough challenge, and only recently has NVENC gotten good at it. This is why so many people (myself included) have stuck with libx264 for videos of any importance because the quality of libx264 (up until recently) was simply that much better.

If export speed is really that big a deal to you even after the recommendations above, then your next option might be to get a new video card from the RTX 20xx series.

1 Like