spa-resample - Man Page
The PipeWire resampler debugging utility
Examples (TL;DR)
- Resample an audio file:
spa-resample path/to/input.wav path/to/output.wav - Resample an audio file to a specific sample rate:
spa-resample [-r|--rate] 48000 path/to/input.wav path/to/output.wav - Resample an audio file to a specific format:
spa-resample [-f|--format] s8|s16|s32|f32|f64 path/to/input.wav path/to/output.wav - Resample an audio file with a specific quality (0 is lowest, 14 is highest):
spa-resample [-q|--quality] 0..14 path/to/input.wav path/to/output.wav - Display help:
spa-resample -h
Synopsis
spa-resample [Options] INFILE OUTFILE
Description
Use the PipeWire resampler to resample input file to output file, following the given options.
This is useful only for testing the resampler.
Options
- -r RATE | --rate=RATE
Output sample rate.
- -f FORMAT | --format=FORMAT
Output sample format (s8 | s16 | s32 | f32 | f64).
- -q QUALITY | --quality=QUALITY
Resampler output quality (0-14).
- -c FLAGS | --cpuflags=FLAGS
See spa/support/cpu.h.
- -h
Show help.
- -v
Verbose operation.
Examples
Authors
The PipeWire Developers <https://gitlab.freedesktop.org/pipewire/pipewire/issues>; PipeWire is available from <https://pipewire.org>
See Also
Info
1.6.3 PipeWire