1doc::libswresample(3) doc::libswresample(3)
2
3
4
6 libswresample - audio resampling library
7
9 The libswresample library performs highly optimized audio resampling,
10 rematrixing and sample format conversion operations.
11
12 Specifically, this library performs the following conversions:
13
14 • Resampling: is the process of changing the audio rate, for example
15 from a high sample rate of 44100Hz to 8000Hz. Audio conversion from
16 high to low sample rate is a lossy process. Several resampling
17 options and algorithms are available.
18
19 • Format conversion: is the process of converting the type of
20 samples, for example from 16-bit signed samples to unsigned 8-bit
21 or float samples. It also handles packing conversion, when passing
22 from packed layout (all samples belonging to distinct channels
23 interleaved in the same buffer), to planar layout (all samples
24 belonging to the same channel stored in a dedicated buffer or
25 "plane").
26
27 • Rematrixing: is the process of changing the channel layout, for
28 example from stereo to mono. When the input channels cannot be
29 mapped to the output streams, the process is lossy, since it
30 involves different gain factors and mixing.
31
32 Various other audio conversions (e.g. stretching and padding) are
33 enabled through dedicated options.
34
36 ffmpeg(1), ffplay(1), ffprobe(1), ffmpeg-resampler(1), libavutil(3)
37
39 The FFmpeg developers.
40
41 For details about the authorship, see the Git history of the project
42 (https://git.ffmpeg.org/ffmpeg), e.g. by typing the command git log in
43 the FFmpeg source directory, or browsing the online repository at
44 <https://git.ffmpeg.org/ffmpeg>.
45
46 Maintainers for the specific components are listed in the file
47 MAINTAINERS in the source code tree.
48
49
50
51 doc::libswresample(3)