Mercurial > mplayer.hg
comparison DOCS/xml/en/radio.xml @ 19586:16e32d49b61d
grammar/wording/markup fixes
author | diego |
---|---|
date | Tue, 29 Aug 2006 16:36:45 +0000 |
parents | 94e4ef4195d3 |
children | d1794d1814b9 |
comparison
equal
deleted
inserted
replaced
19585:5ba92e0ab9b7 | 19586:16e32d49b61d |
---|---|
5 | 5 |
6 <sect1 id="radio-input" xreflabel="Radio input"> | 6 <sect1 id="radio-input" xreflabel="Radio input"> |
7 <title>Radio input</title> | 7 <title>Radio input</title> |
8 | 8 |
9 <para> | 9 <para> |
10 This section is about how to enable <emphasis role="bold">listening | 10 This section is about how to enable listening to radio from |
11 from V4L compatible Radio tuner</emphasis>. See the man page for a description | 11 a V4L-compatible radio tuner. See the man page for a |
12 of Radio options and keyboard controls. | 12 description of radio options and keyboard controls. |
13 </para> | 13 </para> |
14 | 14 |
15 | 15 |
16 <sect2 id="radio-compilation"> | 16 <sect2 id="radio-compilation"> |
17 <title>Compilation</title> | 17 <title>Compilation</title> |
18 | 18 |
19 <procedure> | 19 <procedure> |
20 <step><para> | 20 <step><para> |
21 First, you have to recompile MPlayer using <filename>./configure</filename> with | 21 First, you have to recompile MPlayer using <filename>./configure</filename> with |
22 --enable-radio and (if you want capture support) --enable-radio-capture. | 22 <option>--enable-radio</option> and (if you want capture support) |
23 <option>--enable-radio-capture</option>. | |
23 </para></step> | 24 </para></step> |
24 <step><para> | 25 <step><para> |
25 Make sure your tuner works with another radio software in Linux, for | 26 Make sure your tuner works with another radio software in Linux, for |
26 example <application>XawTV</application>. | 27 example <application>XawTV</application>. |
27 </para></step> | 28 </para></step> |
29 </sect2> | 30 </sect2> |
30 | 31 |
31 <sect2 id="radio-tips"> | 32 <sect2 id="radio-tips"> |
32 <title>Usage tips</title> | 33 <title>Usage tips</title> |
33 <para> | 34 <para> |
34 The full listing of the options is available on the manual page. | 35 The full listing of the options is available in the manual page. |
35 Here are just a few tips: | 36 Here are just a few tips: |
36 </para> | 37 </para> |
37 <itemizedlist> | 38 <itemizedlist> |
38 <listitem> | 39 <listitem> |
39 <para> | 40 <para> |
40 Use the <option>channels</option> option. An example: | 41 Use the <option>channels</option> option. An example: |
41 <screen>-radio channels=104.4-Sibir,103.9-Maximum</screen> | 42 <screen>-radio channels=104.4-Sibir,103.9-Maximum</screen> |
42 Explanation: using this option, only the 104.4 and 103.9 radio stations | 43 Explanation: With this option, only the 104.4 and 103.9 radio stations |
43 will be usable, and there will be a nice OSD text upon channel switching, displaying the | 44 will be usable. There will be a nice OSD text upon channel switching, |
44 channel's name. Spaces in the channel name must be replaced by the | 45 displaying the channel's name. Spaces in the channel name must be |
45 "_" character. | 46 replaced by the "_" character. |
46 </para> | 47 </para> |
47 </listitem> | 48 </listitem> |
48 | 49 |
49 <listitem> | 50 <listitem> |
50 <para> | 51 <para> |
51 There are several ways of capturing audio. You can grab the sound either using | 52 There are several ways of capturing audio. You can grab the sound either using |
52 your sound card via an external cable connection between video card and line-in, | 53 your sound card via an external cable connection between video card and line-in, |
53 or using the built-in ADC in the saa7134 chip. In the latter case, you have to | 54 or using the built-in ADC in the saa7134 chip. In the latter case, you have to |
54 load the <emphasis role="bold">saa7134-alsa</emphasis> or | 55 load the <systemitem>saa7134-alsa</systemitem> or |
55 <emphasis role="bold">saa7134-oss</emphasis> driver. | 56 <systemitem>saa7134-oss</systemitem> driver. |
56 </para> | 57 </para> |
57 </listitem> | 58 </listitem> |
58 | 59 |
59 <listitem> | 60 <listitem> |
60 <para> | 61 <para> |
61 <application>MEncoder</application> cannot be used for audio capture, because it | 62 <application>MEncoder</application> cannot be used for audio capture, because it |
62 requires video stream to work. So your can either use arecord from ALSA project or | 63 requires a video stream to work. So your can either use |
63 use <option>-ao pcm:file=file.wav</option>. In second case you will not hear any sound | 64 <application>arecord</application> from ALSA project or |
64 (except you using line-in cable and have switched line-in mute off) | 65 use <option>-ao pcm:file=file.wav</option>. In the latter case you |
66 will not hear any sound (unless you are using a line-in cable and | |
67 have switched line-in mute off). | |
65 </para> | 68 </para> |
66 </listitem> | 69 </listitem> |
67 </itemizedlist> | 70 </itemizedlist> |
68 </sect2> | 71 </sect2> |
69 | 72 |
72 <title>Examples</title> | 75 <title>Examples</title> |
73 | 76 |
74 | 77 |
75 <informalexample> | 78 <informalexample> |
76 <para> | 79 <para> |
77 Input from standard V4L (using line-in cable. capture switched off): | 80 Input from standard V4L (using line-in cable, capture switched off): |
78 <screen> | 81 <screen> |
79 mplayer radio://104.4<!-- | 82 mplayer radio://104.4<!-- |
80 --></screen> | 83 --></screen> |
81 </para> | 84 </para> |
82 </informalexample> | 85 </informalexample> |
83 | 86 |
84 <informalexample> | 87 <informalexample> |
85 <para> | 88 <para> |
86 Input from standard V4L (using line-in cable. capture switched off, V4Lv1 interface): | 89 Input from standard V4L (using line-in cable, capture switched off, |
90 V4Lv1 interface): | |
87 <screen> | 91 <screen> |
88 mplayer -radio driver=v4l radio://104.4<!-- | 92 mplayer -radio driver=v4l radio://104.4<!-- |
89 --></screen> | 93 --></screen> |
90 </para> | 94 </para> |
91 </informalexample> | 95 </informalexample> |
99 </para> | 103 </para> |
100 </informalexample> | 104 </informalexample> |
101 | 105 |
102 <informalexample> | 106 <informalexample> |
103 <para> | 107 <para> |
104 Using sound through pci bus from radio card's internal ADC. In this example tuner used as second sound card | 108 Passing sound over the PCI bus from the radio card's internal ADC. |
105 (ALSA device hw:1,0). For saa7134 based cards either saa7134-alsa or saa7134-oss module must be | 109 In this example the tuner is used as a second sound card |
106 loaded . NOTE: when using ALSA device names colons must be replaced with equals, commas with dots. | 110 (ALSA device hw:1,0). For saa7134-based cards either the |
111 saa7134-alsa or saa7134-oss module must be loaded. | |
112 <note><para>When using ALSA device names colons must be replaced | |
113 by equal signs, commas by periods. | |
107 <screen> | 114 <screen> |
108 mplayer -rawaudio rate=32000 -radio adevice=hw=1.0:arate=32000:channels=104.4=Sibir,103.9=Maximm radio://2/capture<!-- | 115 mplayer -rawaudio rate=32000 -radio adevice=hw=1.0:arate=32000:channels=104.4=Sibir,103.9=Maximm radio://2/capture<!-- |
109 --></screen> | 116 --></screen> |
117 </para></note> | |
110 </para> | 118 </para> |
111 </informalexample> | 119 </informalexample> |
112 </sect2> | 120 </sect2> |
113 </sect1> | 121 </sect1> |
114 | 122 |