Add configurable variable QP for video
This commit is contained in:
@@ -20,7 +20,7 @@ ping_timeout = 2000
|
||||
# How much error correcting packets must be send for every video max_b_frames
|
||||
# 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 = 25
|
||||
fec_percentage = 1
|
||||
|
||||
###############################################
|
||||
# FFmpeg software encoding parameters
|
||||
@@ -29,15 +29,21 @@ fec_percentage = 25
|
||||
max_b_frames = 16
|
||||
gop_size = 24
|
||||
|
||||
# Constant Rate Factor. Between 1 and 52.
|
||||
# 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
|
||||
crf = 28
|
||||
# If crf == 0, then use QP directly instead
|
||||
crf = 0
|
||||
|
||||
# Quantitization Parameter
|
||||
# Higher value means more compression, but less quality
|
||||
# If crf != 0, then this parameter is ignored
|
||||
qp = 28
|
||||
|
||||
# Number of threads used by ffmpeg to encode the video
|
||||
# threads = 4
|
||||
threads = 8
|
||||
|
||||
|
||||
# See x264 --fullhelp for the different presets
|
||||
# profile = baseline
|
||||
# preset = superfast
|
||||
# tune = zerolatency
|
||||
profile = baseline
|
||||
preset = superfast
|
||||
tune = zerolatency
|
||||
|
||||
Reference in New Issue
Block a user