aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS/xml/ru/radio.xml
blob: c53686f85367842030a6cd13473cf0b5865d19fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="koi8-r"?>
<!-- synced with r19634 -->

<sect1 id="radio" xreflabel="Radio input">
<title>Radio input</title>

<para>
÷ ÜÔÏÊ ÓÅËÃÉÉ ÏÐÉÓÙ×ÁÅÔÓÑ ËÁË ×ËÌÀÞÉÔØ <emphasis role="bold">ÐÒÏÓÌÕÛÉ×ÁÎÉÅ 
ÒÁÄÉÏ ÐÒÉ ÐÏÍÏÝÉ V4L ÓÏ×ÍÅÓÔÉÍÏÇÏ òÁÄÉÏ ÔÀÎÅÒÁ</emphasis>. óÍÏÔÒÉÔÅ man ÓÔÒÁÎÉÃÕ ÄÌÑ 
ÏÐÉÓÁÎÉÑ  ÏÐÃÉÊ É ËÎÏÐÏË ÕÐÒÁ×ÌÅÎÉÑ.
</para>


<sect2 id="radio-compilation">
<title>ëÏÍÐÉÌÑÃÉÑ</title>

<procedure>
<step><para>
  ÷Ï-ÐÅÒ×ÙÈ, ×ÁÍ ÎÅÏÂÈÏÄÉÍÏ ÐÅÒÅËÏÍÐÉÌÉÒÏ×ÁÔØ <application>MPlayer</application> ÐÒÉ
  ÐÏÍÏÝÉ <filename>./configure</filename> Ó ÕËÁÚÁÎÉÅÍ ÏÐÃÉÊ
  --enable-radio É (ÅÓÌÉ ÈÏÔÉÔÅ ×ËÌÀÞÉÔØ ÐÏÄÄÅÒÖËÕ ÚÁÐÉÓÉ) --enable-radio-capture.
  </para></step>
<step><para>
  õÂÅÄÉÔÅÓØ, ÞÔÏ ×ÁÛ ÔÀÎÅÒ ÒÁÂÏÔÁÅÔ Ó ÄÒÕÇÉÍÉ ÐÒÉÌÏÖÅÎÉÑÍÉ × Linux, ÎÁÐÒÉÍÅÒ
  <application>XawTV</application>.
  </para></step>
</procedure>
</sect2>

<sect2 id="radio-tips">
<title>óÏ×ÅÔÙ ÐÏ ÉÓÐÏÌØÚÏ×ÁÎÉÀ</title>
<para>
ðÏÌÎÙÊ ÓÐÉÓÏË ÏÐÃÉÊ ÄÏÓÔÕÐÅÎ ÎÁ ÓÔÒÁÎÉÃÁÈ ÒÕËÏ×ÏÄÓÔ×Á (man).
÷ÏÔ ×ÓÅÇÏ ÎÅÓËÏÌØËÏ ÓÏ×ÅÔÏ×:
</para>
<itemizedlist>
<listitem>
<para>
éÓÐÏÌØÚÏ×ÁÎÉÅ <option>channels</option> ÏÐÃÉÉ. ðÒÍÅÒ:
<screen>-radio channels=104.4-Sibir,103.9-Maximum</screen>
ïÂßÑÓÎÅÎÉÅ: ÐÒÉ ÕËÁÚÁÎÉÉ ÜÔÏÊ ÏÐÃÉÉ, ÂÕÄÕÔ ÄÏÓÔÕÐÎÙ ÔÏÌØËÏ ÒÁÄÉÏÓÔÁÎÃÉÉ 
104.4 É 103.9. ëÒÏÍÅ ÔÏÇÏ, ÂÕÄÅÔ ÐÒÉÑÔÎÙÊ OSD ÔÅËÓÔ ÐÒÉ ÐÅÒÅËÌÀÞÅÎÉÉ ÍÅÖÄÕ ËÁÎÁÌÁÍÉ,
ÏÔÏÂÒÁÖÁÀÝÉÊ ÎÁÚ×ÁÎÉÅ ËÁÎÁÌÁ. ðÒÏÂÅÌÙ × ÎÁÚ×ÁÎÉÑÈ ËÁÎÁÌÏ× ÄÏÌÖÎÙ ÂÙÔØ ÚÁÍÅÎÅÎÙ
ÓÉÍ×ÏÌÏÍ &quot;_&quot;
</para>
</listitem>

<listitem>
<para>
åÓÔØ ÎÅÓËÏÌØËÏ ÐÕÔÅÊ ÚÁÈ×ÁÔÁ ÁÕÄÉÏ. ÷Ù ÍÏÖÅÔÅ ÐÏÌÕÞÉÔØ Ú×ÕË, ÌÉÂÏ ÉÓÐÏÌØÚÕÑ ÷ÁÛÕ
Ú×ÕËÏ×ÕÀ ËÁÒÔÕ É ×ÎÅÛÎÉÊ ËÁÂÅÌØ, ÓÏÅÄÉÎÑÀÝÉÊ ×ÉÄÅÏ ËÁÒÔÕ É ÌÉÎÅÊÎÙÊ ×ÈÏÄ[line-in],
ÌÉÂÏ ÉÓÐÏÌØÚÕÑ ×ÓÔÒÏÅÎÎÙÊ ADC ÎÁ × ÞÉÐÅ saa7134. ÷ ÜÔÏÍ ÓÌÕÞÁÅ, ÷Ù ÄÏÌÖÎÙ
ÚÁÇÒÕÚÉÔØ ÄÒÁÊ×ÅÒ <emphasis role="bold">saa7134-alsa</emphasis> ÉÌÉ 
<emphasis role="bold">saa7134-oss</emphasis>. 
</para>
</listitem>

