Open ancientPrinter opened 5 years ago
+1
The only workaround that I have found so far is using format="mp4" but leaving the file path as output/file.m4a.
I have noticed on my macOS that Chrome has starting downloading m4a files as mp4 so maybe my environment is messed up.
Does anyone else experience this?
I've found that exporting with format="adts"
works for .aac and .m4a files. Not being able to export with format="aac"
feels like a bug, though.
Steps to reproduce
from pydub import AudioSegment
sound = AudioSegment.from_file("input-file.mp3")
sound.export("output-file.aac", format="aac", bitrate="128k")
Expected behavior
Succesful conversion like previous cases (aac to mp3, mp3 to wav, wav to mp3, m4a to mp3, etc).
Actual behavior
The converted file size is 0kb and the format is like the input file (in this case, mp3).
Your System configuration