philhk / better-discord-screenshare-plugin

With this plugin you can customize your resolution, framerate, bitrate and more for your screenshare on discord!
GNU General Public License v3.0
25 stars 8 forks source link
betterdiscord betterdiscord-addon betterdiscord-plugin discord screenshare

Important Notice

This project has been moved from BetterDiscord to Vencord. Please visit the new repository:

Vencord Repository

Better Discord Screenshare Plugin

With this plugin you can customize your resolution, framerate, bitrate and more for your screenshare on discord! This plugin requires an installation of the BetterDiscord client.

Plugin

To get the plugin, you can either build it yourself by cloning this repository or download the latest version from the Releases tab.

Features

Default Config

{
  bitrate: {
    minimum: 1000,
    target: 2500,
    maximum: 5000,
  },
  encode: {
    framerate: 60,
    height: 1080,
    width: 1920,
  },
  capture: {
    framerate: 60,
    height: 1080,
    width: 1920,
  },
  audioCodec: 'OPUS',
  videoCodec: 'H264',
}

Known Issues

When sharing a window directly it can sometimes happen that no changes are applied, the reason for this is unknown at this time, but to avoid this you can simply share your screen and set the audio source if needed.

Scripts

Credits