annotate DOCS/xml/en/tvinput.xml @ 16534:cf10f859d829

Lists main A/V codecs supported by MEncoder, talks about how to select an imput file for encoding. Taken from D. Richard Felker III The Great's encoding guide
author gpoirier
date Mon, 19 Sep 2005 21:42:00 +0000
parents 04d7da697677
children 19a8d11710ab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-1"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 9948
diff changeset
2 <!-- $Revision$ -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 <sect1 id="tv-input" xreflabel="TV input">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4 <title>TV input</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 This section is about how to enable <emphasis role="bold">watching/grabbing
9776
861a40949bf3 fixes, some by Dmitry Baryshkov <lumag@qnc.ru>, some by me
nicolas
parents: 9683
diff changeset
8 from V4L compatible TV tuner</emphasis>. See the man page for a description
861a40949bf3 fixes, some by Dmitry Baryshkov <lumag@qnc.ru>, some by me
nicolas
parents: 9683
diff changeset
9 of TV options and keyboard controls.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
11
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
12
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 <sect2 id="tv-compilation">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 <title>Compilation</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 First, you have to recompile. <filename>./configure</filename> will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 autodetect kernel headers of v4l stuff and the existence of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 <filename>/dev/video*</filename> entries. If they exist, TV support will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 be built (see the output of <filename>./configure</filename>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 Make sure your tuner works with another TV software in Linux, for
9776
861a40949bf3 fixes, some by Dmitry Baryshkov <lumag@qnc.ru>, some by me
nicolas
parents: 9683
diff changeset
25 example <application>XawTV</application>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 <sect2 id="tv-tips">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 <title>Usage tips</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 The full listing of the options is available on the manual page.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 Here are just a few tips:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
39 Use the <option>channels</option> option. An example:
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9776
diff changeset
40 <screen>-tv channels=26-MTV1,23-TV2</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 Explanation: using this option, only the 26 and 23 channels will be usable,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 and there will be a nice OSD text upon channel switching, displaying the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 channel's name. Spaces in the channel name must be replaced by the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 &quot;_&quot; character.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
46 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
47
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 Choose some sane image dimensions. The dimensions of the resulting image should
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 be divisible by 16.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 If you capture the video with the vertical resolution higher than half of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 the full resolution (i.e. 288 for PAL or 240 for NTSC), make sure you turned
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 deinterlacing on. Otherwise you'll get a movie which is distorted during
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
60 fast-motion scenes and the bitrate controller will be probably even unable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
61 to retain the specified bitrate as the interlacing artifacts produce high
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
62 amount of detail and thus consume lot of bandwidth. You can enable
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
63 deinterlacing with <option>-vf pp=DEINT_TYPE</option>. Usually
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 <option>pp=lb</option> does a good job, but it can be matter of personal
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 preference. See other deinterlacing algorithms in the manual and give it a try.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
66 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 Crop out the dead space. When you capture the video, the areas at the edges
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
72 are usually black or contain some noise. These again consume lots of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 unnecessary bandwidth. More precisely it's not the black areas themselves
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
74 but the sharp transitions between the black and the brighter video image
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 which do but that's not important for now. Before you start capturing,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 adjust the arguments of the <option>crop</option> option so that all the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
77 crap at the margins is cropped out. Again, don't forget to keep the resulting
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78 dimensions sane.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
81
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
83 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 Watch out for CPU load. It shouldn't cross the 90% boundary for most of the
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
85 time. If you have a large capture buffer, <application>MEncoder</application>
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
86 can survive an overload for few seconds but nothing more. It's better to
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
87 turn off the 3D OpenGL screensavers and similar stuff.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
90
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
91 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
93 Don't mess with the system clock. <application>MEncoder</application> uses the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
94 system clock for doing A/V sync. If you adjust the system clock (especially
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
95 backwards in time), <application>MEncoder</application> gets confused and you
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
96 will lose frames. This is an important issue if you are hooked to a network
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
97 and run some time synchronization software like NTP. You have to turn NTP
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
98 off during the capture process if you want to capture reliably.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
101
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 Don't change the <option>outfmt</option> unless you know what you are doing
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
105 or your card/driver really doesn't support the default (YV12 colorspace).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
106 In the older versions of <application>MPlayer</application>/
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
107 <application>MEncoder</application> it was necessary to specify the output
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 format. This issue should be fixed in the current releases and <option>outfmt</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 isn't required anymore, and the default suits the most purposes. For example,
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11713
diff changeset
110 if you are capturing into DivX using
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11713
diff changeset
111 <systemitem class="library">libavcodec</systemitem> and specify
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112 <option>outfmt=RGB24</option> in order to increase the quality of the captured
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 images, the captured image will be actually later converted back into YV12 so
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 the only thing you achieve is a massive waste of CPU power.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 To specify the I420 colorspace (<option>outfmt=i420</option>), you have to add an
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121 option <option>-vc rawi420</option> due to a fourcc conflict with an Intel Indeo
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 video codec.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 There are several ways of capturing audio. You can grab the sound either using
13532
diego
parents: 12578
diff changeset
129 your sound card via an external cable connection between video card and line-in,
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 or using the built-in ADC in the bt878 chip. In the latter case, you have to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 load the <emphasis role="bold">btaudio</emphasis> driver. Read the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
132 <filename>linux/Documentation/sound/btaudio</filename> file (in the kernel
12578
3f543ec01d1e 's should be outside of <application> tags.
diego
parents: 11822
diff changeset
133 tree, not <application>MPlayer</application>'s) for some instructions on using
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
134 this driver.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
135 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
136 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140 If <application>MEncoder</application> cannot open the audio device, make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141 sure that it is really available. There can be some trouble with the sound
16341
04d7da697677 aRts, ESD consistent spelling
diego
parents: 14978
diff changeset
142 servers like aRts (KDE) or ESD (GNOME). If you have a full duplex sound card
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 (almost any decent card supports it today), and you are using KDE, try to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144 check the "full duplex" option in the sound server preference menu.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 <sect2 id="tv-examples">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 <title>Examples</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
156 Dummy output, to AAlib :)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 <screen>
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9776
diff changeset
158 mplayer -tv driver=dummy:width=640:height=480 -vo aa tv://<!--
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
161 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165 Input from standard V4L:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
166 <screen>
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9776
diff changeset
167 mplayer -tv driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv tv://<!--
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
170 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
172 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
174 A more sophisticated example. This makes <application>MEncoder</application>
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
175 capture the full PAL image, crop the margins, and deinterlace the picture
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
176 using a linear blend algorithm. Audio is compressed with a constant bitrate
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
177 of 64kbps, using LAME codec. This setup is suitable for capturing movies.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 <screen>
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9776
diff changeset
179 mencoder -tv driver=v4l:width=768:height=576 \
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 \
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 -oac mp3lame -lameopts cbr:br=64 \
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
182 -vf crop=720:544:24:16,pp=lb -o <replaceable>output.avi</replaceable> tv://
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 This will additionally rescale the image to 384x288 and compresses the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 video with the bitrate of 350kbps in high quality mode. The vqmax option
11271
252fb0cf331a spelling fixes, mostly by <ismail.donmez@boun.edu.tr>
diego
parents: 10913
diff changeset
191 looses the quantizer and allows the video compressor to actually reach so
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192 low bitrate even at the expense of the quality. This can be used for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193 capturing long TV series, where the video quality isn't so important.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
194 <screen>
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9776
diff changeset
195 mencoder -tv driver=v4l:width=768:height=576 \
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=350:vhq:vqmax=31:keyint=300 \
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 -oac mp3lame -lameopts cbr:br=48 \
14978
5897d202e4b0 Remove pp=tn from the filter chain, it's bad.
diego
parents: 13532
diff changeset
198 -vf crop=720:540:24:18,pp=lb,scale=384:288 -sws 1 -o <replaceable>output.avi</replaceable> tv://
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 It's also possible to specify smaller image dimensions in the <option>-tv</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 option and omit the software scaling but this approach uses the maximum available
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202 information and is a little more resistant to noise. The bt8x8 chips can do the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 pixel averaging only in the horizontal direction due to a hardware limitation.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 </sect1>