Question / Help How to get that quality with OBS?

Tomplach

New Member
Hello. Recently I found a channel, with a very good quality stream. I asked a streamer what is bitrate, he said that about 2,600. So I set myself in a similar or even higher.

I downloaded a video streamer from twitch. I turned on the home recording, after which I turned on the video fullscreen. I turned off the record, but my quality is slightly worse than his. I do not know how he has achieved this quality, the Bitr about 2600. Below I give two screen shots from the original film taken from Twitch and my recorded video. you can see the difference.

Below is data from MediaInfo, can you help me with this.
Especially I'm talking about improving quality while moving the camera, the moment of sharpening is very fast.
And for me sharpen it takes more than a second. Here is screen, instant, right after moving camera: http://oi39.tinypic.com/o8ykip.jpg

I tried to change preset from veryfast to slow, but nothing happens.

Sorry for my bad language, I hope you have understood.

His settings: http://wklej.eu/index.php?id=e6a1734e2e
My settings: http://wklej.eu/index.php?id=e6234ca906

His video screen: http://oi40.tinypic.com/24pcwg6.jpg
My video screen: http://oi41.tinypic.com/etwtmt.jpg

http://pl.twitch.tv/execcs/b/466362401
His video. Time 04:35.
 

Krazy

Town drunk
Well, for one, it looks like something is wrong with your resolution settings. If you look at the screenshot of "My video screen" you can see that part of the screen around the bottom and right side are cut off.

Other than that, he appears to just be using the Veryfast preset, nothing else special. You should post an OBS log to make sure nothing was inadvertently set wrong.
 

Tomplach

