Skip to content

hat3k/FLAC-Benchmark-H

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

525 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Main window

FLAC Benchmark-H 1.5

Speed Distribution

Speed distribution

Summary Report

Summary

FLAC Benchmark-H

A Windows desktop tool for benchmarking FLAC encoders, verifying audio library integrity, and generating detailed file statistics.

Primary Use Cases

1. Compare FLAC encoder builds for maximum speed

Automate testing of multiple FLAC encoder versions and custom builds to identify the fastest one for your specific hardware.
Run multi-pass benchmarks with consistent settings, measure average speed, stability (min/max, consistency score), and output size.
Ideal for comparing official releases, optimized builds, or experimental forks.

2. Test entire audio library for errors

Verify the integrity of all your FLAC files in bulk.
Detect corruption, decoding errors, or file transfer issues.

3. Find audio duplicates across formats

Identify duplicate audio content regardless of file format, size, metadata, or extension.
Compares .wav and .flac files by calculating MD5 hashes of the actual audio data.

4. Generate detailed library summary

  • Format statistics (FLAC/WAV count, size, duration with percentages)
  • Audio properties distribution (sampling rate, bit depth, channels)
  • Collapsible lists of problematic files (missing metadata, long paths, MD5 issues)

5. Automate large-scale testing

Use the Job List to define, save, and execute complex sequences of encoding and decoding tasks.
Ideal for stress-testing, regression analysis, or comparing dozens of parameter combinations across multiple files.
Jobs are saved between sessions — set up once, run anytime.

Features

Core Benchmarking

  • Multi-pass testing: Measure average speed, variance, and stability across multiple runs
  • Stability metrics: Tracks min/max speed and calculates a consistency score (p50/p90 ratio)
  • Data analysis: Identifies fastest encoder and smallest output size
  • Detailed logging: Records bit depth, sampling rate, file sizes, compression ratio, speed, parameters, encoder version

Summary & Analysis Tools

  • Summary report: Comprehensive library overview with fixed-width columns for clean copy/paste
  • Writing library column: Shows FLAC encoder version/date for each file
  • Problem detection: Collapsible sections for files with missing metadata or errors
  • Natural sorting: Intuitive ordering (Track 1Track 2Track 10) in all file lists

Export & Integration

  • Export to Excel: Save logs and summary data to .xlsx for further analysis
  • BBCode export: Copy results formatted for forums
  • Context menu actions: Quick operations on files in Audio Files list

Usage

Quick Start

  1. Add encoders: Drag-and-drop .exe files (e.g., flac.exe) into the encoders list
  2. Add audio files: Add .wav or .flac files for testing
  3. Run test: Use "Start Encode", "Start Decode", or "Start Joblist" to run benchmarks
  4. Analyze results: Click "Analyze Log" to consolidate multi-pass results and highlight top performers
  5. Generate Summary: Use the Summary context menu item for detailed library report

Export Example

FLAC Benchmark-H 1.5 Excel

Technical

  • Built with C# and Windows Forms (.NET 10)
  • Temporary files are stored in the temp folder (configurable)
  • Supports FLAC 1.5.0+ (for multi-threading; use 1 thread for older versions)
  • Natural string comparer for intuitive file sorting
  • Double-buffered UI for smooth rendering

💡 Note: You may test any builds of FLAC starting from 1.5.0.
If you want to use earlier FLAC versions then set 'Threads' option to 1.

GitHub all releases

About

Test different FLAC encoders for speed and compression. Test your library for errors and make a proper log of corrupted files. Find duplicates across WAV and FLAC.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages