Skip to main content

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!)

Metadata

Release files for dir2opus 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dir2opus 0.12.0
File Size Uploaded
dir2opus-0.12.0.tar.gz 10.9 kB Details

Release files / dir2opus-0.12.0.tar.gz

Download URL dir2opus-0.12.0.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
58f44cd707f597998277eb89f0adc9ffdf2e4b25e7404cb54638e5ac5957dcbc
BLAKE2b-256 checksum
How to use checksums
4d9674991c567c5f96471ca44b3985eca3148e33e0c0887a7e3f813cc646cdfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

Release history Release notifications | RSS feed

This release

0.12.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page