Mercurial > mplayer.hg
annotate DOCS/xml/ru/radio.xml @ 20562:25c9cd2ac456
trivial sync with r20551
update missing sync tag in ports.xml (r20561)
r20571: cvidix tricks, based on patch by Reimar
no real change need for r20572
author | voroshil |
---|---|
date | Wed, 01 Nov 2006 12:27:56 +0000 |
parents | bb605f1ccb4d |
children | 329b03d67891 |
rev | line source |
---|---|
20514 | 1 <?xml version="1.0" encoding="utf-8"?> |
20562 | 2 <!-- synced with r20551 --> |
19749 | 3 <chapter id="radio"> |
20514 | 4 <title>Радио</title> |
19572 | 5 |
19749 | 6 |
7 <sect1 id="radio-input" xreflabel="Radio input"> | |
20514 | 8 <title>Радио вход</title> |
19572 | 9 |
10 <para> | |
20514 | 11 В этой секции описывается как включить прослушивание |
12 радио при помощи V4L совместимого Радио тюнера. Смотрите man страницу для | |
13 описания опций и кнопок управления. | |
19572 | 14 </para> |
15 | |
16 | |
17 <sect2 id="radio-compilation"> | |
20514 | 18 <title>Компиляция</title> |
19572 | 19 |
20 <procedure> | |
21 <step><para> | |
20514 | 22 Во-первых, вам необходимо перекомпилировать <application>MPlayer</application> при |
23 помощи <filename>./configure</filename> с указанием опций | |
24 <option>--enable-radio</option> и (если хотите включить поддержку записи) | |
20056
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
25 <option>--enable-radio-capture</option>. |
19572 | 26 </para></step> |
27 <step><para> | |
20514 | 28 Убедитесь, что ваш тюнер работает с другими приложениями в Linux, например |
19572 | 29 <application>XawTV</application>. |
30 </para></step> | |
31 </procedure> | |
32 </sect2> | |
33 | |
34 <sect2 id="radio-tips"> | |
20514 | 35 <title>Советы по использованию</title> |
19572 | 36 <para> |
20514 | 37 Полный список опций доступен на страницах руководства (man). |
38 Вот всего несколько советов: | |
19572 | 39 </para> |
40 <itemizedlist> | |
41 <listitem> | |
42 <para> | |
20514 | 43 Использование <option>channels</option> опции. Пример: |
19572 | 44 <screen>-radio channels=104.4-Sibir,103.9-Maximum</screen> |
20514 | 45 Объяснение: при указании этой опции, будут доступны только радиостанции |
46 104.4 и 103.9. Кроме того, будет приятный OSD текст при переключении между каналами, | |
47 отображающий название канала. Пробелы в названиях каналов должны быть заменены | |
48 символом "_" | |
19572 | 49 </para> |
50 </listitem> | |
51 | |
52 <listitem> | |
53 <para> | |
20514 | 54 Есть несколько путей захвата аудио. Вы можете получить звук, либо используя Вашу |
55 звуковую карту и внешний кабель, соединяющий видео карту и линейный вход[line-in], | |
56 либо используя встроенный ADC на в чипе saa7134. В этом случае, Вы должны | |
57 загрузить драйвер <systemitem>saa7134-alsa</systemitem> или | |
20056
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
58 <systemitem>saa7134-oss</systemitem>. |
19572 | 59 </para> |
60 </listitem> | |
61 | |
62 <listitem> | |
63 <para> | |
20514 | 64 <application>MEncoder</application> не может быть использован для захвата звука, |
65 поскольку он требует обязательного наличия видео-потока.Таким образом, вы можете | |
66 производит захват либо используя программу <application>arecord</application> | |
67 из проекта ALSA, либо используя | |
68 <option>-ao pcm:file=file.wav</option>. Во втором случае вы не будете слышать ничего во | |
69 время захвата (за исключение случая, когда вы используете line-in кабель, и слушаете | |
70 звук непосредственно с линейного входа). | |
19572 | 71 </para> |
72 </listitem> | |
73 </itemizedlist> | |
74 </sect2> | |
75 | |
76 <sect2 id="radio-examples"> | |
20514 | 77 <title>Примеры</title> |
19572 | 78 |
79 | |
80 <informalexample> | |
81 <para> | |
20514 | 82 Вход со стандартного V4L (используя line-in кабель, запись отключена.): |
19572 | 83 <screen> |
20056
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
84 mplayer radio://104.4 |
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
85 </screen> |
19572 | 86 </para> |
87 </informalexample> | |
88 | |
89 <informalexample> | |
90 <para> | |
20514 | 91 Вход со стандартного V4L (используя line-in кабель, запись отключена. Используется интерфейс V4Lv1): |
19572 | 92 <screen> |
20056
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
93 mplayer -radio driver=v4l radio://104.4 |
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
94 </screen> |
19572 | 95 </para> |
96 </informalexample> | |
97 | |
98 <informalexample> | |
99 <para> | |
20514 | 100 прослушивание второй радиостанции из списка: |
19572 | 101 <screen> |
20056
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
102 mplayer -radio channels=104.4=Sibir,103.9=Maximm radio://2 |
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
103 </screen> |
19572 | 104 </para> |
105 </informalexample> | |
106 | |
107 <informalexample> | |
108 <para> | |
20514 | 109 Получение звука через шину pci с внутреннего ADC радио тюнера. В этом примере |
110 тюнер используется как второая звуковая карта (ALSA устройство hw:1,0). | |
111 Для карт, основанных на saa7134, либо saa7134-alsa, либо saa7134-oss модуль должен быть | |
112 загружен. | |
20056
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
113 <screen> |
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
114 mplayer -rawaudio rate=32000 -radio adevice=hw=1.0:arate=32000:channels=104.4=Sibir,103.9=Maximm radio://2/capture |
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
115 </screen> |
20514 | 116 <note><para>При использовании имен устройств ALSA, двоеточия необходимо заменить на |
117 равенства, запятые - на точки. | |
20056
3447c96e9cbf
r19592: grammar/wording/markup fixes (was missed, due to wrong sync tag in r19637 commit)
voroshil
parents:
19749
diff
changeset
|
118 </para></note> |
19572 | 119 </para> |
120 </informalexample> | |
121 </sect2> | |
122 </sect1> | |
19749 | 123 </chapter> |