Encoding PC: Difference between revisions
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
It is difficult to select a USB audio interface to use; since I both a mono microphone input and a stereo line-in input from the KVM switch. There are not many USB audio inputs to this specification, and none that can be used when the host system is turned off. The Behringer XENYX 302USB is ideal for this use, it is entirely hardware and thus doesn't require software, and can be used when the encoding PC is turned off. Although since it is mostly an audio mixer not an audio interface, it only provides a single USB audio interface to the host system. This would be fine if you only needed it for streaming (e.g. twitch), since it would be fine for microphone and game sound to come from the same interface, but if you want to also use it for calls, you need to have separate interfaces for both microphone and game inputs. This is why I need two. | It is difficult to select a USB audio interface to use; since I both a mono microphone input and a stereo line-in input from the KVM switch. There are not many USB audio inputs to this specification, and none that can be used when the host system is turned off. The Behringer XENYX 302USB is ideal for this use, it is entirely hardware and thus doesn't require software, and can be used when the encoding PC is turned off. Although since it is mostly an audio mixer not an audio interface, it only provides a single USB audio interface to the host system. This would be fine if you only needed it for streaming (e.g. twitch), since it would be fine for microphone and game sound to come from the same interface, but if you want to also use it for calls, you need to have separate interfaces for both microphone and game inputs. This is why I need two. | ||
[[File:Behringer XENYX 302 USB Mixer Diagram.png|thumb|Someone on YouTube made this useful diagram on how to use the Behringer XENYX 302 USB]] | |||
I have the following requirements for audio mixing: | |||
* Two separate USB inputs for the microphone and KVM audio | |||
* Two separate inputs for KVM audio and for the encoding PC audio, that can be mixed, for my headphones | |||
* The encoding PC audio does not go back to the encoding PC | |||
Thankfully someone on YouTube made this handy diagram on how to use the mixer, since it is not completely intuitive and there are a lot of possible combinations. My configuration is that the LEFT mixer is used as a microphone input for the encoder PC, and also is used for mixing into my headphones, so this mixer is also a USB audio OUTPUT from the encoding PC, and also gets KVM audio from the output of the RIGHT mixer. Consequently, the line-in input setting is set to USB AUDIO, line-in output is set to headphones, and the 2-track input (from the other mixer) is also set to headphones.[[File:Behringer XENYX 302 USB Mixer Diagram.png|thumb|Someone on YouTube made this useful diagram on how to use the Behringer XENYX 302 USB]] | |||
Revision as of 20:19, 25 January 2026
This PC is used for encoding video. It is the computer that all of the webcams are attached to, and is therefore used for meetings. I need to use the OBS virtual webcam because my physical webcam is mounted upside-down and this needs to be fixed in software. Also, a capture card is connected to this computer, which is linked to the output of the KVM switch, so it can injest video from whatever computer I'm using at the time.
The computer uses my old server's CPU and motherboard, power supply and case, and has a simple Quadro connected to it so it can use hardware encoding for video. The picture does not show the GPU connected.
Streaming setup
This PC is used for streaming, and also for calls; e.g. discord, teams, whatsapp. Using a separate computer just for streaming has the advantage of reduced usage on that computer, and seamless transitioning between multiple computers with a KVM switch.
Video Capture
The video capture side is much easier to understand. A cheap USB 1080p capture card is plugged into the streaming PC. The main monitor output of the KVM switch is duplicated with a good quality HDMI duplicator, one side goes into the capture card and the other side goes to my main monitor.
Audio Capture & Mixing

Audio capture is a little bit more complicated, since on the streaming system it needs to injest audio streams from different sources, and some of these sources you want to hear in your headphones and some you do not. Also there is the additional challenge that I want to hear sounds even when the encoding PC is off. This means I cannot use a general USB audio interface.
It is difficult to select a USB audio interface to use; since I both a mono microphone input and a stereo line-in input from the KVM switch. There are not many USB audio inputs to this specification, and none that can be used when the host system is turned off. The Behringer XENYX 302USB is ideal for this use, it is entirely hardware and thus doesn't require software, and can be used when the encoding PC is turned off. Although since it is mostly an audio mixer not an audio interface, it only provides a single USB audio interface to the host system. This would be fine if you only needed it for streaming (e.g. twitch), since it would be fine for microphone and game sound to come from the same interface, but if you want to also use it for calls, you need to have separate interfaces for both microphone and game inputs. This is why I need two.
I have the following requirements for audio mixing:
- Two separate USB inputs for the microphone and KVM audio
- Two separate inputs for KVM audio and for the encoding PC audio, that can be mixed, for my headphones
- The encoding PC audio does not go back to the encoding PC
Thankfully someone on YouTube made this handy diagram on how to use the mixer, since it is not completely intuitive and there are a lot of possible combinations. My configuration is that the LEFT mixer is used as a microphone input for the encoder PC, and also is used for mixing into my headphones, so this mixer is also a USB audio OUTPUT from the encoding PC, and also gets KVM audio from the output of the RIGHT mixer. Consequently, the line-in input setting is set to USB AUDIO, line-in output is set to headphones, and the 2-track input (from the other mixer) is also set to headphones.
