add -y option to ffmpeg so it wont stuck prompting for confirmation

This commit is contained in:
mykola2312 2024-02-21 17:21:27 +02:00
parent 1e747bd0bc
commit f9682f28d2

View file

@ -29,6 +29,7 @@ impl FFMpeg {
"libmp3lame", "libmp3lame",
"-b:a", "-b:a",
bitrate.as_str(), bitrate.as_str(),
"-y",
output_path, output_path,
], ],
) )