Question / Help OBS quality video Bad

killer102

New Member
Ok so i looked up some help on how to make your OBS quality stream better but i makes the video lag whenever i play then i found what was causing it, it was in advance and then at custom x264 encoder settings and i put it at crf=22 then i turned it of but i makes the video have a bad quality anyway to make the video better but not to make the video lag?

Here is my settings
ENCODING
encoder: x264 (on)
quick sync (off)
nvdia NVENC (off)
Use CBR (off)
enable CBR (not available)
quality balance (10)
max bitrate 2500
use custom buffer size(off)
buffer size 2500
------------VIDEO SETTINGS-------
Base resolution
custom (on)
1920 1080
resolution downscale 1.25
filter fastest
FPS 60
disable AERO (off)
--------ADVANCE--------
use multithread (on)
process priority class (normal)
scene Buffering time (700)
disable encoding while previewing (off)
allow other modifiers on hotkeys (pn)
x264 CPU very fast
encoding profile high
keyframe interval (0)
use CRF (off)
custom x264 encoder settings (crf=22)
allow 61-120 FPS entry in videos settings (on)

Is there anyway to fix this?
 

dodgepong

Administrator
Community Helper
Can you post your log? (Here's how)

I can tell you right now that many of your settings are pretty bad already. You should have CBR enabled (and CBR padding enabled). You should also have CFR enabled in Advanced settings, and if you're streaming to Twitch, put your encoding profile on main and your keyframe interval at 2. Also there is no reason to enable the "Allow 61-120 FPS" setting because streaming above 60fps is ludicrous.

Beyond that, we'll need to see your log to get more information on what else to change.
 

killer102

New Member
16:59:15: Open Broadcaster Software v0.624b - 32bit (´・ω・`)
16:59:15: -------------------------------
16:59:15: NOT SHARED
16:59:15: NOT SHARED
16:59:15: NOT SHARED
16:59:15: stepping id: 3, model 4, family 16, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
16:59:15: monitor 1: pos={0, 0}, size={1920, 1080}
16:59:15: Windows Version: 6.1 Build 7601 S
16:59:15: Aero is Enabled
16:59:15: -------------------------------
16:59:15: OBS Modules:
16:59:15: Base Address Module
16:59:15: 00270000 OBS.exe
16:59:15: 5FB40000 OBSApi.dll
16:59:15: 662B0000 DShowPlugin.dll
16:59:15: 66C10000 GraphicsCapture.dll
16:59:15: 66060000 NoiseGate.dll
16:59:15: 66040000 PSVPlugin.dll
16:59:15: ------------------------------------------
16:59:15: Adapter 1
16:59:15: Video Adapter: AMD Radeon HD 6900 Series
16:59:15: Video Adapter Dedicated Video Memory: 2134573056
16:59:15: Video Adapter Shared System Memory: 2160328704
16:59:15: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
16:59:15: Using fixed low latency mode, factor 20
16:59:15: =====Stream Start: 2014-06-01, 16:59:15===============================================
16:59:15: Multithreaded optimizations: On
16:59:15: Base resolution: 1920x1080
16:59:15: Output resolution: 1536x864
16:59:15: ------------------------------------------
16:59:15: Loading up D3D10 on AMD Radeon HD 6900 Series (Adapter 1)...
16:59:15: ------------------------------------------
16:59:15: Audio Format: 48000 Hz
16:59:15: ------------------------------------------
16:59:15: Audio Channels: 2 Ch
16:59:15: Playback device {0.0.0.00000000}.{22a081f8-2823-42cd-bbb7-e12bff12ef66}
16:59:15: ------------------------------------------
16:59:15: Using desktop audio input: Speakers (High Definition Audio Device)
16:59:15: Global Audio time adjust: 0
16:59:15: ------------------------------------------
16:59:15: Using auxilary audio input: Microphone (HD Pro Webcam C910)
16:59:15: Mic time offset: 0
16:59:15: ------------------------------------------
16:59:15: Audio Encoding: AAC
16:59:15: bitrate: 192
16:59:15: Using graphics capture
16:59:15: Trying to hook process: javaw.exe
16:59:15: Scene buffering time set to 700
16:59:15: Using custom x264 settings: "crf=22"
16:59:15: ------------------------------------------
16:59:15: Video Encoding: x264
16:59:15: fps: 60
16:59:15: width: 1536, height: 864
16:59:15: preset: veryfast
16:59:15: profile: high
16:59:15: keyint: 120
16:59:15: CBR: yes
16:59:15: CFR: yes
16:59:15: max bitrate: 2500
16:59:15: buffer size: 2500
16:59:15: ------------------------------------------
16:59:15: SharedTexCapture hooked
16:59:17: Using RTMP service: Twitch / Justin.tv
16:59:17: Server selection: rtmp://live.justin.tv/app
16:59:17: Interface: Intel(R) 82583V Gigabit Network Connection (ethernet, 1000 mbps)
16:59:17: Completed handshake with rtmp://live.justin.tv/app in 192 ms.
16:59:18: SO_SNDBUF was at 8192
16:59:18: SO_SNDBUF is now 65536
16:59:19: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 70938 / 344064)
16:59:19: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 30381 / 344064)
16:59:37: Total frames encoded: 1258, total frames duplicated: 36 (2.86%)
16:59:37: Total frames rendered: 1263, number of late frames: 7 (0.55%) (it's okay for some frames to be late)
16:59:38: RTMPPublisher::SocketLoop: Graceful loop exit
16:59:38: Average send payload: 18995 bytes, average send interval: 67 ms
16:59:38: Number of times waited to send: 96, Waited for a total of 337037 bytes
16:59:38: Number of b-frames dropped: 66 (5.8%), Number of p-frames dropped: 134 (12%), Total 200 (18%)
16:59:38: Number of bytes sent: 5394715
16:59:38:
16:59:38: Profiler time results:
16:59:38:
16:59:38: ==============================================================
16:59:38: video thread frame - [100%] [avg time: 1.335 ms] [children: 50.3%] [unaccounted: 49.7%]
16:59:38: | scene->Preprocess - [0.0749%] [avg time: 0.001 ms]
16:59:38: | GPU download and conversion - [50.3%] [avg time: 0.671 ms] [children: 33.9%] [unaccounted: 16.4%]
16:59:38: | | flush - [28.8%] [avg time: 0.384 ms]
16:59:38: | | CopyResource - [4.87%] [avg time: 0.065 ms]
16:59:38: | | conversion to 4:2:0 - [0.225%] [avg time: 0.003 ms]
16:59:38: Convert444Threads - [100%] [avg time: 1.039 ms] [children: 99%] [unaccounted: 0.962%]
16:59:38: | Convert444toNV12 - [99%] [avg time: 1.029 ms]
16:59:38: encoder thread frame - [100%] [avg time: 3.178 ms] [children: 0.787%] [unaccounted: 99.2%]
16:59:38: | sending stuff out - [0.787%] [avg time: 0.025 ms]
16:59:38: ==============================================================
16:59:38:
16:59:38:
16:59:38: Profiler CPU results:
16:59:38:
16:59:38: ==============================================================
16:59:38: video thread frame - [cpu time: avg 0.209 ms, total 265.201 ms] [avg calls per frame: 1]
16:59:38: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:59:38: | GPU download and conversion - [cpu time: avg 0.012 ms, total 15.6 ms] [avg calls per frame: 1]
16:59:38: | | flush - [cpu time: avg 0.012 ms, total 15.6 ms] [avg calls per frame: 1]
16:59:38: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:59:38: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:59:38: Convert444Threads - [cpu time: avg 0.841 ms, total 2043.61 ms] [avg calls per frame: 2]
16:59:38: | Convert444toNV12 - [cpu time: avg 0.841 ms, total 2043.61 ms] [avg calls per frame: 2]
16:59:38: encoder thread frame - [cpu time: avg 1.244 ms, total 1513.21 ms] [avg calls per frame: 1]
16:59:38: | sending stuff out - [cpu time: avg 0.012 ms, total 15.6 ms] [avg calls per frame: 1]
16:59:38: ==============================================================
16:59:38:
16:59:38: =====Stream End: 2014-06-01, 16:59:38=================================================


Last game capture log:
2014-06-01, 16:57:23: we're booting up:
16:57:23: CaptureThread: attached to process javaw.exe
16:57:23: GL Present
16:57:23: (half life scientist) everything.. seems to be in order
16:57:23: SwapBuffers(1912674582) Called
16:57:23: NV Capture available
16:57:23: FBO available
16:57:23: setting up gl data
16:57:23: share device: 459250680
16:57:23: share texture: 464469552
16:57:23: share device handle: 462544592
16:57:23: share texture handle: 465019680
16:57:23: DoGLGPUHook: success
16:57:23: wglSwapBuffers(1912674582) Called
16:58:08: stop requested, terminating gl capture
16:58:08: ---------------------- Cleared OpenGL Capture ----------------------
16:58:08: wglSwapBuffers(1912674582) Called
16:58:08: setting up gl data
16:58:08: SwapBuffers(1912674582) Called
16:59:15: share device: 236483528
16:59:15: share texture: 466273712
16:59:15: share device handle: 463964688
16:59:15: share texture handle: 469848000
16:59:15: DoGLGPUHook: success
16:59:37: stop requested, terminating gl capture
16:59:37: ---------------------- Cleared OpenGL Capture ----------------------
16:59:37: wglSwapBuffers(1912674582) Called
16:59:37: setting up gl data
16:59:37: SwapBuffers(1912674582) Called



Does this help?
 

Krazy

Town drunk
Did you edit your log or something? Those NOT SHARED lines should contain your CPU information.
 

killer102

New Member
Yeah i edit i dont like to give personnal information but if will help me to fix this then i will put it on just ask me
 

rakunvar

Member
Whats your upload speed?
Information like :

03:53:18: CPU Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
03:53:18: CPU Speed: 3491MHz
03:53:18: Physical Memory: 16333MB Total, 10631MB Free
03:53:18: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4

The info personal information, it just identifies your CPU so they can match it up, as well as know if it's and older cpu/issue CPU, if it has Hyperthreading, as well as the amount of RAM you have. I'm guessing you have a AMD Phenom II X4 but the exact one I'm not sure.

You may want to down-sample to 720p instead of the weird 1536x864, you could try turning off CBR as well and see if it helps anything with testing, looks like you have low latency factor on to, as well as drop it to 30fps instead of 60, and also could try turning off Aero and seeing if freeing up some resources help.

Of course just Tip's here from a lot of testing and years on twitch, follow Krazy's advice over mine for obvious reasons :)
 

killer102

New Member
my uplaod is good for videos i searched it up. and also i am using my friends computer to stream because for reasons :P
 

rakunvar

Member
Well.. If your not willing to give technical information related to streaming, you may not find the solution your looking for.
 

Krazy

Town drunk
That is in no way "personal information" it is merely a list of your hardware's capabilities, which is most essential in helping you with your issue. OBS does not put passwords, or any other kind of personal information in log files.
 

dodgepong

Administrator
Community Helper
Your CPU is not in any way personally identifiable information. It's just a CPU. It will not identify you in any way. We can't give you good advice unless we know your CPU.

Your encode times are on the high side, which makes me thing you have a CPU that can't handle encoding at 864p60, but I can't know for sure. I would recommend downscaling to 720p.
 

rakunvar

Member
Sorry Krazy btw for the plethora of posts trying to help people lol, got really bored and on a lets help OBS people trend :P
 
Top