Question / Help Dual pc setup over LAN

RareAMV

New Member
Hello,

I am currently trying to setup two pc's so that I can game on one and stream with the other, I want this because I would like to get the best quality stream as possible on the lowest bitrate, without losing to many FPS.

First I shall tell you guys about my two pc's:

The first one is a laptop (this is the main gaming pc):

i7 4710HQ - 2.5ghz
gtx 850m 2gb GDDR5
8 GB Kingston Value Ram (1600 mhz)

The second one is a desktop(streaming/encoding):

AMD FX-6100 OC'ed to 4.1 ghz
HD 7850 <- i know this one is better for gaming, but i like to use my laptop for the gaming, since my desktop has a better cpu to do heavy encoding(I think).
8 GB Kingston Value Ram (1600 mhz)


Here is a picture of how i set things up, the settings for obs are a bit different though...

ZJaQph.png


Now I have to say that this picture is not really correct, I do have a big frame drop in games like tf2 say 70-80 to 30-60 and in which even with those frame rates the game feels like 20 fps. But thats a different problem that I have. And with the example video I experimented with 1080p streaming(on desktop) instead of 720p. Also the stream from my laptop to my pc was on a fixed bitrate (25000 kbps).

Also the switch is a cheap 100 mbps switch but its working perfectly, if I transfer files between my laptop and desktop it gives me a 11.2 MB/s transfer rates.

Now the real problem that I am having with this setup. I use vlc on my desktop to play the rtmp stream, and record vlc with gamecapture(yes it works, if you set video output to DirectX in preferences -> video). The stream plays/works for like 30 minutes and then starts choking and lagging.

See example here:
http://www.hitbox.tv/video/214441

p.s. I know that my mic is not working^^ here.

The stream was like the first 30 seconds of that video, and then the lag started. I know its not a problem with my obs on my desktop, since the stream itself from laptop to vlc on my desktop started lagging. But if i watch the square thing on the bottom right it stays green the hole time.

Before I used a plugin in obs to capture a rtmp stream, but that plugin did the same thing as vlc, only it started lagging within minutes after starting the stream, instead of 30 minutes fluid streaming with vlc.

I have no idea what is causing this, i was thinking that it might be the switch, but when directly connecting my desktop to my laptop, which is a 1 GBit connection , it did the same thing :S. It could also be a buffer problem, but I have no idea how to fix that. One thing what I am going to try is something really out of the box, and I have no idea if its even possible. I am going to try using steam's streaming service and capture that. But then i do not have my mic and webcam, so if there is a solution for my problem, i would be very grateful.

Oh and I do not want to pay 100+ bucks for a capture card for now, since I probably won't be streaming that often in the future, since my study is starting in a few weeks :).

Thanks for Advance!
 

MrGeekz

New Member
I was having the same issue using VLC and with the plugin. I ended up making a HTML page that had JWplayer playing the rtmp stream. Then I used the CLR Browser plugin to capture the page. The stream now runs really smooth. I've even been using it to capture a second stream from my friend who lives in another country.

I had tried a few different configurations and the JWplayer, (with nginx rtmp) was the most stable one I could create.

I just stuck the jwplayer files and the index.html file inside a folder with nginx. Be sure to add the right IP.

HTML:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Stream</title>
    <script src="jwplayer.js" type="text/javascript"></script>
</head>

<body>
    <div style="width: 100%;display: inline-block;">
        <div style="float:left;width:1280px;height:720px;">
            <div id="myElement">Loading the player ...</div>
            <script type="text/javascript">
                jwplayer("myElement").setup({
                file: "rtmp://your internal ip:1935/live/flv:test",
                height: 720,
                width: 1280,
                autostart: true,
                mute: true
                });
            </script>
        </div>
</div>
</body>
</html>
 

RareAMV

New Member
Oh thanks, i will try that out, i tested that steam streaming stuff to, it works, reasonable, I only tested with a 2.5 D game evopolution, it was quit smooth, some hickups might be because the steam stream was going over my wifi instead of lan.

But I will try that jwplayer thing :)

Edit:

Doesnt seems like jwplayer is free :S, there is a free version thats watermarked but....
 

MrGeekz

New Member
Yeah that's the downside of the free version - the watermark. You could try Videojs. I've not tried it myself but it should achieve similar results.
 

RareAMV

New Member
Yeah that's the downside of the free version - the watermark. You could try Videojs. I've not tried it myself but it should achieve similar results.
XD, I am trying it out right now, its just that chrome uses more then 15% of my cpu when using it, it lags also quit a bit :(

Edit:

Oh srry, I was stupid thinking that i didnt need that plugin, guess i was wrong, it works almost perfect now, some framerate issues on my end, TY!
 
Last edited:

Jack0r

The Helping Squad
*cough* could you not add a 4:3 player if you use 16:9 input and *hide* the logo. *cough*
 
Top