How can I truncate .mp3 and .m4a files without transcoding?
September 19, 2012 5:44 AM Subscribe
How can I truncate (cut the end off) .mp3 and .m4a files without transcoding?
I have a lot of music files for which iTunes Match fails to match simply because the track lengths are very different. Usually these files contain a lot of silence at the end. I would like these files to match so I can download higher quality recordings from iTunes.
I have found that I can do this by loading the relevant file in audacity, chopping off the silence at the end, resaving as .m4a/.mp3, importing the result into iTunes and then running iTunes Match on the result. However, the transcoding is slow and reimporting is very laborious (it requires me to mess around a lot with the metadata).
I would like to shortcut this by editing the .mp3/.m4a files directly to chop off the silent sections at the ends, without transcoding. I'm happy to install some libraries, write some Python, etc etc to achieve this, so a reasonably hi-tech solution would be fine.
posted by beniamino to computers & internet (9 answers total) 2 users marked this as a favorite
posted by Beardman at 5:47 AM on September 19, 2012