ffmpeg命令支持相对路径

This commit is contained in:
ziyue
2022-02-24 11:42:43 +08:00
parent bcb2810c62
commit 26d0589bf5
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ snapRoot=./www/snap/
defaultSnap=./www/logo.png
[ffmpeg]
#FFmpeg可执行程序绝对路径
#FFmpeg可执行程序路径,支持相对路径/绝对路径
bin=/usr/bin/ffmpeg
#FFmpeg拉流再推流的命令模板通过该模板可以设置再编码的一些参数
cmd=%s -re -i %s -c:a aac -strict -2 -ar 44100 -ab 48k -c:v libx264 -f flv %s