How to get best streaming quality while using ultra low latency?

diabloooo0

New Member
Since latency is critical for my live streaming, I am using "ultra low latency" in youtube studio, youtube says it doesn't support 1440p when in ultra low latency mode, so I am using 1080p on both base and scaled resolution, but I am getting blurry video.. Does anyone has any suggestions on how to improve video quality while keeping ultra low latency? my settings are below, also attached the log file. Thanks!

Base resolution: 1920x1080
Output resolution: 1920x1080
FPS: 30 fps
Streaming encoder: NVIDIA NVENC H.265(new)
Rate control: CBR
Bitrate: 9000kbps (my internet upload speed is above 100mbps so this should not be a problem)
Keyframe interval: 2
Preset: Max quality
Profile: high
Audio bitrate: 128
 

Attachments

  • 2022-06-27 09-05-49.txt
    3.1 KB · Views: 484

PaiSand

Active Member
The Base Resoultion is the resolution of your monitor.
The output resolution is the one you want to output, in this case should be 1920x1080
You said that you want the ultra low latency in youtube, but at the same time you have set a stream delay in your OBS. It's one or the other.
You have 2 scenes with no sources in it. So you're streaming nothingness.
Run OBS as admin.
Probably you are at the edge of what your system allows you to.

Please, when you do a test to check if something is wrong or working correctly you must at all times do it in one session, not start, stop, start, stop,start, stop. Please set you're OBS correctly with the sources needed and do a real stream test, all in the same session and restarting OBS before you do the test. Then upload the log.
 

diabloooo0

New Member
The Base Resoultion is the resolution of your monitor.
The output resolution is the one you want to output, in this case should be 1920x1080
You said that you want the ultra low latency in youtube, but at the same time you have set a stream delay in your OBS. It's one or the other.
You have 2 scenes with no sources in it. So you're streaming nothingness.
Run OBS as admin.
Probably you are at the edge of what your system allows you to.

Please, when you do a test to check if something is wrong or working correctly you must at all times do it in one session, not start, stop, start, stop,start, stop. Please set you're OBS correctly with the sources needed and do a real stream test, all in the same session and restarting OBS before you do the test. Then upload the log.
Thank you!

The stream delay setting in OBS is just something I found on internet that people says can reduce the latency... you said it is one or the other, which one is better? I don't mind where to set it, as long as it helps reduce latency and at the same time keep good video quality.

Also when you say "you must at all times do it in one session", does that mean I can change settings "on the fly" while I am streaming and the setting change will take effect right away?

I will try to run OBS as admin too, thanks for the reminder.

Sorry many newbie questions..
 

PaiSand

Active Member
Stream delay is to increase the time (in seconds) between what you are doing and what people see, commonly used by shooter players to avoid stream sniping. It adds several seconds before the stream is sent to the server, meaning you added extra time and then the low-latency serves for nothing. Just remove it.

In one session means: Restart OBS, start test stream, do as you normally do with games/camera/changing scenes with sources in it/etc. for at least 30 seconds; now stop and upload the log file, copy the URL and click on the Analyze button.

And remember, your computer may not be enough for what you want to do.
 

diabloooo0

New Member
Stream delay is to increase the time (in seconds) between what you are doing and what people see, commonly used by shooter players to avoid stream sniping. It adds several seconds before the stream is sent to the server, meaning you added extra time and then the low-latency serves for nothing. Just remove it.

In one session means: Restart OBS, start test stream, do as you normally do with games/camera/changing scenes with sources in it/etc. for at least 30 seconds; now stop and upload the log file, copy the URL and click on the Analyze button.

And remember, your computer may not be enough for what you want to do.
Sounds good, I just restarted OBS, run as admin, and streamed about 1.5 minutes, and attached is the full log file, please help to check if there is any potential problem? Also checked the automatic analysis results and there are no critical issue or warnings, how do I know my computer is enough to do what I want it to do? if no issues or warnings does that mean the computer is powerful enough for now?
 

Attachments

  • 2022-06-28 14-07-24.txt
    8.4 KB · Views: 79