New Member
OBS Log:
13:59:56: Settings::Video: Disabling Aero
14:00:06: Settings::Video: Disabling Aero
14:00:10: Open Broadcaster Software v0.57.04 quicksync tests - 64bit ( ^ω^)
14:00:10: -------------------------------
14:00:10: CPU Name: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
14:00:10: CPU Speed: 2494MHz
14:00:10: Physical Memory: 8094MB Total, 5968MB Free
14:00:10: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
14:00:10: monitor 1: pos={0, 0}, size={1366, 768}
14:00:10: Windows Version: 6.1 Build 7601 S
14:00:10: Aero is Disabled
14:00:10: -------------------------------
14:00:10: OBS Modules:
14:00:10: Base Address Module
14:00:10: 000000003F560000 OBS.exe
14:00:10: 00000000F3DB0000 OBSApi.dll
14:00:10: 00000000F4090000 DShowPlugin.dll
14:00:10: 00000000F6260000 GraphicsCapture.dll
14:00:10: 00000000F5AF0000 NoiseGate.dll
14:00:10: 00000000F4070000 PSVPlugin.dll
14:00:10: ------------------------------------------
14:00:10: Adapter 1
14:00:10: Video Adapter: Intel(R) HD Graphics 4000
14:00:10: Video Adapter Dedicated Video Memory: 67108864
14:00:10: Video Adapter Shared System Memory: 1711276032
14:00:10: ------------------------------------------
14:00:10: Adapter 2
14:00:10: Video Adapter: NVIDIA GeForce GTX 660M
14:00:10: Video Adapter Dedicated Video Memory: 2087518208
14:00:10: Video Adapter Shared System Memory: 2147676160
14:00:10: =====Stream Start: 2013-10-07, 14:00:10===============================================
14:00:10: Multithreaded optimizations: On
14:00:10: Base resolution: 1280x720
14:00:10: Output resolution: 1280x720
14:00:10: ------------------------------------------
14:00:10: Loading up D3D10 on NVIDIA GeForce GTX 660M...
14:00:10: ------------------------------------------
14:00:10: Audio Format: 48000hz
14:00:10: Playback device Default
14:00:10: ------------------------------------------
14:00:10: Using desktop audio input: Głośniki (Realtek High Definition Audio)
14:00:10: ------------------------------------------
14:00:10: Audio Encoding: AAC
14:00:10: bitrate: 160
14:00:10: Using Monitor Capture
14:00:10: Scene buffering time set to 400
14:00:10: Using custom x264 settings: "8x8dct=1 aq-mode=2 bframes=1 chroma-qp-offset=1 colormatrix=smpte170m deblock=0:0 direct=auto ipratio=1.41 keyint=240 level=3.1 me=hex merange=16 min-keyint=auto mixed-refs=1 no-mbtree=0 partitions=i4x4,p8x8,b8x8 profile=main psy-rd=0.5:0.0 qcomp=0.6 qpmax=51 qpmin=10 qpstep=4 ratetol=10 rc-lookahead=30 ref=1 scenecut=40 subme=5 threads=0 trellis=2 weightb=1 weightp=2"
14:00:10: The custom x264 command 'min-keyint=auto' failed
14:00:10: ------------------------------------------
14:00:10: Video Encoding: x264
14:00:10: fps: 30
14:00:10: width: 1280, height: 720
14:00:10: preset: veryfast
14:00:10: profile: main
14:00:10: keyint: 240
14:00:10: CBR: yes
14:00:10: CFR: yes
14:00:10: max bitrate: 3000
14:00:10: buffer size: 3000
14:00:10: ------------------------------------------
14:00:10: MMDeviceAudioSource: Frequency for device 'Głośniki (Realtek High Definition Audio)' is 384000, samples per sec is 48000
14:00:20: Total frames encoded: 263, total frames duplicated: 0 (0.00%)
14:00:20: Total frames rendered: 268, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
14:00:20:
14:00:20: Profiler time results:
14:00:20:
14:00:20: ==============================================================
14:00:20: video thread frame - [100%] [avg time: 1.228 ms] [children: 91.4%] [unaccounted: 8.55%]
14:00:20: | scene->Preprocess - [79.4%] [avg time: 0.975 ms]
14:00:20: | GPU download and conversion - [12.1%] [avg time: 0.148 ms] [children: 11.3%] [unaccounted: 0.733%]
14:00:20: | | flush - [10.1%] [avg time: 0.124 ms]
14:00:20: | | CopyResource - [1.06%] [avg time: 0.013 ms]
14:00:20: | | conversion to 4:2:0 - [0.163%] [avg time: 0.002 ms]
14:00:20: Convert444Thread - [100%] [avg time: 0.611 ms] [children: 99.2%] [unaccounted: 0.818%]
14:00:20: | Convert444toNV12 - [99.2%] [avg time: 0.606 ms]
14:00:20: encoder thread frame - [100%] [avg time: 1.006 ms]
14:00:20: ==============================================================
14:00:20:
14:00:20:
14:00:20: Profiler CPU results:
14:00:20:
14:00:20: ==============================================================
14:00:20: video thread frame - [cpu time: avg 1.222 ms, total 327.602 ms] [avg calls per frame: 1]
14:00:20: | scene->Preprocess - [cpu time: avg 0.931 ms, total 249.601 ms] [avg calls per frame: 1]
14:00:20: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:00:20: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:00:20: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:00:20: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:00:20: Convert444Thread - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:00:20: | Convert444toNV12 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:00:20: encoder thread frame - [cpu time: avg 0.745 ms, total 187.201 ms] [avg calls per frame: 1]
14:00:20: ==============================================================
14:00:20:
14:00:20: =====Stream End: 2013-10-07, 14:00:20=================================================

Yes, I know my video is cut off, but I dont know why. I set resolution 16:9, so all should be OK.
Im wonderning, how he can get better quality, with lower bitrate (2600), vs my (3000).
Krazy you have PM on Twitch. I am very thankful.

I am using OBS with Dxtory (Lagarith Codec, 720p), becouse then I have more fps ingame.
 

Jack0r

The Helping Squad
I never compared lagarith/dxtory and OBS gamecapture, but for your sharpness problem, he is using:
keyint_min=9 and lookahead_threads=4
Both could have a slight effect on the "quicker sharpening" effect you mentioned. Last but not least you could do a visual comparison using OBS own capture functions to see if lagarith makes a difference. (Your example picture looked a bit darker)
 

