Assistance with blurry stream

dillydilly

New Member
Looking for some help to improve my stream. I feel like I have looked through everything and played around with most settings and I still have a pixelated stream.

My test stream was done on Youtube, but I have the same issues with Twitch.

For the purpose of the test I am using the AMD HW H.264 (AVC) encoder since Twitch doesn't allow AV1 yet.
I play at 1440p but I am downscaling to 1080p. Bitrate @ 7500 Kbps (slightly above Twitch cap, I have ticked ignore streaming service recommendations).
My upload speed is a pretty consistent 100 Mbps.

I have a 9070XT with a 5800x3D so I don't think this is a hardware problem.

Any help would be amazing thank you.

Test Stream:

Log file:
 
Your LG appears to be running HDR, it should be 8-bit. See AMD link below if HDR is disabled.

Refresh Rate should be set @ 120HZ.

Don't downscale.

Fix your stream bit-rate

There's some more but run another test after making updates.

10:35:51.641: name=LG ULTRAGEAR
10:35:51.641: pos={0, 0}
10:35:51.641: size={2560, 1440}
10:35:51.641: attached=true
10:35:51.641: refresh=144
10:35:51.641: bits_per_color=10
10:35:51.641: space=RGB_FULL_G2084_NONE_P2020

10:35:51.641: primaries=[r=(0.685547, 0.308594), g=(0.264648, 0.667969), b=(0.150391, 0.057617), wp=(0.313477, 0.329102)]
10:35:51.641: relative_gamut_area=[709=1.329573, P3=0.980123, 2020=0.703173]
10:35:51.641: sdr_white_nits=280
10:35:51.641: nit_range=[min=0.098400, max=400.000000, max_full_frame=343.000000]
10:35:51.641: dpi=96 (100%)
10:35:51.641: id=\\?\DISPLAY#GSM5B7F#7&12802f67&0&UID264#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
10:35:51.641: alt_id=\\.\DISPLAY1

10:46:03.435: User is ignoring service bitrate limits.
10:46:03.435: Service Recommendations:
10:46:03.435: video bitrate: 51000
10:46:03.435: audio bitrate: 160

10:46:03.438: encoder 'advanced_video_stream': Scaled resolution matches output resolution, scaling disabled
10:46:03.438: encoder 'advanced_video_recording': Scaled resolution matches output resolution, scaling disabled
10:46:03.519: [texture-amf-h264: 'advanced_video_stream'] settings:
10:46:03.519: rate_control: CBR
10:46:03.519: bitrate: 75000
10:46:03.519: cqp: 20
10:46:03.519: keyint: 120
10:46:03.519: preset: quality
10:46:03.519: profile: main
10:46:03.519: level: 4.2
10:46:03.519: b-frames: 2
10:46:03.519: width: 1920
10:46:03.519: height: 1080
10:46:03.519: pre-analysis: false
10:46:03.519: params: (none)
10:46:03.522: ---------------------------------
10:46:03.522: [FFmpeg aac encoder: 'adv_stream_audio'] bitrate: 160, channels: 2, channel_layout: stereo, track: 1
10:46:03.522:
10:46:03.526: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmps://a.rtmps.youtube.com:443/...
10:46:03.553: [rtmp stream: 'adv_stream'] Interface: Realtek Gaming 2.5GbE Family Controller (ethernet, 1000↓/1000↑ mbps)
10:46:03.844: [rtmp stream: 'adv_stream'] Connection to rtmps://a.rtmps.youtube.com:443/live2 (142.250.129.134) successful
10:46:03.844: [rtmp stream: 'adv_stream'] Socket send buffer is 65536 bytes
10:46:03.851: ==== Streaming Start ===============================================
10:46:12.407: WriteN, RTMP send error 10053 (4104 bytes)
10:46:12.408: WriteN, RTMP send error 10038 (59 bytes)
10:46:12.408: WriteN, RTMP send error 10038 (42 bytes)
10:46:12.408: [rtmp stream: 'adv_stream'] Disconnected from rtmps://a.rtmps.youtube.com:443/live2



 
Hey, firstly thanks for the response. Greatly appreciate it.

I was running HDR, checked AMD Adrenaline and it was running 10bit, changed it to 8bit.

Changed my screen refresh rate to 120hz, why is 144hz an issue?

That log had some old settings at the top, my new log is running at 7500 Kbps.

"Don't downscale."
My intention was to stream at 1080p given Twitch doesn't allow higher bit rates. Their guideline don't show any settings for 1440p? Or did you mean change my canvas settings to 1080p?


Either way for the purpose of the test I have set my stream at 1440p. Base canvas & output on the video settings, also disabled rescale on the streaming settings).

Stream Test 2

Log 2
 
The AMD encoder will produce a better encode with more bits. Try 14-16Mb/s for the 1440p stream.

If you must, just downscale the Twitch stream.

144HZ, throws off the video timing. You're recording @ 60FPS, 120 keeps the timing. Also, if you have v-sync enabled, it will work as intended.

You're already using the device timing from your Desktop Audio, so disable it here.

13:59:22.188: [win-wasapi: 'Audio Output Capture'] update settings:
13:59:22.188: device id: {0.0.0.00000000}.{699f6486-2de5-45f0-8f66-cdd29088dd3c}
13:59:22.188: use device timing: 1
 
Maybe, on second look the LG is @ 8-bit but it's still in the HDR Color Space. It may have an Auto HDR feature that needs to be disabled as well.
14:45:32.540: space=RGB_FULL_G2084_NONE_P2020

This is what it should be
13:59:21.370: space=RGB_FULL_G22_NONE_P709
 
Hmm I am struggling to find an auto HDR feature, I only use the AMD Adrenaline app and have HDR toggled on in Windows.

Sorry for a potentially silly question, could the colour impact the blurry picture?


1771081521080.png
 
If you keep the bit-rate up & don't lower it, try disabling B-frames while you're testing. They will be replaced with higher quality P frames.
 
You can disable these, they're not needed & may save some resources.
15:13:47.982: Game Bar: On
15:13:47.982: Game DVR: On

Back to the blurry.

This causes oversaturation too, set this to Partial in OBS.

15:13:48.284: YUV mode: Rec. 709/Full

Encode settings, change Profile to High, currently Main.

Test, if it's still blurry, try more bits.
 
Managed to disable game bar settings, but can't disable fully. DVR is off and background recording is off.

Did a full PC restart after changing all settings.

Still looks a bit grainy/blurry to me.

Log
Stream Example
 
I see a huge difference from the first to last, lots of artifacts have been eliminated & the small text looks way clearer. You're only upping the minimum rate, there's no dropped frames to worry about & YT allows up to 51MB/s.....

ResolutionStandard Frame Rate (24, 25, 30 fps)High Frame Rate (48, 50, 60 fps)Recommended Upload Speed

2K (1440p)16 Mbps24 MbpsMinimum 20 Mbps
 
Yeah I think you are right! I just have a feeling it doesn't look as good as others, but that might be a placebo effect.

Thank you for your help.
 
The AMD encoder quality lags behind pretty much all others. The best way to get around it, is to let it encode @ the highest bit-rate possible.
 
15:48:36.965: h265_texture_amf (AMD HW H.265 (HEVC))
15:48:36.965: av1_texture_amf (AMD HW AV1)
For YouTube, I would recommend using AMD AV1 or H.265/HEVC compared to amf-h264. Better quality at same bitrate or same quality at lower bitrate.
They recommend 6000 min, 30,000 max for 1440p 60 FPS for those codecs.
 
Back
Top