Two PC Streaming or Recording without a CaptureCard
Today a slightly different setup than usual. We will use two PC’s for this without the need of using a CaptureCard. Lets see our requirements:
|Good CPU(i7) or
NVEnc or another HW Encoder
|Good CPU (i5/i7)|
The stream is being mainly produced on the first PC. We use either our Hardware encoder or our CPU at a low cost preset to encode it and send it to a nginx server on the second PC. Here we can now either grab it with SMPlayer/VLC/Jwplayer or another tool, re-integrate it into our software, for example OBS, and add other stuff to the scenes, or even other audio sources. That way the first stream would be a high quality recording of only your game for example while the final stream would be your twitch.tv output with a webcam and your mates on Teamspeak or similar.
Alternatively we can also just use the capabilities of nginx and ffmpeg/avconv (under Linux) or ffmpeg / avconv under windows to transcode this stream and then send it to Twitch/Youtube/Hitbox, or whatever service you use with rtmp capabilities. In this case the first PC has to produce the output stream and we can only add other stuff with some complex commands in ffmpeg, so I would recommend to try the first method in that case.
First PC Settings
Second PC Settings
|Bitrate of 25000-50000kbps||Bitrate according to your desired Stream quality|
|Custom Buffer of 5000-7000 for nginx||Resize possible|
|Constant Bitrate Activated or high CRF value selected||Settings according to Stream provider and possibilities|
|Streaming to:||Streaming to:|
|Nginx Server on PC 2||Twitch/Youtube/Hitbox/etc. or more than one|
In nginx you use can use a very simple configuration, the only complex part under Linux is the exec commandline. This will automatically start ffmpeg with the set transcode options, for example lower bitrate, resolution or desired min_keyframeinterval for twitch. On Windows you would have to setup a batchfile to start ffmpeg by hand as the exec option is not available. Check our nginx server guides for more info.
If you want to integrate the stream into OBS or your tool of desire on the second PC to stream it, setup a page with jwplayer, use SMPlayer or VLC to play the stream or try it with the video plugin. You can then add all other sources as usual. By the way the sound will of course be delivered over the stream, so do not worry about that.