annotate DOCS/xml/en/radio.xml @ 28909:e9555bd1a9fb

Set DOCTYPE in xsl-generated HTML documentation.
author reimar
date Sat, 14 Mar 2009 12:32:28 +0000
parents 0b04f0a1aadf
children bae2bf8c18d3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20535
c0687e92d463 convert DOCS/xml/en and help_mp-en.h to UTF-8
kraymer
parents: 20045
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
19628
d1794d1814b9 Set default svn:eol-style and svn:keywords properties.
diego
parents: 19586
diff changeset
2 <!-- $Revision$ -->
19583
94e4ef4195d3 Fix build after radio commit, patch by Jindrich Makovicka.
diego
parents: 19572
diff changeset
3 <chapter id="radio">
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
4 <title>Radio</title>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
5
19583
94e4ef4195d3 Fix build after radio commit, patch by Jindrich Makovicka.
diego
parents: 19572
diff changeset
6 <sect1 id="radio-input" xreflabel="Radio input">
94e4ef4195d3 Fix build after radio commit, patch by Jindrich Makovicka.
diego
parents: 19572
diff changeset
7 <title>Radio input</title>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
8
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
9 <para>
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
10 This section is about how to enable listening to radio from
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
11 a V4L-compatible radio tuner. See the man page for a
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
12 description of radio options and keyboard controls.
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
13 </para>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
14
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
15 <!-- ********** -->
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
16
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
17 <sect2 id="radio-compilation">
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
18 <title>Compilation</title>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
19
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
20 <procedure>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
21 <step><para>
23497
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
22 First, you have to recompile <application>MPlayer</application> using
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
23 <filename>./configure</filename> with <option>--enable-radio</option> and
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
24 (if you want capture support) <option>--enable-radio-capture</option>.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
25 </para></step>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
26 <step><para>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
27 Make sure your tuner works with another radio software in Linux, for
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
28 example <application>XawTV</application>.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
29 </para></step>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
30 </procedure>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
31 </sect2>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
32
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
33 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
34
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
35 <sect2 id="radio-tips">
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
36 <title>Usage tips</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
37
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
38 <para>
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
39 The full listing of the options is available in the manual page.
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
40 Here are just a few tips:
21732
893e314fff49 Reformatting round continued
torinthiel
parents: 21596
diff changeset
41
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
42 <itemizedlist>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
43 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
44 Use the <option>channels</option> option. An example:
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
45 <screen>-radio channels=104.4-Sibir,103.9-Maximum</screen>
23500
0b04f0a1aadf reversed previus modification (r23517)
ptt
parents: 23497
diff changeset
46 Explanation: With this option, only the 104.4 and 103.9 radio stations
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
47 will be usable. There will be a nice OSD text upon channel switching,
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
48 displaying the channel's name. Spaces in the channel name must be
21596
f551403d82a9 replace &quot; with ", better readability
torinthiel
parents: 21521
diff changeset
49 replaced by the "_" character.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
50 </para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
51 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
52 There are several ways of capturing audio. You can grab the sound either using
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
53 your sound card via an external cable connection between video card and
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
54 line-in, or using the built-in ADC in the saa7134 chip. In the latter case,
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
55 you have to load the <systemitem>saa7134-alsa</systemitem> or
23497
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
56 <systemitem>saa7134-oss</systemitem> driver.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
57 </para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
58 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
59 <application>MEncoder</application> cannot be used for audio capture,
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
60 because it requires a video stream to work. So your can either use
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
61 <application>arecord</application> from ALSA project or
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
62 use <option>-ao pcm:file=file.wav</option>. In the latter case you
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
63 will not hear any sound (unless you are using a line-in cable and
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
64 have switched line-in mute off).
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
65 </para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
66 </itemizedlist>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
67 </para>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
68 </sect2>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
69
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
70 <!-- ********** -->
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
71
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
72 <sect2 id="radio-examples">
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
73 <title>Examples</title>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
74
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
75 <informalexample><para>
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
76 Input from standard V4L (using line-in cable, capture switched off):
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
77 <screen>mplayer radio://104.4</screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
78 </para></informalexample>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
79
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
80 <informalexample><para>
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
81 Input from standard V4L (using line-in cable, capture switched off,
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
82 V4Lv1 interface):
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
83 <screen>mplayer -radio driver=v4l radio://104.4</screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
84 </para></informalexample>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
85
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
86 <informalexample><para>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
87 Playing second channel from channel list:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
88 <screen>mplayer -radio channels=104.4=Sibir,103.9=Maximm radio://2</screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
89 </para></informalexample>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
90
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
91 <informalexample>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
92 <para>
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
93 Passing sound over the PCI bus from the radio card's internal ADC.
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
94 In this example the tuner is used as a second sound card
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
95 (ALSA device hw:1,0). For saa7134-based cards either the
23497
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
96 <systemitem>saa7134-alsa</systemitem> or <systemitem>saa7134-oss</systemitem>
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
97 module must be loaded.
20045
a40e4a4d6314 some reformatting
diego
parents: 19628
diff changeset
98 <screen>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
99 mplayer -rawaudio rate=32000 radio://2/capture \
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
100 -radio adevice=hw=1.0:arate=32000:channels=104.4=Sibir,103.9=Maximm
20045
a40e4a4d6314 some reformatting
diego
parents: 19628
diff changeset
101 </screen>
23497
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
102 <note><para>
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
103 When using ALSA device names colons must be replaced
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
104 by equal signs, commas by periods.
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
105 </para></note>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
106 </para>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
107 </informalexample>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
108 </sect2>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
109 </sect1>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
110
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
111 </chapter>