fix: ffmpeg only output audio (#184)

This commit is contained in:
Gao, Ruiyuan 2024-09-21 13:19:03 +08:00 committed by GitHub
parent 8f045ceaf3
commit 10693e103e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -390,6 +390,7 @@ def convert_file_to_mp3(input_file: str, ffmpeg_location: str, music_path: str)
input_file,
"-f",
"mp3",
"-vn",
"-y",
out_file_path,
]