efm-decoder-audio

EFM Data24 to Audio Decoder

Overview

efm-decoder-audio converts Data24 sections into 16-bit stereo PCM audio according to IEC 60908 specifications. This tool handles the final stage of audio decoding for CD audio and LaserDisc digital audio tracks, producing standard WAV files with detailed metadata.

Usage

efm-decoder-audio [options] <input.d24> <output.wav>

Options

Standard Options

Audio Processing

Debug Options

Arguments

Processing Pipeline

The decoding sequence performed by efm-decoder-audio:

  1. Data24 Sections → Input from efm-decoder-d24 (or stdin via Unix pipes)
  2. Audio Frame Extraction → Extract 16-bit stereo samples
  3. Error Concealment → Interpolate or silence corrupted samples
  4. WAV Generation → Standard 44.1kHz 16-bit stereo output
  5. Metadata Export → Optional Audacity label file generation

Unix Pipelining: efm-decoder-audio supports stdin/stdout using -, allowing direct connection to other EFM decoder tools without intermediate files.

Audio Output Format

WAV Specifications

Quality Metrics

Each Data24 section (1/75 second) produces:

Error Concealment

The tool provides sophisticated error handling:

Concealment Methods

Concealment Control

Metadata Output

Audacity Labels Format

When --audacity-labels is specified, generates a .txt file containing:

Example Metadata

2038.365964	2038.366100	Silenced: 33:58:27
0.000000	175.333333	Track: 01 [00:00:00-02:53:25]
175.346667	470.520000	Track: 02 [00:00:00-04:55:13]

Pipeline Integration

Input Requirements

Common Workflows

Standard Audio Extraction

# Complete pipeline for audio using Unix pipes
efm-decoder-f2 input.efm - | efm-decoder-d24 - - | efm-decoder-audio - output.wav --audacity-labels

# Alternative: step by step with files
efm-decoder-f2 input.efm temp.f2
efm-decoder-d24 temp.f2 temp.d24
efm-decoder-audio temp.d24 output.wav --audacity-labels

Multi-Source Quality Enhancement

# Stack multiple sources first
efm-stacker-f2 source1.f2 source2.f2 source3.f2 stacked.f2
efm-decoder-d24 stacked.f2 stacked.d24
efm-decoder-audio stacked.d24 output.wav --audacity-labels

Performance Considerations