Revision 1ee410f3 doc/filters.texi

View differences:

doc/filters.texi
14 14

  
15 15
@c man end AUDIO FILTERS
16 16

  
17
@chapter Audio Sources
18
@c man begin AUDIO SOURCES
19

  
20
Below is a description of the currently available audio sources.
21

  
22
@section anullsrc
23

  
24
Null audio source, never return audio frames. It is mainly useful as a
25
template and to be employed in analysis / debugging tools.
26

  
27
It accepts as optional parameter a string of the form
28
@var{sample_rate}:@var{channel_layout}.
29

  
30
@var{sample_rate} specify the sample rate, and defaults to 44100.
31

  
32
@var{channel_layout} specify the channel layout, and can be either an
33
integer or a string representing a channel layout. The default value
34
of @var{channel_layout} is 3, which corresponds to CH_LAYOUT_STEREO.
35

  
36
Check the channel_layout_map definition in
37
@file{libavcodec/audioconvert.c} for the correspondance between string
38
and channel layout values.
39

  
40
Follow some examples:
41
@example
42
#  set the sample rate to 48000 Hz and the channel layout to CH_LAYOUT_MONO.
43
anullsrc=48000:4
44

  
45
# same as
46
anullsrc=48000:mono
47
@end example
48

  
49
@c man end AUDIO SOURCES
50

  
17 51
@chapter Video Filters
18 52
@c man begin VIDEO FILTERS
19 53

  

Also available in: Unified diff