Skip to main content

converts folders with audio files to the more space efficient Opus format

Project description

dir2opus converts mp3, m4a, and wav files to the free open source Opus format. Opus files are about 20-25% smaller than mp3s with the same relative sound quality. Your mileage may vary.

Keep in mind that converting from mp3 or m4a to opus is a conversion between two lossy formats. This is fine if you just want to free up some disk space, but if you’re a hard-core audiophile you may be dissapointed. I really can’t notice a difference in quality with ‘naked’ ears myself.

This script converts mp3s to wavs using mpg123 then converts the wavs to opus using opusenc. m4a conversions require faad. Id3 tag support requires mutagen for mp3s. Scratch tags using the filename will be written for wav files (and mp3s with no tags!)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dir2opus-0.12.0.tar.gz (10.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page