Warning: This guide contains system-level modifications. Some steps are irreversible or can render your system unbootable. Read every section fully before executing any command. Know what you are doing, or do not proceed.
All examples are written for runit. Adapt service commands for OpenRC or s6 as needed.
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:
-
Set the buffer size (
-bufsize:v) equal to the target bitrate (-b:v). You want to ensure that you're encoding in CBR mode. -
Set up the encoders as shown:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf-8 | |
| from django.contrib import admin | |
| from django.contrib.auth.models import Group, User | |
| from django.contrib.auth.admin import GroupAdmin, UserAdmin | |
| from django.utils.translation import ugettext_lazy as _ | |
| class CustomUserAdmin(UserAdmin): | |
| fieldsets = ( |