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.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 flac-detective 2.6.0
File Size Uploaded Provenance Actions
flac_detective-2.6.0.tar.gz 15.9 MB With provenance Details for flac_detective-2.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 31.5 MB

Release files / flac_detective-2.6.0.tar.gz

Download URL flac_detective-2.6.0.tar.gz
Size 15.9 MB
Tags Source
SHA-256 checksum
How to use checksums
a767c63eb81c87e35b314d8c8b8a8c4bba5a900586bb9ad4f729bb618532ce15
BLAKE2b-256 checksum
How to use checksums
7f2349f39195ea0f5288856cc76440bc524b3bcf6405429be2f44fdd65da9222
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 Oct 27, 2026.

Transparency log

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

Download URL flac_detective-2.6.0-py3-none-any.whl
Size 15.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4666e6af4afc6145a29371206d4b6dd81ae61933db971d3afb19a645f0651f5a
BLAKE2b-256 checksum
How to use checksums
1c44f40463a40c2a17868c12f16b11f8f476e740eb305db3be62307ba7b2b7df
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 Oct 27, 2026.

Transparency log

Security for flac-detective 2.6.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.

Full provenance

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

Select from 2 files

Attestation for flac_detective-2.6.0.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 Oct 27, 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.0 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