konsolenritter

Active Member
Stream latency as choosen at YT is the delay (or builtup of pre-play buffer) between YT server and the clients player. Rising the latency/buffer stabilizes the client side connection against short-time loss of networking bandwidth for the whole chain between the sending encoder and the receiving player. Lowering the latency/buffer accomodates for fast/better interaction at the expense of being-prepared-against-timely-bottlenecks.

IMHO Latency has nothing to do with quality determining figures like pixels/resolution or in-frame quality controling parameters and figures and settings of the stream. The almost single common things between both worlds are bandwidth considerations in general.
 

diabloooo0

New Member
Stream latency as choosen at YT is the delay (or builtup of pre-play buffer) between YT server and the clients player. Rising the latency/buffer stabilizes the client side connection against short-time loss of networking bandwidth for the whole chain between the sending encoder and the receiving player. Lowering the latency/buffer accomodates for fast/better interaction at the expense of being-prepared-against-timely-bottlenecks.

IMHO Latency has nothing to do with quality figures like resolution or in-frame quality controling parameters and figures and settings of the stream. The almost single common things between both worlds are bandwidth considerations in general.
In YT Studio it says it won't support 1440p or 4k if ultra low latency is selected, so I had to choose 1080p as both base and output resolution. My target audience should have fast enough internet connection to avoid lagging caused by low latency, at least that is what I am assuming..

BTW, I did disabled "Stream Delay" in OBS since it seems won't help in my situation.
 

konsolenritter

Active Member
In YT Studio it says it won't support 1440p or 4k if ultra low latency is selected, so I had to choose 1080p as both base and output resolution. My target audience should have fast enough internet connection to avoid lagging caused by low latency, at least that is what I am assuming..

BTW, I did disabled "Stream Delay" in OBS since it seems won't help in my situation.

Yes. The common factor is bandwidth considerations alone. As said. It's a mathematical inequation. Higher resolutions on YT in general need higher bandwidth (otherwise they will moan), and high bandwidth collides with tiny buffer sizes as would be needed for low latency.

Stream delay in OBS, as @PaiSand already described, is an additional buffer for special purposes on sending side. Contrary to what you want.
 

diabloooo0

New Member
Yes. The common factor is bandwidth considerations alone. As said. It's a mathematical inequation. Higher resolutions on YT in general need higher bandwidth (otherwise they will moan), and high bandwidth collides with tiny buffer sizes as would be needed for low latency.

Stream delay in OBS, as @PaiSand already described, is an additional buffer for special purposes on sending side. Contrary to what you want.
Yup. If all my settings turning out ok, my question now would be, how do I know the streamed video on youtube is indeed 1080p? it is probably stupid question but nowadays people are too getting used to 1440p or 4k, 1080p feels same blurry as even lower resolutions...
 

PaiSand

Active Member
Simple watch the video in youtube. If you can't see the 1080p resolution in the player, then there's an issue. In your side it's all good.
If then Youtube when recoding the video causes this bluriness, it's up to them to fix.
Most people don't have the money to get a 2k, and less a 4k, monitor so they're not getting used to.

You should try 60fps and see if it helps.

[edit]
I just remember, to get a better result you need a better graphics card because the encoder works better with this more up to date video cards.
And this is because how nvidia did it.
[/edit]
 
Last edited:

diabloooo0

New Member
Simple watch the video in youtube. If you can't see the 1080p resolution in the player, then there's an issue. In your side it's all good.
If then Youtube when recoding the video causes this bluriness, it's up to them to fix.
Most people don't have the money to get a 2k, and less a 4k, monitor so they're not getting used to.

You should try 60fps and see if it helps.

[edit]
I just remember, to get a better result you need a better graphics card because the encoder works better with this more up to date video cards.
And this is because how nvidia did it.
[/edit]
I do see 1080p in the player, so that seems to be good.

I will try 60fps see if it makes any difference, thanks for the info. As to graphic card, any recommendation? I am not streaming games nor playing video games.
 
Top