annotate DOCS/xml/pl/tvinput.xml @ 12681:6d815f12e3e5

rtc-device cmd option by James Noble
author alex
date Sat, 26 Jun 2004 10:51:44 +0000
parents 8e748658cd71
children c757d8773a17
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
12585
8e748658cd71 sync tag bump
wight
parents: 11862
diff changeset
2 <!-- synced with 1.11 -->
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
3 <sect1 id="tv-input" xreflabel="TV input">
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
4 <title>Wejście TV</title>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
5
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
6 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
7 Sekcja ta opisuje jak <emphasis role="bold">oglądać/nagrywać obraz
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
8 za pomocą tunera TV kompatybilnego z V4L</emphasis>. Zajrzyj do strony man
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
9 by zobaczyć opis opcji TV i klawiszy sterujących.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
10 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
11
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
12
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
13 <sect2 id="tv-compilation">
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
14 <title>Kompilacja</title>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
15
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
16 <procedure>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
17 <step><para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
18 Najpierw musisz przekompilować. <filename>./configure</filename> wykryje
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
19 automatycznie nagłówki jądra związane z V4L i obecność urządzeń
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
20 <filename>/dev/video*</filename>. Jeśli istnieją, obsługa TV zostanie
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
21 wbudowana (zobacz wynik działania <filename>./configure</filename>).
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
22 </para></step>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
23 <step><para>
11543
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
24 Upewnij się, że Twój tuner działa z innymi programami do obsługi TV pod
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
25 Linuksem, na przykład <application>XawTV</application>.
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
26 </para></step>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
27 </procedure>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
28 </sect2>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
29
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
30 <sect2 id="tv-tips">
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
31 <title>Wskazówki użytkowania</title>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
32 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
33 Kompletna lista opcji dostępna jest na stronie man.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
34 Tu jest tylko kilka wskazówek:
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
35 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
36 <itemizedlist>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
37 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
38 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
39 Używaj opcji <option>channels</option>. Przykład
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
40 <screen>-tv channels=26-MTV1,23-TV2</screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
41 Wyjaśnienie: używając tej opcji, tylko kanały 23 i 26 będą dostępne oraz pojawi
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
42 się fajny napis na OSD przy zmianie kanału, wyświetlający jego nazwę.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
43 Odstępy w nazwie kanału muszą zostać zastąpione znakiem &quot;_&quot;.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
44 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
45 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
46
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
47 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
48 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
49 Używaj rozsądnych rozmiarów obrazu. Rozmiary obrazu wynikowego powinny
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
50 być podzielne przez 16.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
51 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
52 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
53
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
54 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
55 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
56 Jeśli nagrywasz obraz video o pionowej rozdzielczości większej niż połowa
11543
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
57 rozdzielczości pełnej (np. 288 dla PAL lub 240 dla NTSC), upewnij się, że
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
58 włączyłeś usuwanie przeplotu (deinterlacing). W przeciwnym wypadku dostaniesz
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
59 film, który jest zniekształcony w trakcie scen o dużej dynamice, a wskazana
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
60 szybkość prawdopodobnie nie będzie nawet mogła być utrzymana przez kontroler
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
61 szybkości (bitrate controller), gdyż artefakty przeplotu tworzą duże ilości
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
62 szczegółów, a co za tym idzie, potrzebują dużej przepustowości. Możesz włączyć
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
63 usuwanie przeplotu za pomocą opcji <option>-vf pp=TYP_DEINT</option>. Zwykle
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
64 <option>pp=lb</option> spisuje się dobrze, ale to kwestia gustu. Poczytaj o
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
65 innych algorytmach usuwania przeplotu na stronie man i zacznij eksperymentować.
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
66 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
67 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
68
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
69 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
70 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
71 Usuwaj "martwe miejsca". Kiedy nagrywasz video, są pewnie miejsca przy brzegach,
11543
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
72 które są zazwyczaj czarne lub zawierają szum. Jak się łatwo domyślić,
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
73 niepotrzebnie wymagają większej przepustowości (dokładniej, to nie same czarne
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
74 miejsca, lecz ostre przejścia pomiędzy czarnym kolorem i jaśniejszym obrazem
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
75 video, ale nie jest to akurat takie ważne). Zanim zaczniesz nagrywać, ustaw
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
76 argumenty opcji <option>crop</option> by wszystkie "śmieci" na brzegach zostały
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
77 wycięte. Oczywiście nie zapomnij o utrzymaniu prawidłowych wymiarów obrazu.
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
78 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
79 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
80
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
81 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
82 <para>
11543
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
83 Uważaj na obciążenie CPU. Nie powinno ono przekroczyć granicy 90% przez
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
84 większość czasu. Jeśli masz duży bufor nagrywania,
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
85 <application>MEncoder</application> może przetrwać przeciążenie przez najwyżej
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
86 kilka sekund i nic więcej. Lepiej więc wyłączyć wszystkie trójwymiarowe
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
87 wygaszacze OpenGL i inne tego typu bajery.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
88 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
89 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
90
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
91 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
92 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
93 Nie mieszaj z zegarem systemowym. <application>MEncoder</application> korzysta z
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
94 niego do synchronizacji A/V. Jeśli zmodyfikujesz zegar systemowy (zwłaszcza
11543
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
95 wstecz), <application>MEncoder</application> się pogubi i utraci klatki. Jest to
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
96 bardzo ważna sprawa jeśli jesteś podpięty do sieci i używasz do synchronizacji
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
97 czasu różnych programów typu NTP. Musisz wyłączyć NTP w trakcie nagrywania,
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
98 jeśli chcesz, by było ono przeprowadzone niezawodnie.
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
99 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
100 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
101
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
102 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
103 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
104 Nie zmieniaj opcji <option>outfmt</option>, chyba, że wiesz co robisz lub Twoja
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
105 karta/sterownik naprawdę nie obsługuje ustawienia domyślnego (przestrzeń
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
106 kolorów YV12). W poprzednich wersjach
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
107 <application>MPlayera</application>/<application>MEncodera</application>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
108 konieczne było podanie formatu wyjścia.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
109 Ten problem powinien być rozwiązany w aktualnych wydaniach i opcja
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
110 <option>outfmt</option> nie jest już wymagana, a ustawienie domyślne powinno
11543
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
111 pasować każdemu. Na przykład, jeśli nagrywasz do formatu DivX używając
11862
paszczi
parents: 11718
diff changeset
112 <systemitem class="library">libavcodec</systemitem> i podasz opcję <option>outfmt=RGB24</option>
paszczi
parents: 11718
diff changeset
113 aby zwiększyć jakość nagrywanego obrazu, zostanie on i tak później z
paszczi
parents: 11718
diff changeset
114 powrotem przekonwertowany do YV12, więc jedyne, co osiągniesz, to ogromna
paszczi
parents: 11718
diff changeset
115 strata mocy obliczeniowej.
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
116 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
117 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
118
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
119 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
120 <para>
11543
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
121 By użyć przestrzeni kolorów I420 (<option>outfmt=i420</option>), musisz dodać
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
122 opcję <option>-vc rawi420</option> z powodu konfliktu fourcc z kodekiem Intel
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
123 Indeo.
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
124 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
125 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
126
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
127 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
128 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
129 Jest kilka sposobów na nagrywanie audio. Możesz nagrywać dźwięk za pomocą Twojej
11543
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
130 karty dźwiękowej korzystając z zewnętrznego kabla pomiędzy kartą video i
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
131 wejściem liniowym lub korzystając z wbudowanego w układ bt878 przetwornika ADC.
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
132 W tym drugim przypadku musisz załadować sterownik
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
133 <emphasis role="bold">btaudio</emphasis>. Przeczytaj plik
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
134 <filename>linux/Documentation/sound/btaudio</filename> (w drzewie jądra, a nie
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
135 <application>MPlayera</application>) by dowiedzieć się jak korzystać z tego
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
136 sterownika.
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
137 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
138 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
139
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
140 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
141 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
142 Jeśli <application>MEncoder</application> nie może otworzyć urządzenia
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
143 dźwiękowego, upewnij się, że jest ono rzeczywiście dostępne. Zdarzają się
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
144 problemy z serwerami dźwięku typu aRts (KDE) lub esd (GNOME). Jeśli masz
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
145 kartę full-duplex (prawie wszystkie przyzwoite karty dostępne obecnie obsługują
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
146 tę funkcję) i korzystasz z KDE, spróbuj zaznaczyć opcję "Działanie w pełni
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
147 dupleksowe" ("full duplex") w konfiguracji serwera dźwięku.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
148 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
149 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
150 </itemizedlist>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
151 </sect2>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
152
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
153
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
154 <sect2 id="tv-examples">
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
155 <title>Przykłady</title>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
157 <informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
158 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
159 Puste wyjście, do AAlib :)
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
160 <screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
161 mplayer -tv driver=dummy:width=640:height=480 -vo aa tv://<!--
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
162 --></screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
163 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
164 </informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
165
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
166 <informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
167 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
168 Wejście ze standardowego V4L:
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
169 <screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
170 mplayer -tv driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv tv://<!--
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
171 --></screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
172 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
173 </informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
174
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
175 <informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
176 <para>
11543
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
177 Bardziej skomplikowany przykład. Każe on
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
178 <application>MEncoderowi</application> nagrać pełen
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
179 obraz PAL, wykadrować go i usunąć przeplot korzystając z algorytmu
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
180 liniowego zlewania (linear blend). Audio jest kompresowane ze stałą
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
181 szybkością równą 64kbps, korzystając z kodeka LAME. To ustawienie jest
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
182 dobre do nagrywania filmów.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
183 <screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
184 mencoder -tv driver=v4l:width=768:height=576 \
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
185 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 \
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
186 -oac mp3lame -lameopts cbr:br=64 \
11718
0bac6204ed0e synchronization
paszczi
parents: 11543
diff changeset
187 -vf crop=720:544:24:16,pp=lb -o <replaceable>wyjscie.avi</replaceable> tv://
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
188 </screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
189 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
190 </informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
191
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
192 <informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
193 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
194 Ten przykład dodatkowo przeskaluje obraz do 384x288 i skompresuje video
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
195 z szybkością 350kbps w trybie wysokiej jakości. Opcja <option>vqmax</option>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
196 uwalnia kwantyzator i pozwala kompresorowi video na osiągnięcie tak
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
197 niskiej szybkości nawet kosztem jakości obrazu. Może być to używane do
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
198 nagrywania długich seriali TV, kiedy jakość obrazu nie jest tak ważna.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
199 <screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
200 mencoder -tv driver=v4l:width=768:height=576 \
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
201 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=350:vhq:vqmax=31:keyint=300 \
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
202 -oac mp3lame -lameopts cbr:br=48 \
11718
0bac6204ed0e synchronization
paszczi
parents: 11543
diff changeset
203 -vf crop=720:540:24:18,pp=tn/lb,scale=384:288 -sws 1 -o <replaceable>wyjscie.avi</replaceable> tv://
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
204 </screen>
11543
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
205 Jest również możliwe podanie mniejszych wymiarów obrazu w opcji
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
206 <option>-tv</option> i pominięcie programowego skalowania, ale to podejście
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
207 wykorzystuje maksymalną ilość dostępnych informacji i jest trochę bardziej
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
208 odporne na szum. Z powodu ograniczeń sprzętowych Układy bt878 mogą stosować
9c3dbd952c2f Sync and a lot of cosmetics
wight
parents: 11273
diff changeset
209 uśrednianie pikseli jedynie w kierunku poziomym.
11156
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
210 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
211 </informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
212 </sect2>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
213 </sect1>