Lifehack: How to improve image quality of Livestreams/Uploads to Youtube by upscaling

zeus.olymp

New Member
Hi there,
have you ever wondered why your livestream or upload to Youtube looks so ugly, even if you are using high bitrates? Then you should continue to read and find out!

First of all you should know, that YT always re-compresses (transcodes) your livestream or upload to different resolutions and bitrates. Unfortunately the bitrate of the transcoded video is independent of the bitrate you deliver. It will happen, that the transcoded video on YT has a bitrate of 1.500 kbps at 1080p, regardless if your livestream or upload has a bitrate of 3.000 kbps, 6.000 kbps or 12.000 kbps.

But, will the quality of the transcoded video not be better, if you deliver a higher quality source (means higher bitrate)? No, it won't. Regardless of the bitrate you deliver, the transcoded video will always end up in the same quality.

To understand how to work around this obstacle and how to improve the quality of your livestream/upload, you should know that YT uses two different codecs to compress video feeds. Up to a resolution of 1920x1080 it uses H.264 to compress, but for higher resolutions (starting from 2560x1440 which is 2K) it uses the higher quality VP9 codec. That means, if you can trigger YT to use VP9 to encode your video feed, you will get transcoded video in a higher quality even at lower resolutions. Once again: when your video feed has at least 2K resolution, it will look much better at 1080p compared to a livestream/upload at 1080p and watched at 1080p. That is the lifehack. If you want to dive deeper into this topic, take a look at VMAF comparisons for 2160 upscaled Content on YouTube.

So, how do you trigger this lifehack for YT in OBS? Go to Settings/Video and enter "2560x1440" for Output (Scaled) Resolution. You can enter it manually if it doesn't appear in the drop-down list. That's it.

Have a nice day.
 

Drunkula

New Member
You're far better off upscaling your local records in something like Davinci Resolve later so you're not battering your CPU while streaming. It can even upload them for you once it's finished.

Have a spiffing evening.
 

sandrix

Member
⬆️ Update 2023

> But, will the quality of the transcoded video not be better, if you deliver a higher quality source (means higher bitrate)? No, it won't. Regardless of the bitrate you deliver, the transcoded video will always end up in the same quality.

There is one simple truth. The higher the quality of the original video data, the fewer losses during further processing. That is why the original recordings when shooting films take up hundreds of gigabytes. With YouTube, everything is the same, but depending on the type of content and the increase in bitrate, the visual difference will be less noticeable.

Livestream
1695286063909.jpeg
1695286072133.jpeg

1695286101809.jpeg
1695286113519.jpeg


VP9 vs AVC

Important facts:

- On YouTube you should stream in 2K resolution and higher, just to get the VP9 codec.

- It is not at all necessary to specify the output resolution in OBS 2560x1440. This increases the load on the encoder. It is enough to create a broadcast key on YouTube in 2K resolution. In this case, regardless of the output resolution in OBS, the stream on YouTube will work in 2K

- You will only be able to use low latency. 10-15 sec

- If you are the owner of a 2K or 4K monitor. Great, use this resolution for YouTube! OBS won't have to artificially stretch pixels. You will get excellent picture clarity and higher quality.

- There is no way you can get VP9 if the maximum resolution on youtube is 1080p60. This only happens on very, very popular streams.

- Higher resolution - higher bitrate! What is stated in the youtube help are just recommendations. Specify as high a bitrate as possible to get higher quality if your internet is fine. Ignore the warnings.

- Youtube now supports H.265/HEVC and AV1 for streams. You need OBS 29+ If you own a Radeon video card, then HEVC will be your salvation.

- After you finish broadcasting, YouTube will compress it again. We conducted a whole study on this topic. So it just works that way.
 
Top