annotate DOCS/xml/pl/tvinput.xml @ 11273:9e5ab5bd128b

sync
author wight
date Sun, 26 Oct 2003 18:05:02 +0000
parents 0706b9c769d6
children 9c3dbd952c2f
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"?>
11273
wight
parents: 11156
diff changeset
2 <!-- synced with 1.7 -->
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>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
24 Upewnij się, że Twój tuner działa z innymi programami do obsługi TV pod Linuksem, na
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
25 przykład <application>XawTV</application>.
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
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
57 rozdzielczości pełnej (np. 288 dla PAL lub 240 dla NTSC), upewnij się, że włączyłeś
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
58 usuwanie przeplotu (deinterlacing). W przeciwnym wypadku dostaniesz film, który
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
59 jest zniekształcony w trakcie scen o dużej dynamice, a wskazana szybkość prawdopodobnie
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
60 nie będzie nawet mogła być utrzymana przez kontroler szybkości (bitrate
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
61 controller), gdyż artefakty przeplotu tworzą duże ilości szczegółów, a co za tym idzie,
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
62 potrzebują dużej przepustowości. Możesz włączyć usuwanie przeplotu za pomocą opcji
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
63 <option>-vf pp=TYP_DEINT</option>. Zwykle <option>pp=lb</option> spisuje się dobrze,
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
64 ale to kwestia gustu. Poczytaj o innych algorytmach usuwania przeplotu na stronie man
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
65 i zacznij eksperymentować.
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,
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
72 które są zazwyczaj czarne lub zawierają szum. Jak się łatwo domyślić, niepotrzebnie
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
73 wymagają większej przepustowości (dokładniej, to nie same czarne miejsca, lecz
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
74 ostre przejścia pomiędzy czarnym kolorem i jaśniejszym obrazem video, ale nie jest
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
75 to akurat takie ważne). Zanim zaczniesz nagrywać, ustaw argumenty opcji <option>crop</option>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
76 by wszystkie "śmieci" na brzegach zostały wycięte. Oczywiście nie zapomnij o utrzymaniu
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
77 prawidłowych wymiarów obrazu.
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>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
83 Uważaj na obciążenie CPU. Nie powinno ono przekroczyć granicy 90% przez większość
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
84 czasu. Jeśli masz duży bufor nagrywania, MEncoder może przetrwać przeciążenie przez
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
85 najwyżej kilka sekund i nic więcej. Lepiej więc wyłączyć wszystkie trójwymiarowe
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
86 wygaszacze OpenGL i inne tego typu bajery.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
87 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
88 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
89
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
90 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
91 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
92 Nie mieszaj z zegarem systemowym. <application>MEncoder</application> korzysta z
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
93 niego do synchronizacji A/V. Jeśli zmodyfikujesz zegar systemowy (zwłaszcza
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
94 wstecz), MEncoder się pogubi i utraci klatki. Jest to bardzo ważna sprawa jeśli
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
95 jesteś podpięty do sieci i używasz do synchronizacji czasu różnych programów typu
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
96 NTP. Musisz wyłączyć NTP w trakcie nagrywania, jeśli chcesz, by było ono
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
97 przeprowadzone niezawodnie.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
98 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
99 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
100
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
101 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
102 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
103 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
104 karta/sterownik naprawdę nie obsługuje ustawienia domyślnego (przestrzeń
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
105 kolorów YV12). W poprzednich wersjach
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
106 <application>MPlayera</application>/<application>MEncodera</application>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
107 konieczne było podanie formatu wyjścia.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
108 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
109 <option>outfmt</option> nie jest już wymagana, a ustawienie domyślne powinno
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
110 pasować każdemu. Na przykład, jeśli nagrywasz do formatu DivX używając libavcodec
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
111 i podasz opcję <option>outfmt=RGB24</option> aby zwiększyć jakość nagrywanego obrazu,
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
112 zostanie on i tak później z powrotem przekonwertowany do YV12, więc jedyne, co
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
113 osiągniesz, to ogromna strata mocy obliczeniowej.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
114 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
115 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
116
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 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
119 By użyć przestrzeni kolorów I420 (<option>outfmt=i420</option>), musisz dodać opcję
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
120 <option>-vc rawi420</option> z powodu konfliktu fourcc z kodekiem Intel Indeo.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
121 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
122 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
123
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
124 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
125 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
126 Jest kilka sposobów na nagrywanie audio. Możesz nagrywać dźwięk za pomocą Twojej
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
127 karty dźwiękowej korzystając z zewnętrznego kabla pomiędzy kartą video i wejściem
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
128 liniowym lub korzystając z wbudowanego w układ bt878 przetwornika ADC. W tym drugim
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
129 przypadku musisz załadować sterownik <emphasis role="bold">btaudio</emphasis>.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
130 Przeczytaj plik <filename>linux/Documentation/sound/btaudio</filename> (w drzewie
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
131 jądra, a nie MPlayera) by dowiedzieć się jak korzystać z tego sterownika.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
132 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
133 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
134
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
135 <listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
136 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
137 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
138 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
139 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
140 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
141 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
142 dupleksowe" ("full duplex") w konfiguracji serwera dźwięku.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
143 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
144 </listitem>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
145 </itemizedlist>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
146 </sect2>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
147
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
148
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
149 <sect2 id="tv-examples">
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
150 <title>Przykłady</title>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
151
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
152 <informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
153 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
154 Puste wyjście, do AAlib :)
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
155 <screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
156 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
157 --></screen>
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 </informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
160
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
161 <informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
162 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
163 Wejście ze standardowego V4L:
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
164 <screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
165 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
166 --></screen>
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 </informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
169
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
170 <informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
171 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
172 Bardziej skomplikowany przykład. Każe on MEncoderowi nagrać pełen
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
173 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
174 liniowego zlewania (linear blend). Audio jest kompresowane ze stałą
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
175 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
176 dobre do nagrywania filmów.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
177 <screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
178 mencoder -tv driver=v4l:width=768:height=576 \
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
179 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 \
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
180 -oac mp3lame -lameopts cbr:br=64 \
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
181 -vf crop=720:544:24:16,pp=lb -o output.avi tv://
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
182 </screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
183 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
184 </informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
185
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
186 <informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
187 <para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
188 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
189 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
190 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
191 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
192 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
193 <screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
194 mencoder -tv driver=v4l:width=768:height=576 \
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
195 -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
196 -oac mp3lame -lameopts cbr:br=48 \
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
197 -vf crop=720:540:24:18,pp=tn/lb,scale=384:288 -sws 1 -o output.avi tv://
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
198 </screen>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
199 Jest również możliwe podanie mniejszych wymiarów obrazu w opcji <option>-tv</option>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
200 i pominięcie programowego skalowania, ale to podejście wykorzystuje maksymalną
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
201 ilość dostępnych informacji i jest trochę bardziej odporne na szum. Z powodu
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
202 ograniczeń sprzętowych Układy bt878 mogą stosować uśrednianie pikseli jedynie
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
203 w kierunku poziomym.
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
204 </para>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
205 </informalexample>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
206 </sect2>
0706b9c769d6 more files by Torinthiel <torinthiel@wp.pl> and crew
diego
parents:
diff changeset
207 </sect1>