Bug Report Blur on stream [settings issue]

Toxijuice

New Member
If I stream from any version after 0.571b I get this strange blur on my stream, but not in the local preview.
http://www.twitch.tv/toxijuice/b/488756649

I can close OBS, reopen it, and start streaming over and over until it works, it seems completely random.
I have also tried different things like starting from a blank scene, starting the stream, and then adding things to it without any luck.

I believe the last version that works for me is 0.571b, but I could be wrong. I could test versions one by one until I get the issue, but the issue is inconsistent and would require much testing on each version, even if it seemed to work.

Code:
17:17:55: Open Broadcaster Software v0.591b - 64bit ( ^ω^)
17:17:55: -------------------------------
17:17:55: CPU Name: AMD FX(tm)-8350 Eight-Core Processor
17:17:55: CPU Speed: 4013MHz
17:17:55: Physical Memory:  16282MB Total, 13094MB Free
17:17:55: stepping id: 0, model 2, family 21, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 8, total cores 4
17:17:55: monitor 1: pos={0, 0}, size={1920, 1080}
17:17:55: monitor 2: pos={-1600, 100}, size={1600, 900}
17:17:55: Windows Version: 6.1 Build 7601 S
17:17:55: Aero is Enabled
17:17:55: -------------------------------
17:17:55: OBS Modules:
17:17:55: Base Address     Module
17:17:55: 000000003F290000 OBS.exe
17:17:55: 00000000ED6B0000 OBSApi.dll
17:17:55: 00000000F2580000 DShowPlugin.dll
17:17:55: 00000000F2A90000 GraphicsCapture.dll
17:17:55: 00000000F2560000 NoiseGate.dll
17:17:55: 00000000F2540000 PSVPlugin.dll
17:17:55: ------------------------------------------
17:17:55: Adapter 1
17:17:55:   Video Adapter: NVIDIA GeForce GTX 670
17:17:55:   Video Adapter Dedicated Video Memory: 4232773632
17:17:55:   Video Adapter Shared System Memory: 3973550080
17:17:55:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
17:17:55:   Video Adapter Output 2: pos={-1600, 100}, size={1600, 900}, attached=true
17:17:55: =====Stream Start: 2013-12-19, 17:17:55===============================================
17:17:55:   Multithreaded optimizations: On
17:17:55:   Base resolution: 1920x1080
17:17:55:   Output resolution: 1920x1080
17:17:55: ------------------------------------------
17:17:55: Loading up D3D10 on NVIDIA GeForce GTX 670 (Adapter 1)...
17:17:55: ------------------------------------------
17:17:55: Audio Format: 48000hz
17:17:55: Playback device Default
17:17:55: ------------------------------------------
17:17:55: Using desktop audio input: Speakers (Realtek High Definition Audio)
17:17:55: ------------------------------------------
17:17:55: Using auxilary audio input: Microphone (2- USB PnP Sound Device          )
17:17:55: ------------------------------------------
17:17:55: Audio Encoding: AAC
17:17:55:     bitrate: 128
17:17:55: Using bitmap image
17:17:55: Using text output
17:17:55: Using text output
17:17:56: Using bitmap image
17:17:56: ------------------------------------------
17:17:56:     device: AVerMedia HD Capture C985 Bus 9,
17:17:56:     device id \\?\pci#ven_1af2&dev_a001&subsys_a0011af2&rev_00#4&28cddf4&0&00a8#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{957bd672-7934-4b55-b81a-3e22b14c679a},
17:17:56:     chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, frameIntervals: 166666-666666
17:17:56:     use buffering: false - 0, fourCC: 'YV12'
17:17:56:     audio device: Disable,
17:17:56:     audio device id Disabled,
17:17:56: 
17:17:56: Using directshow input
17:17:56: Scene buffering time set to 700
17:17:56: Using custom x264 settings: "keyint=60"
17:17:56: ------------------------------------------
17:17:56: Video Encoding: x264
17:17:56:     fps: 60
17:17:56:     width: 1920, height: 1080
17:17:56:     preset: veryfast
17:17:56:     profile: high
17:17:56:     keyint: 60
17:17:56:     CBR: yes
17:17:56:     CFR: no
17:17:56:     max bitrate: 3000
17:17:56:     buffer size: 3000
17:17:56: ------------------------------------------
17:17:56: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
17:17:56: MMDeviceAudioSource: Frequency for device 'Microphone (2- USB PnP Sound Device          )' is 192000, samples per sec is 48000
17:18:45: Using bitmap image
17:19:06: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:19:06:   New Scene
17:19:06: Using bitmap image
17:19:14: Total frames encoded: 4625, total frames duplicated: 40 (0.86%)
17:19:14: Total frames rendered: 4604, number of late frames: 4 (0.09%) (it's okay for some frames to be late)
17:19:15: 
17:19:15: Profiler time results:
17:19:15: 
17:19:15: ==============================================================
17:19:15: video thread frame - [100%] [avg time: 2.037 ms] [children: 52.5%] [unaccounted: 47.5%]
17:19:15: | scene->Preprocess - [38.6%] [avg time: 0.786 ms]
17:19:15: | GPU download and conversion - [13.9%] [avg time: 0.283 ms] [children: 10.8%] [unaccounted: 3.14%]
17:19:15: | | flush - [8.74%] [avg time: 0.178 ms]
17:19:15: | | CopyResource - [1.82%] [avg time: 0.037 ms]
17:19:15: | | conversion to 4:2:0 - [0.196%] [avg time: 0.004 ms]
17:19:15: Convert444Threads - [100%] [avg time: 1.639 ms] [children: 99.5%] [unaccounted: 0.488%]
17:19:15: | Convert444toNV12 - [99.5%] [avg time: 1.631 ms]
17:19:15: encoder thread frame - [100%] [avg time: 3.067 ms]
17:19:15: ==============================================================
17:19:15: 
17:19:15: 
17:19:15: Profiler CPU results:
17:19:15: 
17:19:15: ==============================================================
17:19:15: video thread frame - [cpu time: avg 0.677 ms, total 3120.02 ms] [avg calls per frame: 1]
17:19:15: | scene->Preprocess - [cpu time: avg 0.098 ms, total 452.403 ms] [avg calls per frame: 1]
17:19:15: | GPU download and conversion - [cpu time: avg 0.04 ms, total 187.202 ms] [avg calls per frame: 1]
17:19:15: | | flush - [cpu time: avg 0.023 ms, total 109.202 ms] [avg calls per frame: 1]
17:19:15: | | CopyResource - [cpu time: avg 0.006 ms, total 31.2 ms] [avg calls per frame: 1]
17:19:15: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:19:15: Convert444Threads - [cpu time: avg 1.577 ms, total 14383.3 ms] [avg calls per frame: 2]
17:19:15: | Convert444toNV12 - [cpu time: avg 1.57 ms, total 14320.9 ms] [avg calls per frame: 2]
17:19:15: encoder thread frame - [cpu time: avg 2.409 ms, total 11044.9 ms] [avg calls per frame: 1]
17:19:15: ==============================================================
17:19:15: 
17:19:15: =====Stream End: 2013-12-19, 17:19:15=================================================
17:19:15: =====Stream Start: 2013-12-19, 17:19:15===============================================
17:19:15:   Multithreaded optimizations: On
17:19:15:   Base resolution: 1920x1080
17:19:15:   Output resolution: 960x540
17:19:15: ------------------------------------------
17:19:15: Loading up D3D10 on NVIDIA GeForce GTX 670 (Adapter 1)...
17:19:15: ------------------------------------------
17:19:15: Audio Format: 48000hz
17:19:15: Playback device {0.0.0.00000000}.{6b61bf7b-8823-4ab4-bd24-2f34729476ea}
17:19:15: ------------------------------------------
17:19:15: Using desktop audio input: Speakers (Realtek High Definition Audio)
17:19:15: ------------------------------------------
17:19:15: Using auxilary audio input: Microphone (2- USB PnP Sound Device          )
17:19:15: ------------------------------------------
17:19:15: Audio Encoding: AAC
17:19:15:     bitrate: 128
17:19:15: Using bitmap image
17:19:15: Scene buffering time set to 700
17:19:15: Using custom x264 settings: "keyint=60"
17:19:15: ------------------------------------------
17:19:15: Video Encoding: x264
17:19:15:     fps: 60
17:19:15:     width: 960, height: 540
17:19:15:     preset: veryfast
17:19:15:     profile: high
17:19:15:     keyint: 60
17:19:15:     CBR: yes
17:19:15:     CFR: no
17:19:15:     max bitrate: 3000
17:19:15:     buffer size: 3000
17:19:15: ------------------------------------------
17:19:15: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
17:19:15: MMDeviceAudioSource: Frequency for device 'Microphone (2- USB PnP Sound Device          )' is 192000, samples per sec is 48000
17:19:17: Using RTMP service: Twitch / Justin.tv
17:19:17:   Server selection: rtmp://live.justin.tv/app
17:19:17:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
17:19:17: Completed handshake with rtmp://live.justin.tv/app in 109 ms.
17:19:18: SO_SNDBUF was at 8192
17:19:18: SO_SNDBUF is now 65536
17:19:44: Total frames encoded: 1691, total frames duplicated: 3 (0.18%)
17:19:44: Total frames rendered: 1700, number of late frames: 1 (0.06%) (it's okay for some frames to be late)
17:19:44: RTMPPublisher::SocketLoop: Graceful loop exit
17:19:44: Average send payload: 1369 bytes, average send interval: 19 ms
17:19:44: Number of times waited to send: 0, Waited for a total of 0 bytes
17:19:44: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
17:19:44: Number of bytes sent: 1802193
17:19:45: 
17:19:45: Profiler time results:
17:19:45: 
17:19:45: ==============================================================
17:19:45: video thread frame - [100%] [avg time: 0.558 ms] [children: 9.5%] [unaccounted: 90.5%]
17:19:45: | scene->Preprocess - [0.179%] [avg time: 0.001 ms]
17:19:45: | GPU download and conversion - [9.32%] [avg time: 0.052 ms] [children: 8.24%] [unaccounted: 1.08%]
17:19:45: | | flush - [5.02%] [avg time: 0.028 ms]
17:19:45: | | CopyResource - [2.69%] [avg time: 0.015 ms]
17:19:45: | | conversion to 4:2:0 - [0.538%] [avg time: 0.003 ms]
17:19:45: Convert444Threads - [100%] [avg time: 0.263 ms] [children: 98.1%] [unaccounted: 1.9%]
17:19:45: | Convert444toNV12 - [98.1%] [avg time: 0.258 ms]
17:19:45: encoder thread frame - [100%] [avg time: 0.851 ms]
17:19:45: ==============================================================
17:19:45: 
17:19:45: 
17:19:45: Profiler CPU results:
17:19:45: 
17:19:45: ==============================================================
17:19:45: video thread frame - [cpu time: avg 0.238 ms, total 405.602 ms] [avg calls per frame: 1]
17:19:45: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:19:45: | GPU download and conversion - [cpu time: avg 0.018 ms, total 31.201 ms] [avg calls per frame: 1]
17:19:45: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:19:45: | | CopyResource - [cpu time: avg 0.018 ms, total 31.201 ms] [avg calls per frame: 1]
17:19:45: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:19:45: Convert444Threads - [cpu time: avg 0.047 ms, total 156 ms] [avg calls per frame: 2]
17:19:45: | Convert444toNV12 - [cpu time: avg 0.047 ms, total 156 ms] [avg calls per frame: 2]
17:19:45: encoder thread frame - [cpu time: avg 0.085 ms, total 140.4 ms] [avg calls per frame: 1]
17:19:45: ==============================================================
17:19:45: 
17:19:45: =====Stream End: 2013-12-19, 17:19:45=================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Re: Blur on stream only in newer versions of OBS

Preview does not show encoding quality, it shows the base capture image, which is unmodified by anything.

Your settings are what is the trouble here, not OBS or the version of OBS. Encoding isn't done in any of OBS' code, encoding is done by the best AVC encoder library currently available: x264.

The problem with your settings are the following:

1.) You have insufficient bitrate to support 1080p 60fps, 1080p 60fps requires at least 4000 (and only just barely the minimum for 1080p 60fps). I would recommend turning down the resolution and/or FPS to accommodate twitch's lower bitrate requirements. If you have 3000 bitrate available, I would recommend just using 1.5 downscale so you stream at 720p 60fps, which is more fitting for 3000 bitrate.

2.) You manually set your keyframe interval to 60 while having 60 FPS, which means that your keyframe interval is exactly one second. Lower keyframe intervals than the recommended interval will reduce quality. You should remove the text from custom x264 settings and use the "Keyframe Interval (seconds)" option instead to set your keyframe interval to 2 seconds.
 

Toxijuice

New Member
Hm. That's very interesting. I have a profile that I tried using a while back that has very similar settings, but I was using a different profile when this log was created. Could OBS, theoretically, be using the wrong profile? I don't see how it could, but yeah.
 
Top