Advanced FLAC authenticity analyzer - Detects MP3-to-FLAC transcodes with high precision
Project description
🎵 FLAC Detective
Advanced FLAC Authenticity Analyzer for Detecting MP3-to-FLAC Transcodes
FLAC Detective is a professional-grade command-line tool that analyzes FLAC audio files to detect MP3-to-FLAC transcodes with high precision. Using advanced spectral analysis and an 11-rule scoring system, it helps you maintain an authentic lossless music collection.
✨ Key Features
- 🎯 High Precision Detection: 11-rule scoring system with intelligent protection mechanisms
- 📊 4-Level Verdict System: Clear confidence ratings from AUTHENTIC to FAKE_CERTAIN
- ⚡ Performance Optimized: 80% faster than baseline through smart caching and parallel processing
- 🔍 Advanced Analysis: Spectral analysis, compression artifact detection, and multi-segment validation
- 🛡️ Protection Layers: Prevents false positives for vinyl rips, cassette transfers, and high-quality MP3s
- 📝 Flexible Output: Console reports with Rich formatting, JSON export, and detailed logging
- 🔧 Robust Error Handling: Automatic retries, partial file reading, and comprehensive diagnostic tracking
- 🔨 Automatic Repair: Corrupted FLAC files are automatically repaired with full metadata preservation
🚀 Quick Start
Installation
# Install via pip (Recommended)
pip install flac-detective
# OR run with Docker
docker pull ghcr.io/guillainm/flac-detective:latest
📦 See Getting Started for complete installation instructions.
Basic Usage
# Analyze current directory
flac-detective .
# Analyze specific directory
flac-detective /path/to/music
📖 See User Guide for detailed usage examples and command line options.
📚 Documentation
Detailed documentation is available in the docs/ directory:
- Documentation Index - Overview and navigation
- Getting Started - Installation and first analysis
- User Guide - Complete usage guide with examples
- Technical Details - Deep dive into detection rules and algorithms
- API Reference - Python API documentation
- Contributing - Development guide
🎯 Use Cases
- Library Maintenance: Clean your music collection of fake lossless files
- Quality Verification: Validate FLAC authenticity before archiving
- Batch Processing: Analyze large music libraries efficiently
- Format Validation: Ensure genuine lossless quality for critical listening
🤝 Contributing
Contributions are welcome! Please read our CONTRIBUTING.md for detailed guidelines and CODE_OF_CONDUCT.md for community standards.
🔒 Security
For security policy and vulnerability reporting, please see SECURITY.md.
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
📞 Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
FLAC Detective - Maintaining authentic lossless audio collections
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flac_detective-0.9.5.tar.gz.
File metadata
- Download URL: flac_detective-0.9.5.tar.gz
- Upload date:
- Size: 100.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5fe6fb12e9fc042ce3a9458cd9d596acfcac2decc3b1d63f2763d9e1930fc37
|
|
| MD5 |
49bcb11edb6ea260c506439ea7565dfa
|
|
| BLAKE2b-256 |
558a9d2aade860f61f44fc9491266b83bb6744c74b8ee34dcccc1235108327b9
|
File details
Details for the file flac_detective-0.9.5-py3-none-any.whl.
File metadata
- Download URL: flac_detective-0.9.5-py3-none-any.whl
- Upload date:
- Size: 101.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b87f6a0cb9b343d77ca498998b869221483849f8b2732e3630064059c75d8c4
|
|
| MD5 |
c3fb7aee2c987f0c7815f9e3229ca800
|
|
| BLAKE2b-256 |
6e4275ab487d9fb4977962731bce7f2714a8aa02cd5d12f0ff0096f6389ee3f7
|