annotate DOCS/xml/pl/tvinput.xml @ 24888:b2402b4f0afa

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