Please help. On x264 and NVENC with any settings of bitrate control and any color spaces and color formats, as well as any number and variation of B and main frames the red color is very blurry when recording. How to fix it?
Wow, thank you! Indeed, it's not so noticeable on the white background.This color bleeding is caused by the chroma subsampling of the color format used by practically all consumer video encodings today. It's an accepted annoyance except for lossless studio-quality recordings. The larger the contrast of colored/non colored areas, the less the resolution, the sharper a line (fonts and lines are sharpest), the more prominently it will show. Your example is a really good example to visualize the bleed. By the way, the green is bleeding exactly the same, but it's less visible because the green is much darker in comparison to the red.
You will not notice it with actual video recordings, i. e. high detail moving pictures with (almost) no text. You will notice less of it in your text, if you change the red letters to not so red letters, and if you chose a lighter background.
Modern games often have streaming in mind (it's cheap advertising for the game, after all), so they often design the UI in a way such color bleed is not so visible. Which means not too much plain red text. However, older games suffer.
As far as I know, there is not much you can do about it. You can change the color format to a 4:4:4 chroma subsampling (I444 or RGB), but this comes with severe performance decrease, because this format isn't hardware accelerated within OBS. If you intend to stream or upload videos to a streaming service, recoding within the services will revert all footage to 4:2:0 subsampling anyway, so there is nothing you can do and should better use the default NV12 format in the first place and just accept the bleed.