Mercurial > mplayer.hg
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 |
rev | line source |
---|---|
20535 | 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 | 4 <title>Radio</title> |
5 | |
6 <para> | |
19586 | 7 This section is about how to enable listening to radio from |
8 a V4L-compatible radio tuner. See the man page for a | |
9 description of radio options and keyboard controls. | |
19572 | 10 </para> |
11 | |
21521 | 12 <!-- ********** --> |
19572 | 13 |
31749
bae2bf8c18d3
Drop one pointless subsectioning level from radio input chapter.
diego
parents:
23500
diff
changeset
|
14 <sect1 id="radio-tips"> |
19572 | 15 <title>Usage tips</title> |
21521 | 16 |
19572 | 17 <para> |
19586 | 18 The full listing of the options is available in the manual page. |
19572 | 19 Here are just a few tips: |
21732 | 20 |
19572 | 21 <itemizedlist> |
21521 | 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 | 27 Use the <option>channels</option> option. An example: |
28 <screen>-radio channels=104.4-Sibir,103.9-Maximum</screen> | |
23500 | 29 Explanation: With this option, only the 104.4 and 103.9 radio stations |
21521 | 30 will be usable. There will be a nice OSD text upon channel switching, |
31 displaying the channel's name. Spaces in the channel name must be | |
21596 | 32 replaced by the "_" character. |
21521 | 33 </para></listitem> |
34 <listitem><para> | |
35 There are several ways of capturing audio. You can grab the sound either using | |
36 your sound card via an external cable connection between video card and | |
37 line-in, or using the built-in ADC in the saa7134 chip. In the latter case, | |
38 you have to load the <systemitem>saa7134-alsa</systemitem> or | |
23497 | 39 <systemitem>saa7134-oss</systemitem> driver. |
21521 | 40 </para></listitem> |
41 <listitem><para> | |
42 <application>MEncoder</application> cannot be used for audio capture, | |
43 because it requires a video stream to work. So your can either use | |
44 <application>arecord</application> from ALSA project or | |
45 use <option>-ao pcm:file=file.wav</option>. In the latter case you | |
46 will not hear any sound (unless you are using a line-in cable and | |
47 have switched line-in mute off). | |
48 </para></listitem> | |
49 </itemizedlist> | |
19572 | 50 </para> |
31749
bae2bf8c18d3
Drop one pointless subsectioning level from radio input chapter.
diego
parents:
23500
diff
changeset
|
51 </sect1> |
19572 | 52 |
21521 | 53 <!-- ********** --> |
19572 | 54 |
31749
bae2bf8c18d3
Drop one pointless subsectioning level from radio input chapter.
diego
parents:
23500
diff
changeset
|
55 <sect1 id="radio-examples"> |
19572 | 56 <title>Examples</title> |
57 | |
21521 | 58 <informalexample><para> |
19586 | 59 Input from standard V4L (using line-in cable, capture switched off): |
21521 | 60 <screen>mplayer radio://104.4</screen> |
61 </para></informalexample> | |
19572 | 62 |
21521 | 63 <informalexample><para> |
19586 | 64 Input from standard V4L (using line-in cable, capture switched off, |
65 V4Lv1 interface): | |
21521 | 66 <screen>mplayer -radio driver=v4l radio://104.4</screen> |
67 </para></informalexample> | |
19572 | 68 |
21521 | 69 <informalexample><para> |
19572 | 70 Playing second channel from channel list: |
21521 | 71 <screen>mplayer -radio channels=104.4=Sibir,103.9=Maximm radio://2</screen> |
72 </para></informalexample> | |
19572 | 73 |
74 <informalexample> | |
75 <para> | |
19586 | 76 Passing sound over the PCI bus from the radio card's internal ADC. |
77 In this example the tuner is used as a second sound card | |
78 (ALSA device hw:1,0). For saa7134-based cards either the | |
23497 | 79 <systemitem>saa7134-alsa</systemitem> or <systemitem>saa7134-oss</systemitem> |
80 module must be loaded. | |
20045 | 81 <screen> |
21521 | 82 mplayer -rawaudio rate=32000 radio://2/capture \ |
83 -radio adevice=hw=1.0:arate=32000:channels=104.4=Sibir,103.9=Maximm | |
20045 | 84 </screen> |
23497 | 85 <note><para> |
86 When using ALSA device names colons must be replaced | |
19586 | 87 by equal signs, commas by periods. |
88 </para></note> | |
19572 | 89 </para> |
90 </informalexample> | |
91 </sect1> | |
92 | |
93 </chapter> |