encodetest

command
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Command encodetest encodes a 16-bit PCM mono WAV file to MP3 using the same internal/voice/mp3 path the broadcast backends use, writing the result to a file. It exists to reproduce and verify call-audio encoding issues offline — e.g. piping its output through ffmpeg exactly as Rdio Scanner does:

go run ./cmd/encodetest in.wav out.mp3
ffmpeg -i out.mp3 -f null -        # must succeed
cat out.mp3 | ffmpeg -i - -f null - # must succeed (stdin, like Rdio Scanner)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL