OBS Updates for Cohh

Feel free to talk about anything and everything gaming related
Post Reply
Brian
Posts: 14
Joined: Thu Dec 12, 2013 2:19 pm
Location: Connecticut, U.S.A.
Contact:

Thu Dec 10, 2015 10:43 am

I had a chance to sit down with Cohh and go over his OBS settings yesterday in an effort to improve his video fidelity. Here I will attempt to summarize the changes we made and more importantly, why we made them. My objective was to take advantage of cohhs considerable CPU power in order to improve the fidelity of the video. For reference Cohh uses OBS v0.657b

Starting at the top in the encoding tab, bitrate was increased from 3500 to 4000, this immediately provides a boost to quality going from 0.063bpp to 0.072bpp (bits per pixel). It should be noted here that you should never go above 3500 unless given permission from twitch. Non-partners should try not to go above 2000. Second in the encoding tab was changing the audio bit-rate from 128kb to 160kb, twitch supports a maximum AAC bit-rate of 160kb so we upped this for a slight increase in audio fidelity.

Next up in the video tab we changed from the Bi-linear downscale filter to Lanczos. The Lanczos filter uses 36 samples of the image to provide a smoother downscale at the cost of some performance which is this case is acceptable. This is important to things like text and other objects that alias easily when being downscaled.

Lastly we come to the advanced tab. This is where the most significant changes were made. Process priority class was increased to "above normal" from "normal". Generally on a 1 PC setup this is not advised, however on a 2 PC setup where one machine is dedicated to encoding, you want the encoder to be a higher priority process so it is not interrupted by background system processes. DON'T do this is you have a single PC setup as this will cause encoding to become higher priority than the game. Next x.264 CPU preset was changed from "Faster" to "Medium" this is a pretty big change if not the biggest. Given that cohh has a dedicated 6 Core CPU for encoding this is a nice upgrade to video fidelity without the need for increased bitrate. Even on a dedicated 6 Core machine this causes CPU usage to sit around 65-75% which is considerable; basically don't try this at home unless you know your system can handle it. Next the encoder profile was changed from "main" to "high". Again this change provides additional fidelity for the same bitrate with 1 major drawback. Some legacy mobile devices cannot decode this profile (sorry flip phone users). Without going to in too much detail High Profile enables additional feature in the encoder such as "8×8 vs. 4×4 transform adaptivity," and "Quantization scaling matrices," which in laymen terms equates to more efficiency in a lossy encoding format like x.264. While Twitch recommends that you use main in order to maintain compatibility with more devices, in practice there are very few devices these days that cannot decode the high profile. Last but not least we enabled CFR (Constant Frame Rate). This is not really necessary unless you plan on editing your videos for youtube (or similar). This basically forces the encoder to possibly duplicate a frame if necessary to ensure a constant framerate which makes editing much easier as tracking is now consistent by frame by frame (You're welcome RedEyeMonster).

That's it, I hope you found this useful! If you have any questions drop them in the comments and I'll be checking it here and there.

Cheers!
-izl :cool:
Gotta catch em all...
Image
User avatar
HellbornNL
Posts: 129
Joined: Mon Oct 13, 2014 4:56 pm
Location: Raalte
Contact:

Thu Dec 10, 2015 10:47 am

i have no idea what you did or what all those numbers mean but Good Job
User avatar
calming_insanity
Posts: 10
Joined: Wed Nov 11, 2015 7:10 pm
Location: Alabama
Contact:

Thu Dec 10, 2015 10:55 am

Way to go izl!
tellchur
Posts: 3
Joined: Thu May 21, 2015 1:00 pm

Thu Dec 10, 2015 11:07 am

I couldn't do 2 of the outlined things here due to some limitations, but from what I could do, the quality was definitely increased! Thank you, kind sir!
User avatar
Malta1565
Posts: 393
Joined: Thu Feb 06, 2014 10:26 pm
Location: Maine, USA
Contact:

Thu Dec 10, 2015 10:08 pm

I didn't get a chance to see Cohhs stream. Was the quality noticeably better?
Brian
Posts: 14
Joined: Thu Dec 12, 2013 2:19 pm
Location: Connecticut, U.S.A.
Contact:

Mon Dec 14, 2015 10:22 am

[QUOTE="malta1565, post: 30720, member: 8977"]I didn't get a chance to see Cohhs stream. Was the quality noticeably better?[/QUOTE]
I certainly think so but I might be biased ;)
Gotta catch em all...
Image
Brian
Posts: 14
Joined: Thu Dec 12, 2013 2:19 pm
Location: Connecticut, U.S.A.
Contact:

Mon Dec 14, 2015 10:23 am

[QUOTE="tellchur, post: 30711, member: 49182"]I couldn't do 2 of the outlined things here due to some limitations, but from what I could do, the quality was definitely increased! Thank you, kind sir![/QUOTE]
What changes were you able to make, and which did you have to pass on?
Gotta catch em all...
Image
ticktock1231
Posts: 419
Joined: Fri Feb 06, 2015 10:51 am
Location: Minnesota, USA

Mon Dec 14, 2015 11:26 am

That was a great read. I don't stream, but there are a lot of people who do and ask questions about it in the forums or in chat. I will make sure to direct them to here. My question would be, how did you come by this information? Is there a resource that would get in to more detail? Thanks again for taking the time to write all that :)
Brian
Posts: 14
Joined: Thu Dec 12, 2013 2:19 pm
Location: Connecticut, U.S.A.
Contact:

Mon Dec 14, 2015 11:39 am

[QUOTE="ticktock1231, post: 30793, member: 39876"]That was a great read. I don't stream, but there are a lot of people who do and ask questions about it in the forums or in chat. I will make sure to direct them to here. My question would be, how did you come by this information? Is there a resource that would get in to more detail? Thanks again for taking the time to write all that :) [/QUOTE]
I've always been a bit of a videophile, so I took the time to learn as much as possible about it. There's plenty of resources about video encoding that can be found with a quick google search. Knowledge of video encoding is an important part of my job at ESL. I've also done an extensive amount of a/b testing myself on my own stream with many settings. I've chose to learn the most about H.264 encoding since this what Twitch uses and is a very common format besides. If you want some technical information about H.264 I'd suggest this article: https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC
Gotta catch em all...
Image
ticktock1231
Posts: 419
Joined: Fri Feb 06, 2015 10:51 am
Location: Minnesota, USA

Tue Dec 15, 2015 5:44 pm

Just as a note, Cohh's viewers are getting a slight delay in the game sound only. The video looks amazing!
Brian
Posts: 14
Joined: Thu Dec 12, 2013 2:19 pm
Location: Connecticut, U.S.A.
Contact:

Tue Dec 15, 2015 6:33 pm

[QUOTE="ticktock1231, post: 30851, member: 39876"]Just as a note, Cohh's viewers are getting a slight delay in the game sound only. The video looks amazing![/QUOTE]
Yeah we're gonna try and fix that tonight.
Gotta catch em all...
Image
tellchur
Posts: 3
Joined: Thu May 21, 2015 1:00 pm

Wed Dec 16, 2015 10:17 am

[QUOTE="izl, post: 30788, member: 4566"]What changes were you able to make, and which did you have to pass on?[/QUOTE]
just bit rate change and priority class change. crap internet and 1 PC setup
Brian
Posts: 14
Joined: Thu Dec 12, 2013 2:19 pm
Location: Connecticut, U.S.A.
Contact:

Wed Dec 16, 2015 10:20 am

[QUOTE="tellchur, post: 30886, member: 49182"]just bit rate change and priority class change. crap internet and 1 PC setup[/QUOTE]

If you have a 1PC setup you should not change priority above normal as I mentioned in the post.
Gotta catch em all...
Image
tellchur
Posts: 3
Joined: Thu May 21, 2015 1:00 pm

Wed Dec 16, 2015 10:26 am

[QUOTE="izl, post: 30887, member: 4566"]If you have a 1PC setup you should not change priority above normal as I mentioned in the post.[/QUOTE]
misread the post. those are the ones i couldn't change. my bad
User avatar
itsZdan
Posts: 59
Joined: Fri Feb 07, 2014 9:59 am
Location: Madeira Island
Contact:

Sat Mar 05, 2016 11:41 pm

izl may i bother you to help me on this matter, i seam to have a problem :\
Brian
Posts: 14
Joined: Thu Dec 12, 2013 2:19 pm
Location: Connecticut, U.S.A.
Contact:

Sun Mar 06, 2016 8:56 am

[QUOTE="itsZdan, post: 32606, member: 9033"]izl may i bother you to help me on this matter, i seam to have a problem :\[/QUOTE]
You may
Gotta catch em all...
Image
User avatar
itsZdan
Posts: 59
Joined: Fri Feb 07, 2014 9:59 am
Location: Madeira Island
Contact:

Sun Mar 06, 2016 11:04 am

[QUOTE="izl, post: 32607, member: 4566"]You may[/QUOTE]
sent u a PM :D
User avatar
FrostedSentry
Posts: 2
Joined: Sat Jan 16, 2016 10:46 am
Contact:

Tue May 17, 2016 9:55 am

Lots of good nuggets here! Thanks a ton for the notes!
Post Reply