OBS and DxTory

KoruyoKoruyo AUT Join Date: 2009-06-06 Member: 67724Members, Reinforced - Shadow
edited October 2012 in NS2 General Discussion
<div class="IPBDescription">Need Twitch streaming help</div>I can get a stream up and running, but my ingame performance drops really hard - affecting my performance as player too much. (doesnt really make sense to stream that way)
Game feels very stuttery/laggy

Up to date Dxtory(dxtory is really worth the money - so buy and dont rip it!), and the latest version of OBS (Open Broadcaster Software)

I am using windows 8 pro 64bit atm.
4.4ghz i5 2500k
256gb ssd
1tb data grave hdd

Internet:
Down avg. is 15mbit/s on a busy evening (should be 30mbits, ###### my isp)
Up avg is 8-9mbit/s (should be 10...)


1080p 30fps in OBS and dxtory

In dxtory i'm using lagarith codec, RGB, multithreaded.
Processing Threads: 4

OBS
Quality: 8
Max Bitrate: 2000 kb/s
Buffer: 2000 kbit

x264 preset: superfast
Send Buffer: 8192


Any tips, suggestions? Should i try another codec? Is it the bitrates? do i need to go down in resolution? (i dont want to play 720p :/)

Comments

  • goblingoblin Join Date: 2004-09-05 Member: 31412Members
    just to be clear, are you recording into the ssd with dxtory?

    try to change the resolution of the recording with dxtory and see if it's better

    and i agree that dxtory worth the money
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited October 2012
    Are you using both the File output and Directshow? For streaming you only have to use the Directshow. The codec in DXtory is not used for streaming either.

    I'm using FFSplit, but I'm using the FFSplit overlay for NS2 windowed mode. I've found that for windowed mode DXtory is not good to use (lower performance). If you're running NS2 in fullscreen mode, DXtory does a fine job.

    I'm streaming @ 2000kbps with 5Mbit upstream, so you should be fine. However I'm using those 2000kbps on 720p, so it is crisper than using that bitrate on 1080p. Also if you have issues with the upload, you can simply have dxtory resize it on the fly. I do that (play @ 1600x900 -> 720p stream)
  • KoruyoKoruyo AUT Join Date: 2009-06-06 Member: 67724Members, Reinforced - Shadow
    edited October 2012
    Thanks for the quick responses guys!

    Only using directshow for streaming. (so no recording)

    I'm using the lagarith instead of the dxtory codec atm - since i had great performance with it before, tho that was for simple recording on disc and not streaming. Was worth a try, i ll take a look into other codecs.

    Guess I ll check out FFSplit, and test the resizing to 720p in dxtory as well.
  • VolcanoVolcano Join Date: 2011-07-27 Member: 112496Members, Constellation
    to render 1080p quality while streaming at the same time in a game like ns2 isn't going to happen, consider dropping your output resolution to a 720p resolution. Don't bother with codecs
  • KoruyoKoruyo AUT Join Date: 2009-06-06 Member: 67724Members, Reinforced - Shadow
    edited October 2012
    I just tried it with 720p...
    And its quite a bit better now, still it has some random stutter and mouselag, but better.(useable for pub play)

    Not sure if i can get it even better than that with my machine, but i'll keep on playing around with it.


    edit: I just read by the dxtory dev, that no codec is used while using directshow... - so indeed codec is a waste of time. (at least in dxtory)
  • VolcanoVolcano Join Date: 2011-07-27 Member: 112496Members, Constellation
    can you post images of your dxtory video settings as pictured below
    <img src="http://i.imgur.com/vHMwF.jpg" border="0" class="linked-image" />
  • KoruyoKoruyo AUT Join Date: 2009-06-06 Member: 67724Members, Reinforced - Shadow
    Here you go:
    <img src="http://i.imgur.com/aeR0m.jpg" border="0" class="linked-image" />
  • VolcanoVolcano Join Date: 2011-07-27 Member: 112496Members, Constellation
    did you try rawcap rendering it usually worked better for me when I was streaming
  • XeiZXeiZ Join Date: 2012-04-13 Member: 150384Members
    edited October 2012
    Rawcap and AVI options only work for fileoutput not for directshow.

    And like Volcano said forget about 1080p and ns2, ryne got the same cpu and we couldnt get it to work either. (he is using a capture card now)
    720p is the maximum you can do with that cpu, for quality you shouldnt go faster than veryfast, it will make the quality worse but at the same time your cpu wont be under that much pressure anymore.

    Did you download the newest OBS? Jim released a new one 1 or 2 days ago with some big changes and he is still gathering data on how it affects the overall performance, you may wanna consider trying 0.42a.
    Most of your inputlag comes from either the broadcasting software or the capture method and since you are already using dxtory there isnt much to do, the settings in dxtory most likely wont affect anything for you.

    You can try letting dxtory do the downscaling but OBS downscaling is pretty much the same. Also rightclick into the OBS preview and DISABLE the preview as the preview is using alot of resources. Also try to set NS2 priority to HIGH in your taskmanager.

    With this CPU you should easily be able to stream in 720p@veryfast@30fps with OBS.

    edit: actually i think your cpu should even be able to handle the preset "faster" , if i remember correctly ryne was able to do it...
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited October 2012
    2500k @ 4,2Ghz I'm able to run the faster encoder, it's just that at veryfast you don't "feel" the FPS/mouselag in NS2 and for the amount of quality increase (nihil), you're better off on veryfast. Quality comes more from the bitrate, so if your upload can handle it I'd say try experimenting with that instead. @ your upload speeds you should be able to handle 3000-4000kbps easily

    The usual advice is ~75% of your upload, I see much more lag and hitching in the stream/recordings using that. So my advice is ~40-50% of your upstream is the max, for multiplayer games
  • VolcanoVolcano Join Date: 2011-07-27 Member: 112496Members, Constellation
    his upload speed might be good for it but you have to think about the viewers watching it for some on bad d/l speeds it will start to stutter for them and in the end not be enjoyable to watch
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited October 2012
    <!--quoteo(post=2000450:date=Oct 30 2012, 02:41 AM:name=Volcano)--><div class='quotetop'>QUOTE (Volcano @ Oct 30 2012, 02:41 AM) <a href="index.php?act=findpost&pid=2000450"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->his upload speed might be good for it but you have to think about the viewers watching it for some on bad d/l speeds it will start to stutter for them and in the end not be enjoyable to watch<!--QuoteEnd--></div><!--QuoteEEnd-->
    True, and it is understandable TwitchTV cannot support multiple stream qualities for everyone. So yeah us none partners are probably stuck at ~2000kbps
  • VolcanoVolcano Join Date: 2011-07-27 Member: 112496Members, Constellation
    Until he does get partnered though he would be wasting his time streaming at that bitrate when 2K up is sufficient enough
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited October 2012
    <!--quoteo(post=2000456:date=Oct 30 2012, 02:45 AM:name=Volcano)--><div class='quotetop'>QUOTE (Volcano @ Oct 30 2012, 02:45 AM) <a href="index.php?act=findpost&pid=2000456"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Until he does get partnered though he would be wasting his time streaming at that bitrate when 2K up is sufficient enough<!--QuoteEnd--></div><!--QuoteEEnd-->
    Too bad, FFSplit for example cannot stream to the HDD in another quality. Would also require more precious CPU cycles. I tried the low compression DXtory file output alongside streaming. I think this would require an i7 4+4 core at 4.5Ghz+ though. It's a bit... FPS hogging :P
  • VolcanoVolcano Join Date: 2011-07-27 Member: 112496Members, Constellation
    How well does Xsplit work for you Koruyo?
  • KoruyoKoruyo AUT Join Date: 2009-06-06 Member: 67724Members, Reinforced - Shadow
    edited October 2012
    I havent tried Xsplit since they made it subscription based, ill do this now... (tho trial first, which i guess has ###### restrictions)

    So far no matter what(newest OBS, FFSplit etc. with dxtory), i get some stutter(even tho fps seems high enough, without too big drops) and input/mouselag (which reduces a bit more, the lower i set the ingame resolution but its still very much there even at 640*480 with lowest possible settings)

    Dunno either its some windows 8 related thing, a dxtory thing, or i would just need more threads...

    Going to check out stuff without Dxtory, instead using ffsplit overlay or the Xsplit capture thing.


    EDIT:

    Oh lol, i had my overclock disabled, since i had some problems with my pc last weekend...
    Overclock is now enabled again, will report back if this changes anything - which i guess it will.
Sign In or Register to comment.