Optimize encoding parameters for low-latency

This commit is contained in:
Cameron Gutman
2020-01-17 18:45:14 -08:00
parent 15dd6b3cd0
commit 32b6f8a395
6 changed files with 14 additions and 14 deletions

View File

@@ -45,7 +45,7 @@ ping_timeout = 2000
# The file where configuration for the different applications that Sunshine can run during a stream
# file_apps = apps.json
# How much error correcting packets must be send for every video max_b_frames
# How much error correcting packets must be send for every video
# This is just some random number, don't know the optimal value
# The higher fec_percentage, the lower space for the actual data to send per frame there is
fec_percentage = 10
@@ -69,8 +69,6 @@ fec_percentage = 10
# FFmpeg software encoding parameters
# Honestly, I have no idea what the optimal values would be.
# Play around with this :)
max_b_frames = 4
gop_size = 24
# Constant Rate Factor. Between 1 and 52. It allows QP to go up during motion and down with still image, resulting in constant perceived quality
# Higher value means more compression, but less quality