VoxSpica

Audio formats in VoxSpica and FFmpeg: WAV, MP3, M4A, OGG

Which audio formats VoxSpica supports, when FFmpeg is needed, how to prepare files for offline transcription and avoid recognition errors.

VoxSpica — Offline Speech Recognition

For stable transcription and the task "translate audio to text", it's important to understand which formats VoxSpica processes directly, and which require FFmpeg. Below is a guide based on confirmed VoxSpica capabilities and primary sources.

Short version: WAV (16 kHz, mono, 16-bit PCM) is recognized natively. MP3, M4A, OGG (and other formats with an audio track) can be processed via FFmpeg — it needs to be installed separately (it's not included in the VoxSpica package).

Main guide: transcribe audio to text · MP3 to text offline · Download VoxSpica

Supported formats in VoxSpica

FormatHow it's processedWhat's required
WAV (16 kHz, mono, int16/PCM 16-bit)Natively, without conversionNothing additional
MP3Via FFmpeg (conversion to temporary 16 kHz mono WAV)Installed FFmpeg
M4AVia FFmpegInstalled FFmpeg
OGGVia FFmpegInstalled FFmpeg

For the most predictable result, it's recommended to use WAV with parameters 16 kHz, mono, 16-bit PCM. For the microphone, VoxSpica uses an audio stream of 16 kHz mono int16.

Why FFmpeg is needed

FFmpeg — an open multimedia framework and toolset for decoding, encoding, transcoding, working with containers, streams and media filtering. In VoxSpica, FFmpeg is used as an external tool to prepare input audio files that are not supported natively.

Important:

  • FFmpeg is not built into VoxSpica and is installed separately.
  • If FFmpeg is missing, when opening a format requiring conversion, VoxSpica reports an error and suggests installing FFmpeg.
  • Support for a specific container/codec in your case depends on the capabilities of the installed FFmpeg build and the source file.

How to prepare audio for transcription

  1. Best option: use/convert the recording to WAV (16 kHz, mono, 16-bit PCM).
  2. If the source is MP3/M4A/OGG: install FFmpeg and make sure it's available in the system.
  3. Check recording quality: noise, echo, quiet speech and distortion degrade the result regardless of format.
  4. If there are problems with the file: try converting it to WAV via FFmpeg.

Example conversion to a suitable WAV (FFmpeg):

ffmpeg -i input.mp3 -ac 1 -ar 16000 -c:a pcm_s16le output.wav

FFmpeg installation (examples)

The installation method depends on the OS. Official builds and documentation are on the FFmpeg website.

  • Windows: for example, winget install Gyan.FFmpeg (or build installation and adding to PATH)
  • Ubuntu/Debian: sudo apt update && sudo apt install ffmpeg
  • Fedora: sudo dnf install ffmpeg (if available in repositories)

After installation, check: ffmpeg -version.

Common format problems

ProblemPossible causeWhat to do
MP3/M4A/OGG doesn't openFFmpeg not installed or unavailableInstall FFmpeg, check ffmpeg -version, restart the application
Error processing fileNon-standard/corrupted file or unsupported codecConvert to WAV 16 kHz mono 16-bit
Low recognition qualityPoor source recordingImprove recording, choose a suitable model (large if resources allow), check language

Limitations

  • VoxSpica processes audio; there's no separate video transcription function as a scenario.
  • CLI processes one file per call (no built-in batch processing).
  • Quality depends on language, model, audio quality and recording conditions, not just the container.

See also

Sources (primary sources)