Streaming your Linux desktop to Youtube and Twitch via Nvidia's NVENC and VAAPI:
Considerations to take when live streaming:
The following best practice observations apply when using a hardware-based encoder for live streaming to any platform:
- Compute the optimal buffer size (-bufsize:v) for hardware-based encoders as shown:
bufsize=4(target bitrate/frame rate)