Skip to main content

FLAC Detective — lossy transcodes hiding inside lossless files: MP3, AAC, Vorbis, Opus

🎵 FLAC Detective

Music sold as lossless is sometimes a compressed file in disguise. This tells you which, and says so only when the proof is overwhelming.

Independent kinds of evidence, spectral analysis, encoder arithmetic and a trained model; a verdict needs agreement between them; installs with pip and scans whole libraries.

Calibrated detection, where a false accusation costs more than a miss. Part of the work of Guillain d’Erceville, forward deployed engineer.

A lossy file renamed to .flac looks lossless, weighs lossless, and fools every player you own. It can't fool the arithmetic the encoder left behind — and this reads it for you.

MP3, AAC (HE-AAC v2 included), Vorbis and Opus, through independent kinds of evidence. A conviction needs two of them to agree.

PyPI version PyPI Downloads CI Docs License: MIT

Find the fake FLACs in your music library.

A lossy codec throws away the top of the spectrum and never gives it back. FLAC Detective reads each file, spots the fingerprints that loss leaves behind, and tells you which files are real and which are fakes.

pip install flac-detective       # needs Python 3.10+
flac-detective /path/to/music    # scan a file or a whole folder

Every file gets a verdict, like a traffic light:

✅ AUTHENTIC      real lossless         → keep it
❓ WARNING        borderline            → give it a listen
⚠️  SUSPICIOUS     probably a transcode  → likely a fake
❌ FAKE_CERTAIN   definitely a fake     → replace it

The scan only reads your files — it never changes anything.

🟢 New to all this? → Start Here — the 5-minute beginner's guide No command line, no jargon. From "what is this?" to "I checked my music".


📚 More


Licensed under the MIT License.

Metadata

Release files for flac-detective 2.6.1

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

Source distribution (sdist)

Source distribution for flac-detective 2.6.1
File Size Uploaded Provenance Actions
flac_detective-2.6.1.tar.gz 15.9 MB With provenance Details for flac_detective-2.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flac-detective 2.6.1
File Interpreter ABI Platform Actions
flac_detective-2.6.1-py3-none-any.whl Python 3 none any Details for flac_detective-2.6.1-py3-none-any.whl

Total release size: 31.5 MB

Release files / flac_detective-2.6.1.tar.gz

Download URL flac_detective-2.6.1.tar.gz
Size 15.9 MB
Tags Source
SHA-256 checksum
How to use checksums
6b0d13dcf69a2255c4c780b7fe96013c2639a7e8102afc35d27d0bfefab25534
BLAKE2b-256 checksum
How to use checksums
b182bc6a73db1de66db0fab0c70da28ea08a3fabf189813ff2b70f51a067fcb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / flac_detective-2.6.1-py3-none-any.whl

Download URL flac_detective-2.6.1-py3-none-any.whl
Size 15.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6d72a384c90e6b6f6b1105c7ea36fe51a60eae55ff793d82a253964391ed15c8
BLAKE2b-256 checksum
How to use checksums
f942bfdee21fb708f4c77ccf8fa24b8aad4ecce48cca6546d0187d1b63a93486
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for flac-detective 2.6.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flac_detective-2.6.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

2.6.1 This release

2 release files Full provenance

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