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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dir2opus-0.12.0.tar.gz | 10.9 kB | Without provenance | Details for dir2opus-0.12.0.tar.gz |
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
|
Security for dir2opus 0.12.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.