Update ffmpeg pkg for reading files and parsing ffmpeg version

This commit is contained in:
Alex X
2024-05-24 11:06:51 +03:00
parent ff39e2e496
commit bf3f81ccac
5 changed files with 78 additions and 47 deletions

View File

@@ -67,7 +67,7 @@ func GetInputTTS(src string) string {
return ""
}
input := `-re -readrate_initial_burst 0.001 -f lavfi -i "flite=text='` + query.Get("text") + `'`
input := `-re -f lavfi -i "flite=text='` + query.Get("text") + `'`
// ffmpeg -f lavfi -i flite=list_voices=1
// awb, kal, kal16, rms, slt