You've already forked FrameTour-RenderWorker
支持通过env获取encoder args
This commit is contained in:
8
.env
8
.env
@ -1,4 +1,8 @@
|
||||
TEMPLATE_DIR=template/
|
||||
API_ENDPOINT=http://127.0.0.1:8030/task/v1
|
||||
API_ENDPOINT=https://zhentuai.com/task/v1
|
||||
ACCESS_KEY=TEST_ACCESS_KEY
|
||||
TEMP_DIR=tmp/
|
||||
TEMP_DIR=tmp/
|
||||
# QSV
|
||||
ENCODER_ARGS="-c:v h264_qsv -global_quality 28 -look_ahead 1"
|
||||
# NVENC
|
||||
#ENCODER_ARGS="-c:v h264_nvenc -rc cbr_ld_hq -b:v 3000k -preset p7 -profile high -bf 0 -bf-strategy 0 -rc-lookahead 0 -qp 28 -spatial-aq 1 -temporal-aq 1 -aq-strength 8 -cq 28"
|
Reference in New Issue
Block a user