Skip to content

v1.2.0

Latest

Choose a tag to compare

@evanpurkhiser evanpurkhiser released this 23 Mar 14:41

Critical Bug Fix: Key Detection on Linux Systems

This release fixes a critical bug that caused incorrect key detection on systems using libavformat 60 (FFmpeg 6.x), including:

  • Ubuntu 24.04
  • Debian stable
  • Other Linux distributions with FFmpeg 6.x

The Bug

The CLI was incorrectly passing a bitmask value (channel_layout) instead of the actual channel count (channels) to libkeyfinder when processing audio on these systems. This caused the audio data to be misinterpreted, resulting in completely wrong key detection.

Example: A track in C major would be detected as E minor.

Technical Details

See the commit message for full technical explanation of how channel_layout vs channels caused the bug.

Fixes: #15 (issue open since 2019)

Changes Since v1.1.5

  • Fix incorrect channel count when using libavformat 60 (#3546595)

Full technical details: 3546595