📑

ffmpeg-pythonで置き換えるときに質問をしない

2021/09/03に公開

ffmpeg-pythonでメディアを変換するとき、

File 'C:\Users\・・・\test.mov' already exists. Overwrite? [y/N]

このように置き換えるか聞かれることがある。これをなくすには、

ffmpeg.run(stream, overwrite_output=True)

overwrite_output=Trueとする

Discussion