Zulko / moviepy

Video editing with Python
https://zulko.github.io/moviepy/
MIT License
12.1k stars 1.51k forks source link

How to set the bitrate of an extracted audio #2023

Open linuxiamo opened 11 months ago

linuxiamo commented 11 months ago

Hello,

I'm using the following code to extract an mp3 audio from a downloaded mp4: VideoFileClip("video.mp4").audio.write_audiofile("audio.mp3")

Is there a way I can set the bitrate of the final audio? Should I choose it instead when I download it?

Thank for any help or indication.