yading@10
|
1 \input texinfo @c -*- texinfo -*-
|
yading@10
|
2
|
yading@10
|
3 @settitle Libswresample Documentation
|
yading@10
|
4 @titlepage
|
yading@10
|
5 @center @titlefont{Libswresample Documentation}
|
yading@10
|
6 @end titlepage
|
yading@10
|
7
|
yading@10
|
8 @top
|
yading@10
|
9
|
yading@10
|
10 @contents
|
yading@10
|
11
|
yading@10
|
12 @chapter Description
|
yading@10
|
13 @c man begin DESCRIPTION
|
yading@10
|
14
|
yading@10
|
15 The libswresample library performs highly optimized audio resampling,
|
yading@10
|
16 rematrixing and sample format conversion operations.
|
yading@10
|
17
|
yading@10
|
18 Specifically, this library performs the following conversions:
|
yading@10
|
19
|
yading@10
|
20 @itemize
|
yading@10
|
21 @item
|
yading@10
|
22 @emph{Resampling}: is the process of changing the audio rate, for
|
yading@10
|
23 example from an high sample rate of 44100Hz to 8000Hz. Audio
|
yading@10
|
24 conversion from high to low sample rate is a lossy process. Several
|
yading@10
|
25 resampling options and algorithms are available.
|
yading@10
|
26
|
yading@10
|
27 @item
|
yading@10
|
28 @emph{Format conversion}: is the process of converting the type of
|
yading@10
|
29 samples, for example from 16-bit signed samples to unsigned 8-bit or
|
yading@10
|
30 float samples. It also handles packing conversion, when passing from
|
yading@10
|
31 packed layout (all samples belonging to distinct channels interleaved
|
yading@10
|
32 in the same buffer), to planar layout (all samples belonging to the
|
yading@10
|
33 same channel stored in a dedicated buffer or "plane").
|
yading@10
|
34
|
yading@10
|
35 @item
|
yading@10
|
36 @emph{Rematrixing}: is the process of changing the channel layout, for
|
yading@10
|
37 example from stereo to mono. When the input channels cannot be mapped
|
yading@10
|
38 to the output streams, the process is lossy, since it involves
|
yading@10
|
39 different gain factors and mixing.
|
yading@10
|
40 @end itemize
|
yading@10
|
41
|
yading@10
|
42 Various other audio conversions (e.g. stretching and padding) are
|
yading@10
|
43 enabled through dedicated options.
|
yading@10
|
44
|
yading@10
|
45 @c man end DESCRIPTION
|
yading@10
|
46
|
yading@10
|
47 @chapter See Also
|
yading@10
|
48
|
yading@10
|
49 @ifhtml
|
yading@10
|
50 @url{ffmpeg.html,ffmpeg}, @url{ffplay.html,ffplay}, @url{ffprobe.html,ffprobe}, @url{ffserver.html,ffserver},
|
yading@10
|
51 @url{ffmpeg-resampler.html,ffmpeg-resampler},
|
yading@10
|
52 @url{libavutil.html,libavutil}
|
yading@10
|
53 @end ifhtml
|
yading@10
|
54
|
yading@10
|
55 @ifnothtml
|
yading@10
|
56 ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1),
|
yading@10
|
57 ffmpeg-resampler(1),
|
yading@10
|
58 libavutil(3)
|
yading@10
|
59 @end ifnothtml
|
yading@10
|
60
|
yading@10
|
61 @include authors.texi
|
yading@10
|
62
|
yading@10
|
63 @ignore
|
yading@10
|
64
|
yading@10
|
65 @setfilename libswresample
|
yading@10
|
66 @settitle audio resampling library
|
yading@10
|
67
|
yading@10
|
68 @end ignore
|
yading@10
|
69
|
yading@10
|
70 @bye
|