<listitem>
<para>
<application>MEncoder</application> ÎÅ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ ÄÌÑ ÚÁÈ×ÁÔÁ Ú×ÕËÁ,
ÐÏÓËÏÌØËÕ ÏÎ ÔÒÅÂÕÅÔ ÏÂÑÚÁÔÅÌØÎÏÇÏ ÎÁÌÉÞÉÑ ×ÉÄÅÏ-ÐÏÔÏËÁ.ôÁËÉÍ ÏÂÒÁÚÏÍ, ×Ù ÍÏÖÅÔÅ 
ÐÒÏÉÚ×ÏÄÉÔ ÚÁÈ×ÁÔ ÌÉÂÏ ÉÓÐÏÌØÚÕÑ ÐÒÏÇÒÁÍÍÕ arecord ÉÚ ÐÒÏÅËÔÁ ALSA ÌÉÂÏ ÉÓÐÏÌØÚÕÑ 
<option>-ao pcm:file=file.wav</option>. ÷Ï ×ÔÏÒÏÍ ÓÌÕÞÁÅ ×Ù ÎÅ ÂÕÄÅÔÅ ÓÌÙÛÁÔØ ÎÉÞÅÇÏ ×Ï 
×ÒÅÍÑ ÚÁÈ×ÁÔÁ (ÚÁ ÉÓËÌÀÞÅÎÉÅ ÓÌÕÞÁÑ, ËÏÇÄÁ ×Ù ÉÓÐÏÌØÚÕÅÔÅ line-in ËÁÂÅÌØ, É ÓÌÕÛÁÅÔÅ 
Ú×ÕË ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ Ó ÌÉÎÅÊÎÏÇÏ ×ÈÏÄÁ.
</para>
</listitem>
</itemizedlist>
</sect2>

<sect2 id="radio-examples">
<title>ðÒÉÍÅÒÙ</title>


<informalexample>
<para>
÷ÈÏÄ ÓÏ ÓÔÁÎÄÁÒÔÎÏÇÏ V4L (ÉÓÐÏÌØÚÕÑ line-in ËÁÂÅÌØ. úÁÐÉÓØ ÏÔËÌÀÞÅÎÁ.):
<screen>
mplayer radio://104.4<!--
--></screen>
</para>
</informalexample>

<informalexample>
<para>
÷ÈÏÄ ÓÏ ÓÔÁÎÄÁÒÔÎÏÇÏ V4L (ÉÓÐÏÌØÚÕÑ line-in ËÁÂÅÌØ. úÁÐÉÓØ ÏÔËÌÀÞÅÎÁ. éÓÐÏÌØÚÕÅÔÑ ÉÎÔÅÒÆÅÊÓ V4Lv1):
<screen>
mplayer -radio driver=v4l radio://104.4<!--
--></screen>
</para>
</informalexample>

<informalexample>
<para>
ÐÒÏÓÌÕÛÉ×ÁÎÉÅ ×ÔÏÒÏÊ ÒÁÄÉÏÓÔÁÎÃÉÉ ÉÚ ÓÐÉÓËÁ:
<screen>
mplayer -radio channels=104.4=Sibir,103.9=Maximm  radio://2<!--
--></screen>
</para>
</informalexample>

<informalexample>
<para>
ðÏÌÕÞÅÎÉÅ Ú×ÕËÁ ÞÅÒÅÚ ÛÉÎÕ pci Ó ×ÎÕÔÒÅÎÎÅÇÏ ADC ÒÁÄÉÏ ÔÀÎÅÒÁ. ÷ ÜÔÏÍ ÐÒÉÍÅÒÅ
ÔÀÎÅÒ ÉÓÐÏÌØÚÕÅÔÓÑ ËÁË ×ÔÏÒÏÁÑ Ú×ÕËÏ×ÁÑ ËÁÒÔÁ (ALSA ÕÓÔÒÏÊÓÔ×Ï hw:1,0). 
äÌÑ ËÁÒÔ, ÏÓÎÏ×ÁÎÎÙÈ ÎÁ saa7134 ÌÉÂÏ saa7134-alsa ÌÉÂÏ  saa7134-oss ÍÏÄÕÌØ ÄÏÌÖÅÎ ÂÙÔØ
ÚÁÇÒÕÖÅÎ. úáíåþáîéå: ÐÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÉÍÅÎ ÕÓÔÒÏÊÓÔ× ALSA, Ä×ÏÅÔÏÞÉÑ ÎÅÏÂÈÏÄÉÍÏ ÚÁÍÅÎÉÔØ ÎÁ
ÒÁ×ÅÎÓÔ×Á, ÚÁÐÑÔÙÅ - ÎÁ ÔÏÞËÉ. 
<screen>
mplayer -rawaudio rate=32000 -radio adevice=hw=1.0:arate=32000:channels=104.4=Sibir,103.9=Maximm  radio://2/capture<!--
--></screen>
</para>
</informalexample>
</sect2>
</sect1>