Removing default metadata from .opus files
![Binary code displayed on a screen.](https://shkspr.mobi/blog/wp-content/uploads/2019/11/binary-code-475664_640.jpg)
I'm trying to create some ridiculously tiny audio files. The sort where every single byte matters. I've encoded a small sample. But the opusenc tool automatically adds metadata - even if you don't specify any. Using the amazing Mutagen Python library I was able to completely strip out all the metadata! import mutagen mutagen.File("example.opus").delete() It edits the file immediately - so be careful! But what is it actually doing? I wanted to understand a bit more - so let's go…
Continue reading →