annotate DOCS/xml/en/radio.xml @ 31891:4f17ff5b3cbc

Fix a bunch of grammar and spelling errors in mp_msg calls.
author diego
date Tue, 17 Aug 2010 22:39:24 +0000
parents 89ba6df5d766
children
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
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
6 <para>
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
7 This section is about how to enable listening to radio from
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
8 a V4L-compatible radio tuner. See the man page for a
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
9 description of radio options and keyboard controls.
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
10 </para>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
11
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
12 <!-- ********** -->
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
13
31749
bae2bf8c18d3 Drop one pointless subsectioning level from radio input chapter.
diego
parents: 23500
diff changeset
14 <sect1 id="radio-tips">
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
15 <title>Usage tips</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
16
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
17 <para>
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
18 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
19 Here are just a few tips:
21732
893e314fff49 Reformatting round continued
torinthiel
parents: 21596
diff changeset
20
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
21 <itemizedlist>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
22 <listitem><para>
31866
89ba6df5d766 Remove pointless compilation sections from radio and TV input chapters.
diego
parents: 31749
diff changeset
23 Make sure your tuner works with another radio software in Linux, for
89ba6df5d766 Remove pointless compilation sections from radio and TV input chapters.
diego
parents: 31749
diff changeset
24 example <application>XawTV</application>.
89ba6df5d766 Remove pointless compilation sections from radio and TV input chapters.
diego
parents: 31749
diff changeset
25 </para></listitem>
89ba6df5d766 Remove pointless compilation sections from radio and TV input chapters.
diego
parents: 31749
diff changeset
26 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
27 Use the <option>channels</option> option. An example:
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
28 <screen>-radio channels=104.4-Sibir,103.9-Maximum</screen>
23500
0b04f0a1aadf reversed previus modification (r23517)
ptt
parents: 23497
diff changeset
29 Explanation: With this option, only the 104.4 and 103.9 radio stations
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
30 will be usable. There will be a nice OSD text upon channel switching,
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
31 displaying the channel's name. Spaces in the channel name must be
21596
f551403d82a9 replace &quot; with ", better readability
torinthiel
parents: 21521
diff changeset
32 replaced by the "_" character.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
33 </para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
34 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
35 There are several ways of capturing audio. You can grab the sound either using
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
36 your sound card via an external cable connection between video card and
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
37 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
38 you have to load the <systemitem>saa7134-alsa</systemitem> or
23497
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
39 <systemitem>saa7134-oss</systemitem> driver.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
40 </para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
41 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
42 <application>MEncoder</application> cannot be used for audio capture,
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
43 because it requires a video stream to work. So your can either use
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
44 <application>arecord</application> from ALSA project or
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
45 use <option>-ao pcm:file=file.wav</option>. In the latter case you
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
46 will not hear any sound (unless you are using a line-in cable and
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
47 have switched line-in mute off).
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
48 </para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
49 </itemizedlist>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
50 </para>
31749
bae2bf8c18d3 Drop one pointless subsectioning level from radio input chapter.
diego
parents: 23500
diff changeset
51 </sect1>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
52
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
53 <!-- ********** -->
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
54
31749
bae2bf8c18d3 Drop one pointless subsectioning level from radio input chapter.
diego
parents: 23500
diff changeset
55 <sect1 id="radio-examples">
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
56 <title>Examples</title>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
57
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
58 <informalexample><para>
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
59 Input from standard V4L (using line-in cable, capture switched off):
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
60 <screen>mplayer radio://104.4</screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
61 </para></informalexample>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
62
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
63 <informalexample><para>
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
64 Input from standard V4L (using line-in cable, capture switched off,
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
65 V4Lv1 interface):
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
66 <screen>mplayer -radio driver=v4l radio://104.4</screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
67 </para></informalexample>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
68
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
69 <informalexample><para>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
70 Playing second channel from channel list:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
71 <screen>mplayer -radio channels=104.4=Sibir,103.9=Maximm radio://2</screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
72 </para></informalexample>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
73
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
74 <informalexample>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
75 <para>
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
76 Passing sound over the PCI bus from the radio card's internal ADC.
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
77 In this example the tuner is used as a second sound card
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
78 (ALSA device hw:1,0). For saa7134-based cards either the
23497
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
79 <systemitem>saa7134-alsa</systemitem> or <systemitem>saa7134-oss</systemitem>
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
80 module must be loaded.
20045
a40e4a4d6314 some reformatting
diego
parents: 19628
diff changeset
81 <screen>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
82 mplayer -rawaudio rate=32000 radio://2/capture \
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
83 -radio adevice=hw=1.0:arate=32000:channels=104.4=Sibir,103.9=Maximm
20045
a40e4a4d6314 some reformatting
diego
parents: 19628
diff changeset
84 </screen>
23497
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
85 <note><para>
77ab4749d111 small indentation and tags fixes
ptt
parents: 21732
diff changeset
86 When using ALSA device names colons must be replaced
19586
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
87 by equal signs, commas by periods.
16e32d49b61d grammar/wording/markup fixes
diego
parents: 19583
diff changeset
88 </para></note>
19572
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
89 </para>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
90 </informalexample>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
91 </sect1>
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
92
5486c0d3860f Forgotten documentation part of radio support patch
reimar
parents:
diff changeset
93 </chapter>