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 = ( |