Tomplach

New Member
Ok, Jack0r I tried use only OBS, with added that 2 commands.

His video screen: http://oi40.tinypic.com/2eygzn7.jpg
My video screen: http://oi41.tinypic.com/2ch2nba.jpg

He is using AverMedia, but I guess it is not the reason.

I think, nothing changes. Same quality.
Have you any idea?

My custom x264 commands:
8x8dct=1 aq-mode=2 bframes=1 chroma-qp-offset=1 colormatrix=smpte170m deblock=0:0 direct=auto ipratio=1.41 keyint=240 level=3.1 me=hex merange=16 keyint=96 keyint_min=9 mixed-refs=1 no-mbtree=0 partitions=i4x4,p8x8,b8x8 profile=main psy-rd=0.5:0.0 qcomp=0.6 qpmax=51 qpmin=10 qpstep=4 ratetol=10 rc-lookahead=30 lookahead_threads=4 ref=1 scenecut=40 subme=5 threads=0 trellis=2 weightb=1 weightp=2
 

Boildown

Active Member
Get rid of those custom settings and fix the resolution problems, then run the stream for a few minutes, then repost. Your log file is doesn't encode very many frames, its like you only had it on for a few seconds, and with all those custom settings, I'm not about to go through and decipher what they all do. Get rid of them, fix resolution problems, then post a new log from a minutes-long stream.

Also if you're streaming to Twitch your key interval isn't set correctly.
 

dodgepong

Administrator
Community Helper
If you want to stay comatible with Twitch's requirements, set the keyframe interval to 2.

The log only shows 4GB of RAM in that case because you're running the 32bit version. If you run the 64bit version it will see all your RAM (such as in the first log you posted).
 

Boildown

Active Member
22:00:49: Interface: Intel(R) Centrino(R) Wireless-N 2200 (802.11, 116 mbps)
22:00:49: Completed handshake with rtmp://live-fra.justin.tv/app in 515 ms.
22:00:51: SO_SNDBUF was at 8192
22:00:51: SO_SNDBUF is now 65536
22:00:53: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 91330 / 349184)
22:00:55: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 299630 / 349184)
22:00:56: RTMPPublisher::SendLoop: Stalled for 2251 ms to write 345804 bytes (buffer: 0 / 349184), unstable connection?
22:00:57: RTMPPublisher::Socketloop: Increasing send buffer to ISB 524288 (buffer: 229337 / 349184)
22:00:59: RTMPPublisher::SendLoop: Stalled for 2614 ms to write 346769 bytes (buffer: 0 / 349184), unstable connection?
22:01:02: RTMPPublisher::SendLoop: Stalled for 2714 ms to write 346147 bytes (buffer: 0 / 349184), unstable connection?
22:01:03: RTMPPublisher::Socketloop: Increasing send buffer to ISB 1048576 (buffer: 345943 / 349184)
22:01:12: RTMPPublisher::SendLoop: Stalled for 9431 ms to write 345921 bytes (buffer: 0 / 349184), unstable connection?
22:01:15: RTMPPublisher::SendLoop: Stalled for 2611 ms to write 346905 bytes (buffer: 0 / 349184), unstable connection?
22:01:17: RTMPPublisher::SendLoop: Stalled for 2581 ms to write 347601 bytes (buffer: 0 / 349184), unstable connection?
22:01:21: RTMPPublisher::SendLoop: Stalled for 2697 ms to write 348723 bytes (buffer: 0 / 349184), unstable connection?
22:01:24: RTMPPublisher::SendLoop: Stalled for 2724 ms to write 347691 bytes (buffer: 0 / 349184), unstable connection?

Be sure to use a wired connection, not wireless. I don't use a laptop but pretty sure others have encountered and solved the green screen problem, see what a forum search reveals. Btw, your key interval is now correctly set :) .
 
Top