添加接口,添加方便测试的方法

This commit is contained in:
2025-04-20 11:50:29 +08:00
parent a9043361ec
commit 3d810e5c5b
4 changed files with 41 additions and 2 deletions

2
.env
View File

@ -5,4 +5,4 @@ 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"
#ENCODER_ARGS="-c:v h264_nvenc -cq:v 24 -preset:v p7 -tune:v hq -profile:v high -bf 0 -bf-strategy 0 -rc-lookahead 0 -qp 28 -spatial-aq 1 -temporal-aq 1 -aq-strength 8 -cq 28"