Added config examples to the config file
This commit is contained in:
@@ -126,7 +126,7 @@
|
|||||||
# Force a specific encoder, otherwise Sunshine will use the first encoder that is available
|
# Force a specific encoder, otherwise Sunshine will use the first encoder that is available
|
||||||
# supported encoders:
|
# supported encoders:
|
||||||
# nvenc
|
# nvenc
|
||||||
# amdvce
|
# amdvce # NOTE: alpha stage. The cursor is not yet displayed
|
||||||
# software
|
# software
|
||||||
#
|
#
|
||||||
# encoder = nvenc
|
# encoder = nvenc
|
||||||
@@ -171,6 +171,31 @@
|
|||||||
##########################
|
##########################
|
||||||
# nv_coder = auto
|
# nv_coder = auto
|
||||||
|
|
||||||
|
##################################### AMD #####################################
|
||||||
|
###### presets ###########
|
||||||
|
# default
|
||||||
|
# speed
|
||||||
|
# balanced
|
||||||
|
##########################
|
||||||
|
# amd_preset = balanced
|
||||||
|
#
|
||||||
|
####### rate control #####
|
||||||
|
# auto -- let ffmpeg decide rate control
|
||||||
|
# constqp -- constant QP mode
|
||||||
|
# vbr -- variable bitrate
|
||||||
|
# cbr -- constant bitrate
|
||||||
|
# cbr_hq -- cbr high quality
|
||||||
|
# cbr_ld_hq -- cbr low delay high quality
|
||||||
|
# vbr_hq -- vbr high quality
|
||||||
|
##########################
|
||||||
|
# amd_rc = auto
|
||||||
|
|
||||||
|
###### h264 entropy ######
|
||||||
|
# auto -- let ffmpeg nvenc decide the entropy encoding
|
||||||
|
# cabac
|
||||||
|
# cavlc
|
||||||
|
##########################
|
||||||
|
# amd_coder = auto
|
||||||
|
|
||||||
##############################################
|
##############################################
|
||||||
# Some configurable parameters, are merely toggles for specific features
|
# Some configurable parameters, are merely toggles for specific features
|
||||||
|
|||||||
@@ -373,9 +373,11 @@ static encoder_t software {
|
|||||||
static std::vector<encoder_t> encoders {
|
static std::vector<encoder_t> encoders {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
nvenc,
|
nvenc,
|
||||||
|
#endif
|
||||||
|
software,
|
||||||
|
#ifdef _WIN32
|
||||||
amdvce,
|
amdvce,
|
||||||
#endif
|
#endif
|
||||||
software
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void reset_display(std::shared_ptr<platf::display_t> &disp, AVHWDeviceType type) {
|
void reset_display(std::shared_ptr<platf::display_t> &disp, AVHWDeviceType type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user